Skip to content

Commit 1c05f6d

Browse files
yuemingwandroid-build-team Robot
authored andcommitted
Fix potential afwtest.suwdoprovisioning.SuwDoProvisioningTest.testDoProvisioning breakage.
Bug: 110048924 Test: manual Change-Id: Ief487d55a0514ab8beb6d43f3be979a392448d33 (cherry picked from commit 34533624dea3080dfb25675294bd31055f6799c9)
1 parent c27f1bb commit 1c05f6d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/src/main/java/com/afwsamples/testdpc/AddAccountActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ protected void onCreate(Bundle savedInstanceState) {
7070

7171
setContentView(R.layout.activity_add_account);
7272
GlifLayout layout = findViewById(R.id.setup_wizard_layout);
73-
layout.findViewById(R.id.next_button).setOnClickListener(this::onNavigateNext);
73+
layout.findViewById(R.id.suw_navbar_next).setOnClickListener(this::onNavigateNext);
7474

7575
Bundle extras = getIntent().getExtras();
7676
if (extras != null) {

app/src/main/java/com/afwsamples/testdpc/FinalizeActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ protected void onCreate(Bundle savedInstanceState) {
4848
}
4949
setContentView(R.layout.finalize_activity);
5050
mSetupWizardLayout = findViewById(R.id.setup_wizard_layout);
51-
mFinishButton = mSetupWizardLayout.findViewById(R.id.next_button);
51+
mFinishButton = mSetupWizardLayout.findViewById(R.id.suw_navbar_next);
5252
mFinishButton.setText(R.string.finish_button);
5353
mFinishButton.setOnClickListener(this::onNavigateNext);
5454

app/src/main/res/layout/next_footer.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
android:layout_weight="1" />
2727

2828
<Button
29-
android:id="@+id/next_button"
29+
android:id="@+id/suw_navbar_next"
3030
style="@style/SuwGlifButton.Primary"
3131
android:layout_width="wrap_content"
3232
android:layout_height="wrap_content"

0 commit comments

Comments
 (0)