PhoneWindowManager: fix navbar behavior in expanded mode after 4.4.2 merge.

Change-Id: I00f814db6c3800b8eb1cf20004ecdfb8d1ee7036
base: added national roaming for YESS in Austria

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

Users of YESS in Austria (MCC 232 MNC 12) can roam on
A1 (MNC 01)

Change-Id: I354b3cbdf2d3a78612f5a79ae9254bf99b0e08d2
Base: Fix ActiveDisplay problem

follow kitkat changes
fix ActiveDisplay never disabled after using turn off display option

Change-Id: I1d178875c2643e872da40cae9781313fca53a6a5
Merge "base: added national roaming for YESS in Austria" into android-4.4
fix string+update new IT strings

Change-Id: Idb6386cb76d347efacbbb8d302c11b33de910c92
Base: Fix for fix ActiveDisplay (Emergency)

this an emergency fix for last patch was merger

using another logic to determine, when need to hide Statusbar and Navigationbar
we dont want systemui visibility reset if lockscreen still enable and ActiveDisplay force to Turn Off

Correct ActiveDisplay visibility when launch Ongoing Notifications

fix Back button navbar cant work on some conditions

since AD detect User Activity, we dont want to override UserActivity inside View, so do only if AD visibilty are Gone

also add patch to keyguard, do not reset if ActiveDisplay visibility Visible
taken from Lockscreen Notification by David L.-W <david.leppla.weber@gmail.com>

Change-Id: I9d4001870db28ee04bdd622fa7147543b658251f
Base: use another Method to Kill app (NavRing Target)

sometimes SystemUi got Killed if enable NavRing Kill app
or using long press back button

this code fix that

taken from SlimRoms
https://github.com/SlimRoms/frameworks_base/commit/bbbb6f6fb2b1db59825b6a32ae136c72cac52bfa

Change-Id: If60b04105e77977df42ef32a91aeb7e5ea393531
Merge "fix string+update new IT strings" into android-4.4
SystemUI: Cleanup and enhance notification drawer header

- Crop properly images on tablets and landscale
- Use a separate layer instead of breaking header background
- Fix bug where you couldn't turn header back on after turning it off
- Added a gradient overlay

Change-Id: Ife399b82a3f272fb2ecc8e738c5f274f7682a556
Merge "Base: use another Method to Kill app (NavRing Target)" into android-4.4
base: cleanup duplicate sound files

http://jira.omnirom.org/browse/OMNI-56
http://jira.omnirom.org/browse/OMNI-262

Change-Id: I42b39ed18864abbb5fddcd099446d766e1961439
Base: QuickToggles (AOSPA) modification

this commit base from
https://github.com/AOSPA/android_frameworks_base/commit/1405aca50a1854a4b547fa699efe514a852e5c3c
with major changes to OmniRom

Icon Image by CM team

added UsbTether Tile
added Network Type on RssiTile
added dynamic column changes
add back FlipTile
added 2 fingers allowed reorganize (removed in patch set 5)
added long press EditButton to reset
fix AlarmTile clicked after editmode enabled
fix immersivetile on reboot
fix changing textsize in dynamic column changes
fix header
fix RotationTile not showing
added VolumeTile flip into RingerTile
added SyncTile
added SleepTile
added TorchTile
add permission for SYNC
FlipTile works now
rewrite flip logic
change EditButton icon by pulser

video >> https://www.dropbox.com/s/udu0hf7tqfsdlnd/SCR_20131229_202800.mp4

NOTE:
only SleepTile now using basicTile, will change to FlipTile in the future

TODO:
SleepTile Flip into SleepTimeTile
improve animations

Conflicts:
	packages/SystemUI/res/layout/status_bar_expanded_header.xml

Change-Id: If8afe643eac9ed48edd98b6a7d373b257e86d3ef
Frameworks/base: remove duplicate imports

Change-Id: Iacd7b2ad4ce07b3dae5a3de2bac5ad60f9b496bd
SystemUI: Make QS tile reset more user friendly

By not closing the QS and allowing further editing

Change-Id: Ia8ebeeed7b72aa8d017a892c5978ffad3a4f8ac8
[1/2] Base: Quick pulldown

This adds an option to toggle between left, right & centre.
left is the 30% from left, right is 30% from right &
centre is 40% in the middle.

Change-Id: I258421ff453b5525c7cfcd83ef36b452673072ef
Merge "base: cleanup duplicate sound files" into android-4.4
Merge "[1/2] Base: Quick pulldown" into android-4.4
Merge "SystemUI: Make QS tile reset more user friendly" into android-4.4
[1/3] Base: QuietHours (slimRoms)

add support quietHours

Squash Commit from:

 fb: Quit hours 1/2 thanks cm

and added multiuser support

Change-Id: I38e8560297099629aed94ee001da7f1ebaa04dac

by Kufikugel

 Frameworks: Quiet Hours Change Logic (1/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.

Change-Id: Ib10ab5c1ac9278ab1f195d48f88de7357722979c

by Jubakuba

 fb: refactor QuietHours code

thanks to ivisiblk for the idea

Change-Id: I56e2b4a1945a4b93251b9937b701c86168b732b4

by Kufikugel

 Quiet Hours Ringer (2/3)

Change-Id: Id58ffb24f0d0d57d8446265c899ec4124fe00c70

by Jubakuba

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

Change-Id: Icce9e3a804ab8be753b8a23a28668ef1358540b1
Base: ActiveDisplay check for Immersive Mode Enable

As we know, Immersive Mode will force StatusBar and NavigationBar to Hide
while ActivieDisplay always setSystemUiVisibility flags for Both if enabled,
and will cause a conflict for that flags

// how to reproduce bug:
// set ImmersiveMode enable
// set ActiveDisplay enable
// Turn Off screen, swipe to sensor, ActiveDisplay showing
// Turn Off screen again (using Power button)
// Turn On screen (using Power button)
// pull Quicksettings, disable ImmersiveMode from ImmersiveTile
// Turn Off screen again, swipe to sensor, ActiveDisplay showing
// unlock via ActiveDisplay
// voila.... random flags will be set into setSystemUiVisibility
// (sometimes navbar or statusbar or both are gone)

lets make ActiveDisplay check for ImmersiveMode enable/disable,
so ActiveDisplay will not always setSystemUiVisibility flags
if ImmersiveMode enable

also workaround fix for unknown icon (?) sometimes appears
(if Show All Notification enabled)
(based from user report at XDA thread, why they always report there not in JIRA :/)

Change-Id: I550143864d387d7725c018f084e253c1e47cc3c0