Temporarily remove broken captive portal code
Change-Id: I8afce8bbc5b504e1376c62aec9e8c2aa39eedc00
This commit is contained in:
@@ -21,9 +21,7 @@ import static org.lineageos.setupwizard.SetupWizardApp.REQUEST_CODE_SETUP_CAPTIV
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.net.CaptivePortal;
|
||||
import android.net.ConnectivityManager;
|
||||
import android.net.ICaptivePortal;
|
||||
import android.os.AsyncTask;
|
||||
import android.util.Log;
|
||||
|
||||
@@ -118,23 +116,6 @@ public class CaptivePortalSetupActivity extends WrapperSubBaseActivity {
|
||||
final Intent intent = new Intent(
|
||||
ConnectivityManager.ACTION_CAPTIVE_PORTAL_SIGN_IN);
|
||||
intent.putExtra(Intent.EXTRA_TEXT, responseToken);
|
||||
intent.putExtra(ConnectivityManager.EXTRA_NETWORK,
|
||||
ConnectivityManager.from(context)
|
||||
.getNetworkForType(ConnectivityManager.TYPE_WIFI));
|
||||
intent.putExtra(ConnectivityManager.EXTRA_CAPTIVE_PORTAL,
|
||||
new CaptivePortal(new ICaptivePortal.Stub() {
|
||||
@Override
|
||||
public void appResponse(int response) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void logEvent(int eventId, String packageName) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void appRequest(int request) {
|
||||
}
|
||||
}));
|
||||
intent.putExtra("status_bar_color",
|
||||
context.getResources().getColor(R.color.primary_dark));
|
||||
intent.putExtra("action_bar_color", context.getResources().getColor(
|
||||
|
Reference in New Issue
Block a user