Merge "Catch SecurityException when sending clip change broadcast."
This commit is contained in:
@@ -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.
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user