File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
sdl_android_lib/src/com/smartdevicelink/proxy/rpc Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public void setPowerModeActive(Boolean powerModeActive) {
26
26
public Boolean getPowerModeActive () {
27
27
return (Boolean ) store .get (Names .powerModeActive );
28
28
}
29
- public void setPowerModeQualificationStatus (Names powerModeQualificationStatus ) {
29
+ public void setPowerModeQualificationStatus (PowerModeQualificationStatus powerModeQualificationStatus ) {
30
30
if (powerModeQualificationStatus != null ) {
31
31
store .put (Names .powerModeQualificationStatus , powerModeQualificationStatus );
32
32
} else {
Original file line number Diff line number Diff line change @@ -124,17 +124,17 @@ public void setTextFields( Vector<TextField> textFields ) {
124
124
125
125
126
126
127
- public Vector <TextField > getImageFields () {
127
+ public Vector <ImageField > getImageFields () {
128
128
if (store .get (Names .imageFields ) instanceof Vector <?>) {
129
129
Vector <?> list = (Vector <?>)store .get (Names .imageFields );
130
130
if (list != null && list .size () > 0 ) {
131
131
Object obj = list .get (0 );
132
- if (obj instanceof TextField ) {
133
- return (Vector <TextField >) list ;
132
+ if (obj instanceof ImageField ) {
133
+ return (Vector <ImageField >) list ;
134
134
} else if (obj instanceof Hashtable ) {
135
- Vector <TextField > newList = new Vector <TextField >();
135
+ Vector <ImageField > newList = new Vector <ImageField >();
136
136
for (Object hashObj : list ) {
137
- newList .add (new TextField ((Hashtable )hashObj ));
137
+ newList .add (new ImageField ((Hashtable )hashObj ));
138
138
}
139
139
return newList ;
140
140
}
@@ -143,7 +143,7 @@ public Vector<TextField> getImageFields() {
143
143
return null ;
144
144
}
145
145
146
- public void setImageFields ( Vector <TextField > imageFields ) {
146
+ public void setImageFields ( Vector <ImageField > imageFields ) {
147
147
if (imageFields != null ) {
148
148
store .put (Names .imageFields , imageFields );
149
149
}
Original file line number Diff line number Diff line change @@ -382,7 +382,7 @@ public void setSecondaryGraphic(Image secondaryGraphic) {
382
382
}
383
383
384
384
385
- public Image setSecondaryGraphic () {
385
+ public Image getSecondaryGraphic () {
386
386
Object obj = parameters .get (Names .secondaryGraphic );
387
387
if (obj instanceof Image ) {
388
388
return (Image ) obj ;
You can’t perform that action at this time.
0 commit comments