Sensor: Enable the motion accelerometer for screen orientation change

The screen orientation can be detected by the motion accelerometer
instead of generic accelerometer to save power.

Change-Id: Iaeb3e5958d2ef7cc33080d7091ed8a5462695c67

Conflicts:
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml
Fixed a possible infinite loop in JsonReader#skipValue()

Bug: https://code.google.com/p/android/issues/detail?id=65846

Change-Id: Idaa0e75fc5612550c4b9ccb9afa5535ea5b189df
Live Volume Steps [1/2]

-Created by me(@Meticulus) for the almighty BeanStalk ROM!

-Volume steps changes are instant, no need to reboot!

PS2: Clean up
PS3: Rebase
PS4: include lvs: transitioned volume steps volume normalization from Commit 5331
PS5: Nope, we don't squash commits for no reason.
PS6: Rebase and correct whitespace

Change-Id: Ia821c7326f6ba8c9e35b4c0b4caa9c9fb5e060f2

Conflicts:
	media/java/android/media/AudioService.java
lvs: transitioned volume steps volume normalization.

-This calculates an equivalent volume ratio for the new
volume steps.

-example: Volume steps are set at 60. Volume is set at 5. That is
very low volume. Then volume steps are switched to 5. Now you
are instantly in a state were your volume steps are 5 and your
volume is 5. That's full volume! This fixes that issue.

-So it basically keeps the volume from jumping around while your
changing volume steps. It may be a little lower but should be
very close.

PS5: Back to single commit mode, no unneeded squashes here.
PS6: Fix tab
PS7: Rebase and whitespace

Change-Id: I5151938997cde9932ee492615dc9bf68c80ca895
Merge branch 'temp' into kitkat