Revert "Fix resource leak: When call MediaMetadataRetriever.setDataSource or getFrameAtTime should ensure call release in finally to avoid resource leak"

This reverts commit 7bb32e5e6fe7b266a1c4a45f4a6083165dc78d4e.
Revert "AudioService: Restore volumes after boot and when a headset is plugged"

This reverts commit 912dd61c4f16f18824c655884f67b9c5e9729f03.
Revert "AudioService: allow volume control on analog dock"

This reverts commit 63f508270ca74089e46cb1f5f029d3cc63e171b6.
Revert "Properly handle changes in phone audio focus."

This reverts commit ddd3e71562de1ad1ab3cff27e45d8259be428985.
Revert "Squashed commit of audio changes from CodeAurora"

This reverts commit bfb0448373417a7a135d34e63602db040ebd3088.

Signed-off-by: Paul Beeler <sparksco@gmail.com>

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
AudioService: Don't adjust volume when vol-downing to vibrate or silent

Pressing vol-down to vibrate or silent would (previously) still adjust the
stream volume, setting the last audible volume to 0, which is not allowed
for voice-capable devices.  Thus, the last audible volume would reset to
default on reboot if on vibrate/silent or the lowest volume setting.

By not adjusting volume when vol-downing to vibrate or silent on
voice-capable devices, the last audible volume is always preserved across
reboot.
Revert "Prevent audio players starting on startup."

This reverts commit 16f0954f9b948f2c4a149ff732c17af518845c82.
Revert "Add option for switching between UMS and MTP/PTP mode. (1/2)"

This reverts commit e6dd781fbcfc94bfe33c84c1a4e05afe6dfc478e.
Revert "LegacyUSB: Squashed commit with updates for 4.2"

This reverts commit 9e97069023e7dcd979627523a861161567bfde87.
Revert "SystemUI: Add dock battery icon styles"

This reverts commit a5d3875db22c126326bdf35318ee4454b387c93c.

Signed-off-by: Paul Beeler <sparksco@gmail.com>

Conflicts:
	core/res/res/values/symbols.xml
	packages/SystemUI/res/values/dimens.xml
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Revert "systemui: modify hdpi & xhdpi drawables for battery_min"

This reverts commit cf2922072e22f4a937e522514c90d3826ac9112e.
Revert "SystemUI: Fix dock battery visual glitch"

This reverts commit 512d945a34dccf0f434e10d7386b109b3c9ee8dd.
Revert "frameworks: base: systemui: remove textSize from dock_battery_text"

This reverts commit 34cfd5c8af3548e0cd54ab1a48f6a046c428bbdb.
Revert "Cleanup dock battery support"

This reverts commit 19856a9cd7907253bfafbb30b03588729b13aef6.
Revert "frameworks: add dock battery drawables for HDPI devices"

This reverts commit de65d17ddfcfcdd4cf32bc88b391b0e608e853c1.
Revert "Show dock battery level if available"

This reverts commit 5192c11227d9f7c424eeb585aa3252aa8512fee4.
Revert "DeviceKeyHandle: The device should consume only known keys"

This reverts commit 648130676d62604ec597e84cb0fb2b90735c97b8.
Revert "Dispatch keys to a device specific key handler"

This reverts commit 8f69082a9032422d0906f477e75f651446cdac74.

Signed-off-by: Paul Beeler <sparksco@gmail.com>

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Revert "frameworks: base: add storage_sd_dock_card string"

This reverts commit e4639fc501a384634bd0c0045fc61e1215ee3739.
Revert "Add support for external dock batteries"

This reverts commit 3970f3030178618c63fd65adeef9441909caed4e.