Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99f50fd1 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Catch SecurityException when sending clip change broadcast." am: 4274dee3

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

Change-Id: I31e7357ec4babe64136cf586fa4f47cb277e7d63
parents e0235317 4274dee3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -639,7 +639,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.
                }