Merge "Catch SecurityException when sending clip change broadcast." am: 4274dee38b am: 99f50fd104 am: ff9a81be7d

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1972641

Change-Id: I37b115a7a3023724fd49e7c5a71cd9441b61f8b2
This commit is contained in:
Treehugger Robot
2022-02-07 11:52:16 +00:00
committed by Automerger Merge Worker

View File

@@ -639,7 +639,7 @@ public class ClipboardService extends SystemService {
clipboard.primaryClipListeners.getBroadcastItem(i) clipboard.primaryClipListeners.getBroadcastItem(i)
.dispatchPrimaryClipChanged(); .dispatchPrimaryClipChanged();
} }
} catch (RemoteException e) { } catch (RemoteException | SecurityException e) {
// The RemoteCallbackList will take care of removing // The RemoteCallbackList will take care of removing
// the dead object for us. // the dead object for us.
} }