commit | 136496079aaf1fac10d2b499dad06009518aa6ab | [log] [tgz] |
---|---|---|
author | Yuncheol Heo <ycheo@google.com> | Fri Dec 16 22:03:37 2022 -0800 |
committer | Yuncheol Heo <ycheo@google.com> | Fri Dec 16 22:14:45 2022 -0800 |
tree | 0fdf70f3fa848332d0677ee80acf42509c346614 | |
parent | 1f503863215818adf15af92e53bdc013a70ad30f [diff] |
Let setPersistentActivity() fail if it can't find the display - With getDisplayContentOrCreate(), it can cause the system crash when the race-condition happens for the newly added virtual display. - It would be better to let the api fail when the race-condition happens. - Adjusts some log messages. Bug: 262743998 Test: atest com.google.android.car.ats.CarActivityManagerTest#testSetPersistentActivity Change-Id: I12e120016bc75da699db2f7081f7a751ef751abc