commit | f2b0cedcd0b882f04193f405556c2de2abfeb93c | [log] [tgz] |
---|---|---|
author | Simon Wingrove <simonjw@google.com> | Tue Jul 12 06:42:15 2022 +0000 |
committer | Simon Wingrove <simonjw@google.com> | Tue Jul 12 09:55:59 2022 +0000 |
tree | 4479ceae5fe5552719b1b154fcb6961769061a71 | |
parent | 92f0c3d84d785197bfc2dec3318f5807343a51c4 [diff] |
Distinguish multiple PendingIntents via requestCode Settings uses a system of intent extras to open subsettings pages. When PendingIntents are created from these Intents, the system does not think they are unique as extras are not included in this equality check. So only one of them is likely to work. A unique request code can be used to distinguish between them. Bug: 238605613 Test: atest LockScreenSafetySourceTest Change-Id: Ia59197eeb86e988d9ffbb86caff4bbda7b30f059