commit | 9020c8d7fba2f14a5ff56dc13877d1ac77527d7d | [log] [tgz] |
---|---|---|
author | Chuck Liao <chuckliao@google.com> | Mon Sep 07 22:10:11 2020 +0800 |
committer | Chuck Liao <chuckliao@google.com> | Mon Sep 07 22:12:33 2020 +0800 |
tree | eed9b9092725955dfe1910d89bebe1fc5144314e | |
parent | 4a777fbc2f6af5ddb9fb0446d1d174a9641d18ed [diff] |
Fix the crash when applying daily wallpaper without network connection It's because CustomizationPickerActivity is cast to BaseActivity to call isSafeToCommitFragmentTransaction(), but it is not a BaseActivity. Extract isSafeToCommitFragmentTransaction() to an interface to let CustomizationPickerActivity to implement it. Bug: 167943713 Change-Id: Idd392fbd2fbadf3d8f4d69fb68ba1ccec948306a