commit | b8e7346a7077756d9aaabf6af0c910b615997474 | [log] [tgz] |
---|---|---|
author | Yuncheol Heo <ycheo@google.com> | Tue Sep 15 10:33:12 2020 -0700 |
committer | Yuncheol Heo <ycheo@google.com> | Tue Sep 22 21:53:38 2020 +0000 |
tree | 62cfc574cd5d7d29db77fe24db6fb12e16edba28 | |
parent | a897919b5b3943930679c5f985d977fe37012096 [diff] |
Return the focus back to the default display when FixedActivity gets it. Currently, the Activity on the cluster display doesn't need the global focus. So, when FixedActivity gets the focus, we'd like to return it back to the default display. This CL also fixes that it gets the invalid taskId if the display has two tasks. Bug: 155126599 Test: atest android.server.wm.StartActivityTests#testStartHomeIfNoActivities Test: atest com.android.car.am.FixedActivityServiceTest Change-Id: Iddb608b5f6c4ac291cd19720bf08c421c76c81c7 (cherry picked from commit 414d44872fa1a00d0fe148286d76fab3bf994db6) Merged-In: Iddb608b5f6c4ac291cd19720bf08c421c76c81c7
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.