diff options
author | Valentin Iftime <valiiftime@google.com> | 2021-06-18 10:39:41 +0200 |
---|---|---|
committer | Iavor-Valentin Iftime <valiiftime@google.com> | 2021-06-18 13:35:36 +0000 |
commit | e80be438ef48f67ed8ce511be864986b030b8a2d (patch) | |
tree | 226d549e58b2efbb637880df8f6e2b862ee1800a | |
parent | 5eb66473859cadbf482ae06fd6f6fa23bba47ef0 (diff) | |
download | atv-e80be438ef48f67ed8ce511be864986b030b8a2d.tar.gz |
Add REQUEST_MANAGE_MEDIA intent handler
Add missing Settings.ACTION_REQUEST_MANAGE_MEDIA handler as a stub,
which will show a "Not supported" message.
Not implemented on ATV because managing external storage is not fully
supported.
Test: atest android.content.cts.AvailableIntentsTest#testRequestManageMedia
Bug: 186667747
Change-Id: I8dc47b10c8cfe442d1bfd74042891e6d3a3ab9fb
-rw-r--r-- | FrameworkPackageStubs/AndroidManifest.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/FrameworkPackageStubs/AndroidManifest.xml b/FrameworkPackageStubs/AndroidManifest.xml index 9b2b9ac..507bd20 100644 --- a/FrameworkPackageStubs/AndroidManifest.xml +++ b/FrameworkPackageStubs/AndroidManifest.xml @@ -624,6 +624,10 @@ <action android:name="android.settings.ENTERPRISE_PRIVACY_SETTINGS" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> + <intent-filter android:priority="-1"> + <action android:name="android.settings.REQUEST_MANAGE_MEDIA" /> + <category android:name="android.intent.category.DEFAULT" /> + </intent-filter> </activity> <activity android:name=".Stubs$SettingsPrivacyStub" |