OSDN Git Service

Making the clipboard work across users.
authorNicolas Prevot <nprevot@google.com>
Wed, 25 Jun 2014 08:29:02 +0000 (09:29 +0100)
committerNicolas Prévot <nprevot@google.com>
Thu, 24 Jul 2014 10:25:57 +0000 (10:25 +0000)
commitf1939901d2ed0480069f0b23be64f122fce93995
treecebc40b9a7c15cd56cff7154da2a5b3f19888061
parent3ea4310a2245763de1ba29b8ce0a21e99a702746
Making the clipboard work across users.

When copying from the parent: the ClipData can be pasted in the managed profile.
When copying from a managed profile: it can be pasted in the parent,
unless the policies says it's disabled. In which case, the clipboard of the parent becomes empty.
Supporting content uris.

BUG: 15186236

Change-Id: I522564a7c07ff21df137adcda980bb52e5739964
api/current.txt
core/java/android/app/ActivityManagerNative.java
core/java/android/app/IActivityManager.java
core/java/android/content/ClipData.java
core/java/android/os/UserManager.java
services/core/java/com/android/server/am/ActivityManagerService.java
services/core/java/com/android/server/clipboard/ClipboardService.java