[1/3] Base: update Quiet Hours

SystemUI: Remove broadcast from QH toggles

Obsolete per this patch:
	https://gerrit.slimroms.net/#/c/5814/2

PS3:
-added pause and start now
-use start/stop broadcast to update active state

PS4:
-cleanup

Change-Id: Ie8990c96cd7cbf5e8c490da0240a4166d9dd5ed0

Conflicts:
	core/java/android/provider/Settings.java
	core/java/com/android/internal/util/simpleaosp/QuietHoursHelper.java
	packages/SystemUI/res/values/custom_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java

Conflicts:
	core/java/android/provider/Settings.java
[2/2] base: rework quiet hours notification

Using a service is a bad idea given the fact that we cannot
be sure that the service is not beeing killed from android.

While this fixes the problem for the notification
the problem of the SmsCallService remains and must
be solved separate

PS5:
-call init from tiles

Change-Id: I82fa35344dfb6b7d7059a4f998aff9e14f788d64

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
[1/3] base: quiet hours rework

-added bypass contacts
Support a list of comtacts that will always
bypass call and/or text message quiet hours

-move service to telephony app

Change-Id: I51cfc4e5af552a0392581095a37048080a1b7383

Conflicts:
	core/java/android/provider/Settings.java

Conflicts:
	core/java/android/provider/Settings.java
[1/3] Base: QuietHours: allow disable system sound

taken from slimroms

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

Allow to disable :
1. DialPad tone
2. touch sounds
3. screen lock sound
4. volume adjust sound
5. dock sound

in quiethour time

Change-Id: I2a1a7949ac6bdc48376980fac8ad2ae2c90fdfc9

Conflicts:
	core/java/android/provider/Settings.java
	media/java/android/media/AudioManager.java
Revert "Battery led needs to respect quiet hours"

This reverts commit 7f50c437ebb5f9b990dda882c877f1a495884f38.
Quiet hours:Clean up Battery light
Themes: Only kill launchers if overlays or icons changed

There is no need to kill the launcher for every coponent changed.
The only ones that really concern us in regards to killing launchers
are MODIFIES_OVERLAYS and MODIFIES_ICONS

Change-Id: I840b8e2ecd4b52a33f352809c5d3d2c7e92ce85e
core: use 'normal' value for notification led off

Users can set this value to 250, 500, 1000, 2500 or 5000ms only,
but it's 2000ms by default.

With this patch, 'Normal' string is shown instead of 'By default'
and pulse speed goes to 1 sec.

Change-Id: Idb18ac345bd9eb1a5b795776faa60e2fb5bc258b
Fix null pointer exception in PhoneWindowManager

mKeyguardDelegate is null and is causing fatal exception

Change-Id: Iae14b969b7ff9ab0003e615f2f82eaac65a77985
Revert:NavigationBar Customization [1/2]

Remove Navbar (Just got tired of dealing with so many annoying bugs)

Revert "SystemUI: NavbarEditor: Fix saveKeys logic"

This reverts commit 1e2899bd07f2b8be3e34a06805d4895bd9b31e47.

Revert "[1/2] NavigationBar Customization"

This reverts commit d9118ac1fdafcf6a2c17b723d6f9d7e602e78395.
Update simpleaosp_strings.xml

Adding space between two lines
Merge pull request #4 from RenaudR/patch-2

Update simpleaosp_strings.xml
Solve a possible NPE in the Documents provider

This commit follows an internal bug report to fix a NPE that would be
thrown in specific situations on specific devices. All callers should
be able to handle the returned null value but if they don't, we can
worry about that later down the line. This null value should not be
returned under normal circumstances anyway.

Change-Id: I274844bf07733643923d5729259f1d9d9cf75e54
Italian translations
Merge branch 'kk' of github.com:SimpleAOSP/android_frameworks_base into kk
DocumentsUI: Add a standalone File Manager

This commit adds a standalone mode to the DocumentsUI, to let
it act as a file manager/explorer.
You can browse your storage contents, open files, and delete them,
as well as do everything that the DocumentsUI can do (ie. sort
by name/size/type, list and grid view, recents, search, ...).

This gives us a consistent file browsing UX accross all apps
that uses the new documents API.

Change-Id: If73a3c100f010bdb766c843976d4fd3573ea805c
Fix Icon size in DocumentsUI

For XXHDPI devices if you go into Settings/Display and Notification light and select a custom value (application) you will see a GIANT icon.

Before - http://i.imgur.com/DRkua3T.png

After - http://i.imgur.com/f7xW4tY.png

Change-Id: Ia355bddc515906134c8b3b4e67d381aaacceec78
DocumentsUI: Allow open files instead of URIs

Check files' real path and mime type to open them only in standalone mode.
This allows, for example, installing apks.

Change-Id: I4501c694db84b8595cd3928752254a8914539972
DocumentsUI: Remove catch-all statements

This removes several "catch (Exception)" statements which violates the Android code
style guidelines and hides problems.

I left some catch-all statements in, as they seem to be intended like this (grep for
"catch (Exception").

I suggest we do not merge this before we are sure that we fixed any problems. One problem
is a crash when deleting items (I'm currently working to fix that).

PS 2: Add exception to log.
Change-Id: I483c320c7ee256acd993dd2a509c031fa5e3f09e
base: DocumentUI: fix a few issues handling remote content

http://jira.omnirom.org/browse/OMNI-956
http://jira.omnirom.org/browse/OMNI-950

Change-Id: I8d50d71a9c91486dfc9e5da01538c6b5a626f054