diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-11-06 15:00:31 -0500 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-11-06 15:00:31 -0500 |
commit | 49fa9e00986993f5cf05f1092c30479cb98eb254 (patch) | |
tree | acfe9329f06cac1fe42d5afccb7e987e55efa043 | |
parent | 7e4a004799eae347f1be227ecba6850d1b386bd2 (diff) | |
parent | 8ee038d9265cb4da0e65475610a1a88c51761bb5 (diff) | |
download | frameworks_base-49fa9e00986993f5cf05f1092c30479cb98eb254.zip frameworks_base-49fa9e00986993f5cf05f1092c30479cb98eb254.tar.gz frameworks_base-49fa9e00986993f5cf05f1092c30479cb98eb254.tar.bz2 |
Merge change Ibf6e51b7 into eclair
* changes:
Set argv[0] from the main thread of an app, not a random binder thread
-rw-r--r-- | core/java/android/app/ActivityThread.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/app/ActivityThread.java b/core/java/android/app/ActivityThread.java index 5f2de0f..daf4090 100644 --- a/core/java/android/app/ActivityThread.java +++ b/core/java/android/app/ActivityThread.java @@ -1447,7 +1447,6 @@ public final class ActivityThread { Bundle instrumentationArgs, IInstrumentationWatcher instrumentationWatcher, int debugMode, boolean isRestrictedBackupMode, Configuration config, Map<String, IBinder> services) { - Process.setArgV0(processName); if (services != null) { // Setup the service cache in the ServiceManager @@ -3818,6 +3817,7 @@ public final class ActivityThread { //Process.setUid(data.appInfo.uid); // send up app name; do this *before* waiting for debugger + Process.setArgV0(data.processName); android.ddm.DdmHandleAppName.setAppName(data.processName); /* |