Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7a2faca authored by DvTonder's avatar DvTonder Committed by Ricardo Cerqueira
Browse files

Quick Settings: Add visual indicator of ON/OFF Setting of Mobile Data tile

This addresses issue CYAN-221

Change-Id: I7dc0c8943df7a9478655bdde6745662c3831288f
parent 656aef4e
Loading
Loading
Loading
Loading
+3.09 KiB
Loading image diff...
+2.96 KiB
Loading image diff...
+389 B
Loading image diff...
+1 −1
Original line number Original line Diff line number Diff line
@@ -118,7 +118,7 @@ public class MobileNetworkTile extends QuickSettingsTile implements NetworkSigna
        if (mDataTypeIconId > 0) {
        if (mDataTypeIconId > 0) {
            iov.setImageResource(mDataTypeIconId);
            iov.setImageResource(mDataTypeIconId);
        } else {
        } else {
            iov.setImageDrawable(null);
            iov.setImageResource(R.drawable.ic_qs_signal_data_off);
        }
        }
        tv.setText(mLabel);
        tv.setText(mLabel);
        mTile.setContentDescription(mContext.getResources().getString(
        mTile.setContentDescription(mContext.getResources().getString(