Peek: Actionbar Switch

Moved Peek to a separate Preference & Cleaned up Lock screen Settings
And another one
Storage Settings: Allow user to trigger a volume rescan

This change allows to trigger a rescan of a volume with the next restrictions:
- Internal volumes if they are emulates
- Primary volumes
- Non-Removable volumes

Ported from: http://review.cyanogenmod.org/44586

Change-Id: I7e75a324938d8081fd715f702d50f1fdceabd96d
See through: Actionbar switch
Merge branch 'kk' of github.com:SimpleAOSP/android_packages_apps_Settings into kk
Update simpleaosp_strings.xml

Adding the "Navigation Bar customization" and "USB Mass Storage" and translation into French.
Update simpleaosp_strings.xml

Deleting and adding French translation relative to recent changes to the "snak3ater"
Fix build with incorrect drawable
Merge branch 'kk' of github.com:SimpleAOSP/android_packages_apps_Settings into kk
Merge pull request #7 from RenaudR/patch-1

Update simpleaosp_strings.xml
String edits
Peek lowercase
Settings: Heads up meets SlimK [4/4] (Squashed)

Settings: Heads up meets SlimKat....SlimKat meets Google IO [4/4]

For detailed explanation see here: https://gerrit.slimroms.net/#/c/9937/

This patch adds the 4 possible user configurable settings.
1. Enable always expanded heads up notifications.
2. Set heads up snooze time
3. Set timout timer
4. Show updates of pending notifications
5. Add in app info screen a checkbox to enable heads up for the app.
   As another possibility aside the longpress on the notification on
   notification drawer.

Conflicts:
	AndroidManifest.xml
	res/layout/installed_app_details.xml
	res/values/cr_arrays.xml
	res/values/cr_strings.xml
	res/xml/settings_headers.xml
	src/com/android/settings/Settings.java
	src/com/android/settings/applications/InstalledAppDetails.java

Conflicts:
	res/values/simpleaosp_arrays.xml
	res/values/simpleaosp_strings.xml

Settings: Show heads up at the bottom of the screen (2/2)
Due of user requests and indeed especially on hw key devices for a better
workflow we add an option to show heads up notifications on the bottom instead
of the top.

Animation we leave as is due that if it slide from the bottom into the screen it happens
to often that the user accidentaly interacts with it. If it comes from the top of the
container we add, the user has enough time to realize it. Sometimes a ms can make a big difference.

Conflicts:
	res/values/cr_strings.xml

Launch Heads Up in floating window [2/2]

AICP'fied.
PS2: Add another setting for testing
PS3: Add missing string
PS4: Remove test preference

Conflicts:
	res/values/cr_strings.xml

Heads up: enable heads up notification checkbox for all

- Disbale check of system packages to allow checkbox for all. This will, for example, bring screenshot to heads up if SystemUI is enabled

Change-Id: I273caffa992e79a9a9d6914bf1c89f9388044da4

Heads up: option to disable in lockscreen (2/2)

Change-Id: Icbc6fba1727c009f7ea42a66ea3167f19d527e10

Conflicts:
	res/values/cr_strings.xml

Conflicts:
	res/values/simpleaosp_strings.xml
Settings: fix QuietHour start time

when user decide when quiethour will start/stop using time preference
alarm manager will setup the time, and call stop service in many times
before starting the service

this add some check to prevent call stop service before time to start

fix http://jira.omnirom.org/browse/OMNI-595

Change-Id: Ide4cb7f651ab153e1738d309992628b951e551c1
Settings: fix quiet hours

http://jira.omnirom.org/browse/OMNI-627

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

This reverts commit 98b99c11d551c52188ec9133d00b41ef84bcab9e.
Revert "Settings: Quiet Hours Automatic Switch (2/2)"

This reverts commit a0682f0e20017bf75344bf1dbee0304c93c41373.

Conflicts:
	res/values/simpleaosp_arrays.xml
[3/3] Settings: update Quiet Hours

follow slimroms changes

Settings: Add "Is Starred" to Quiet Hours (1/1)

Starred contacts only for bypass and response
	settings.

https://gerrit.slimroms.net/#/c/5191/

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

https://gerrit.slimroms.net/#/c/5749/

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 :/

https://gerrit.slimroms.net/#/c/5756/

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

https://gerrit.slimroms.net/#/c/5814/

Settings: Prevent GC from grabbing observer
https://gerrit.slimroms.net/#/c/5822/

Quiet Hours: Allow disabling phone ringer
https://github.com/CyanogenMod/android_packages_apps_Settings/commit/3971186ba4895791168cffaa27cc0fee4156648e

also add notification if quiet hours enabled
http://jira.omnirom.org/browse/OMNI-612

tweak de service

PS14:
always start service to trigger notification
but service is doing nothing if the specific feature is
not enabled

PS15:
-new NotificationService
-added for pause, snooze and start now

PS16:
-added start/stop broadcast
-added support for external pause e.g. quick settings tile

PS17;
-cleanup

Change-Id: If37d3f710dc277ec75c55c2b0c71d91f90059cc7

Conflicts:
	AndroidManifest.xml
	res/values/custom_arrays.xml
	res/values/custom_strings.xml
	src/com/android/settings/simpleaosp/QuietHours.java
	src/com/android/settings/simpleaosp/service/AlarmService.java
	src/com/android/settings/simpleaosp/service/SmsCallHelper.java
	src/com/android/settings/simpleaosp/service/SmsCallService.java
Settings: quiet hours fixes

-the service already runs as the correct user so we
can use the simple API
-holy crap - why has nobody told me that scheduling
is completely broken :)

Change-Id: Ibb31819121099f601447a80ac937f40dfa351d8e
Settings: quiet hours cleanup and fixes

-use sendBroadcastsUser to silence log
-always kill services first on reschedule
that should fix the notification staying on sometimes
http://jira.omnirom.org/browse/OMNI-896

Change-Id: I52f34ae404b34f22d01bdc283ed50f2e3ae92560