summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBilal Alsharifi <bilal.alsharifi@gmail.com>2018-10-02 15:51:00 -0400
committerBilal Alsharifi <bilal.alsharifi@gmail.com>2018-10-02 15:51:00 -0400
commitae0b2837fedc9bef17f499e493c09e4c27abe2e1 (patch)
tree3daa631e22a1db7f83573a938e3e9a7c964a23e5
parenta5816a68670e724efd354590a970059d490c78b8 (diff)
downloadsdl_android-ae0b2837fedc9bef17f499e493c09e4c27abe2e1.tar.gz
Update keepContext description
-rw-r--r--sdl_android/src/main/java/com/smartdevicelink/proxy/rpc/AudioControlData.java14
1 files changed, 8 insertions, 6 deletions
diff --git a/sdl_android/src/main/java/com/smartdevicelink/proxy/rpc/AudioControlData.java b/sdl_android/src/main/java/com/smartdevicelink/proxy/rpc/AudioControlData.java
index 9403fa9ab..b6ec0bfb1 100644
--- a/sdl_android/src/main/java/com/smartdevicelink/proxy/rpc/AudioControlData.java
+++ b/sdl_android/src/main/java/com/smartdevicelink/proxy/rpc/AudioControlData.java
@@ -53,9 +53,10 @@ public class AudioControlData extends RPCStruct {
* Sets the keepContext portion of the AudioControlData class
*
* @param keepContext This parameter shall not be present in any getter responses or notifications.
- * This parameter is optional in a setter request. The default value is false.
- * If it is true, the system not only changes the audio source but also brings the default infotainment system UI associated with the audio source to foreground and set the application to background.
- * If it is false, the system changes the audio source, but keeps the current application's context.
+ * This parameter is optional in a setter request. The default value is false if it is not included.
+ * If it is false, the system not only changes the audio source but also brings the default application or
+ * system UI associated with the audio source to foreground.
+ * If it is true, the system only changes the audio source, but keeps the current application in foreground.
*/
public void setKeepContext(Boolean keepContext) {
setValue(KEY_KEEP_CONTEXT, keepContext);
@@ -65,9 +66,10 @@ public class AudioControlData extends RPCStruct {
* Gets the keepContext portion of the AudioControlData class
*
* @return Boolean - This parameter shall not be present in any getter responses or notifications.
- * This parameter is optional in a setter request. The default value is false.
- * If it is true, the system not only changes the audio source but also brings the default infotainment system UI associated with the audio source to foreground and set the application to background.
- * If it is false, the system changes the audio source, but keeps the current application's context.
+ * This parameter is optional in a setter request. The default value is false if it is not included.
+ * If it is false, the system not only changes the audio source but also brings the default application or
+ * system UI associated with the audio source to foreground.
+ * If it is true, the system only changes the audio source, but keeps the current application in foreground.
*/
public Boolean getKeepContext() {
return getBoolean(KEY_KEEP_CONTEXT);