diff options
author | Brad Ebinger <breadley@google.com> | 2019-04-30 11:37:27 -0700 |
---|---|---|
committer | Brad Ebinger <breadley@google.com> | 2019-05-10 00:14:23 +0000 |
commit | 360415aa136ce1c1638301c968af2211588a16d6 (patch) | |
tree | d11245215d1aa1e3b734b6478ba189dbdc3dc19b /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | fa82dddcf6a2f0b963937b74c9b439bc1722004f (diff) |
Trampoline SMS disambig dialog to Telephony
SmsManager used to display a "select default SMS
subscription" dialog every time SmsManager was used
and no default SMS subscription was set. This change
fixes the following issues:
1_ getSubscriptionId no longer pops up a disambig
dialog.
2) The disambig dialog no longer sets the
default, rather it waits for the response from the
user and performs the operation when it receives
a response.
2a) Dialogs can no longer be created from background
services, so we now have a restriction that if
the disambig dialog is shown via a background service,
we will use phone 0 as default (backwards compat for
apps targeting <Q) or fail (on apps targeting Q+).
3) If there is only one active subscription, use that
to perform the operation on MSIM devices instead of
asking and only displaying the one active subscription.
4) Certain non "user-facing" APIs that are used by
carrier apps no longer will pop up a UI.
Bug: 131713446
Bug: 130853716
Bug: 129141025
Test: run SmsManagerTestApp; atest TelephonyFrameworksTests
Change-Id: I6be1c6d7bf6b6ee614b6a7d0369147e3b1890588
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions