Merge "Catch remote exception" into sc-dev

This commit is contained in:
Lucas Dupin
2021-02-13 06:50:17 +00:00
committed by Android (Google) Code Review

View File

@@ -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);
}
});
}