diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-09-27 14:58:44 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2010-10-05 14:09:08 -0700 |
commit | 90f4aafa336d9f2f07281ead3c846d323a710015 (patch) | |
tree | 68c03063b31b671be8b2a5b58607472f7003a9cb /core/java/android/content/ClipboardManager.java | |
parent | e21635571eec6600abbfa2cd926383e788b12e12 (diff) | |
download | frameworks_base-90f4aafa336d9f2f07281ead3c846d323a710015.zip frameworks_base-90f4aafa336d9f2f07281ead3c846d323a710015.tar.gz frameworks_base-90f4aafa336d9f2f07281ead3c846d323a710015.tar.bz2 |
Implement permission granting in clipboard.
Change-Id: I9a7a949d1aaf4b3beabceaf807fb7d3b040e4ea8
Diffstat (limited to 'core/java/android/content/ClipboardManager.java')
-rw-r--r-- | core/java/android/content/ClipboardManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/content/ClipboardManager.java b/core/java/android/content/ClipboardManager.java index 0ea0648..85a6765 100644 --- a/core/java/android/content/ClipboardManager.java +++ b/core/java/android/content/ClipboardManager.java @@ -108,7 +108,7 @@ public class ClipboardManager extends android.text.ClipboardManager { */ public ClipData getPrimaryClip() { try { - return getService().getPrimaryClip(); + return getService().getPrimaryClip(mContext.getPackageName()); } catch (RemoteException e) { return null; } |