From bc26a1decc0bb2791743abd54a6cb094e94ffd12 Mon Sep 17 00:00:00 2001 From: Jason Chang Date: Tue, 10 Dec 2024 07:58:16 +0000 Subject: [PATCH] Change resource id to the correct package name Change resource id to the correct SUW package name. Flag: EXEMPT bug-fixing Bug: 383030121 Test: Build ABTD manually then check the UI Change-Id: Ic7dce3c0f61abf56e49163240d12ac5da8b627c6 --- src/com/android/settings/password/PasswordUtils.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/android/settings/password/PasswordUtils.java b/src/com/android/settings/password/PasswordUtils.java index 8c8afc2e9ef..da2ad6331e4 100644 --- a/src/com/android/settings/password/PasswordUtils.java +++ b/src/com/android/settings/password/PasswordUtils.java @@ -109,7 +109,8 @@ public final class PasswordUtils extends com.android.settingslib.Utils { public static void setupScreenLockOptionsButton(Context context, View view, Button optButton) { final LinearLayout headerLayout = view.findViewById( com.google.android.setupdesign.R.id.sud_layout_header); - final TextView sucTitleView = headerLayout.findViewById(R.id.suc_layout_title); + final TextView sucTitleView = headerLayout.findViewById( + com.google.android.setupdesign.R.id.suc_layout_title); if (headerLayout != null && sucTitleView != null) { final ViewGroup.MarginLayoutParams layoutTitleParams = (ViewGroup.MarginLayoutParams) sucTitleView.getLayoutParams();