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

Commit b5f006bf authored by Michael Kolb's avatar Michael Kolb
Browse files

Add seperate activity for setup wizard wifi picker to adjust theme

  Bug: 6517721

Change-Id: I639122435161cd4816b82ab73f91ebbcd2df027e
parent 1c0a8f95
Loading
Loading
Loading
Loading
+14 −4
Original line number Diff line number Diff line
@@ -144,13 +144,23 @@
        </activity-alias>

        <activity android:name=".wifi.WifiPickerActivity"
                  android:label="@string/wifi_setup_wizard_title"
                android:parentActivityName="Settings"
                android:clearTaskOnLaunch="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="android.net.wifi.PICK_WIFI_NETWORK" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

        <activity android:name=".wifi.WifiSetupActivity"
            android:theme="@style/setup_wizard_theme"
            android:label="@string/wifi_setup_wizard_title"
                android:icon="@drawable/empty_icon"
            android:clearTaskOnLaunch="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="android.net.wifi.PICK_WIFI_NETWORK" />
                <action android:name="com.android.net.wifi.SETUP_WIFI_NETWORK" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
+23 −0
Original line number Diff line number Diff line
/*
 * Copyright (C) 2012 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.android.settings.wifi;

import com.android.settings.ButtonBarHandler;

// dummy class for setup wizard theme
public class WifiSetupActivity extends WifiPickerActivity implements ButtonBarHandler {

}
 No newline at end of file