MSim Settings: Update UI/UX with user friendly strings

  Hide TuneAway and Priority subscription preferences unless
  config_HasTuneAway is set to true in device overlay.

  This conditionally reverts cea415df0cf19f9eb3dc1fef16d3a8955584c4f9
  as some device RILs don't support it.

Change-Id: I453f0833d80e17f7249d3b7c23fb2cc73ebd4c32
MSIM: Update icon for Multi Sim Settings category

Make it white like all the others

Change-Id: I7aed57b57e0151fcc5eb2418f67baf5e33b21658
Add wallpaper pickers to seperate package [2/2]

Change-Id: I233b90aa52b5a8c408fa3adfe3bdad07330cc2ad
Merge "Add wallpaper pickers to seperate package [2/2]" into cm-11.0
settings: Various cleanups

 * Cleanup display settings ghetto:
   - Move Brightness to the top
   - Replace the single-option menu with a switch in cast screen
   - Create display category
   - Move Cast Screen to higher priority, move down Daydream and Font
   - Create advanced category
   - Relocate advanced stuff to the bottom, including DoubleTap to wake
 * Move gesture settings so it doesn't look like it's part of expanded
   desktop's category
 * Use a seekbar preference to allow setting arbitrary animation scale values

Todo (depend on outstanding draft patches) :

   - Remove Lockscreen wallpaper option from Lockscreen settings
       - Use new ThemeChooser instead
   - Kill Trebuchet sub-settings from Home settings

Change-Id: I4ceaf0dc74e6e044e36cf3652bfc1efb33890380
Consistently use start/end instead of left/right layout properties.

Fixes various RTL language bugs.

Change-Id: I3be9c9c54e4fd14a561f6b38ce1601bc66c8351b
make LinearColorBar themeable

Move colors to resources and use them instead.

Change-Id: I923e5daa219f302dc24e62faab666483109e6620
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Automatic translation import

Change-Id: I702090540091dbd04393bf4294dfc2cc0fd3b7cd
Themes: List ThemeSettings as a valid fragment

This fixes a force close in Settings in tablet mode.

Change-Id: I6542feba0d0fa8491ab9e092a90709d1034ffca8
Settings: preferences use keys, not ids

Change-Id: I23fad40f85235db1fd2c5724ba9d3580828b14d7
Settings: modify AOSP RU translation

Changed "data_usage_menu_metered" and "data_usage_metered_title" to
state it configures Mobile hotspots, not something like APNs.

Change-Id: I40db1da7d6f4a801de5a06c6a5790580da080ebd
Merge "Settings: preferences use keys, not ids" into cm-11.0
settings: Remove "mobile plan"

 * Useless menu item.

Change-Id: I0b35017cb9a52600cde5d31065f007210f916a41
Bluetooth: Release pan proxy object while coming out from tethering menu

A case where user is going into tethering menu & coming out repeatedly
(2000 iterations) irrespective of Bluetooth state(ON or OFF). Setting
application get crashed after 1386 iterations. Each time TetherSetting
& BluetoothPan object were leaked, because connection of the pan profile
proxy to the Service was not closed by tetherSetting while coming out
from tethering menu. Releasing the pan proxy object while coming out
from tethering menu to avoid memory/objects leak.

Change-Id: I06a5e1ed37a024695fddb1e95f62b72fd56510d3
CRs-Fixed: 622489
Bluetooth: Ignore the second button if one already pressed

Ignore the second buton if already one button is pressed,
this case comes when user is trying to press the both
cancel and ok for the pairing dialog.

Change-Id: I77516ec59a972b4451bb8cff69645f7b9089497f
CRs-Fixed: 624285
Fixes error message during pairing of HOGP devices

When incorrect pin key is entered by user in
the pairing pop up while pairing with a HOGP
device, no error message regarding the failure
is displayed to the user.

CRs-fixed: 618905
Change-Id: I1a5a8baf9ef6c71bf285a28b3e1839fe5ddbca95
Bluetooth: Increase allowed duration to connect to a profile

This patch increases the duration allowed between the first device
connection attempt (immidiately after bonding) and profile connection
after service discovery from 5 seconds to 30 seconds to allow
HOGP connections for slow connection conditions.

Change-Id: I5b17bd0bd2b560709e6e67e2d83f9bca7ea2509d
CRs-Fixed: 612105
P2PSetting:Avoid p2p_find on group removal event

Immediately after group termination p2p_find is being issued
from settings and this causing issue whenever user sends
connection request immediately after group_removal_event.

Change-Id: I6ae90a1d710e0e977a1dbc171398fd270dc30183
CRs-Fixed: 622597
Packages : Fix for Softap turn ON/OFF fail issue.

If Softap is enabled using third party applications which make use
of WifiManager APIs, Softap enable fails. This is due to improper
handling of Softap State change event.

To resolve this issue, handle the Softap state change intent with
proper initialization of variable "mWaitForWifiStateChange".

CRs-Fixed: 634896
Change-Id: I63f8845ec3e8ebfa8ec09a7b1a1bc4ee175336cf
Merge "make LinearColorBar themeable" into cm-11.0