Merge "Merge "Show volume safety warning for all users" am: 0a51955 am: 6cd66de" into nyc-dev

This commit is contained in:
Julia Reynolds
2016-04-11 16:28:53 +00:00
committed by Android (Google) Code Review

View File

@@ -47,6 +47,7 @@ abstract public class SafetyWarningDialog extends SystemUIDialog
mAudioManager = audioManager;
getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ERROR);
setShowForAllUsers(true);
setMessage(mContext.getString(com.android.internal.R.string.safe_media_volume_warning));
setButton(DialogInterface.BUTTON_POSITIVE,
mContext.getString(com.android.internal.R.string.yes), this);