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

Commit 51e681a1 authored by Felipe Leme's avatar Felipe Leme
Browse files

Fixed initial value for sVisibleDatasetsMaxCount.

It should be 0 so FillUi uses the value defined in the resources.

Fixes: 109950540
Test: atest CtsAutoFillServiceTestCases

Change-Id: Ie1f06df28045932a1cafa6e63de517dfaa60bcda
parent 8a3d990e
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -61,11 +61,12 @@ public final class Helper {
    static int sPartitionMaxCount = 10;

    /**
     * Maximum number of visible datasets in the dataset picker UI.
     * Maximum number of visible datasets in the dataset picker UI, or {@code 0} to use default
     * value from resources.
     *
     * <p>Can be modified using {@code cmd autofill set max_visible_datasets}.
     */
    public static int sVisibleDatasetsMaxCount = 3;
    public static int sVisibleDatasetsMaxCount = 0;

    /**
     * When non-null, overrides whether the UI should be shown on full-screen mode.