From b57a50bd16ce25db441da5c1b63d48721bb90687 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Thu, 11 Apr 2013 17:29:32 -0700 Subject: 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 --- packages/FakeOemFeatures/src/com/android/fakeoemfeatures/FakeApp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/FakeOemFeatures') 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 -- cgit v1.1