Merge "Catch SecurityException when sending clip change broadcast." am: 4274dee38b am: 99f50fd104 am: ff9a81be7d am: a4ed73571e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1972641 Change-Id: Ia1b89c17f6d1ccc1056db1c7d870eee619987874
This commit is contained in:
@@ -722,7 +722,7 @@ public class ClipboardService extends SystemService {
|
||||
clipboard.primaryClipListeners.getBroadcastItem(i)
|
||||
.dispatchPrimaryClipChanged();
|
||||
}
|
||||
} catch (RemoteException e) {
|
||||
} catch (RemoteException | SecurityException e) {
|
||||
// The RemoteCallbackList will take care of removing
|
||||
// the dead object for us.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user