Add flag to not connect in WifiDialogActivity
Add flag connect_for_caller, which if false will not connect to the Wi-Fi network on behalf of the caller. Test: cd tests/robotests && mma Bug: 34951731 Change-Id: Ie24a8ed1891aea1caec75a2de9a3d2bdb3dad8a7
This commit is contained in:
@@ -16,10 +16,18 @@
|
||||
|
||||
package com.android.settings;
|
||||
|
||||
import android.os.Build;
|
||||
|
||||
/**
|
||||
* Constants for Robolectric config
|
||||
*/
|
||||
public class TestConfig {
|
||||
|
||||
/**
|
||||
* @deprecated New tests should use {@link #SDK_VERSION_O}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final int SDK_VERSION = 23;
|
||||
public static final int SDK_VERSION_O = Build.VERSION_CODES.O;
|
||||
public static final String MANIFEST_PATH = "packages/apps/Settings/AndroidManifest.xml";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user