Louis-Law / cyanogen-updater

Automatically exported from code.google.com/p/cyanogen-updater
0 stars 0 forks source link

Airplane Mode - App doesnt work #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Just added a quick fix that the app will not crash any more when on airplane 
mode.

But the App stays at the downloadscreen and theres no activity. Has to be fixed

Original issue reported on code.google.com by FireFart on 10 Aug 2009 at 6:49

GoogleCodeExporter commented 9 years ago
think this is the problem:

//wait for a data connection
        while(!isDataConnected()) {
            Log.d(TAG, "No data connection, waiting for a data connection");
            registerDataListener();
            synchronized (mConnectivityManager) {
                try {
                    mConnectivityManager.wait();
                    break;
                } catch (InterruptedException e) {
                }
            }
        }

Original comment by FireFart on 10 Aug 2009 at 7:10

GoogleCodeExporter commented 9 years ago

Original comment by FireFart on 10 Aug 2009 at 7:14

GoogleCodeExporter commented 9 years ago
To check if Airplanemode is enabled/disabled:
if(Settings.System.getInt(this.getApplicationContext().getContentResolver(), 
Settings.System.AIRPLANE_MODE_ON, 0) != 1)

Original comment by FireFart on 14 Aug 2009 at 2:37

GoogleCodeExporter commented 9 years ago
possible check on start if the user is running airplane mode and show a popup 
telling him, that no download will 
be available and set the download and check now buttons to invisible. But still 
leave the apply button, so he can 
apply existing updates in a plane ;)

Original comment by FireFart on 16 Aug 2009 at 12:11

GoogleCodeExporter commented 9 years ago

Original comment by FireFart on 16 Aug 2009 at 6:09

GoogleCodeExporter commented 9 years ago

Original comment by FireFart on 21 Feb 2010 at 8:42

GoogleCodeExporter commented 9 years ago
:O?
airplane mode means prevent all cellular connections and disable major wifi 
connections...
cyanogenMod Updater uses INTERNET to update....

does this need any more explanation?

Original comment by amon...@gmail.com on 26 Jan 2011 at 3:18