diff options
| author | Sergey Nikolaienkov <sergeynv@google.com> | 2022-04-08 13:47:41 +0200 |
|---|---|---|
| committer | Sergey Nikolaienkov <sergeynv@google.com> | 2022-04-08 14:08:27 +0200 |
| commit | 8228658b691897f110c5d77195a97b2f2f2b2aeb (patch) | |
| tree | a12196845063105b138f2c234395e255294bd920 /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | 65d4e08971cd146eddd7414c6214a7dc5def85da (diff) | |
Guard against incorrect ID assignment in CdmService
Do not assume that all previously assigned association IDs were assigned
correctly in regard to ranges of associations ID allocated to each user
when generating an association ID for a new association in
CompanionDeviceManagerService.getNewAssociationIdForPackage().
Also Slog.e() when detect such errors in existing Associations as well
as when detect ID conflicts in AssociationStoreImpl.addAssociation().
Bug: 224736262
Bug: 223995714
Test: atest CtsCompanionDeviceManagerCoreTestCases
Change-Id: Ibe14cfda9718b3e473f0f157bbfef2f7051819c2
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
