Settings: correct 0.75 animation scale for other lanuages and add 0.25

and a small cleanup for warnings

Change-Id: I07256fadacd0405b5049252b6bc3da9850adc3d1

Conflicts:
	res/values-ru/arrays.xml
	res/values-ru/slim_strings.xml
Allow user-installed apps to be disabled and force stop when disabling an app

In more detail, this patch will change the following:

* Users can disable regularly installed apps.
While disabled, the app can be uninstalled or enabled again.

* When disabling an app (user or system), force close the
application.

* System apps can be disabled, or installed updates can be uninstalled.
Previous behavior only allowed updates to be uninstalled,
then be disabled.

Signed-off-by: Roman Birg <romanbirg@gmail.com>
PBAP: Fix device name update on authorization prompt from Notification.

Use FLAG_ONE_SHOT for Notification PendingIntent to launch
authorization prompt and display the updated device name for
every new PBAP connection request.

Change-Id: Ic9cbed92e2856ed2d2f4f807f7f8c39df7f98762
CRs-fixed: 515221

Conflicts:
	src/com/android/settings/bluetooth/BluetoothPermissionRequest.java
Bluetooth : Remove out of range devices after ScanComplete

Change to remove device from UI when Bluetooth of remote
device is off or not discoverable anymore. Without this
change a device that discovered previously is available
in available devices list always, though the remote device
is not discoverable anymore. The current change updates
available devices list on scan complete removing the
devices that are available in cached devices and are not
disvorable anymore.

Change-Id: I97809fcafd904271121e26741e50a9b61f0e0664

Conflicts:
	src/com/android/settings/bluetooth/CachedBluetoothDevice.java
	src/com/android/settings/bluetooth/CachedBluetoothDeviceManager.java
	src/com/android/settings/bluetooth/DeviceListPreferenceFragment.java
Fix coding style.

Change-Id: I520b16f1c9a927a93d9e1bd4f7e712769d341e58

Conflicts:
	src/com/android/settings/bluetooth/CachedBluetoothDevice.java
FLAG_ONE_SHOT is not guaranteed to update the extras.

In contrast, according to the docs [1], FLAG_CANCEL_CURRENT is. Also
keep track of the notifications on a per-device basis.

[1]
http://developer.android.com/reference/android/app/PendingIntent.html

Change-Id: Ie04f60cde6a4332178373ce6be073e04036676c0

Conflicts:
	src/com/android/settings/bluetooth/BluetoothPermissionRequest.java
inputmethod: Fixup remove stylus preference for non stylus devices

This commit included following changes

 * Move show stylus icon checkbox to Pointer Settings Category
 * Fixup issues stylus preference doesn't remove if not supported
 * Improve the code remove stylus preference if not supported
 * Remove an unnecessary variable introduced on http://review.cyanogenmod.org/#/c/33774/

Change-Id: I0f2e1b5cda00033915bb25902ce970f9eda52048

Conflicts:
	src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java

Conflicts:
	src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
Settings: Display up caret for Status and ChooseAccountActivity

Change-Id: Ia9d51b53df8a3eb4c1b9dee1aeefb0b74eac0fde

Conflicts:
	src/com/android/settings/accounts/ChooseAccountActivity.java
	src/com/android/settings/deviceinfo/Status.java
FindBugs: Call to equals() comparing different types

Change-Id: If4185f9eec0adfa47a6741eb21111b6cdafac008
Revert "Settings : Fix accessibility shortcut"

This reverts commit 62fb18ed4bdd6335470f4be56dad93ed2a01ef31.
Settings: Fixed force close issue when the window is shown without the action bar (tablets)

Change-Id: Id4d9be361dec60a14e7fc26a4b9b7d2906c4abe3
Fix memory leak in ManageApplication

ApplicationsAdapter new a Session member and make it has a reference to
it self. If we don't release it explicitly, the cross reference will
cause memory leak.

Change-Id: Iecce35ae1d56d98cee6347e84d3a3ff57f3b15a5
fix a potential memory leak by adding onDestroy in case settings is killed

Change-Id: Ie5f53969d583a898739caeec49b972c5e1cb69d9
Settings: Fix the memory leak in Settings

Fixed the memory leak in both InstalledAppDetails

Change-Id: I3520b3c1fe1bf98e3baec2ee989eb215164a7cf2
Signed-off-by: Zhijun Peng <pengzhj@marvell.com>
Fix WifiManager melory leak, change context to getApplicationContext

Change-Id: Iba90045c4e31537defeec7a6f965d3b764065864
Signed-off-by: annieyu <annieyu@huaqin.com>
Settings: Profiles: Update look to be more inline with others

This changes the tab host to a PagerTabStrip to match what is used
in the "Apps" settings screen.

Also simplify menu handling between screens.

Change-Id: If7fa157a6c9e346c1dba8ed7282c35e9cb4e11fd

Conflicts:
	res/values/cr_strings.xml

Conflicts:
	res/values/cr_strings.xml
	src/com/android/settings/profiles/AppGroupList.java
	src/com/android/settings/profiles/ProfilesSettings.java
DataUsageSummary: fix mobile data usage display for sim-less devices

- Don't assume the device has a sim card. Check for a phone number
  instead. Otherwise the mobile data usage screen will not show up
  on sim-less CDMA devices.

Change-Id: Ic6e35dc209ff05e0c89dc990ad82f4ab4d3f337d

Conflicts:
	src/com/android/settings/DataUsageSummary.java
DataUsageSummary: fix mobile data usage display for GSM devices with no number

Some providers don't write phone number onto SIM card causing the
phone number check introduced in the partially reverted commit to fail.
Re-introduce the original check with the "or" condition.

This partially reverts commit 4c51b45355b9d6fed973f946738bf455a8b7c9ea.

Change-Id: I69a65a1a421dcdf168c3d0afeb7110cb97790034
Lockscreen Shortcut : Delete entry if reset

Delete the entry when resetAll is selected so that original AOSP
behaviour is present, such as magneticTargets.

Thanks Eddy Witkamp for reporting

Change-Id: I04e03336d8f51fd9683f6d859a649a37e68655ba
Clean up lockscreen target configuration code (2/2)

Get rid of a lot of duplicated code.

Change-Id: I03faf36d5e767053072f1809f670882600ea0830

Conflicts:
	res/layout/lockscreen_shortcut_dialog.xml
	src/com/carbon/settings/fragments/IconPicker.java
	src/com/carbon/settings/fragments/LockscreenTargets.java

Conflicts:
	src/com/android/settings/liquid/LockscreenTargets.java
	src/com/android/settings/util/IconPicker.java