Use actual storage type for format message strings

Change-Id: I214120303bf6c12c297332fa314ce80bc686da46

Conflicts:
	core/res/res/values/cm_strings.xml
Add string resource for UICC storage

This will add one more string resource for the devices
which has UICC support in settings->storage option.

Change-Id: I19a5813749f51aec841769aa8d21792716d033a7
perf: Send boost hint during initial launch

Change-Id: I26afc909c35e514958894b0a07a650a20ce6e537
Frameworks: Fix notifcation long click behavior

Change-Id: I8c1d4c73be814ca808fd4b8072b13ddad9f51102

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
SlimRecents: 'Delete application' development shortcut

https://github.com/CyanogenMod/android_frameworks_base/commit/6cfa3cb2e576bb7ddcac80c1a5ad48c00b8ed574

Change-Id: I1ded638fca735cf78923b25ffa231e474e4dba9c
'Delete application' development shortcut

Just another shortcut that enables the 'delete application' action
 in recent tasks list and in the notification area

Change-Id: Ia80882b9ec06f4dd14de1e087d29103d80fdd362

Conflicts:
	packages/SystemUI/res/menu/notification_popup_menu.xml
	packages/SystemUI/res/menu/recent_popup_menu.xml
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Revert "SUPL early data connection fix"

This reverts commit 10d290815d42c33fc3eebb6890c3c3c17770ce5b.

Change-Id: Ia97c4a5dfdb9b357b0c2f4dbbbe3b1b83788f818
PhoneStatusBarView: only get double tap gesture listener if the feature is enabled

this is a MUCH better way to do things since this feature is sloppy dildos anyways

Change-Id: Ifc0bff2db00b884dbfdfbf72b1c552dc4f185f6d

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
FB: DoubleTab2Sleep stopped working propperly
after a boot or sometime when you changed something on statusbar or quicksettings, DT2S stopped working
You have to uncheck and then check the checkbox for it in settings to make it work again
This is because the code would only be executed when the setting actually has changed (OnChange) but not on boot or on RebuildStatusBar

PS:
Set mDoubleTapToWake back to false so it will be sure the GestureDetector will be created
PS3: only add a gesture listener if it's null and mDoubleTab... -> mDoubleTap...  -PrimeDirective

Change-Id: I44f5f1185d8a8ead4b7678c1ebec420f05a16e85

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Framework: Enable Speaker on Proximity (1/3)

restoring abandoned commit from:
    https://gerrit.slimroms.net/#/c/15838/

Change-Id: I7f59306814d67d36cfc27c2ce9a64c242bd6581d

Conflicts:
	core/java/android/provider/Settings.java
radio: Treat REGULAR_DEACTIVATION events as transient errors on AT&T

Change-Id: I6872be05de01dbe41d923f4274b70414f65d5f7e
core: add support for Welsh

Change-Id: Ife5a32a96040c02d48c2f0f171f10151c767c5f2
Automatic translation import

Change-Id: Ic5e2d26b729309b3ff100e9717eeb6a0de633054

Conflicts:
	core/res/res/values-cs/slim_strings.xml
	core/res/res/values-es/slim_strings.xml
	core/res/res/values-fr/slim_strings.xml
	core/res/res/values-hu/slim_strings.xml
	core/res/res/values-it/slim_strings.xml
	core/res/res/values-ru/slim_strings.xml
	packages/Keyguard/res/values-ru/slim_strings.xml
	packages/SystemUI/res/values-de/slim_strings.xml
	packages/SystemUI/res/values-es/slim_strings.xml
	packages/SystemUI/res/values-hu/slim_strings.xml
	packages/SystemUI/res/values-pl/slim_strings.xml
	packages/SystemUI/res/values-ru/slim_strings.xml
linearlayout: fix measurement of childrens when parent and childrens have exactly the same pixels

When children measure exactly the same width/height than the parent, any child with
width/height == 0 and with weight > 0 must be reset. Otherwise, the view will retains
the same width/height between measurements calls (that is not valid if the view changed
its orientation).

This explain the bug in CYAN-5471 when in hpdi devices the spacer view has the same
width after rotate from landscape to portrait when language is german and date beewteen
September 10-30. Steps to repro in i9100 (hdpi):

1.- Set language to german and date to September, 10.
2.- First run, the expanded bar has the same width that its children (480px the current
screen size), but spacer has 0px (because it isn't being measured by linearlayout).
3.- Rotate to landscape, spacer gains space and all buttons are displayed correctly.
4.- Rotate to portrait, spacer has the same width that in step 3, because it isn't measured
again and delta == 0;

This patch forces this views to be re-measured to 0 to match the current delta (the views doesn't
need to be expanded or shrinked).

JIRA: CYAN-5471
https://jira.cyanogenmod.org/browse/CYAN-5471
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Change-Id: Iab60337eca6ded7b2b4d57fdcc95863be461db34
Avoid to skip app window due to un-assigned sending to bottom state while app window sort

should assign value of WindowToken.sendingToBottom according to the state of this token is moved to top or bottom
to avoid app window is skiped incorrectly due to sending to bottom state is un-assigned while app window sort
and finding focus window.

Change-Id: I190838d1d01ca229155d5176930178ab41335556
Signed-off-by: tingna_sung <tingna_sung@htc.com>
WIFI: Fix wimax teardown when wifi connected

Due to patch:
https://github.com/CyanogenMod/android_frameworks_base/commit/f769f4cbc2aaac8d9d49f9ff79a6fe0affc4ff6e

Change-Id: I18e5ced62c8e4976f7a6835ba8c593930dac0586
PackageManager: Add optional prelaunch check step

This ability is protected by config overlays.

Change-Id: I0c80bd9ec6bda3d21557aaa9503f05ff86adf434
Add system|signature permission for intercepting package launch.

The preLaunchCheck (add, remove) functions which allows an application to
perform any checks before the framework launches the app
needs to be a protected with a system|signature permission.
This change defines the permission and protects the functions with it.

Change-Id: Ib62e25b780df39c4a7d9d1e4eaf3fc98ffa4089c

Conflicts:
	core/res/AndroidManifest.xml
	core/res/res/values/cm_strings.xml
PackageManager: Add configuration APIs for pre-launch checks

This change replaces overlays with an audited set() API, allowing
application with INTERCEPT_PACKAGE_LAUNCH permission to bootstrap
themselves.

Additionally, checks have been added to ensure that the custom prelaunch
check activity always resolves to a valid target.

Change-Id: I7f6be647fde3ce4ed699e6abfbe0392176ec96d3
CameraTile : align with CM
SystemUI: Utilize TextureView for CameraTile.

  SurfaceView causes unecessary and confusing view bleeding
  when the camera preview is about to begin. Utilize TextureView
  to display the content stream which behaves better within the
  QuickSettingsTile's container.

Change-Id: I408545ea92e29ab2cf4760b097ecf0cea4d813c9

Conflicts:
	packages/SystemUI/src/com/android/systemui/quicksettings/CameraTile.java