Skip to content

Commit c3d0d86

Browse files
Dianne HackbornAndroid Code Review
authored andcommitted
Merge "Make the Phone options dialog use current language"
2 parents 0950a3e + b6e3476 commit c3d0d86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

policy/src/com/android/internal/policy/impl/GlobalActions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,7 @@ public boolean showBeforeProvisioning() {
221221
final AlertDialog.Builder ab = new AlertDialog.Builder(mContext);
222222

223223
ab.setAdapter(mAdapter, this)
224-
.setInverseBackgroundForced(true)
225-
.setTitle(R.string.global_actions);
224+
.setInverseBackgroundForced(true);
226225

227226
final AlertDialog dialog = ab.create();
228227
dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG);
@@ -249,6 +248,7 @@ private void prepareDialog() {
249248
} else {
250249
mDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG);
251250
}
251+
mDialog.setTitle(R.string.global_actions);
252252
}
253253

254254

0 commit comments

Comments
 (0)