Skip to content

Commit

Permalink
frameworks: move safe volume warning above expanded volume panel
Browse files Browse the repository at this point in the history
Fixes JIRA bug BACON-50

Change-Id: I1bc7c4781aa81cccd42281f70b394b7f7d81d3e5
Signed-off-by: Roman Birg <roman@cyngn.com>
  • Loading branch information
romanbb committed Jul 10, 2014
1 parent d84e336 commit a55aa1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/java/android/view/VolumePanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@ public void onClick(DialogInterface dialog, int which) {

sConfirmSafeVolumeDialog.setOnDismissListener(warning);
sConfirmSafeVolumeDialog.getWindow().setType(
WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG);
WindowManager.LayoutParams.TYPE_VOLUME_OVERLAY);
sConfirmSafeVolumeDialog.show();
}
updateStates();
Expand Down

0 comments on commit a55aa1a

Please sign in to comment.