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

Commit 43cbe3ff authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Git Automerger
Browse files

am b6e57c1f: Merge "Do not set minimum value for mobile data limit dialog...

am b6e57c1f: Merge "Do not set minimum value for mobile data limit dialog higher than the actual set value"

* commit 'b6e57c1f':
  Do not set minimum value for mobile data limit dialog higher than the actual set value
parents 4fc84091 b6e57c1f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1761,7 +1761,7 @@ public class DataUsageSummary extends Fragment {
            final long limitBytes = editor.getPolicyLimitBytes(template);

            bytesPicker.setMaxValue(Integer.MAX_VALUE);
            if (warningBytes != WARNING_DISABLED) {
            if (warningBytes != WARNING_DISABLED && limitBytes > 0) {
                bytesPicker.setMinValue((int) (warningBytes / MB_IN_BYTES) + 1);
            } else {
                bytesPicker.setMinValue(0);