diff options
author | Mehdi Alizadeh <mett@google.com> | 2019-08-23 14:44:50 -0700 |
---|---|---|
committer | Mehdi Alizadeh <mett@google.com> | 2019-08-28 20:21:49 +0000 |
commit | 23e044d09dc5002af27df3add4d0537604a10404 (patch) | |
tree | 9bc433399caaf5f58b83ac495717887af1b35019 /tests/Codegen/src/com/android/codegentest/SampleDataClassTest.java | |
parent | a58013ae18dbeb87cf3b103d4764428e76a87efe (diff) |
Rebind to the remote service if AppPrediction is restarted or updated
Rebind to the remote AppPredictionService when the service package is
updated. Also adds new restart policy flags in
AbstractMasterSystemService to be able to keep per-user instances in the
cache when service restarts as a result of package data getting cleared,
so that we can revive the existing sessions. This would potentially fix
the issue for other services that try to keep the sessions over data
resets.
Bug: 139445447
Test: Reinstall the AiAi package and verify that suggested apps in launcher are getting updated
Test: Clear data for Device Personalization Services and verify that suggested apps in launcher are getting updated
Test: atest CtsAppPredictionServiceTestCases CtsContentCaptureServiceTestCases
Change-Id: Ie835cb159faa9c0718cd63a3045251444b89e505
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleDataClassTest.java')
0 files changed, 0 insertions, 0 deletions