diff options
| author | volzhs | 2017-05-12 14:24:14 +0900 |
|---|---|---|
| committer | volzhs | 2017-05-12 14:44:37 +0900 |
| commit | 9d33f510665718c5878dd34d3c00e8afa66ea800 (patch) | |
| tree | a5006d4ab1a835b0c51e69b3ce6693aaf9722f12 /platform/android/java | |
| parent | 5a6ccce97d350011b599e793cea95aa4e7899395 (diff) | |
| download | godot-9d33f510665718c5878dd34d3c00e8afa66ea800.tar.gz godot-9d33f510665718c5878dd34d3c00e8afa66ea800.tar.zst godot-9d33f510665718c5878dd34d3c00e8afa66ea800.zip | |
Diffstat (limited to 'platform/android/java')
| -rw-r--r-- | platform/android/java/src/com/google/android/vending/expansion/downloader/impl/DownloaderService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/java/src/com/google/android/vending/expansion/downloader/impl/DownloaderService.java b/platform/android/java/src/com/google/android/vending/expansion/downloader/impl/DownloaderService.java index 627bf3eed..e83faa275 100644 --- a/platform/android/java/src/com/google/android/vending/expansion/downloader/impl/DownloaderService.java +++ b/platform/android/java/src/com/google/android/vending/expansion/downloader/impl/DownloaderService.java @@ -569,10 +569,10 @@ public abstract class DownloaderService extends CustomIntentService implements I */ void pollNetworkState() { if (null == mConnectivityManager) { - mConnectivityManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); + mConnectivityManager = (ConnectivityManager) getApplicationContext().getSystemService(Context.CONNECTIVITY_SERVICE); } if (null == mWifiManager) { - mWifiManager = (WifiManager) getSystemService(Context.WIFI_SERVICE); + mWifiManager = (WifiManager) getApplicationContext().getSystemService(Context.WIFI_SERVICE); } if (mConnectivityManager == null) { Log.w(Constants.TAG, |
