auto import from //depot/cupcake/@132589
This commit is contained in:
@ -505,12 +505,9 @@ class MountService extends IMountService.Stub {
|
||||
if (mMediaStorageNotification == null) {
|
||||
mMediaStorageNotification = new Notification();
|
||||
mMediaStorageNotification.when = 0;
|
||||
}
|
||||
|
||||
if (mPlaySounds) {
|
||||
mMediaStorageNotification.defaults |= Notification.DEFAULT_SOUND;
|
||||
} else {
|
||||
mMediaStorageNotification.defaults &= ~Notification.DEFAULT_SOUND;
|
||||
if (mPlaySounds) {
|
||||
mMediaStorageNotification.defaults |= Notification.DEFAULT_SOUND;
|
||||
}
|
||||
}
|
||||
|
||||
if (dismissable) {
|
||||
|
Reference in New Issue
Block a user