Settings: Do not rely on isRotationLockToggleVisible

on special situations it happens that the entry gets removed due that isRotationLockToggleVisible returns false.

Fix it with checking if we have general rotation support (isRotationSupported(Activity))

Change-Id: I05913352dfea764a7242d1c6d49cdee1779f4880
AppOps: Clean up AppOps settings.

Remove unused operations

Change-Id: I20b3cd3eae5a8e669ced9767b9a9602848ab65a1
AppOps: Show only operations that are allowed to be modified.

Not all the operations of packages are allowed to be modified.
Just show operations of all pacakges that are allowed to be modified.

Change-Id: I86097acf038c044c97124e581b2806d921dc4a1d
AppOps: Add more operations in app ops settings.

Add following operations in app ops settings.

-- Wifi enable/disable
-- Bluetooth enable/disable

Change-Id: I32183d77b88c326168557444a445765b5a69de6f
AppOps: Add support for MMS operations.

Add support  for following MMS operations:

-- Send MMS
-- Read MMS
-- Write MMS

Change-Id: Icc823b9bcb446f962927ac0b50fbdae2f3ed3b02
AppOps: Add bootup tempelate

This tempelate lists all the sevices and apps that auto start on bootup.

User can use this tempelate to control list of auto start applications.

Change-Id: Ibf03d7df0037c87eb2ef3ca48a34ef46a103b4d7
AppOps: Add support for nfc operation

Add support for nfc operation

Change-Id: I0ca617b11d3f65f80cc49c3f629312e2fee1ba91
AppOPs: add delete ops in appops Settings

Delete operation is required to be seprated from modify
operation. Add delete ops for sms, mms, contacts, and
call log.

Change-Id: I704d436f2f42ae614ad430463488507d1dcdf2fd
AppOps: Add mobile data-on permission control.

Add mobile data-on permission control.

Change-Id: I0956fb1575addb5f4e522e664a80442120190b86
Settings: Accessibility - We want consistence...change from CheckBoxPreference to SwitchPreference

Google changed it on all main settings. It does not make sense that on system settings
the old CheckBoxes are still used.

This commit changes all CheckBoxes in accessibility settings to Switches

Same needs to be done for Date and Time and Developer Settings

Change-Id: I335285270bcb8fa5e6e86f32a099f901e6d44d29
    Settings: Date and Time - We want consistence...change from CheckBoxPreference to SwitchPreference

    Google changed it on all main settings. It does not make sense that on system settings
    the old CheckBoxes are still used.

    This commit changes all CheckBoxes in Date and Time settings to Switches

    Same needs to be done for Developer Settings

    Change-Id: I5c1f34b813ede998e4fb9dab2a1184a6db51bf79

Change-Id: I1eecfa0e10054e3acf1d4afd58a31f2f35ab476f
 Settings: statusbar clock customization + initial interface + color picker

- added slims clock and date customizations for status bar
- added our own modded marginov color picker which we use as default
- added initial interface settings. A bit empty currently but we are on
  alpha and it will be filled fast for sure. Added as well two empty
classes
  due that we need them later

Originally by kufikugel. I just ported to 5.0

Change-Id: Ife03bc55705e9576edcca030185bdd2349e9e270
Derp!

Change-Id: I6befae601b2cb41420a875927f1ff2499ddfe7f1
Settings: Add per app controls for LP keyguard notifications (2/2)

Nice done by google but the UX is a problem especially for ppl who are using a lot apps and just want
to see from important apps the notifications on the lockscreen.

This commit adds the ability to

- enable/disable per app the keyguard notification at all
- enable/disable per app ongoing notifications on the keyguard

We handle this over the app policy conf file like the other per app notification options

Change-Id: Ie4966f9048718c080571935796258625413f7344
Merge remote-tracking branch 'SlimRoms/lp5.0' into lp5.0

Conflicts:
	res/values/slim_strings.xml

Change-Id: I8e5cc521127175af65e565738a903b68c861d380
Change icons to reflect material design, and change to SwitchPreference.

Change-Id: I6befae601b2cb41420a875927f1ff2499ddfe7f1