diff options
author | Dianne Hackborn <hackbod@google.com> | 2013-04-11 17:29:32 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2013-04-11 17:29:32 -0700 |
commit | b57a50bd16ce25db441da5c1b63d48721bb90687 (patch) | |
tree | c5abf99dfb96649a5712934126ad5e21eefb1cdc /packages/FakeOemFeatures | |
parent | 77216642884d5131290803776b0fce4d68128e97 (diff) | |
download | frameworks_base-b57a50bd16ce25db441da5c1b63d48721bb90687.zip frameworks_base-b57a50bd16ce25db441da5c1b63d48721bb90687.tar.gz frameworks_base-b57a50bd16ce25db441da5c1b63d48721bb90687.tar.bz2 |
Fix issue #8582003: Evernote Camera Capture Failure
ActivityThread.currentPackageName() was actually returning
the process name. Change this to return the package name, and
fix the one spot using it I could find that was actually wanting
the process name.
Change-Id: I323b9c5987106b5a090968e545281fc0ba55b6b8
Diffstat (limited to 'packages/FakeOemFeatures')
-rw-r--r-- | packages/FakeOemFeatures/src/com/android/fakeoemfeatures/FakeApp.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/FakeApp.java b/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/FakeApp.java index f11b499..36ce7ce 100644 --- a/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/FakeApp.java +++ b/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/FakeApp.java @@ -86,7 +86,7 @@ public class FakeApp extends Application { @Override public void onCreate() { - String processName = ActivityThread.currentPackageName(); + String processName = ActivityThread.currentProcessName(); Slog.i("FakeOEMFeatures", "Creating app in process: " + processName); if (!getApplicationInfo().packageName.equals(processName)) { // If we are not in the main process of the app, then don't do |