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

Commit 64eb5d29 authored by Joe Onorato's avatar Joe Onorato
Browse files

make the wifi button go where it's supposed to.

Change-Id: I415a5ad5e7524746d1e8d467f94058468bc719b7
parent 4b0912d4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -64,6 +64,7 @@
        <TextView
                android:id="@+id/network_label"
                style="@style/StatusBarPanelSettingsContents"
                android:text="@string/status_bar_settings_wifi_button"
                />
        <ImageView
            android:layout_width="wrap_content"
+3 −0
Original line number Diff line number Diff line
@@ -74,6 +74,9 @@
    <!-- Name of the button that links to the Settings app. [CHAR LIMIT=NONE] -->
    <string name="status_bar_settings_settings_button">Settings</string>

    <!-- Name of the button that links to the Wifi settings screen. [CHAR LIMIT=NONE] -->
    <string name="status_bar_settings_wifi_button">Wi-Fi</string>

    <!-- Label in the system panel for airplane mode (all radios are turned off)[CHAR LIMIT=30] -->
    <string name="status_bar_settings_airplane">Airplane mode</string>

+3 −0
Original line number Diff line number Diff line
@@ -99,6 +99,9 @@ public class SettingsView extends LinearLayout implements View.OnClickListener {
    // ----------------------------
    private void onClickNetwork() {
        Slog.d(TAG, "onClickNetwork");
        getContext().startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS)
                .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK));
        getStatusBarManager().collapse();
    }

    // Settings