diff options
author | Mehdi Alizadeh <mett@google.com> | 2020-12-13 19:54:30 -0800 |
---|---|---|
committer | Mehdi Alizadeh <mett@google.com> | 2020-12-13 19:54:30 -0800 |
commit | 9d36cc2280289c570945cc6aa1df84f919df8a2d (patch) | |
tree | a2d0afdeaa55d5bb11abe5784f59ae736f2b5a2c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 786d279f6c1d55771b0a3e9cf389d3599820712c (diff) |
Don't reset default launcher if the user is not loaded
If the user is not loaded in ShortcutService, there is no need to reset
the current default launcher. This is to prevent any unnecessary file IO
when the default launcher changes.
Bug: 173614832
Test: atest com.android.server.pm.ShortcutManagerTest1
com.android.server.pm.ShortcutManagerTest2
com.android.server.pm.ShortcutManagerTest3
com.android.server.pm.ShortcutManagerTest4
com.android.server.pm.ShortcutManagerTest5
com.android.server.pm.ShortcutManagerTest6
com.android.server.pm.ShortcutManagerTest7
com.android.server.pm.ShortcutManagerTest8
com.android.server.pm.ShortcutManagerTest9
com.android.server.pm.ShortcutManagerTest10
com.android.server.pm.ShortcutManagerTest11
atest CtsShortcutHostTestCases
atest CtsShortcutManagerTestCases
Change-Id: Ic3bbb0f7b4d308bddbff1d586a8700388f317f6b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions