Move 'Swap volume buttons' option to 'Buttons' menu

- no one would expect to find a volume buttons option under
  Settings>Display & Lights>Rotation
- other volume buttons options are already under Settings>Buttons
- the feature actually does not depend on 'Auto-rotate screen' option,
  it depends on screen orientation which can change also by other
  means than sensor driven auto rotation - orintation change enforced
  by top app, by dock, by keyboard slide...
- title changed to 'Reorient volume buttons' (to hint at orientation)

Change-Id: I8c03c885c6f2c9ef8d23561b0a3a1a6019512c6e
Camera button support (2/2)

Add new bitmask for Camera button and options to rebind
its functionality.

Change-Id: I803d3b99adcdd6f2d9de15091709fc8c783ed5de
Settings: Use meaningful titles for gamma controls

There is good anecdotal evidence that the values we modify relate
to specific modifications (contrast, brightness, saturation and the
like) of the display, this change allows us to define descriptive
headings.

Change-Id: I2935924fd86f13e95b919e7b7c7a0bc931ac50bb
Add missing variables for camera button handling

Change-Id: I40abd4344800e8cf61285923cc1fac9ba39d652c
Camera button support: fix FC

Fixed a typo in xml which caused Settings FC.

Change-Id: I0c01d03cc8effde9d8422e091a7389dcbb59ffa5
Camera button support: fix another ^C^V fail

Yes, that was merged way too fast...

Change-Id: I88243887446876de39e79020e6d8fecc6351bdde
Bluetooth: Remove out of range devices after ScanComplete

Change to remove device from UI when Bluetooth of remote
device is off or not discoverable anymore. Without this
change a device that discovered previously is available
in available devices list always, though the remote device
is not discoverable anymore. The current change updates
available devices list on scan complete removing the
devices that are available in cached devices and are not
disvorable anymore.

This reverts commit 1b652eb600ad7b4a769ad495bbb7eb4c6ab82fb2.

CRs-Fixed: 523374
Change-Id: Ia250d52e6fb7a69af242c961d33027f1e724ab25
Bluetooth: Security: Add Null check during pairing cancel intent.

Added null check, so before posing event we can restrict events,
if cached device list is empty

Change-Id: I458d181abe5eec2497b80b1713ddbc3502b79786
CRs-Fixed: 546364
Bluetooth: SAP: Add SAP profile support in Settings APP

This change consists of:,
 16 digit Authentication
 SAP profile connection status changes
 SAP Disconnect from server related changes

Change-Id: I57870a75c30e03b3c244d56e9b55a1367490bfc9
Fix crash if HW tuning framework isn't present.

Change-Id: I0128d57a5a46e87fe414a2682847ff877d8b1428
ButtonSettings.java: fix compile error

Change-Id: Iaeec32e6f374cc2777a8966e3cbfb0d14766b212