commit | b17d15044c5f81b49ae094167bc49c940acb17f0 | [log] [tgz] |
---|---|---|
author | Chuck Liao <chuckliao@google.com> | Mon Sep 07 21:55:30 2020 +0800 |
committer | Chuck Liao <chuckliao@google.com> | Mon Sep 07 22:12:51 2020 +0800 |
tree | ac192f40b87ec1ebd52abeb534d2239f07080fde | |
parent | cb187dbd62b7bdcb405252f4ae864d3e273376a0 [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: I497620f86f5309392761ce11e19bc183a70178cb