summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Su <dysu@google.com>2020-02-18 17:12:32 -0800
committerDavid Su <dysu@google.com>2020-02-18 17:15:04 -0800
commit615d3a5612be70a3ddeb1b5ad0fa49c86c465e69 (patch)
tree6ff27599442ad473bb8dc4f813a145617f55c2ea
parentc0a9ff6748f32d184fc309e4f5a6c8c6a5173475 (diff)
Rename OsuLogin package to com.android.hotspot2.osulogin
Currently, it is "com.android.hotspot2", which is too generic, as in the future we may add more Passpoint-related apps. Rename the package name to be more specific. Bug: 149589553 Test: Connecting to an OSU network automatically opens the OsuLogin activity Test: atest FrameworksWifiTests Change-Id: If483dca1f49b94d217fb87ae86842e87ebdb6c55
-rw-r--r--service/res/values/config.xml2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProvisionerTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/service/res/values/config.xml b/service/res/values/config.xml
index 3456ab7cd..3a7c11479 100644
--- a/service/res/values/config.xml
+++ b/service/res/values/config.xml
@@ -380,5 +380,5 @@
<bool translatable="false" name="config_wifiSaeUpgradeOffloadEnabled">false</bool>
<!-- Package name for the OSU Login APK -->
- <string translatable="false" name="config_wifiOsuLoginPackage">com.android.hotspot2</string>
+ <string translatable="false" name="config_wifiOsuLoginPackage">com.android.hotspot2.osulogin</string>
</resources>
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProvisionerTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProvisionerTest.java
index db30370a5..656a73d97 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProvisionerTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProvisionerTest.java
@@ -136,7 +136,7 @@ public class PasspointProvisionerTest extends WifiBaseTest {
private static final String TEST_BSSID_STRING2 = "11:22:33:44:55:77";
private static final String TEST_SSID3 = "TestSSID3";
private static final String TEST_BSSID_STRING3 = "11:22:33:44:55:88";
- private static final String OSU_APP_PACKAGE = "com.android.hotspot2";
+ private static final String OSU_APP_PACKAGE = "com.android.hotspot2.osulogin";
private static final String OSU_APP_NAME = "OsuLogin";
private static final byte[] TEST_OSU_SSID_BYTES = "OSU_SSID".getBytes(StandardCharsets.UTF_8);