Skip to content
Commit 05ff5d14 authored by Chilun's avatar Chilun Committed by Chilun Huang
Browse files

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
parent e252d155
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment