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

Commit da884a7a authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Merge "Add dump of current nav bar layout" into rvc-dev am: 3b3093b7...

Merge "Merge "Add dump of current nav bar layout" into rvc-dev am: 3b3093b7 am: a822ebe7 am: f0731cc8" into rvc-qpr-dev-plus-aosp am: 60d0f7e4

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

Change-Id: I499929d84382fd5673bdc231d755ba212b351e05
parents 8f1b6f77 60d0f7e4
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ import com.android.systemui.shared.system.QuickStepContract;
import com.android.systemui.statusbar.phone.ReverseLinearLayout.ReverseRelativeLayout;
import com.android.systemui.statusbar.policy.KeyButtonView;

import java.io.PrintWriter;
import java.util.Objects;

public class NavigationBarInflaterView extends FrameLayout
@@ -469,4 +470,10 @@ public class NavigationBarInflaterView extends FrameLayout
    private static float convertDpToPx(Context context, float dp) {
        return dp * context.getResources().getDisplayMetrics().density;
    }

    public void dump(PrintWriter pw) {
        pw.println("NavigationBarInflaterView {");
        pw.println("      mCurrentLayout: " + mCurrentLayout);
        pw.println("    }");
    }
}
+3 −0
Original line number Diff line number Diff line
@@ -1198,6 +1198,9 @@ public class NavigationBarView extends FrameLayout implements

        pw.println("    }");

        if (mNavigationInflaterView != null) {
            mNavigationInflaterView.dump(pw);
        }
        mContextualButtonGroup.dump(pw);
        mRecentsOnboarding.dump(pw);
        mRegionSamplingHelper.dump(pw);