diff options
| author | Dianne Hackborn <hackbod@google.com> | 2010-05-04 17:22:49 -0700 |
|---|---|---|
| committer | Dianne Hackborn <hackbod@google.com> | 2010-05-04 17:22:49 -0700 |
| commit | 4416c3d6e4becd9ed39b89a03db0239c8225a135 (patch) | |
| tree | ee83724da376bd99e2a35880c87522a20e2572da /core/java/android/app/IApplicationThread.java | |
| parent | 5e5202bd6f9e7687fc6399762529b0ef5625e515 (diff) | |
Fix issue #2643754: Launcher is caching widget layouts for too long
With the .apk file names now changing during an update, we need
to make sure to flush all caches related to a package when the
package is removed. Otherwise we can continue to use the old
package, since its old file may still exist if we try to load it
too soon.
Change-Id: I15f08dffca3feac999dbca4f24bef12a30ca0a66
Diffstat (limited to 'core/java/android/app/IApplicationThread.java')
| -rw-r--r-- | core/java/android/app/IApplicationThread.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/app/IApplicationThread.java b/core/java/android/app/IApplicationThread.java index ed810d3c1e8d..c917e8126843 100644 --- a/core/java/android/app/IApplicationThread.java +++ b/core/java/android/app/IApplicationThread.java @@ -100,6 +100,9 @@ public interface IApplicationThread extends IInterface { throws RemoteException; void setSchedulingGroup(int group) throws RemoteException; void getMemoryInfo(Debug.MemoryInfo outInfo) throws RemoteException; + static final int PACKAGE_REMOVED = 0; + static final int EXTERNAL_STORAGE_UNAVAILABLE = 1; + void dispatchPackageBroadcast(int cmd, String[] packages) throws RemoteException; String descriptor = "android.app.IApplicationThread"; @@ -135,4 +138,5 @@ public interface IApplicationThread extends IInterface { int SCHEDULE_DESTROY_BACKUP_AGENT_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+30; int GET_MEMORY_INFO_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+31; int SCHEDULE_SUICIDE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+32; + int DISPATCH_PACKAGE_BROADCAST_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+33; } |
