diff options
author | BrettyWhite <geekman3454@protonmail.com> | 2019-06-11 15:21:07 -0400 |
---|---|---|
committer | BrettyWhite <geekman3454@protonmail.com> | 2019-06-11 15:21:07 -0400 |
commit | 44caa0ea68c27a1f22e7aff988a919bdad0e831f (patch) | |
tree | 9080561c1d55a07eb4c37e1bd2c0b5289ce87c4c | |
parent | a2a7edd84a555ac14581e7d6e6f9364495411660 (diff) | |
download | sdl_android-44caa0ea68c27a1f22e7aff988a919bdad0e831f.tar.gz |
remove public setters from choice cell
2 files changed, 7 insertions, 7 deletions
diff --git a/base/src/main/java/com/smartdevicelink/managers/screen/choiceset/ChoiceCell.java b/base/src/main/java/com/smartdevicelink/managers/screen/choiceset/ChoiceCell.java index bbba4debb..27a7d8914 100644 --- a/base/src/main/java/com/smartdevicelink/managers/screen/choiceset/ChoiceCell.java +++ b/base/src/main/java/com/smartdevicelink/managers/screen/choiceset/ChoiceCell.java @@ -106,7 +106,7 @@ public class ChoiceCell { * @param text - Maps to Choice.menuName. The primary text of the cell. Duplicates within an `ChoiceSet` * are not permitted and will result in the `ChoiceSet` failing to initialize. */ - public void setText(@NonNull String text) { + void setText(@NonNull String text) { this.text = text; } @@ -123,7 +123,7 @@ public class ChoiceCell { * @param secondaryText - Maps to Choice.secondaryText. Optional secondary text of the cell, if * available. Duplicates within an `ChoiceSet` are permitted. */ - public void setSecondaryText(String secondaryText) { + void setSecondaryText(String secondaryText) { this.secondaryText = secondaryText; } @@ -139,7 +139,7 @@ public class ChoiceCell { * @param tertiaryText - Maps to Choice.tertiaryText. Optional tertiary text of the cell, if * available. Duplicates within an `ChoiceSet` are permitted. */ - public void setTertiaryText(String tertiaryText) { + void setTertiaryText(String tertiaryText) { this.tertiaryText = tertiaryText; } @@ -162,7 +162,7 @@ public class ChoiceCell { * presented as a voice only interaction or both interaction mode. Therefore, consider not setting * this only when you know the choice set will be presented as a touch only interaction. */ - public void setVoiceCommands(List<String> voiceCommands) { + void setVoiceCommands(List<String> voiceCommands) { this.voiceCommands = voiceCommands; } @@ -179,7 +179,7 @@ public class ChoiceCell { * @param artwork - Maps to Choice.image. Optional image for the cell. This will be uploaded * before the cell is used when the cell is preloaded or presented for the first time. */ - public void setArtwork(SdlArtwork artwork) { + void setArtwork(SdlArtwork artwork) { this.artwork = artwork; } @@ -196,7 +196,7 @@ public class ChoiceCell { * @param secondaryArtwork - Maps to Choice.secondaryImage. Optional secondary image for the cell. * This will be uploaded before the cell is used when the cell is preloaded or presented for the first time. */ - public void setSecondaryArtwork(SdlArtwork secondaryArtwork) { + void setSecondaryArtwork(SdlArtwork secondaryArtwork) { this.secondaryArtwork = secondaryArtwork; } diff --git a/base/src/main/java/com/smartdevicelink/managers/screen/choiceset/operations/PreloadChoicesOperation.java b/base/src/main/java/com/smartdevicelink/managers/screen/choiceset/operations/PreloadChoicesOperation.java index 91fd97e36..43efbd2bd 100644 --- a/base/src/main/java/com/smartdevicelink/managers/screen/choiceset/operations/PreloadChoicesOperation.java +++ b/base/src/main/java/com/smartdevicelink/managers/screen/choiceset/operations/PreloadChoicesOperation.java @@ -189,7 +189,7 @@ public class PreloadChoicesOperation implements Runnable { } } - private CreateInteractionChoiceSet choiceFromCell(ChoiceCell cell){ + CreateInteractionChoiceSet choiceFromCell(ChoiceCell cell){ List<String> vrCommands; if (cell.getVoiceCommands() == null){ |