Permission protect receipt of QUERY_PACKAGE_RESTART
This change adds a signature permission to the system manifest intended to guard receipt of the QUERY_PACKAGE_RESTART ordered broadcast so that arbitrary apps cannot receive or inject bad data into the response. Bug: 230755401 Test: manual - settings force stop works Change-Id: Idffc0c1af702da9cb06747c800266efc48592b02
This commit is contained in:
@@ -6532,6 +6532,12 @@
|
||||
<permission android:name="android.permission.MAKE_UID_VISIBLE"
|
||||
android:protectionLevel="signature" />
|
||||
|
||||
<!-- Limits the system as the only handler of the QUERY_PACKAGE_RESTART broadcast
|
||||
@hide -->
|
||||
<permission android:name="android.permission.HANDLE_QUERY_PACKAGE_RESTART"
|
||||
android:protectionLevel="signature" />
|
||||
<uses-permission android:name="android.permission.HANDLE_QUERY_PACKAGE_RESTART" />
|
||||
|
||||
<!-- Attribution for Geofencing service. -->
|
||||
<attribution android:tag="GeofencingService" android:label="@string/geofencing_service"/>
|
||||
<!-- Attribution for Country Detector. -->
|
||||
|
||||
Reference in New Issue
Block a user