summaryrefslogtreecommitdiffstats
path: root/packages/FakeOemFeatures
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2013-04-11 17:29:32 -0700
committerDianne Hackborn <hackbod@google.com>2013-04-11 17:29:32 -0700
commitb57a50bd16ce25db441da5c1b63d48721bb90687 (patch)
treec5abf99dfb96649a5712934126ad5e21eefb1cdc /packages/FakeOemFeatures
parent77216642884d5131290803776b0fce4d68128e97 (diff)
downloadframeworks_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.java2
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