Cherry-pick from aosp to lmp-dev. When switching to a newly created user, the user may face this bug when he opens the RecentTask screen. A possible bug scenario is described as follows: A user id of a removed user may be recycled when created a new user. However, mRecentTasks is not correctly controlled so that old information may still remain and be possibly mapped to wrong user. This patch prevents this bug by explicitly removing old information in mRecentTasks when removing existing user. Change-Id: I1874dbd604598a5d740ae1e034981e21214c15c6 Signed-off-by: Eunae Kim <eunae.kim@lge.com> Conflicts: services/java/com/android/server/am/ActivityManagerService.java
…
…
Description
No description provided
Languages
Java
77.3%
Kotlin
9.2%
PowerBuilder
6.6%
C++
5.5%
AIDL
1%