OSDN Git Service

ignore any exception in requestLocationUpdates
[android-x86/frameworks-base.git] / location / java / android / location / LocationManager.java
index 9e4a16b..b831e60 100644 (file)
@@ -710,7 +710,7 @@ public class LocationManager {
                 mListeners.put(listener, transport);
                 mService.requestLocationUpdates(provider, minTime, minDistance, transport);
             }
-        } catch (RemoteException ex) {
+        } catch (Exception ex) {
             Log.e(TAG, "requestLocationUpdates: DeadObjectException", ex);
         }
     }