fb: restore navbar compatibility with several xposed modules
I am tired of the complains....

Xposed use the emulator overwrite to enable/disable navbar...this results
into showing up navbar on reboot even if the user has set it to off in settings.

This fixes the issue and still keeps for emulator tests the basic overwrite functionallity
alive as long the provider value was not set.

We may should reflect that in settings as well.

Change-Id: I99f04da8110bbcfcdba62604610d1f4330aea4d0

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Frameworks: fix qs and notification shade toggle on expanded desktop
If expanded desktop is enabled and statusbar hidden the toggle does not force
the statusbar to show before it pulls down the shade

fix it with just requesting the the statusbar to show up before we actually
peform the action

Change-Id: I3cfae445f02d7911048dcb5199a5492c0f05acc5
Frameworks: Imagehelper...do a nicer resize with better quality

Change-Id: Ibec4658d46a2c6ef1b6bacf505227949c3bcbfdc
Frameworks: fix navbar and pie icons for tablets and RTL

well due that we use a completly other attempt then googles navbar we do not
need to rely on different sized icons for portrait and landscape. So just a square
icon fits our needs perfect (which is so or so everwhere in AOSP default to use square ones).

Whatever recents pie feature showed us that we still forgot to size the pictures for our tablets
and as well for RTL user.

So let us do it now to fix any resizing issues on navbar and or SlimPie

Change-Id: I5257b789a5450754a296141b0af63d2eacaa87c9
Framworks: clean up the AOSP tablet icon mess

well.....on grouper the overlay size for the navbar is/was 56dp...so
google added bigger icons then the usual ones into the sw600dp folders.
Well newer tablets have 48dp as default like the phones so the slightly bigger
icons do not fit 100% correct. It is not much but it is noticable.

So all devices have same navbar default height...so all icons should have same size
as well. Just remove the overlay icons so that the system automatically chooses the right
one from the default screen qualifier.

Change-Id: I4e4d87d70996ed1def359149cea829b5794f2448
PIE: adjust gesture sensitivity to maximum

Change-Id: I933059dfa33b3718d07aa15dd1d7e47c6bb0f813
Toggle nav bar through power menu (1/2)

- This is highly based on this commit form SlimRoms: https://github.com/SlimRoms/frameworks_base/commit/4097a175f00fa0137169c4ae4a6bc35a2799c97f
- Now we can toggle nav bar on/of in power menu. It's easier to use PIE.

Thanks again to @kufikugel

Codes ported and new codes from @cristianomatos

Change-Id: I75ea9623d3701fc01ec56a504be5e6a5fcad3cc1
Framework: Allow All Widgets On Keyguard (1/2)

Change-Id: I5c22bd61a5f7099400b9d28589b5f094985c5183
Fix hiding ADB notification

When the notification is already shown (the device is connected in ADB mode)
and the user turns it off, it doesn't go away. Let's hide it properly.

Change-Id: Ie411a89d5549ae9662c59ee9ee5d18a9568e1ede
perf: Don't persist the perf profile across a reboot

 * Always initialize with the default performance profile.
 * There are a lot of reasons for this, but mostly because
   users are stumbling into the setting and ending up with a
   slow system because they enabled powersave mode.

Change-Id: Icd0a1ddcc41700eb29a126bda1eb67a26fc2d5dd
perf: Send a boost hint when a key on the navbar is pressed

 * A lot of stuff happens, especially when invoking recents.
 * Get ahead of the storm by sending a boost hint before
   kicking off the animations.

Change-Id: I0cecd0c58f8bc8479ea44f63af796500d7b9d7d2