SystemUI: Add missing catalan translation

PS2: some corrections

Change-Id: Iee6dcef26aab68796cf22c2b26ccef5616056ff6
Revert "[1/3]Quiet Hours"

This reverts commit d1f9f1c3096df9918472526a89580fb8621b9cb4.

The implementation needs to be reworked

Change-Id: I4caf96e2e8f1bce4759308bd73e2f27da19aa811
Merge "Revert "[1/3]Quiet Hours"" into kitkat
Merge "SystemUI: Add missing catalan translation" into kitkat
Quicksettings: Immersive: Make last active state a system variable.

Will persist after reboot.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: I8f9f62d67e7de079e59ce5292604efacec042bcf
Merge branch 'kitkat' of https://github.com/AOSPA/android_frameworks_base into kitkat

Conflicts:
	core/java/android/provider/Settings.java
	services/java/com/android/server/NotificationManagerService.java

Change-Id: I6c7000e983cf835718b8ea90cac75eb9ee825143
donot translate maps xml file added

PS2: Fix commit

Change-Id: Ib36156adfba2e67e5d03e901bb9520ea1398f907
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
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
NumberPicker: Don't filter Bengali-Indic characters

Add Bengalese digit characters to the digit characters list of
NumberPicker.

CRs-Fixed: 530201

Change-Id: I32445660c2c2a451c71f5a235ee71ae906660f12
NumberPicker: Don't filter Devanagari-Indic characters

Add Devanagari digit characters to the digit characters list of
NumberPicker.

CRs-fixed: 530201

Change-Id: I0f5b273679e3f0bb478c8a6f0609b1bb8a0fac11
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
Fix the issue that the top of fullscreen dialog is clipped away

The visibility of status bar comes from the top fullscreen window,
not from the focused window.
That has to be taken into account during the calculation of the
decor rect. You can use mTopIsFullscreen for this purpose.

Change-Id: I6159eb2ee389885cf5ab507157f9451841364d2f
Bluetooth: Add SDK apis for Wipower and Peripheral feature

changes needed for Wipower and Periferal features.

CRs-fixed: 587811

Change-Id: Ibe73124daf78c79498fd1a6cbbcd75a88006c688
Bluetooth: Handle exceptions for bluetoot socket read

Handled IO exception in read function of BluetootSocket,
and also introduced a null check for mSocketIS.

CRs-Fixed: 605606
Change-Id: Ic948c72269e0de486a8f49163830528b002198ff
Bluetooth: Add Power apply enable event handling

Add Wipower Power apply enable related event handling
in frameworks

CRs-fixed: 612628

Change-Id: Iceb0cf8297ad0ab7080c0c494c1404127ff0258a
fix derp in public API

Change-Id: Iecfcfe77194a7c0efab2022e112ffbb2b73d8625
Merge remote-tracking branch 'PA/kitkat' into remix-legacy

Conflicts:
	core/java/android/provider/Settings.java
	services/java/com/android/server/NotificationManagerService.java