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:
Maurice Lam
2017-10-31 21:46:38 -07:00
parent 8277e3ceea
commit 44ce407d00
4 changed files with 180 additions and 12 deletions

View File

@@ -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";
}