Update auto wi-fi to prompt user for permissions
This CL makes it so that auto wi-fi will correctly prompt users to enable the correct permissions before allowing them to turn on the setting. Additionally it provides users with important information regarding each setting. Bug: 67070896 Test: Robotests Change-Id: Ieddfa421be6e45ce69f3d6048ae051a7e3ce4c76
This commit is contained in:
@@ -36,9 +36,9 @@ import java.util.List;
|
||||
public class UseOpenWifiPreferenceController extends AbstractPreferenceController
|
||||
implements PreferenceControllerMixin, Preference.OnPreferenceChangeListener,
|
||||
LifecycleObserver, OnResume, OnPause {
|
||||
public static final int REQUEST_CODE_OPEN_WIFI_AUTOMATICALLY = 400;
|
||||
|
||||
private static final String KEY_USE_OPEN_WIFI_AUTOMATICALLY = "use_open_wifi_automatically";
|
||||
@VisibleForTesting
|
||||
static final int REQUEST_CODE_OPEN_WIFI_AUTOMATICALLY = 400;
|
||||
|
||||
private final ContentResolver mContentResolver;
|
||||
private final Fragment mFragment;
|
||||
|
Reference in New Issue
Block a user