storage: Don't list removed volumes in storage list

 * Don't tell apps that USB storage or empty SD slots are available for
   use. This fixes errors about trying to create dirs in vold as well
   as the relevant CTS cases.

Change-Id: Ic763d40c19b0bb9f7497cc1515baf1661d76e9ee
Merge branch 'kitkat' of https://github.com/AOSPA/android_frameworks_base into kitkat
keyguard: fix delay lock screen sound

Change-Id: Ia4cd2c856df1573856386e1597dcc0a9600d25a5
JIRA: CYAN-3362
Issue: https://jira.cyanogenmod.org/browse/CYAN-3362
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge branch 'kitkat' of https://github.com/AOSPA/android_frameworks_base into kitkat

Conflicts:
	core/java/android/provider/Settings.java

Change-Id: I1094b436c3b7e3c99229d2c01fa9eaf345d9b9db
Merge remote-tracking branch 'base/kitkat-remix' into remix-legacy

Conflicts:
	core/java/android/provider/Settings.java
	services/java/com/android/server/NotificationManagerService.java
Merge remote-tracking branch 'PA/kitkat' into remix-legacy
BroadcastQueue: fix class typo of next receiver

nextReceiver should be cast to ResolveInfo
instead of ActivityInfo since it's ResolveInfo
that is pushed into List r.receivers.
Otherwise nextReceiver will always be null
as there is no ActivityInfo in r.receivers.

Change-Id: Iea3a720e6d7296fedff318643a1b4f5b9fce900c
Signed-off-by: Leavitt Zhang <leavittz@nvidia.com>
Make sure to turn off led after pulse()

setLightLocked() will update mColor. This will cause the led to not be
turned off after the pulse.
When notificationManager starts a attention pulse the led will be kept
on. Since attention is of highest prio nothing can turn it off.
This is fixed by resetting mColor back to 0 after the call.

Change-Id: Id60ef96e5c21b47c23002f0bcf2fae7fb3f2ca10
Make sure to turn off led after pulse()

setLightLocked() will update mColor. This will cause the led to not be
turned off after the pulse.
When notificationManager starts a attention pulse the led will be kept
on. Since attention is of highest prio nothing can turn it off.
This is fixed by resetting mColor back to 0 after the call.

Change-Id: Id60ef96e5c21b47c23002f0bcf2fae7fb3f2ca10
Cleanup for the previous QuietHours changes

1. Remove MNVO_ROAMING which was already added previously.

2. Add QuietHoursHelper.java back which is required.
Merge branch 'kitkat-remix' of github.com:AOSPAL/android_frameworks_base into kitkat-remix
Merge remote-tracking branch 'base/kitkat-remix' into remix-legacy

Conflicts:
	core/java/android/provider/Settings.java
Merge branch 'remix-legacy' of git://github.com/AOSPAL/android_frameworks_base into AOSPAL-remix-legacy