OSDN Git Service

(DO NOT MERGE) Fix pub issue #58043: Copy crash in Android 4.3...
authorDianne Hackborn <hackbod@google.com>
Tue, 30 Jul 2013 01:11:02 +0000 (18:11 -0700)
committerDianne Hackborn <hackbod@google.com>
Wed, 31 Jul 2013 20:48:39 +0000 (13:48 -0700)
commita99cb5bc41d4493db84c5ee3d9123d4a99df5c53
tree4ae782c40eaf91498ef089fb92f52473132c530c
parent38d4cfd4a19de35c2b16c0f64b26d4b9ed362ede
(DO NOT MERGE) Fix pub issue #58043: Copy crash in Android 4.3...

...when clipboard listener attached

We need to clear the calling identity before dispatching change
notifications.  Also make this more robust, so that in the face
of any failure we will clean up the broadcast state.

Integrated from master.

Change-Id: I05e1f76ffd486439535631fe4062dabe94bd2ccf
core/java/android/app/ActivityManager.java
services/java/com/android/server/ClipboardService.java