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

Commit 121cfa79 authored by David Su's avatar David Su
Browse files

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

Change-Id: I115a4a70379a7e897c6f82dd4eef1ef50625a6ef
parent 004e36da
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
 */
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="com.android.hotspot2">
          package="com.android.hotspot2.osulogin">
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
    <uses-permission android:name="android.permission.INTERNET"/>
@@ -28,7 +28,7 @@
        android:label="@string/app_name"
        android:configChanges="keyboardHidden|orientation|screenSize"
        android:supportsRtl="true">
        <activity android:name="com.android.hotspot2.osu.OsuLoginActivity"
        <activity android:name="com.android.hotspot2.osulogin.OsuLoginActivity"
                  android:label="@string/action_bar_label"
                  android:theme="@style/AppTheme"
                  android:configChanges="keyboardHidden|orientation|screenSize">
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
             android:id="@+id/container"
             android:layout_width="match_parent"
             android:layout_height="match_parent"
             tools:context="com.android.hotspot2.osu.OsuLoginActivity">
             tools:context="com.android.hotspot2.osulogin.OsuLoginActivity">
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
+3 −5
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
 * limitations under the License.
 */

package com.android.hotspot2.osu;
package com.android.hotspot2.osulogin;

import static android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED;

@@ -42,8 +42,6 @@ import android.widget.Toast;

import androidx.swiperefreshlayout.widget.SwipeRefreshLayout;

import com.android.hotspot2.R;

import java.net.MalformedURLException;
import java.net.URL;