diff options
author | Philip P. Moltmann <moltmann@google.com> | 2017-03-20 10:55:43 -0700 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2017-04-08 00:48:55 +0000 |
commit | eab62baabf290ea6671577a66cfc9fdd1b145d0e (patch) | |
tree | 1c1213cb6f8c0fed40db5cea84d66d7418b0f217 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | ca24a97a156d4e28f195556b3896ed206a81aa95 (diff) |
Restore session on new window after app kill
Also:
- Give the session an integer ID as the activityToken is not stable over
restarts of the activity
- Verify that session is only accessed by one UID
- stabilize AccessibilityViewIds over activity lifecycle at least for
the IDs we can do that. This required to split the ID namespace in
"per-app" and "per-activity" views. Only the later ones can be
restored.
- Do not end session when app is killed (as it can be restarted)
Bug: 35484143
Fixes: 36392498
Test: cts-tradefed run cts-dev -m CtsAutoFillServiceTestCases --test=android.autofillservice.cts.SessionLifecycleTest
cts-tradefed run cts-dev -m CtsAutoFillServiceTestCases
Change-Id: I229acc1b3ce35fb57262da7d7466b5d4328b49d4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions