auto import from //depot/cupcake/@132589

This commit is contained in:
The Android Open Source Project
2009-03-03 14:04:24 -08:00
parent 3dec7d563a
commit 076357b856
310 changed files with 4072 additions and 18131 deletions

View File

@ -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) {