OSDN Git Service

Call e.rethrowFromSystemServer() to exception of setDefaultSmsSubId
authorsqian <shuoq@google.com>
Wed, 13 Feb 2019 22:41:44 +0000 (14:41 -0800)
committersqian <shuoq@google.com>
Thu, 14 Feb 2019 01:06:05 +0000 (17:06 -0800)
Test: Treehugger
Bug: 123927534
Change-Id: Ica15965cb904b758e078b8439e5e9d3f39b9c0a2
Merged-In: Ica15965cb904b758e078b8439e5e9d3f39b9c0a2
(cherry picked from commit 04e94fcb0a41a50dce82f20a603b71614c3f5ed0)

telephony/java/android/telephony/SubscriptionManager.java

index 79606eb..5b9e232 100644 (file)
@@ -1863,7 +1863,7 @@ public class SubscriptionManager {
                 iSub.setDefaultSmsSubId(subscriptionId);
             }
         } catch (RemoteException ex) {
-            // ignore it
+            ex.rethrowFromSystemServer();
         }
     }