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) {
2626 public Boolean getPowerModeActive () {
2727 return (Boolean ) store .get (Names .powerModeActive );
2828 }
29- public void setPowerModeQualificationStatus (Names powerModeQualificationStatus ) {
29+ public void setPowerModeQualificationStatus (PowerModeQualificationStatus powerModeQualificationStatus ) {
3030 if (powerModeQualificationStatus != null ) {
3131 store .put (Names .powerModeQualificationStatus , powerModeQualificationStatus );
3232 } else {
Original file line number Diff line number Diff line change @@ -124,17 +124,17 @@ public void setTextFields( Vector<TextField> textFields ) {
124124
125125
126126
127- public Vector <TextField > getImageFields () {
127+ public Vector <ImageField > getImageFields () {
128128 if (store .get (Names .imageFields ) instanceof Vector <?>) {
129129 Vector <?> list = (Vector <?>)store .get (Names .imageFields );
130130 if (list != null && list .size () > 0 ) {
131131 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 ;
134134 } else if (obj instanceof Hashtable ) {
135- Vector <TextField > newList = new Vector <TextField >();
135+ Vector <ImageField > newList = new Vector <ImageField >();
136136 for (Object hashObj : list ) {
137- newList .add (new TextField ((Hashtable )hashObj ));
137+ newList .add (new ImageField ((Hashtable )hashObj ));
138138 }
139139 return newList ;
140140 }
@@ -143,7 +143,7 @@ public Vector<TextField> getImageFields() {
143143 return null ;
144144 }
145145
146- public void setImageFields ( Vector <TextField > imageFields ) {
146+ public void setImageFields ( Vector <ImageField > imageFields ) {
147147 if (imageFields != null ) {
148148 store .put (Names .imageFields , imageFields );
149149 }
Original file line number Diff line number Diff line change @@ -382,7 +382,7 @@ public void setSecondaryGraphic(Image secondaryGraphic) {
382382 }
383383
384384
385- public Image setSecondaryGraphic () {
385+ public Image getSecondaryGraphic () {
386386 Object obj = parameters .get (Names .secondaryGraphic );
387387 if (obj instanceof Image ) {
388388 return (Image ) obj ;
You can’t perform that action at this time.
0 commit comments