Adjust the index of the ArrayList during iteration

Decrement the index when an element is deleted during
iteration to avoid the index going out of bounds and also
some elements getting skipped.

Change-Id: Ie4a57e02d684d598cd971c4ce6866579b65345d3
CRs-Fixed: 613390
AudioService: add STREAM_DTMF to stream affected by ringer mode

-STREAM_DTMF volume muted when phone in vibration or silence
 mode but will not restore when back to normal mode by setting
 STREAM_RING volume to 1
-Add STREAM_DTMF to the list of stream volume affected by ringer
 mode

Change-Id: Ib91d6b2c09e10b5cd86ae192cf334c69884da294
CRs-Fixed: 549908
Audio: Fix title of system ringtone contains messy meta

Title in the Meta information of Bootest.ogg contains
junk characters which is displayed in Settings->Sound-
>Phone ringtones.

Correct the binary file to solve this issue.

Change-Id: I91c0519bb55ee5e74f783b0c147acbde641f6502
CRs-Fixed: 569976
audio: Set slient persist property according to ringer mode

Update the persist.sys.silent property when setting ringer mode.
This property could be used by the native layer application.
Example:
Bootanimation could check this property to decide whether
background music is needed.

Change-Id: I64311fcac9d4c3729b38fc2b597dc478d6de4d7c
[SQUASHED] Lockscreen Notifications (1/2)

Following commits inside
AOSPAL/android_frameworks_base@3487cda
AOSPAL/android_frameworks_base@5873e99
AOSPAL/android_frameworks_base@7350e91
AOSPAL/android_frameworks_base@8d99eed
AOSPAL/android_frameworks_base@181110c
AOSPAL/android_frameworks_base@ce14cdd
AOSPAL/android_frameworks_base@3914e8d
AOSPAL/android_frameworks_base@32ec14f
AOSPAL/android_frameworks_base@6d2f41d
AOSPAL/android_frameworks_base@b758e16
AOSPAL/android_frameworks_base@6ba6fdb
AOSPAL/android_frameworks_base@b20bdc9
AOSPAL/android_frameworks_base@25f75c6
AOSPAL/android_frameworks_base@a74309e
AOSPAL/android_frameworks_base@5b6e143
AOSPAL/android_frameworks_base@e9dcb99
AOSPAL/android_frameworks_base@4caa49c
AOSPAL/android_frameworks_base@0f2377c
AOSPAL/android_frameworks_base@7e75b49
AOSPAL/android_frameworks_base@bc6c83f Thanks @Der-Schubi
AOSPAL/android_frameworks_base@8fd230d
AOSPAL/android_frameworks_base@e05eba6
AOSPAL/android_frameworks_base@082774a (Partialy ported - Removed codes of clear notifications navbar button)
AOSPAL/android_frameworks_base@a6f92e5
AOSPAL/android_frameworks_base@c3d76f5
AOSPAL/android_frameworks_base@5b1d884
AOSPAL/android_frameworks_base@0c0b133
AOSPAL/android_frameworks_base@73a6b7d

Change-Id: I6f674da28c53863d5103a5822539f268dc9096c4

Conflicts:
	packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java
	services/java/com/android/server/NotificationManagerService.java
Fix Build