SetupWizard: Use immersive mode for wifi

Change-Id: I76294fe9aac49984a4ff17f4671ee2df5e4236d3
This commit is contained in:
cretin45 2015-01-29 17:35:31 -08:00
parent f7807e0cb0
commit b0167c853f

View File

@ -30,7 +30,6 @@ import android.net.wifi.WifiManager;
import android.telephony.SubscriptionManager; import android.telephony.SubscriptionManager;
import android.telephony.TelephonyManager; import android.telephony.TelephonyManager;
import com.cyanogenmod.setupwizard.R;
import com.cyanogenmod.setupwizard.SetupWizardApp; import com.cyanogenmod.setupwizard.SetupWizardApp;
import com.google.android.gms.common.ConnectionResult; import com.google.android.gms.common.ConnectionResult;
@ -58,6 +57,7 @@ public class SetupWizardUtils {
Intent intent = new Intent(SetupWizardApp.ACTION_SETUP_WIFI); Intent intent = new Intent(SetupWizardApp.ACTION_SETUP_WIFI);
intent.putExtra(SetupWizardApp.EXTRA_FIRST_RUN, true); intent.putExtra(SetupWizardApp.EXTRA_FIRST_RUN, true);
intent.putExtra(SetupWizardApp.EXTRA_ALLOW_SKIP, true); intent.putExtra(SetupWizardApp.EXTRA_ALLOW_SKIP, true);
intent.putExtra(SetupWizardApp.EXTRA_USE_IMMERSIVE, true);
intent.putExtra("theme", "material_light"); intent.putExtra("theme", "material_light");
intent.putExtra(SetupWizardApp.EXTRA_AUTO_FINISH, false); intent.putExtra(SetupWizardApp.EXTRA_AUTO_FINISH, false);
ActivityOptions options = ActivityOptions options =