Loading services/core/java/com/android/server/location/GnssLocationProvider.java +9 −2 Original line number Diff line number Diff line Loading @@ -1054,8 +1054,15 @@ public class GnssLocationProvider implements LocationProviderInterface { // download tasks overrun. synchronized (mLock) { if (mDownloadXtraWakeLock.isHeld()) { // This wakelock may have time-out, if a timeout was specified. // Catch (and ignore) any timeout exceptions. try { mDownloadXtraWakeLock.release(); if (DEBUG) Log.d(TAG, "WakeLock released by handleDownloadXtraData()"); } catch (Exception e) { Log.i(TAG, "Wakelock timeout & release race exception in " + "handleDownloadXtraData()", e); } } else { Log.e(TAG, "WakeLock expired before release in " + "handleDownloadXtraData()"); Loading Loading
services/core/java/com/android/server/location/GnssLocationProvider.java +9 −2 Original line number Diff line number Diff line Loading @@ -1054,8 +1054,15 @@ public class GnssLocationProvider implements LocationProviderInterface { // download tasks overrun. synchronized (mLock) { if (mDownloadXtraWakeLock.isHeld()) { // This wakelock may have time-out, if a timeout was specified. // Catch (and ignore) any timeout exceptions. try { mDownloadXtraWakeLock.release(); if (DEBUG) Log.d(TAG, "WakeLock released by handleDownloadXtraData()"); } catch (Exception e) { Log.i(TAG, "Wakelock timeout & release race exception in " + "handleDownloadXtraData()", e); } } else { Log.e(TAG, "WakeLock expired before release in " + "handleDownloadXtraData()"); Loading