Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9afb1fc4 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Logging to track #36406078

Bug: 36406078
Test: N/A
Change-Id: I9724fa8511686a342bf25d1979c17c0a4700e292
parent 0a637ecd
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -792,6 +792,11 @@ public final class ActivityThread {
        public final void scheduleReceiver(Intent intent, ActivityInfo info,
                CompatibilityInfo compatInfo, int resultCode, String data, Bundle extras,
                boolean sync, int sendingUser, int processState) {
            // TODO: Debugging added for bug:36406078 . Remove when done
            if (Log.isLoggable("36406078", Log.DEBUG)) {
                Log.d(TAG, "scheduleReceiver");
            }

            updateProcessState(processState, false);
            ReceiverData r = new ReceiverData(intent, resultCode, data, extras,
                    sync, false, mAppThread.asBinder(), sendingUser);
@@ -878,6 +883,11 @@ public final class ActivityThread {
                CompatibilityInfo compatInfo, Map services, Bundle coreSettings,
                String buildSerial) {

            // TODO: Debugging added for bug:36406078 . Remove when done
            if (Log.isLoggable("36406078", Log.DEBUG)) {
                Log.d(TAG, "bindApplication: " + processName);
            }

            if (services != null) {
                // Setup the service cache in the ServiceManager
                ServiceManager.initServiceCache(services);
@@ -3184,6 +3194,10 @@ public final class ActivityThread {
        if (receiver.getPendingResult() != null) {
            data.finish();
        }
        // TODO: Debugging added for bug:36406078 . Remove when done
        if (Log.isLoggable("36406078", Log.DEBUG)) {
            Log.d(TAG, "handleReceiver done");
        }
    }

    // Instantiate a BackupAgent and tell it that it's alive
@@ -5717,6 +5731,10 @@ public final class ActivityThread {
        } catch (RemoteException e) {
            throw e.rethrowFromSystemServer();
        }
        // TODO: Debugging added for bug:36406078 . Remove when done
        if (Log.isLoggable("36406078", Log.DEBUG)) {
            Log.d(TAG, "handleBindApplication done");
        }
    }

    /*package*/ final void finishInstrumentation(int resultCode, Bundle results) {