diff options
| author | 2014-10-21 14:52:00 -0700 | |
|---|---|---|
| committer | 2014-10-21 14:52:31 -0700 | |
| commit | 7e9c21547a950e1197dfb83c54c937030da1cb9d (patch) | |
| tree | a4526e591b20c125d8475429f1363bc05501af13 | |
| parent | d00e68c3b6a4c727bd59a7e7c4524fb3fdd193f0 (diff) | |
Grant the shell user a permission to let apps host widgets.
An app can host widgets only if it has a special signature premission
or the user allowed this app to be able to bind to widgets. This change
grants the permission to whitelist an app to bind to app widgets to the
shell user. Now a test can have a host that will have some widgets. Note
that this is different from whitelisting corp widgets.
bug:17993121
Change-Id: Ic6b866cb2a822254e94a130b876ee5db66ed4fbf
| -rw-r--r-- | packages/Shell/AndroidManifest.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index 7e6afa67d962..3c4424505f04 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -92,6 +92,7 @@ <uses-permission android:name="android.permission.FRAME_STATS" /> <uses-permission android:name="android.permission.BIND_APPWIDGET" /> <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" /> + <uses-permission android:name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"/> <application android:label="@string/app_label"> <provider |