summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorJoe Onorato <joeo@google.com>2018-12-11 14:17:36 -0800
committerJoe Onorato <joeo@google.com>2019-01-29 07:34:37 -0800
commit042d63c9decaaf0388e15311ceb8ed3f66e954d5 (patch)
tree0d6e4c51b34259587144496d1e71a2b9630e58c6 /AndroidManifest.xml
parent5861b7b8233d76822ffb51eb18948be8045e3536 (diff)
downloadandroid_packages_apps_PackageInstaller-042d63c9decaaf0388e15311ceb8ed3f66e954d5.tar.gz
android_packages_apps_PackageInstaller-042d63c9decaaf0388e15311ceb8ed3f66e954d5.tar.bz2
android_packages_apps_PackageInstaller-042d63c9decaaf0388e15311ceb8ed3f66e954d5.zip
Add UI to approve incident and bug reports.
The data in incident and bug reports can be PII or even SPII, so PermissionController has the special responsibility to let the user give access to those. Bug: 123543706 Test: atest GooglePermissionControllerTest Change-Id: I9917c9c04316064b84bc3add2d9a75a8000aad10
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml21
1 files changed, 20 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index aec523df..af11ed5e 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -29,8 +29,9 @@
<uses-permission android:name="android.permission.OBSERVE_ROLE_HOLDERS" />
<uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS" />
<uses-permission android:name="com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER" />
-
<uses-permission android:name="android.permission.ACCESS_INSTANT_APPS" />
+ <uses-permission android:name="android.permission.REQUEST_INCIDENT_REPORT_APPROVAL" />
+ <uses-permission android:name="android.permission.APPROVE_INCIDENT_REPORTS" />
<uses-sdk android:minSdkVersion="28" android:targetSdkVersion="28" />
@@ -205,6 +206,24 @@
<action android:name="android.rolecontrollerservice.RoleControllerService"/>
</intent-filter>
</service>
+
+ <!-- Debug report authorization (bugreport and incident report) -->
+ <receiver android:name="com.android.packageinstaller.incident.ConfirmationReceiver"
+ android:exported="true">
+ <intent-filter>
+ <action android:name="android.intent.action.PENDING_INCIDENT_REPORTS_CHANGED" />
+ </intent-filter>
+ </receiver>
+
+ <activity android:name="com.android.packageinstaller.incident.ConfirmationActivity"
+ android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar"
+ android:exported="false"
+ android:excludeFromRecents="true"
+ android:noHistory="true" />
+
+ <receiver android:name="com.android.packageinstaller.incident.ApprovalReceiver"
+ android:exported="false" />
+
</application>
</manifest>