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

Commit f69aa777 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Log time ticks

AP is waking up but seems like clock is not being updated.
Added some logs to debug it.

Test: look at logs
Fixes: 130888082
Change-Id: I14e31a748573e26f161f837044ef61b57367bfe0
parent 5a9e4ba9
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -9,12 +9,14 @@ import android.app.WallpaperManager;
import android.content.Context;
import android.graphics.Paint;
import android.graphics.Paint.Style;
import android.os.Build;
import android.transition.ChangeBounds;
import android.transition.Transition;
import android.transition.TransitionListenerAdapter;
import android.transition.TransitionManager;
import android.transition.TransitionValues;
import android.util.AttributeSet;
import android.util.Log;
import android.util.MathUtils;
import android.util.TypedValue;
import android.view.View;
@@ -47,6 +49,8 @@ import javax.inject.Named;
 */
public class KeyguardClockSwitch extends RelativeLayout {

    private static final String TAG = "KeyguardClockSwitch";

    /**
     * Controller used to track StatusBar state to know when to show the big_clock_container.
     */
@@ -343,6 +347,10 @@ public class KeyguardClockSwitch extends RelativeLayout {
        if (mClockPlugin != null) {
            mClockPlugin.onTimeTick();
        }
        if (Build.IS_DEBUGGABLE) {
            // Log for debugging b/130888082 (sysui waking up, but clock not updating)
            Log.d(TAG, "Updating clock: " + mClockView.getText());
        }
    }

    /**