OSDN Git Service

Allow SimDialogActivity to be started for result
authorBrad Ebinger <breadley@google.com>
Wed, 1 May 2019 00:30:40 +0000 (17:30 -0700)
committerBrad Ebinger <breadley@google.com>
Wed, 22 May 2019 00:37:21 +0000 (00:37 +0000)
commitfa18b88225d58961f114a0be075c08ef3528da6f
treea67944eeee20beca56018dd67e2c7b2ae51a75f8
parent0a8e4aebf54aa85f2f3c5ee43641e11c8c760c55
Allow SimDialogActivity to be started for result

In Telephony, we sometimes need to be able to launch
the SIM pick dialog activity for SMS without setting
a new default (i.e. user chose "ask every time") for
default SMS subscription.

Adds the ability for the SimDialogActivity to be
called using startActivityForResult and not set the
user's choice as the default.

Bug: 130853716
Bug: 130567323
Test: run Telephony SmsManagerTestApp
Merged-In: Ib448a6901581294050fc988ed9c16f7e93066860
Change-Id: If9f9ebbfe9b7b6718ed759937abbcfa6d22c6295
src/com/android/settings/sim/SimDialogActivity.java