I have finally tracked this down and fixed it so that it can work but the 
issue that causes this is still in the code.

The fault is caused when NetworkMonitor handles the CAPTIVE_PORTAL_SERVER 
using the property ro.net.captive_server in setprop.

    mServer = Settings.Global.getString(mContext.getContentResolver(),
            Settings.Global.CAPTIVE_PORTAL_SERVER);
    if (mServer == null) {
        mServer = SystemProperties.get("ro.net.captive_server");
        if (mServer == null || mServer.length() == 0) {
            mServer = DEFAULT_SERVER;
        } else {
            Settings.Global.putString(mContext.getContentResolver(),
                    Settings.Global.CAPTIVE_PORTAL_SERVER, mServer);
        }
    }


By commenting out the ro.net.captive_portal in the setprop file for the 
platform build, the connection now uses the default server for connection 
checking.

The fault lies in the line where Settings.Global.putString is called. This 
causes an exception. Why? I do not yet know.


>

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to