Explicitly mark receivers as RECEIVER_NOT_EXPORTED
The intent actions registered for here are only marked as protected broadcasts if the telephony package is present. In its absence, receivers *must* specify either RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED. Since these Intents are sent from Telephony, which runs with a system UID less than the first application UID (10000), the system_server can receive these broadcasts without exporting the receivers. Bug: 218831939 Test: build & run on ATV device Test: atest TelephonySubscriptionTrackerTest Change-Id: I3fed2a1772fccea611f68e9425755b0c9aa9051e
Loading
Please register or sign in to comment