Revert "[2/3]Quiet Hours"

This reverts commit 8a202029be0b528c4d1b6499126e7743590bd552.

Change-Id: Iae74de61bdd252ed003eebb65727ff12f32de013
Merge "Revert "[2/3]Quiet Hours"" into kitkat
Merge branch 'kitkat' of https://github.com/AOSPA/android_packages_apps_Settings into kitkat

Conflicts:
	AndroidManifest.xml
	res/values/pa_arrays.xml
	res/values/pa_strings.xml
	src/com/android/settings/Settings.java

Change-Id: Ief938a8aafeefcf6971b892cb5b5bd8a71821b99
Total and available fields missing in Settings storage menu

After formatting SD card or inserting an SD card the total and
available space fields in Settings storage are missing.
This fix add those fields after SD card has been mounted.

Change-Id: Id6c1d1963effdb9656c8eb1c567b913bc4d98bd2
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
AppOps: Modify Chinese string for Camera as MIIT's suggestion.

MIIT gave their suggestion for Camera's summary strings.

Change-Id: I9378a160fa394e8cd6587dd484987ff43b7c979e
BT: Multi HF support in Settings App.

1. The connected sinks are not disconnected from
HeadsetProfile when new sink is connecting.
2. Also return correct connection status for
specific HS.
3. Sets priority for specific HS while disconnecting.

Change-Id: I876f9810be82482cb360451343e4eb2a9f3ed668
Settings: updating policy list after switching mobile data switch

Removed unnecessary call to updatePolicy() in the mDataEnabledListener since the setMobileDataEnabled() method already calls it.
Calling updatePolicy() with refreshCycle to true, so that the "change cycle..." option is enabled/disabled correctly

Change-Id: I2f8cfd898e663b644576626f00e38fff3ec0bbd8
On-the-spot preferences

Allow for handling of resetting multiple preferences individually.

Present the user with a list of active on-the-spot preferences to
choose from.
If a preference dialog was never presented to the user, it will not
be available for reset.
If only one preference is currently active, a simple reset dialog is
presented (current existing dialog / no list)

PS1: Initial commit
PS2: Use defined strings instead of decoding the SETTINGS_TO_RESET variables.
     This allows for string translation.
     String names should be equivalent to the SETTINGS_TO_RESET variable.
PS3: Add some error checks

Change-Id: If9c483e0745000ab486f060bf87756204b4a8e6e
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>
Merge branch 'kitkat' of https://github.com/AOSPA/android_packages_apps_Settings into kitkat
Merge remote-tracking branch 'PA/kitkat' into kitkat