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

Commit 7b0cf3e0 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Log configuration once changed from QSPanelControllerBase" into...

Merge "Log configuration once changed from QSPanelControllerBase" into tm-qpr-dev am: 5f1c18bd am: cdfc10ba

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19967848



Change-Id: I34d445031d7752054bd997e7d5dce1775be2f734
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 5b5de133 cdfc10ba
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ import android.annotation.Nullable;
import android.content.ComponentName;
import android.content.res.Configuration;
import android.metrics.LogMaker;
import android.util.Log;
import android.view.View;

import com.android.internal.annotations.VisibleForTesting;
@@ -61,6 +62,7 @@ import kotlin.jvm.functions.Function1;
 */
public abstract class QSPanelControllerBase<T extends QSPanel> extends ViewController<T>
        implements Dumpable{
    private static final String TAG = "QSPanelControllerBase";
    protected final QSTileHost mHost;
    private final QSCustomizerController mQsCustomizerController;
    private final boolean mUsingMediaPlayer;
@@ -90,6 +92,13 @@ public abstract class QSPanelControllerBase<T extends QSPanel> extends ViewContr
                public void onConfigurationChange(Configuration newConfig) {
                    mShouldUseSplitNotificationShade =
                            LargeScreenUtils.shouldUseSplitNotificationShade(getResources());
                    // Logging to aid the investigation of b/216244185.
                    Log.d(TAG,
                            "onConfigurationChange: "
                                    + "mShouldUseSplitNotificationShade="
                                    + mShouldUseSplitNotificationShade + ", "
                                    + "newConfig.windowConfiguration="
                                    + newConfig.windowConfiguration);
                    mQSLogger.logOnConfigurationChanged(mLastOrientation, newConfig.orientation,
                            mView.getDumpableTag());
                    onConfigurationChanged();