Merge "Add positive button into regulatory info dialog" into sc-dev

This commit is contained in:
Yanting Yang
2021-04-01 03:54:27 +00:00
committed by Android (Google) Code Review

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;