diff options
| author | Lorenzo Colitti <lorenzo@google.com> | 2022-02-03 12:23:54 +0900 |
|---|---|---|
| committer | Chalard Jean <jchalard@google.com> | 2022-02-04 15:31:06 +0900 |
| commit | 7569d5144682d48467b59693928ec10bc6f6eb80 (patch) | |
| tree | baa1f6906bfe6006aa8649e1c0320eb03ba97027 /tests/unit/java/android/net/NetworkStatsCollectionTest.java | |
| parent | 1513c9991e7b8c5f71bad0b7c9152e6c1763e230 (diff) | |
Use RECEIVER_NOT_EXPORTED in CarrierPrivilegeAuthenticator.
Passing one of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED is
required for all code targeting T or above. The correct value
here is RECEIVER_NOT_EXPORTED because the receiver is being
registered in the system server and the broadcast comes from
the system server itself (same UID).
This does not need to be guarded by OS version because
CarrierPrivilegeAuthenticator is only used on T+.
Test: m
Fix: 217642082
Change-Id: I09840b17bd54352896607737b56c6a692ffbd2c2
Diffstat (limited to 'tests/unit/java/android/net/NetworkStatsCollectionTest.java')
0 files changed, 0 insertions, 0 deletions
