ae7902fcefeb0489b6b7360322594ab7bee634df
When the name of the system user (userId 0) is not explicitly set, UserManagerService must return the localized string defined by owner_name. As UserInfo is mutable and its 'name' attribute is publically acessible, UserManagerService currently creates a new UserInfo (with the right 'name') for the system user every time it's needed, which results in ~1200 unnecessary objects created at boot (and more over time). This CL improves the situation by caching 2 UserInfo objets for the system user (one with the original name, and another with the localized name). Test: adb shell dumpsys user | grep "System user:" Fixes: 161915546 Bug: 164159026 Change-Id: Ibbe4fed3e650845d8c365cb6c7a2dcb306738152
Merge "Update docs to clarify how providers can create style bundles and Slices for inline suggestions." into rvc-dev am:
18cff6082d am: 6128b1ba0f am: ea8b670196 am: 74698fc87a
…
Merge "Update language to comply with Android's inclusive language guidance" am:
f98e615b6d am: 9016cc88e3
Merge "Merge "Convert lowpan/tests/Android.mk file to Android.bp" am:
9d9510e39e am: f7c86b4982 am: 152348379d" into rvc-d1-dev-plus-aosp am: acbfaa44ab am: e84805febd
…
…
…
Merge "Use jni_headers instead of JNI_H_INCLUDE" am:
75a5b44258 am: b842272135 am: 61ea9dd847 am: fe576af25a am: b90a8a87d9
Merge "Add sample app for haptic assessment." into rvc-dev am:
d121fd282c am: 7afc791190 am: a06cdd86e4 am: 37a3b83c1d
…
Merge changes from topic "art-owners-update" am:
6066f5dae1 am: 74ad7baf85 am: 11f0a179d7 am: 03c7f1ce80 am: 7c7fe31e82
Merge "Add adhoc conference APIs to RemoteConnection and RemoteConnectionService." am:
329c6ff777 am: e40cfa60de am: 6a55cd1644 am: 300b3cce72 am: f98b0c5eb1
Merge "Fix typo "thew" -> "threw" in AndroidTestRunner" am:
0b778939c7 am: 3f1247e91b am: 7d95615a4d am: 5f1edaf743 am: 3371e64939
Merge "Drop deprecated API lists from csv merge script" am:
269f58445d am: 33afbc9347 am: 3c8464e035 am: da9fd82cd3 am: 56a135a19a
Merge "wifi: Support SAE_TRANSITION when converting to WifiConfiguration" into rvc-qpr-dev am:
bae844a14d am: fb4a3fc115
…
…
…
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%