Merge "Catch remote exception" into sc-dev
This commit is contained in:
@@ -194,7 +194,11 @@ public class ThemeOverlayApplier implements Dumpable {
|
||||
}
|
||||
|
||||
mExecutor.execute(() -> {
|
||||
mOverlayManager.commit(transaction.build());
|
||||
try {
|
||||
mOverlayManager.commit(transaction.build());
|
||||
} catch (SecurityException | IllegalStateException e) {
|
||||
Log.e(TAG, "setEnabled failed", e);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user