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 /tools | |
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 'tools')
-rw-r--r-- | tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java index f48c8db..4e7e925 100644 --- a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java +++ b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java @@ -27,6 +27,7 @@ import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; +import android.content.IntentSender; import android.content.ServiceConnection; import android.content.SharedPreferences; import android.content.pm.ApplicationInfo; @@ -1124,6 +1125,13 @@ public final class BridgeContext extends Context { } @Override + public void startIntentSender(IntentSender intent, + Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags) + throws IntentSender.SendIntentException { + // TODO Auto-generated method stub + } + + @Override public boolean startInstrumentation(ComponentName arg0, String arg1, Bundle arg2) { // TODO Auto-generated method stub |