commit | f26f01784e1c733c53cad3ed31918e73448ce369 | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Wed Apr 25 16:23:20 2012 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Wed May 02 11:20:22 2012 -0700 |
tree | b9fcba8f084051fc626572c36ebcf26f685c041d | |
parent | 7a6a4bf1b5905d3136ca883fff1d432e7c260298 [diff] |
Make AudioService aware of device orientation changes If the "ro.audio.monitorOrientation" system property is defined and true, monitor device configuration changes and see if the device orientation changed. If it did, set the "orientation" audio system parameter to one of "landscape", "portrait", "square" or "undefined". Set orientation when starting AudioService, and when media server restarts. Change-Id: Idce548f93abf3aab30149e5952daaa7051630232