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

Commit 44132cec authored by Sundeep Ghuman's avatar Sundeep Ghuman Committed by android-build-merger
Browse files

Merge "Create Espresso test for WifiSettings." into oc-dev

am: 0d475270

Change-Id: I3691a2b57b36fc42f706f537e5274c59bb1c403d
parents 8283da42 0d475270
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ LOCAL_USE_AAPT2 := true
LOCAL_MODULE := SettingsLib

LOCAL_SHARED_ANDROID_LIBRARIES := \
    android-support-annotations \
    android-support-v4 \
    android-support-v7-recyclerview \
    android-support-v7-preference \
+2 −8
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@ package com.android.settingslib.wifi;

import android.content.Context;
import android.os.Looper;
import android.support.annotation.Keep;

/**
 * Factory method used to inject WifiTracker instances.
@@ -26,14 +27,7 @@ public class WifiTrackerFactory {

    private static WifiTracker sTestingWifiTracker;

    public static void enableTestingMode() {
        sTestingMode = true;
    }

    public static void disableTestingMode() {
        sTestingMode = false;
    }

    @Keep
    public static void setTestingWifiTracker(WifiTracker tracker) {
        sTestingWifiTracker = tracker;
    }