diff options
author | Chilun <chilunhuang@google.com> | 2019-06-12 12:06:37 +0800 |
---|---|---|
committer | Chilun Huang <chilunhuang@google.com> | 2019-06-14 03:07:11 +0000 |
commit | 05ff5d14872c434c6f82bdbcd6ec2aedbaad221d (patch) | |
tree | 2ba7db5cfa8e5edef9206c021f80b131635c31ac /startop/scripts/lib/print_utils.py | |
parent | e252d155b13e0f63ea4d2ff148bbb74aaf7db1da (diff) |
We should prevent starting home activity before setup
In original call flow, we were using startActivityAsUser, which has
the check, to start home activity.
In previous CL, we replaced it by
mActivityTaskManagerInternal.startHomeOnDisplay but missed the check.
So we need to add it back now.
Also add unit tests.
Bug: 134689126
Test: atest PhoneWindowManagerTests
Change-Id: Icc455d5596f8d9691d61c7b8dda82016720443b7
Diffstat (limited to 'startop/scripts/lib/print_utils.py')
0 files changed, 0 insertions, 0 deletions