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
This commit is contained in:
Jason Chang
2024-12-10 07:58:16 +00:00
parent 7c6a8a4f42
commit bc26a1decc

View File

@@ -109,7 +109,8 @@ public final class PasswordUtils extends com.android.settingslib.Utils {
public static void setupScreenLockOptionsButton(Context context, View view, Button optButton) { public static void setupScreenLockOptionsButton(Context context, View view, Button optButton) {
final LinearLayout headerLayout = view.findViewById( final LinearLayout headerLayout = view.findViewById(
com.google.android.setupdesign.R.id.sud_layout_header); 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) { if (headerLayout != null && sucTitleView != null) {
final ViewGroup.MarginLayoutParams layoutTitleParams = final ViewGroup.MarginLayoutParams layoutTitleParams =
(ViewGroup.MarginLayoutParams) sucTitleView.getLayoutParams(); (ViewGroup.MarginLayoutParams) sucTitleView.getLayoutParams();