cleanup a duplicate permission

these permissions are duplicated which i found using a script to check for
duplicate permissions.

Change-Id: Ibfbb3a4ac46983dc67e5dfa53ada65a63b0d3fb5
SystemUI: NavbarEditor: Fix saveKeys logic

In landscape, the keys are saved backwards in the for-loop, but it would crash out due from
an IndexOutOfBounds error since it's subtracting i from the array length while i = 0.

Change-Id: I405c5d962d8c575cfee57b09a7e55a8a6efc2d24
SystemUI: Rework SearchPanelView calculations

Make isScreenLarge calculations match how the system calculates where to put the navigation
bar. This fixes certain cases where the quick launch buttons on the glowpad of the
navigation bar is improperly oriented.

Change-Id: I5703578b4d49a6eeab100bb23167abd5cf9a326d
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
Vectone/Delight (MNC07) considered non-roaming on NOS (MNC03)

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

Change-Id: Icff916672e5ed666adf2cdfeb26d24bf43b64683
Move idmap to frameworks/base [2/2]

idmap depends on libandroidfw, so it should go in frameworks/base.
This follows AOSP which moved idmap to frameworks/base back in
February of 2014.

Change-Id: Ice308a5299a69fd1fbc084a7c76a317c7dec3689
frameworks: allow LockPatternView to be rotated

When displaying this view and rotating the screen, mLockPatternUtils has
the potential to be null, but the save and restore instance state
methods depend on it to be initialized. Work around this by checking if
it's null.

Change-Id: I351bd63fefbcb92fffe20dca6a0381a20ac796ea
Signed-off-by: Roman Birg <roman@cyngn.com>
Revert "User defined wifi/usb tether network. [1/2]"

This reverts commit 403f8242e6a27cd5a69b2419358a0d6ef8dee2cb.

Change-Id: I73fcb61e052862c0538ddb864640357dc1752f9d
Use hidden API to validate APK chains

Bug: 13678484
Change-Id: I28dedab74b0e24d47ab9f2190298156c909e9d54
2G/3G QS Toggle [1/2]

Change-Id: I0b4154012475179b21d114cda15c0b463c2cb807
Merge "Move idmap to frameworks/base [2/2]" into du44
Merge "SystemUI: Rework SearchPanelView calculations" into du44
Merge "Vectone/Delight (MNC07) considered non-roaming on NOS (MNC03)" into du44
Merge "SystemUI: NavbarEditor: Fix saveKeys logic" into du44
Merge "Themes: Fix blurry composed icons" into du44
Merge "frameworks: allow LockPatternView to be rotated" into du44
Merge "Use hidden API to validate APK chains" into du44
Merge "Lycamobile (MNC04) considered non-roaming on Vodafone (MNC01)" into du44
Merge "Revert "User defined wifi/usb tether network. [1/2]"" into du44