[2/3] Settings: QuietHours (SlimRoms)

add support QuiteHours

Squash commit from:

 Quiet Hours (2/2) thanks cm

remove as well depreciated ontreeclick

Change-Id: Id61ced473589e1f4a6ca30e4d3302c01f7b91ae2

by Kufikugel

 Settings: QuietHours AutoSMS && Bypass Alarm

AOKP kanged DarkSlim...
	An original Slim feature.

Hai Slim =]
	Have an original AOKP feature.

PS2: Whitespace
PS3: Use slim_arrays
PS4: Remove unused imports &&
	Use StateListDrawable
	for Alarm Dismiss (color-
	changing button)
PS5: moved services into slim folder to have all seperated
     minor code style corrections
     add dialog instance handling in QuietHours.java
PS6: the right class folder is a good idea sometimes :p
PS8: added cancel button to the dialogs
PS9: Holo Gray

Change-Id: Ia24450ac6aa60e74f8c93113a35d43b4602de189

by Jubakuba

 Settings: Quiet Hours Logic Change (2/2)

12:00am - 12:00am = 24 hours
	(Or any "==" time)
This makes more sense for the user
	if they have the direct ability
	to toggle quiet hours.
	The feature should work as-is
	and in a 24-hour on/off manner
	through using the toggle.

Dependant upon this patch as well:
	https://review.slimroms.net:8443/#/c/39226/

Change-Id: I20873f7c66ea20d247cb8764a475f0bb17ccfbfa

by Jubakuba

 settings: fix QuieHours call from fb

Change-Id: I3245828aa675e186344d5370b9ea71ee6520349e

by Kufikugel

 settings: refactor QuietHours code

PatchSet: use correct context

Change-Id: I9391e274250128af5f0e9dea4bdfde2485d9a746

by Kufikugel

 Quiet Hours Ringer (3/3)

Change-Id: Ia4b167654867425b8d7cac952de094b16002da02

by Jubakuba

Change-Id: I9ca1894f3d2a7a949082e97ba7e959d018495896
Settings: Add "Is Starred" to Quiet Hours (1/1)

Starred contacts only for bypass and response
	settings.

Change-Id: I3b2f216e1138a89751b9864d38e0f7e556d0a4de
Settings: QuierHours service: call with qualified user and introduce controller

This commit fixes 2 issues:

1. Call the service with a qualified user.

2. Complete overwork of the handling. Currently the SmsCallHellper is doing
   way to much work. Especially when time change broadcasts trigger the service
   update. Which ended in certain cases to a complete system overload.
   To fix it we use now a single tone controller to take care of this all

Change-Id: Iee4c988f206c9efe90c06114a9030637ba5bac97
Settings: calendar is not a single tone

uh man should not fix stuff on 4am morning :/

as well fix a logic derp

and another one :/

Change-Id: I6f2555ec2d1aa6b729f7ec519371b99f0906a41c
Settings: let the controller handle all

observer should update the service.

Fix ANR for schedulService() loop on start service
	command issued

PS:
After Juba fixed the root cause and the loop the boolean check is not needed anymore

Change-Id: Ic74239fc785c3590fe8a6dd030c71cb653c43bf8
Settings: Prevent GC from grabbing observer

Change-Id: I3c35b18550243c5e31364cac5e6ccc9ec41201ec
Fix my bad conflict fixing skills.

Change-Id: I0862a0f2624ddd816c7a37854ac2e90896fea68f
Replace the single-option menu with a switch in cast screen

Change-Id: Icebe965f7ff2bc1b52657ff7045c169109740799
Unbreak wifi display on tablets

In change 46af8086db0db5b41f20c9f05a5f42c182262576 the option
to enable/disable the wireless display was moved to an action
bar which ends up entirely removing the ability to enable it
for devices using Settings in tablet (multi-pane) mode.

Follow the pattern of dreamcast which correctly displays
and removes the action bar.

Change-Id: Ie82b04b5e96a59ec093323601f8e79d23a6e69de
Merge "[2/3] Settings: QuietHours (SlimRoms)" into du44
Merge "Replace the single-option menu with a switch in cast screen" into du44
Merge "Unbreak wifi display on tablets" into du44
Merge changes Iee4c988f,I3b2f216e into du44

* changes:
  Settings: QuierHours service: call with qualified user and introduce controller
  Settings: Add "Is Starred" to Quiet Hours (1/1)
Merge changes I0862a0f2,I3c35b185,Ic74239fc,I6f2555ec into du44

* changes:
  Fix my bad conflict fixing skills.
  Settings: Prevent GC from grabbing observer
  Settings: let the controller handle all
  Settings: calendar is not a single tone
Merge remote-tracking branch 'du/du44' into TransparentUnicorn