OSDN Git Service

Merge "Add WearDisplayService to the system server; add a SET_DISPLAY_OFFSET permissi...
authorTreeHugger Robot <treehugger-gerrit@google.com>
Fri, 26 May 2017 21:48:48 +0000 (21:48 +0000)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Fri, 26 May 2017 21:49:00 +0000 (21:49 +0000)
1  2 
core/res/AndroidManifest.xml
services/java/com/android/server/SystemServer.java

      <permission android:name="android.permission.REQUEST_COMPANION_USE_DATA_IN_BACKGROUND"
                  android:label="@string/permlab_useDataInBackground"
                  android:description="@string/permdesc_useDataInBackground"
 -                android:protectionLevel="signature" />
 +                android:protectionLevel="normal" />
  
+     <!-- @hide Allows an application to set display offsets for the screen.
+          This permission is not available to third party applications. -->
+     <permission android:name="android.permission.SET_DISPLAY_OFFSET"
+         android:protectionLevel="signature|privileged" />
  
      <!-- ================================== -->
      <!-- Permissions affecting the system wallpaper -->