Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed the action tag into permission tags.

This changes all bar-descriptor.xml files in the ndk-samples.  The
action tag was recently deprecated.  We also remove all the ones
that are commented out since the list of permissions often changes
and these comments quickly go out of date.
  • Loading branch information...
commit fadfed50aa0b0f81794aedc209dab6a954c2977b 1 parent 1c0c8b9
Anthony Hu authored
View
14 Accelerometer/bar-descriptor.xml
@@ -80,19 +80,7 @@
<!-- <splashscreen></splashscreen> -->
<!-- Request permission to execute native code. Required for native applications. -->
- <action system="true">run_native</action>
-
- <!-- The permissions requested by your application. -->
- <!-- <action>access_shared</action> -->
- <!-- <action>record_audio</action> -->
- <!-- <action>read_geolocation</action> -->
- <!-- <action>use_camera</action> -->
- <!-- <action>access_internet</action> -->
- <!-- <action>play_audio</action> -->
- <!-- <action>post_notification</action> -->
- <!-- <action>set_audio_volume</action> -->
- <!-- <action>read_device_identifying_information</action> -->
- <!-- <action>access_led_control</action> -->
+ <permission system="true">run_native</permission>
<!-- Ensure that shared libraries in the package are found at run-time. -->
<env var="LD_LIBRARY_PATH" value="app/native/lib"/>
View
14 AudioControl/bar-descriptor.xml
@@ -80,19 +80,7 @@
<!-- <splashscreen></splashscreen> -->
<!-- Request permission to execute native code. Required for native applications. -->
- <action system="true">run_native</action>
-
- <!-- The permissions requested by your application. -->
- <!-- <action>access_shared</action> -->
- <!-- <action>record_audio</action> -->
- <!-- <action>read_geolocation</action> -->
- <!-- <action>use_camera</action> -->
- <!-- <action>access_internet</action> -->
- <!-- <action>play_audio</action> -->
- <!-- <action>post_notification</action> -->
- <!-- <action>set_audio_volume</action> -->
- <!-- <action>read_device_identifying_information</action> -->
- <!-- <action>access_led_control</action> -->
+ <permission system="true">run_native</permission>
<!-- Ensure that shared libraries in the package are found at run-time. -->
<env var="LD_LIBRARY_PATH" value="app/native/lib"/>
View
4 BelligerentBlocks/bar-descriptor.xml
@@ -51,10 +51,10 @@
<icon><image>icon.png</image></icon>
<splashScreens>splash.png</splashScreens>
- <action system="true">run_native</action>
+ <permission system="true">run_native</permission>
<!-- Permission needed for Scoreloop -->
- <action>play_audio</action>
+ <permission>play_audio</permission>
<env var="LD_LIBRARY_PATH" value="app/native/lib"/>
View
16 Channels/bar-descriptor.xml
@@ -80,20 +80,8 @@
<!-- <splashscreen></splashscreen> -->
<!-- Request permission to execute native code. Required for native applications. -->
- <action system="true">run_native</action>
- <action>read_geolocation</action>
-
- <!-- The permissions requested by your application. -->
- <!-- <action>access_shared</action> -->
- <!-- <action>record_audio</action> -->
- <!-- <action>read_geolocation</action> -->
- <!-- <action>use_camera</action> -->
- <!-- <action>access_internet</action> -->
- <!-- <action>play_audio</action> -->
- <!-- <action>post_notification</action> -->
- <!-- <action>set_audio_volume</action> -->
- <!-- <action>read_device_identifying_information</action> -->
- <!-- <action>access_led_control</action> -->
+ <permission system="true">run_native</permission>
+ <permission>read_geolocation</permission>
<!-- Ensure that shared libraries in the package are found at run-time. -->
<env var="LD_LIBRARY_PATH" value="app/native/lib"/>
View
15 CubeRotate/bar-descriptor.xml
@@ -79,20 +79,7 @@
<!-- <splashscreen></splashscreen> -->
<!-- Request permission to execute native code. Required for native applications. -->
- <action system="true">run_native</action>
-
- <!-- The permissions requested by your application. -->
- <!-- <action>access_shared</action> -->
- <!-- <action>record_audio</action> -->
- <!-- <action>read_geolocation</action> -->
- <!-- <action>use_camera</action> -->
- <!-- <action>access_internet</action> -->
- <!-- <action>play_audio</action> -->
- <!-- <action>post_notification</action> -->
- <!-- <action>set_audio_volume</action> -->
- <!-- <action>read_device_identifying_information</action> -->
- <!-- <action>access_led_control</action> -->
- <!-- <action>access_led_control</action> -->
+ <permission system="true">run_native</permission>
<!-- Ensure that shared libraries in the package are found at run-time. -->
<env var="LD_LIBRARY_PATH" value="app/native/lib"/>
View
14 Dialog/bar-descriptor.xml
@@ -78,19 +78,7 @@
<!-- <splashscreen></splashscreen> -->
<!-- Request permission to execute native code. Required for native applications. -->
- <action system="true">run_native</action>
-
- <!-- The permissions requested by your application. -->
- <!-- <action>access_shared</action> -->
- <!-- <action>record_audio</action> -->
- <!-- <action>read_geolocation</action> -->
- <!-- <action>use_camera</action> -->
- <!-- <action>access_internet</action> -->
- <!-- <action>play_audio</action> -->
- <!-- <action>post_notification</action> -->
- <!-- <action>set_audio_volume</action> -->
- <!-- <action>read_device_identifying_information</action> -->
- <!-- <action>access_led_control</action> -->
+ <permission system="true">run_native</permission>
<!-- Ensure that shared libraries in the package are found at run-time. -->
<env var="LD_LIBRARY_PATH" value="app/native/lib"/>
View
14 FallingBlocks/bar-descriptor.xml
@@ -79,19 +79,7 @@
<!-- <splashscreen></splashscreen> -->
<!-- Request permission to execute native code. Required for native applications. -->
- <action system="true">run_native</action>
-
- <!-- The permissions requested by your application. -->
- <!-- <action>access_shared</action> -->
- <!-- <action>record_audio</action> -->
- <!-- <action>read_geolocation</action> -->
- <!-- <action>use_camera</action> -->
- <!-- <action>access_internet</action> -->
- <!-- <action>play_audio</action> -->
- <!-- <action>post_notification</action> -->
- <!-- <action>set_audio_volume</action> -->
- <!-- <action>read_device_identifying_information</action> -->
- <!-- <action>access_led_control</action> -->
+ <permission system="true">run_native</permission>
<!-- Ensure that shared libraries in the package are found at run-time. -->
<env var="LD_LIBRARY_PATH" value="app/native/lib"/>
View
16 Geolocation/bar-descriptor.xml
@@ -80,20 +80,8 @@
<!-- <splashscreen></splashscreen> -->
<!-- Request permission to execute native code. Required for native applications. -->
- <action system="true">run_native</action>
- <action>read_geolocation</action>
-
- <!-- The permissions requested by your application. -->
- <!-- <action>access_shared</action> -->
- <!-- <action>record_audio</action> -->
- <!-- <action>read_geolocation</action> -->
- <!-- <action>use_camera</action> -->
- <!-- <action>access_internet</action> -->
- <!-- <action>play_audio</action> -->
- <!-- <action>post_notification</action> -->
- <!-- <action>set_audio_volume</action> -->
- <!-- <action>read_device_identifying_information</action> -->
- <!-- <action>access_led_control</action> -->
+ <permission system="true">run_native</permission>
+ <permission>read_geolocation</permission>
<!-- Ensure that shared libraries in the package are found at run-time. -->
<env var="LD_LIBRARY_PATH" value="app/native/lib"/>
View
14 Gesture/bar-descriptor.xml
@@ -79,19 +79,7 @@
<!-- <splashscreen></splashscreen> -->
<!-- Request permission to execute native code. Required for native applications. -->
- <action system="true">run_native</action>
-
- <!-- The permissions requested by your application. -->
- <!-- <action>access_shared</action> -->
- <!-- <action>record_audio</action> -->
- <!-- <action>read_geolocation</action> -->
- <!-- <action>use_camera</action> -->
- <!-- <action>access_internet</action> -->
- <!-- <action>play_audio</action> -->
- <!-- <action>post_notification</action> -->
- <!-- <action>set_audio_volume</action> -->
- <!-- <action>read_device_identifying_information</action> -->
- <!-- <action>access_led_control</action> -->
+ <permission system="true">run_native</permission>
<!-- Ensure that shared libraries in the package are found at run-time. -->
<env var="LD_LIBRARY_PATH" value="app/native/lib"/>
View
14 GoodCitizen/bar-descriptor.xml
@@ -83,19 +83,7 @@
<!-- <splashscreen></splashscreen> -->
<!-- Request permission to execute native code. Required for native applications. -->
- <action system="true">run_native</action>
-
- <!-- The permissions requested by your application. -->
- <!-- <action>access_shared</action> -->
- <!-- <action>record_audio</action> -->
- <!-- <action>read_geolocation</action> -->
- <!-- <action>use_camera</action> -->
- <!-- <action>access_internet</action> -->
- <!-- <action>play_audio</action> -->
- <!-- <action>post_notification</action> -->
- <!-- <action>set_audio_volume</action> -->
- <!-- <action>read_device_identifying_information</action> -->
- <!-- <action>access_led_control</action> -->
+ <permission system="true">run_native</permission>
<!-- Ensure that shared libraries in the package are found at run-time. -->
<env var="LD_LIBRARY_PATH" value="app/native/lib"/>
View
14 HelloWorldDisplay/bar-descriptor.xml
@@ -81,19 +81,7 @@
<!-- <splashscreen></splashscreen> -->
<!-- Request permission to execute native code. Required for native applications. -->
- <action system="true">run_native</action>
-
- <!-- The permissions requested by your application. -->
- <!-- <action>access_shared</action> -->
- <!-- <action>record_audio</action> -->
- <!-- <action>read_geolocation</action> -->
- <!-- <action>use_camera</action> -->
- <!-- <action>access_internet</action> -->
- <!-- <action>play_audio</action> -->
- <!-- <action>post_notification</action> -->
- <!-- <action>set_audio_volume</action> -->
- <!-- <action>read_device_identifying_information</action> -->
- <!-- <action>access_led_control</action> -->
+ <permission system="true">run_native</permission>
<!-- Ensure that shared libraries in the package are found at run-time. -->
<env var="LD_LIBRARY_PATH" value="app/native/lib"/>
View
14 HttpProxy/bar-descriptor.xml
@@ -80,19 +80,7 @@
<!-- <splashscreen></splashscreen> -->
<!-- Request permission to execute native code. Required for native applications. -->
- <action system="true">run_native</action>
-
- <!-- The permissions requested by your application. -->
- <!-- <action>access_shared</action> -->
- <!-- <action>record_audio</action> -->
- <!-- <action>read_geolocation</action> -->
- <!-- <action>use_camera</action> -->
- <!-- <action>access_internet</action> -->
- <!-- <action>play_audio</action> -->
- <!-- <action>post_notification</action> -->
- <!-- <action>set_audio_volume</action> -->
- <!-- <action>read_device_identifying_information</action> -->
- <!-- <action>access_led_control</action> -->
+ <permission system="true">run_native</permission>
<!-- Ensure that shared libraries in the package are found at run-time. -->
<env var="LD_LIBRARY_PATH" value="app/native/lib"/>
View
14 Keyboard/bar-descriptor.xml
@@ -78,19 +78,7 @@
<!-- <splashscreen></splashscreen> -->
<!-- Request permission to execute native code. Required for native applications. -->
- <action system="true">run_native</action>
-
- <!-- The permissions requested by your application. -->
- <!-- <action>access_shared</action> -->
- <!-- <action>record_audio</action> -->
- <!-- <action>read_geolocation</action> -->
- <!-- <action>use_camera</action> -->
- <!-- <action>access_internet</action> -->
- <!-- <action>play_audio</action> -->
- <!-- <action>post_notification</action> -->
- <!-- <action>set_audio_volume</action> -->
- <!-- <action>read_device_identifying_information</action> -->
- <!-- <action>access_led_control</action> -->
+ <permission system="true">run_native</permission>
<!-- Ensure that shared libraries in the package are found at run-time. -->
<env var="LD_LIBRARY_PATH" value="app/native/lib"/>
View
14 LocaleSample/bar-descriptor.xml
@@ -80,19 +80,7 @@
<!-- <splashscreen></splashscreen> -->
<!-- Request permission to execute native code. Required for native applications. -->
- <action system="true">run_native</action>
-
- <!-- The permissions requested by your application. -->
- <!-- <action>access_shared</action> -->
- <!-- <action>record_audio</action> -->
- <!-- <action>read_geolocation</action> -->
- <!-- <action>use_camera</action> -->
- <!-- <action>access_internet</action> -->
- <!-- <action>play_audio</action> -->
- <!-- <action>post_notification</action> -->
- <!-- <action>set_audio_volume</action> -->
- <!-- <action>read_device_identifying_information</action> -->
- <!-- <action>access_led_control</action> -->
+ <permission system="true">run_native</permission>
<!-- Ensure that shared libraries in the package are found at run-time. -->
<env var="LD_LIBRARY_PATH" value="app/native/lib"/>
View
14 NetworkStatus/bar-descriptor.xml
@@ -80,19 +80,7 @@
<!-- <splashscreen></splashscreen> -->
<!-- Request permission to execute native code. Required for native applications. -->
- <action system="true">run_native</action>
-
- <!-- The permissions requested by your application. -->
- <!-- <action>access_shared</action> -->
- <!-- <action>record_audio</action> -->
- <!-- <action>read_geolocation</action> -->
- <!-- <action>use_camera</action> -->
- <!-- <action>access_internet</action> -->
- <!-- <action>play_audio</action> -->
- <!-- <action>post_notification</action> -->
- <!-- <action>set_audio_volume</action> -->
- <!-- <action>read_device_identifying_information</action> -->
- <!-- <action>access_led_control</action> -->
+ <permission system="true">run_native</permission>
<!-- Ensure that shared libraries in the package are found at run-time. -->
<env var="LD_LIBRARY_PATH" value="app/native/lib"/>
View
14 PaymentService/bar-descriptor.xml
@@ -78,19 +78,7 @@
<!-- <splashscreen></splashscreen> -->
<!-- Request permission to execute native code. Required for native applications. -->
- <action system="true">run_native</action>
-
- <!-- The permissions requested by your application. -->
- <!-- <action>access_shared</action> -->
- <!-- <action>record_audio</action> -->
- <!-- <action>read_geolocation</action> -->
- <!-- <action>use_camera</action> -->
- <!-- <action>access_internet</action> -->
- <!-- <action>play_audio</action> -->
- <!-- <action>post_notification</action> -->
- <!-- <action>set_audio_volume</action> -->
- <!-- <action>read_device_identifying_information</action> -->
- <!-- <action>access_led_control</action> -->
+ <permission system="true">run_native</permission>
<!-- Ensure that shared libraries in the package are found at run-time. -->
<env var="LD_LIBRARY_PATH" value="app/native/lib"/>
View
16 PlayAudio/bar-descriptor.xml
@@ -81,20 +81,8 @@
<!-- <splashscreen></splashscreen> -->
<!-- Request permission to execute native code. Required for native applications. -->
- <action system="true">run_native</action>
- <action>play_audio</action>
-
- <!-- The permissions requested by your application. -->
- <!-- <action>access_shared</action> -->
- <!-- <action>record_audio</action> -->
- <!-- <action>read_geolocation</action> -->
- <!-- <action>use_camera</action> -->
- <!-- <action>access_internet</action> -->
- <!-- <action>play_audio</action> -->
- <!-- <action>post_notification</action> -->
- <!-- <action>set_audio_volume</action> -->
- <!-- <action>read_device_identifying_information</action> -->
- <!-- <action>access_led_control</action> -->
+ <permission system="true">run_native</permission>
+ <permission>play_audio</permission>
<!-- Ensure that shared libraries in the package are found at run-time. -->
<env var="LD_LIBRARY_PATH" value="app/native/lib"/>
View
16 PlayWav/bar-descriptor.xml
@@ -81,20 +81,8 @@
<!-- <splashscreen></splashscreen> -->
<!-- Request permission to execute native code. Required for native applications. -->
- <action system="true">run_native</action>
- <action>play_audio</action>
-
- <!-- The permissions requested by your application. -->
- <!-- <action>access_shared</action> -->
- <!-- <action>record_audio</action> -->
- <!-- <action>read_geolocation</action> -->
- <!-- <action>use_camera</action> -->
- <!-- <action>access_internet</action> -->
- <!-- <action>play_audio</action> -->
- <!-- <action>post_notification</action> -->
- <!-- <action>set_audio_volume</action> -->
- <!-- <action>read_device_identifying_information</action> -->
- <!-- <action>access_led_control</action> -->
+ <permission system="true">run_native</permission>
+ <permission>play_audio</permission>
<!-- Ensure that shared libraries in the package are found at run-time. -->
<env var="LD_LIBRARY_PATH" value="app/native/lib"/>
View
18 VideoPlayback/bar-descriptor.xml
@@ -79,21 +79,9 @@
<!-- <splashscreen></splashscreen> -->
<!-- Request permission to execute native code. Required for native applications. -->
- <action system="true">run_native</action>
- <action>access_shared</action>
- <action>play_audio</action>
-
- <!-- The permissions requested by your application. -->
- <!-- <action>access_shared</action> -->
- <!-- <action>record_audio</action> -->
- <!-- <action>read_geolocation</action> -->
- <!-- <action>use_camera</action> -->
- <!-- <action>access_internet</action> -->
- <!-- <action>play_audio</action> -->
- <!-- <action>post_notification</action> -->
- <!-- <action>set_audio_volume</action> -->
- <!-- <action>read_device_identifying_information</action> -->
- <!-- <action>access_led_control</action> -->
+ <permission system="true">run_native</permission>
+ <permission>access_shared</permission>
+ <permission>play_audio</permission>
<!-- Ensure that shared libraries in the package are found at run-time. -->
<env var="LD_LIBRARY_PATH" value="app/native/lib"/>
View
19 VideoWindow/bar-descriptor.xml
@@ -69,24 +69,15 @@
<!-- Request permission to execute native code. Required for native applications. -->
- <action system="true">run_native</action>
+ <permission system="true">run_native</permission>
- <!-- The permissions requested by your application. -->
-
- <action>access_shared</action>
-
- <!-- <permission>record_audio</permission> -->
- <!-- <permission>read_geolocation</permission> -->
- <!-- <permission>use_camera</permission> -->
- <!-- <permission>access_internet</permission> -->
- <!-- <action>access_led_control</action> -->
-
- <action>play_audio</action>
+ <permission>access_shared</permission>
+ <permission>play_audio</permission>
<!-- <permission>post_notification</permission> -->
- <action>set_audio_volume</action>
- <action>read_device_identifying_information</action>
+ <permission>set_audio_volume</permission>
+ <permission>read_device_identifying_information</permission>
<asset path="pb_sample.mp4">pb_sample.mp4</asset>
<asset path="icon.png">icon.png</asset>

0 comments on commit fadfed5

Please sign in to comment.
Something went wrong with that request. Please try again.