Quiet Hours: allow disabling of system sounds (2 of 2)

* this includes touch and lockscreen sounds

Change-Id: Ib703beefbadcae225e892936e1fc9f87415703af
Use default button backlight brightnessk from framework overlay

Change-Id: Ib0361359a29e8030682707bf42c9fe04f780b103
Bluetooth: Avoid window leak when screen orientation changes

Enable screen orientation change support in Bluetooth Settings app
during any Bluetooth Setting Activity. Otherwise, window leak may
observe while screen orientation changes.

CRs-Fixed: 556653
Change-Id: I8868f4c6e96277fd17484f810de6a700198a5287
Add checkbox in recents settings to make app shortcuts in recents optional

Since some time there is a shortcut bar in recents for some selected apps.
I don't need it and it clutters the interface. Maybe somebody else likes
the shortcuts so I thought I'd just make it optional.
This is only the Settings part of it. Other part is in frameworks/base
and needs this patch.

Change-Id: I0f365616e048292e43552bcf84bf24798d6432b9
Settings: (ES) translation & fixes

PS2: Rebased? added New strings for networks speed from ChaOs
PS3: Fix some string

Change-Id: I6cdb1110fc00787a0625fbf1bd7fd85a3cac8596
Camera button support: useful features & bugfixes (2/2)

Patchset 2: fix tablet issue

Patchset 3: forgot semicolon!

Patchset 4: remove elseif entirely...

Change-Id: I1fa5e51e1c2cf7f23dcb03140d9b4331074d55a1
p2p: Fix for GC unable to scan GO after tear down.

A start of the search is not done on a group removed
broadcast event for mLastGroupFormed being set, which
would result in the Group Client not able to find the
GO , though a p2p_find is issued before a disconnect.
This is due to the fact that supplicant shall notify
the p2p device info only once per p2p_find.

To avoid this remove the conditions that is blocking
the search to happen and issue another p2p_find.

Change-Id: I4abad5c472808f9aa03e644eb1c6a26bfab8a4e6
CRs-Fixed: 504022
Bluetooth: disable scan icon when BT state is off

Usually onScanningStateChanged function should take care
of disabling the scan icon when the scan is completed.

But When the BT scan is going on and try to switch of the
BT, as onScanningStateChanged function doesn't have the
reference for scan icon it will not disable it, so disabling
is taken care in BluetoothSettings on receiving BT Off state.

CRs-Fixed: 543777
Change-Id: Ib827903d4f5c80eeb6ac8a06fb1a945140dd20c9
Bluetooth: Add onStop activity for Bluetooth Setting app

Added onStop activity in Bluetooth Setting app to avoid unhandled
onPause activity from calling stop discovery. Otherwise, inquiry
will stop immediately and inquiry results will be empty.

CRs-Fixed: 561127
Change-Id: I58282060576d827d79f6d713426b8a2fb49f4bf5
Fix a string problem

Got this error:
packages/apps/Settings/res/values/strings.xml:4755: error: Error: No resource found that matches the given name (at 'lock_screen_shortcuts_add' with value '@string/notification_light_add').
This should fix it.

Change-Id: Ia5fb98828323f92599c92bba054da053f19d40a1
Remove duplicates and unused functions [2/2]

Change-Id: Ic63ef48d2c47a7cc168931ceda738b41db49cf3d
Signed-off-by: Lokesh Chamane <lokesh.c703@gmail.com>
Merge pull request #2 from PAC-man/cm-10.2

Maj