Bug 1210989 - SendTabDeviceListArrayAdapter.java needed to be changed to point to shareplane.png. r=mcomella
authorcrazyprodigy <mrjohnsonalex@gmail.com>
Wed, 04 Nov 2015 17:20:31 -0500
changeset 307652 6bc04f9eddd67b09524f64b3e01ac36d1bb5c736
parent 307651 08488a55289e7c8443cd7b5c0e1cc83af4c10bb8
child 307653 d5b4d4fc3bedee326a08ef8049db0c261164fd2d
push id7333
push usernalexander@mozilla.com
push dateMon, 09 Nov 2015 18:31:16 +0000
reviewersmcomella
bugs1210989
milestone45.0a1
Bug 1210989 - SendTabDeviceListArrayAdapter.java needed to be changed to point to shareplane.png. r=mcomella
mobile/android/base/overlays/ui/SendTabDeviceListArrayAdapter.java
--- a/mobile/android/base/overlays/ui/SendTabDeviceListArrayAdapter.java
+++ b/mobile/android/base/overlays/ui/SendTabDeviceListArrayAdapter.java
@@ -99,17 +99,17 @@ public class SendTabDeviceListArrayAdapt
         if (position == 0) {
             row.setBackgroundResource(R.drawable.overlay_share_button_background_first);
         } else {
             row.setBackgroundResource(R.drawable.overlay_share_button_background);
         }
 
         if (currentState != State.LIST) {
             // If we're in a special "Button-like" state, use the override string and a generic icon.
-            final Drawable sendTabIcon = context.getResources().getDrawable(R.drawable.overlay_send_tab_icon);
+            final Drawable sendTabIcon = context.getResources().getDrawable(R.drawable.shareplane);
             row.setText(dummyRecordName);
             row.setDrawable(sendTabIcon);
         }
 
         // If we're just a button to launch the dialog, set the listener and abort.
         if (currentState == State.SHOW_DEVICES) {
             row.setOnClickListener(new OnClickListener() {
                 @Override