Skip to content

Commit 937100e

Browse files
HeniganHenigan
authored andcommitted
Add suppress warnings
1 parent ed9e3fe commit 937100e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

base/src/main/java/com/smartdevicelink/managers/screen/TextAndGraphicUpdateOperation.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ public void onResponse(int correlationId, RPCResponse response) {
161161

162162
}
163163

164+
@SuppressWarnings("deprecation")
164165
private void sendSetDisplayLayoutWithTemplateConfiguration(TemplateConfiguration configuration, final CompletionListener listener) {
165166
final SetDisplayLayout setLayout = new SetDisplayLayout().setDisplayLayout(configuration.getTemplate()).setDayColorScheme(configuration.getDayColorScheme()).setNightColorScheme(configuration.getNightColorScheme());
166167
setLayout.setOnRPCResponseListener(new OnRPCResponseListener() {
@@ -526,6 +527,7 @@ Show assembleLayout(Show show) {
526527
return show;
527528
}
528529

530+
@SuppressWarnings("deprecation")
529531
private void updateCurrentScreenDataFromSetDisplayLayout(SetDisplayLayout setDisplayLayout) {
530532
currentScreenData.setTemplateConfiguration(new TemplateConfiguration().setTemplate(setDisplayLayout.getDisplayLayout()).setDayColorScheme(setDisplayLayout.getDayColorScheme()).setNightColorScheme(setDisplayLayout.getNightColorScheme()));
531533
if (currentScreenDataUpdateListener != null) {

0 commit comments

Comments
 (0)