diff options
author | Dianne Hackborn <hackbod@google.com> | 2009-09-17 15:14:12 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2009-09-17 18:01:35 -0700 |
commit | fa82f22f1d8c4c828bdf9b670006be4f4fec772e (patch) | |
tree | 586dbd1bf9cbefe26cfecd6cf853b78eb6a4fb64 /core/java/android/content/ContextWrapper.java | |
parent | 9b64ef133c1eb24c8d00aa7e46ec86c544af5fe2 (diff) | |
download | frameworks_base-fa82f22f1d8c4c828bdf9b670006be4f4fec772e.zip frameworks_base-fa82f22f1d8c4c828bdf9b670006be4f4fec772e.tar.gz frameworks_base-fa82f22f1d8c4c828bdf9b670006be4f4fec772e.tar.bz2 |
Fix issue #2093608: Calendar widget takes a few seconds to launch
Avert your eyes!
The key change here is that RemoteViews can now call a Context API to
start its pending intent, which inside of the activity manager we can
use to determine to cancel the timeout delay for external entities
to disrupt the home screen.
Change-Id: If097cf7478cbed7a3c04a304050bd7fd5703d197
Diffstat (limited to 'core/java/android/content/ContextWrapper.java')
-rw-r--r-- | core/java/android/content/ContextWrapper.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/content/ContextWrapper.java b/core/java/android/content/ContextWrapper.java index 15612ce..d580c47 100644 --- a/core/java/android/content/ContextWrapper.java +++ b/core/java/android/content/ContextWrapper.java @@ -249,6 +249,14 @@ public class ContextWrapper extends Context { } @Override + public void startIntentSender(IntentSender intent, + Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags) + throws IntentSender.SendIntentException { + mBase.startIntentSender(intent, fillInIntent, flagsMask, + flagsValues, extraFlags); + } + + @Override public void sendBroadcast(Intent intent) { mBase.sendBroadcast(intent); } |