OSDN Git Service

Move SIM select logic from SimSelectNotification to Telephony.
authorMalcolm Chen <refuhoo@google.com>
Fri, 15 Mar 2019 03:34:50 +0000 (20:34 -0700)
committerMalcolm Chen <refuhoo@google.com>
Tue, 19 Mar 2019 20:57:19 +0000 (13:57 -0700)
commit41855ec8b918bcbb025a95e238982c9f57908a94
tree2bd25cbc77fb0b7e16c3091c85afd41a2d9acb87
parent252ae8bed09ff2d3a48d75beddc233749febbe82
Move SIM select logic from SimSelectNotification to Telephony.

SimSelectNotification used to listen to SIM_STATE_CHANGED from Telephony
and do checkings to decide whether to pop up notification and
SimDialogActivity. The logic needs updated and only Telephony knows it
well. So this change moves the logic into Telephony. SimSelectNotification
only listens to Telephony's decision, brings up notification and trigger
SimDialogActivity.

Bug: 128645056
Test: sanity and manual
Change-Id: I6153e27dd00dd9cdf8682f135eb39f8af3a75608
AndroidManifest.xml
src/com/android/settings/sim/SimSelectNotification.java