diff options
| author | 2022-09-27 17:11:32 +0000 | |
|---|---|---|
| committer | 2022-10-17 20:47:17 +0000 | |
| commit | 8afc387eb1fe5061250e88d5666ae47c11ab5b07 (patch) | |
| tree | 76895a1300bad5564f852bf38eca82e19bea3e92 /libs/androidfw/ResourceTimer.cpp | |
| parent | a7a56842013efef18b635cf579ec873bbea8e207 (diff) | |
Use setIdentifier instead of dynamic categories
Change I27987301ebf393de6f781b17ed7bc789789c01ab introduced the usage of
dynamic categories to prevent the pending intent from being cached. This
is incompatible with the new T explicit intent filter enforcement, as a
dynamic category can never match any intent-filter.
Switch to use the PendingIntent#setIdentifier API introduced in API 29,
specifically designed for this use case.
Bug: 249043995
Test: m + manual
Change-Id: I2bbe4e554ef337299138f2a7691eeffc60e18e9d
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions