diff options
| author | 2020-05-11 20:35:00 +0000 | |
|---|---|---|
| committer | 2020-05-11 20:35:00 +0000 | |
| commit | 3e79d2dcf97bfcfefabc85a6279b87ce823989a9 (patch) | |
| tree | 5a4241ba399471dfa3de39e3b6a29dcd3f130818 | |
| parent | 060a546ba139a70813e35644c7cc612008cd3f46 (diff) | |
| parent | c02f41471297f31f08068a9e6aab3be8dd813a11 (diff) | |
Merge "Do not throw RemoteException for notifyUserActivity" into rvc-dev
| -rw-r--r-- | telephony/java/android/telephony/TelephonyManager.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 97a4f4e4f050..e85dfbefc752 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -13098,7 +13098,9 @@ public class TelephonyManager { service.userActivity(); } } catch (RemoteException e) { - throw e.rethrowFromSystemServer(); + // one-way notification, if telephony is not available, it is okay to not throw + // exception here. + Log.w(TAG, "notifyUserActivity exception: " + e.getMessage()); } } |