I added session-max at config.xml
(1) I added /etc/afm/afm-unit.conf file like below ( add red section )
...
{{#required-api}}\
{{#value=auto}}\
--ws-client=unix:%t/apis/ws/{{name}} \
{{/value=auto}}\
{{#value=ws}}\
--ws-client=unix:%t/apis/ws/{{name}} \
{{/value=ws}}\
{{#value=dbus}}\
--dbus-client={{name}} \
{{/value=dbus}}\
{{#value=link}}\
--binding=%t/apis/lib/{{name}} \
{{/value=link}}\
{{#value=cloud}}\
--cloud-client={{name}} \
{{/value=cloud}}\
{{#value=local}}\
--binding={{:#metadata.install-dir}}/{{name}} \
{{/value=local}}\
{{#value=session}}\
--session-max={{name}} \
{{/value=session}}\
{{/required-api}}\
...
{{#value=auto}}\
--ws-client=unix:%t/apis/ws/{{name}} \
{{/value=auto}}\
{{#value=ws}}\
--ws-client=unix:%t/apis/ws/{{name}} \
{{/value=ws}}\
{{#value=dbus}}\
--dbus-client={{name}} \
{{/value=dbus}}\
{{#value=link}}\
--binding=%t/apis/lib/{{name}} \
{{/value=link}}\
{{#value=cloud}}\
--cloud-client={{name}} \
{{/value=cloud}}\
{{#value=local}}\
--binding={{:#metadata.install-dir}}/{{name}} \
{{/value=local}}\
{{#value=session}}\
--session-max={{name}} \
{{/value=session}}\
{{/required-api}}\
...
...
<feature name="urn:AGL:widget:required-api">
<param name="lib/windowmanager-service.so" value="local" />
<param name="30" value="session" />
</feature>
<param name="lib/windowmanager-service.so" value="local" />
<param name="30" value="session" />
</feature>
...
Thanks.
2019년 3월 28일 (목) 오후 5:12, Young Moon Jung <jung@xxxxxxxxxxx>님이 작성:
Thank you for your reply.I checked JIRA Site you give.I tried to add text --session-max=20 windownmanager service file and It work very well even though launching application is bigger than 10.I want to ask you one more thing.How did you "--session-max=20" add config.xml file ?Did you add inside required-permission section??Thanks & Regards,
Josh.<feature name="urn:AGL:widget:required-permission"><param name="urn:AGL:permission::public:hidden" value="required" /><param name="urn:AGL:permission::system:run-by-default" value="required" /><--- ???</feature>2019년 3월 28일 (목) 오후 4:17, wenlong zheng(鄭 文龍) <wenlong_zheng@xxxxxxxxxxxxx>님이 작성:Hi Jung
You can check this JIRA for more information.
https://jira.automotivelinux.org/browse/SPEC-1511
Zheng
On 2019/03/28 15:13, Young Moon Jung wrote:
> Hi AGL All Member
>
> Now, I am working on AGL 5.1.0.
>
> During developing Home Laucher with AGL application manager &
> windowmanager , I found some proplem.
> I want to ask that is there maximum the number of creating surface at
> windowmanager or weston?
>
>
> I tried testing like below.
>
> - Try to lauch application which i develpoed until 8 ==> working well
> - From launching 9 application ==> working fail & got log " failed to
> get surfaceID "
>
>
> I think that there is maximum the number of running application.
> If My opinion is right, how can I change that number?
>
>
> Thanks & Regards,
> Josh.
>
>
>
> --
> *Jung Young Moon DrimAES Inc.*
> *
> **Address* *#803, Ace Twin Tower 2-cha, 273, Digital-ro, Guro-gu, Seoul,
> Korea
> <https://maps.google.com/?q=273,+Digital-ro,+Guro-gu,+Seoul,+Korea&entry=gmail&source=g>*
> *Mobile* *+82 (0)10 - 4907 - 2117*
> *Mail* jung@xxxxxxxxxxx <mailto:jung@xxxxxxxxxxx>
>
>
--Jung Young Moon DrimAES Inc.
Address #803, Ace Twin Tower 2-cha, 273, Digital-ro, Guro-gu, Seoul, Korea
Mobile +82 (0)10 - 4907 - 2117
--
Jung Young Moon DrimAES Inc.
Address #803, Ace Twin Tower 2-cha, 273, Digital-ro, Guro-gu, Seoul, Korea
Mobile +82 (0)10 - 4907 - 2117
_______________________________________________ automotive-discussions mailing list automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions