Merge "Adding additional javadocs for setSurroundFormatEnabled" into sc-dev am: d7638021ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14775421 Change-Id: I0f00290c18179ea7407a462d9a3826e90e0c4553
This commit is contained in:
@@ -7067,7 +7067,14 @@ public class AudioManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set a certain surround format as enabled or not.
|
* Sets and persists a certain surround format as enabled or not.
|
||||||
|
* <p>
|
||||||
|
* This API is called by TvSettings surround sound menu when user enables or disables a
|
||||||
|
* surround sound format. This setting is persisted as global user setting.
|
||||||
|
* Applications should revert their changes to surround sound settings unless they intend to
|
||||||
|
* modify the global user settings across all apps. The framework does not auto-revert an
|
||||||
|
* application's settings after a lifecycle event. Audio focus is not required to apply these
|
||||||
|
* settings.
|
||||||
*
|
*
|
||||||
* @param enabled the required surround format state, true for enabled, false for disabled
|
* @param enabled the required surround format state, true for enabled, false for disabled
|
||||||
* @return true if successful, otherwise false
|
* @return true if successful, otherwise false
|
||||||
|
|||||||
Reference in New Issue
Block a user