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

Commit 48b974ba authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ActivityManager: Update timeline debug statements"

parents f7741af0 9cbe997b
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -2055,6 +2055,8 @@ public abstract class ActivityManagerNative extends Binder implements IActivityM

class ActivityManagerProxy implements IActivityManager
{
    static final String TAG_TIMELINE = "Timeline";

    public ActivityManagerProxy(IBinder remote)
    {
        mRemote = remote;
@@ -2073,7 +2075,7 @@ class ActivityManagerProxy implements IActivityManager
        Parcel reply = Parcel.obtain();

        if (intent.getComponent() != null) {
            Log.i("ActivityManager", "Timeline: Activity_launch_request id:"
            Log.i(TAG_TIMELINE, "Timeline: Activity_launch_request id:"
                    + intent.getComponent().getPackageName() + " time:"
                    + SystemClock.uptimeMillis());
        }
@@ -2427,7 +2429,7 @@ class ActivityManagerProxy implements IActivityManager
    public void activityIdle(IBinder token, Configuration config, boolean stopProfiling)
            throws RemoteException
    {
        Log.i("ActivityManager", "Timeline: Activity_idle id: " + token + " time:"
        Log.i(TAG_TIMELINE, "Timeline: Activity_idle id: " + token + " time:"
                + SystemClock.uptimeMillis());
        Parcel data = Parcel.obtain();
        Parcel reply = Parcel.obtain();
+2 −1
Original line number Diff line number Diff line
@@ -58,6 +58,7 @@ import org.codeaurora.Performance;
 */
final class ActivityRecord {
    static final String TAG = ActivityManagerService.TAG;
    static final String TAG_TIMELINE = "Timeline";
    static final boolean DEBUG_SAVED_STATE = ActivityStackSupervisor.DEBUG_SAVED_STATE;
    final public static String RECENTS_PACKAGE_NAME = "com.android.systemui.recent";

@@ -935,7 +936,7 @@ final class ActivityRecord {
                service.scheduleAppGcsLocked();
            }
        }
        Log.i(ActivityManagerService.TAG, "Timeline: Activity_windows_visible id: "
        Log.i(TAG_TIMELINE, "Timeline: Activity_windows_visible id: "
                + this + " time:" + SystemClock.uptimeMillis());
    }