| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Don't assume getPhoneAccount doesn't return null just because you're passing a
non-null argument.
Avoids:
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.CharSequence android.telecom.PhoneAccount.getLabel()' on a null object reference
at com.android.settings.sim.SimSettings.updateCallValues(SimSettings.java:299)
at com.android.settings.sim.SimSettings.updateActivitesCategory(SimSettings.java:237)
at com.android.settings.sim.SimSettings.updateAllOptions(SimSettings.java:222)
at com.android.settings.sim.SimSettings.updateSubscriptions(SimSettings.java:217)
at com.android.settings.sim.SimSettings.-wrap4(SimSettings.java)
at com.android.settings.sim.SimSettings$1.onSubscriptionsChanged(SimSettings.java:175)
at android.telephony.SubscriptionManager$OnSubscriptionsChangedListener$1.handleMessage(SubscriptionManager.java:397)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5461)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Change-Id: Ibdb5a978744a8f3e5dd916d08297a07d98aca5be
|
|
|
|
|
|
|
| |
Current code assumes the manual provisioning options should come
up if the qti-telephony blob is present. Don't make that assumption.
Change-Id: I5e4f28b628e3fe3fe9e506631e92c85103e87ccf
|
|
|
|
| |
Change-Id: I22ba9a3270da13f77fdd43586b7dc487f0929453
|
|
|
|
|
|
|
| |
* This icon doesn't look any good.
It's better to just get rid of it.
Change-Id: I47f70a80136695e9aa61ff98999a2cf770390079
|
|
|
|
|
|
|
|
| |
Dismiss dialog box on confirmation.
SIM activation & deactivation in background thread.
Change-Id: I0268a710f35e30b2abec3dd671942b52fc0e0b46
CRs-Fixed: 957308
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need to ensure that the SMS app has a valid subscription to use as
3rd party apps don't know how to use our custom "always ask" logic.
Don't allow the user to choose "always ask" if a 3rd party SMS app is
currently the deafult.
Ticket: CYNGNOS-3068
Change-Id: I4aabf43adfb4fdc39e7656aa872abf73d9a5edbe
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
| |
The dialog was prompted, and the user has picked always prompt, don't
ask them again, the Messaging app will need to request which SIM to use.
Ticket: CYNGNOS-2185, CYNGNOS-2570
Change-Id: I95a510974b89945da252f4c6c3e905e9a0de81af
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
|
| |
change id I8ba32f3b203751e79697c7dcbc2cfcf1c6ae4ad0 broke this and
assumed all needed a default index of 0; set it to -1 only for the data
selection.
Ticket: CYNGNOS-2388, CYNGNOS-2212
Change-Id: Ic81d1151aa71017e261107f1d67785cc50f2bd7f
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
| |
Change-Id: I8ba32f3b203751e79697c7dcbc2cfcf1c6ae4ad0
Ticket: CYNGNOS-2388, CYNGNOS-2212
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Initializing the index at zero was showing the first slot as the default
when none was chosen. Since that's not actually true, leave it outside
the possible range so that the radio selectors stay empty if that's the
case.
Addresses CYNGNOS-2212
Change-Id: I4a74f9c89bbf14bbe39e0d51733a1d5f92c5a1df
|
|
|
|
|
|
|
|
|
|
| |
This broadcast would cause a re-rendering of the sim preferences
but the activity context is actually tearing down at that point
which causes common context items such as resources items to be
null.
Change-Id: I5cb23f941c9ace6382dbc324c8e1820f54853eda
TICKET:CYNGNOS-1918
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On an out-of-the-box device, no data subscription will be
selected by default. If a single SIM is added, it will
become the default data subscription but if two sims are
added at the same time there will be no default.
In this case, this dialog will crash because it's trying
to get the subscription id from a null default. This patch
short-circuits the clause to always update if there is no
default.
Change-Id: Icd4dffaf918d43d85f807cd6a14f93abb118eca4
Ticket: CYNGNOS-1940
|
|
|
|
|
|
| |
CRACKLING-928
Change-Id: I786d4d921987d483cd0a5fa77976a0b8047d06db
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Clicking on a missing SIM card will show incorrect information
because the user network preference is indexed by subscription id.
This means that when the SIM is not present we cannot infer which
subscription settings we are actually showing or changing so the
whole screen is effectively useless.
This patch disables configuration entries for invalid subscriptions.
Ticket: CYNGNOS-1794
Change-Id: Ic5125f66f4cdaafe06d03b3b20b80341525d6c87
|
|
|
|
|
|
| |
CYNGNOS-1515
Change-Id: I2f69a876419a0ace61a6a8e682496db0d62bbfa1
|
|
|
|
| |
Change-Id: I3ab67d0dcb2979d2b527d40642d0c0f5b3e07034
|
|
|
|
|
|
|
|
|
| |
* Move all CAF strings to cm_strings
* Remove duplicate strings
* Reuse sim_calls_ask_first_prefs_title for sms
* Improve CAF SIM enabler strings
Change-Id: I6cf0fb0fe23800301b1fc8c37022ee9b79b5818b
|
|
|
|
|
|
| |
* It doesn't work without it.
Change-Id: Iec11ec2006059f26668f2a6fee4c2c9ca6650119
|
|
|
|
|
| |
Ticket: CYNGNOS-1440
Change-Id: I0890d5cc25124dc94434216763cb8965986ca4b3
|
|\
| |
| |
| | |
git://codeaurora.org/platform/packages/apps/Settings into cm-13.0
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
DDS switch triggered in an active CS session will fail PS attach
on the sub to switch to. Fixing this by disabling cellular
data prefrence when call state is not idle.
Change-Id: I0a771e65d1e96835996b7f97ead37f4e864872eb
CRs-Fixed: 757906, 915638
|
|/
|
|
|
|
|
| |
If the provisioning state is invalid, the framework is most likely
absent. Consider the card as provisioned to pass all relevant checks.
Change-Id: I975ff156e4328e9d3f6e2626a863bbacb29e3337
|
|
|
|
|
|
|
|
| |
In Msim, Whenver user selects Ask every time option in Sim settings,
Mms app will prompt for slection of sub from
composemessageactivity, on which SMS to be sent.
Change-Id: I39b1e1e3963779c717ea2aa49de94b6f0088984b
|
|
|
|
|
|
|
|
| |
If device is in APM, then display the sim info and disable
button to activate/deactivate sim.
CRs-Fixed: 910841
Change-Id: Id4726f9f45eab2b813d7d4a448d9edae4a1bfe2e
|
|
|
|
|
|
|
|
| |
Add UI to select preferred primary sub.
It is used when two SIM cards inserted have same
priority as per policy.
Change-Id: I5726fe9f4df03e680dc2406854d08da77297444d
|
|
|
|
|
|
|
|
| |
Use proper SubInfo record object to do not allow
user to deactivate both SIMs on DSDS devices.
Change-Id: I6f56d819367272b3a009c7a8133709c643e8bd84
CRs-Fixed: 893504
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Consider Manual provision state while displaying
active sub info list.
- Enable sms/data user preference option only
if more than one subscription active.
- Introduce below system proeprty to control AOSP
behavior of user selection of fallback preference
for sms/data
"persist.radio.aosp_usr_pref_sel"
Change-Id: I2b308b801f3f677c5a3ffaee5a8e6beda12aedd2
|
|
|
|
|
|
|
| |
Add toggle switch UI option in SimSettings screen to
enable/disable SIM cards
Change-Id: Id07271aedb12eabc0b106ac278ba2e12c71cfe03
|
|
|
|
|
| |
Bug: 19041463
Change-Id: I8c91fd6f01bbeb7561365dbb76ba3d4c05b76efc
|
|
|
|
|
|
|
|
|
|
|
| |
+ Send sim change notifications based on Sim state change rather then based
on subscription change.
+ Make SimSettings dynamically update based on subscriptions changed. Would
support hotswap which was not supported before this.
Bug: 20739298
Bug: 18385348
Change-Id: I5bb4b05f55b94eb0ed2a1a83fe2f168192b2b684
|
|
|
|
|
|
| |
Bug: 19301456
Bug: 19150497
Change-Id: I396641b24e78616c93510bf367b61fa7c47ec068
|
|
|
|
| |
Change-Id: I19e9dfaf248fce7376b124ee91de7e73fdc99fb3
|
|
|
|
|
| |
Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f
Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
|
|\
| |
| |
| |
| | |
* commit 'f64321184cbe64ab010ffd2fde9bbd543bec9299':
Fix sim notifications.
|
| |
| |
| |
| |
| | |
bug:19705366
Change-Id: I1d1f2dc5cf1d4580ab503c88853b089db0362242
|
| |
| |
| |
| | |
Change-Id: I34e11e0773c9f8e00e3eab422781094e19a16d3d
|
| |
| |
| |
| | |
Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
|
|\ \
| |/
| |
| |
| |
| |
| | |
TelephonyManager api to get SPN of sim to display in UI." into lmp-mr1-dev
* commit '85b04c19ed81e74709d74d2acffd4bd42a3b07de':
Use TelephonyManager api to get SPN of sim to display in UI.
|
| |
| |
| |
| |
| | |
Bug: 19476304
Change-Id: Ia16465584cf31858bbf1ae36cfdbf21184de10d7
|
| |
| |
| |
| |
| |
| |
| |
| | |
Settings app should not be parsing the subId direction from the phone
account. Instead this CL updates the settings app to use a new API to
grab the sub ID.
Change-Id: Iefd1831b04c061168fa2b135a2d296a27e3d4e92
|
|\ \
| |/
| |
| |
| |
| |
| | |
automerge: 1015f08
* commit '1015f08455da4c0823d98d5f74104e0fc3b7de33':
Rename reg/unreg OnSubscriptionsChangedListener.
|
| |
| |
| |
| |
| |
| |
| |
| | |
To addOnSubscriptionsChangedListener and
removeOnSubscriptionsChangedListener.
Bug: 18984103
Change-Id: I6636905093812af89c1c3702840e44c8c5ea891f
|
|\ \
| |/
| |
| |
| |
| |
| | |
non-integer phoneAccountId in SimDialogActivity." into lmp-mr1-dev
* commit '310b533689ac9ecd6ee3e9abbd4029882522358f':
Fixed crash caused by non-integer phoneAccountId in SimDialogActivity.
|
| |
| |
| |
| |
| | |
Bug: 18834691
Change-Id: I75b5ba4d72523474fe91eaf80f8201d9a53a683a
|
|/
|
|
|
| |
Bug: 18685720
Change-Id: Id7c8f756fd958fc81086a0166f1b0423c62e2569
|
|
|
|
|
| |
Bug: 18816868
Change-Id: I2b3015f563aed2d997a3a5466ca8f0689fc53ddb
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 18705619
Change-Id: I6de4d20172c69358c1853e6a00c68fc353c7dad7
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 18705619
Change-Id: I50cb08884f1c97352f5ad3a3e7d218b42af1ada4
|