Add positive button into regulatory info dialog

Based on UX decision to add the positive button into regulatory info
dialog to exit.

Bug: 180558322
Test: visual
Change-Id: I0939ec11d140b5df6d4104042cc376b5c07f12e4
This commit is contained in:
Yanting Yang
2021-03-31 17:44:39 +08:00
parent 21cf6c04db
commit acbd60285f

View File

@@ -62,7 +62,8 @@ public class RegulatoryInfoDisplayActivity extends Activity implements
super.onCreate(savedInstanceState);
AlertDialog.Builder builder = new AlertDialog.Builder(this)
.setTitle(R.string.regulatory_labels)
.setOnDismissListener(this);
.setOnDismissListener(this)
.setPositiveButton(android.R.string.ok, null /* onClickListener */);
boolean regulatoryInfoDrawableExists = false;