[DO NOT MERGE] IME Navbar: temporarily hide the keyboard during navbar toggling on hardware navkey devices

this makes sure the keyboard is vertically above the navbar, rather than occluded by it.

accidentally merged before ready

Change-Id: Iea2c4ddd6342b6879e3cb78d69088b1a8d738ff8
Themes: Fix blurry composed icons

In a composed icon the original icon could be scaled incorrectly
due to a density mismatch resulting in blurry icons.

For example, Grouper has a screen density of 213 dpi but Trebuchet will want to show a larger icon and therefore
requests to the framework to load app icons with a slightly higher density of 320dpi (XHDPI bucket).

When Resources.loadDrawable(TypedValue value, ...) is called, it will use observe value.density. Since the image
is from the XHDPI bucket it will have a TypedValue.density of 320dpi, much higher than the screen's 213dpi, and therefore
loadDrawablei() will configure BitmapFactory to scale down the image to match the screen density. This is not what we want,
so this patch modifies the density value to prevent scaling, much the same way getDrawableForDensity() does.

Change-Id: Ie638c8576872f9115dc029bb4823b50bb31ecebf
Themes: Load missing style attributes from original style

If a theme overrides a style in an app and does not include all
the attributes found in the original, it is possible for the app
to crash because it cannot locate an attribute it is expecting.

To overcome this we need to check the attributes in the original
style's bag and add any missing attributes to the current bag being
populated.  Currently we have only seen one theme that causes this
behavior, but there could be others out there or we may eventually
see this happen in the wild as apps update and the themes have not
had a chance to incorporate the new additions from the app.

Change-Id: Id44aa83a6c58a0b042d2b32171bed5e794352670
Vectone/Delight (MNC07) considered non-roaming on NOS (MNC03)

Change-Id: I743935b94bb531d78b784550e3028378cdc01959
Lycamobile (MNC04) considered non-roaming on Vodafone (MNC01)

Change-Id: Icff916672e5ed666adf2cdfeb26d24bf43b64683
[1/2] Base: Hide power menu on lockscreen

Adds an option to enable/disable power menu on lockscreen.

Settings: https://gerrit.omnirom.org/#/c/4702/

Change-Id: Ie6e0f428a00c6e7eb7b3fd47bd9b4f85e0e2131e
Conflicts:
	core/java/android/provider/Settings.java
Conflicts:
	core/java/android/provider/Settings.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Privacy Guard options

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

Change-Id: Ibd41bdc42ca37ceed846c1a67e5abe5bf6c86813
Merge branch 'kk44' of https://github.com/VanirAOSP/frameworks_base into kk44
Merge branch 'kk44' of https://github.com/wSedlacek/frameworks_base into kk44