Age | Commit message (Collapse) | Author |
|
Change-Id: I6a8d7215f874fed05e9fec71b17c8a3d1e2c94e0
|
|
KeyguardInputView no longer implements KeyguardSecurityView.
This cl seeks to clean up some of the lingering vestiges from this
large chain of refactors.
I have manually tested none, swipe, pattern, pin, and password views
for successfully unlocking, as well as multiple failed attempts
resulting in temporary lock outs.
Fixes: 166448040
Test: atest SystemUITests && manual
Change-Id: I36275598001184e774677cf2dbb16dec8dc7ab5b
|
|
No real functionality changes (hopefully). Just moving
objects into controllers.
Test: manual
Bug: 166448040
Change-Id: I4b74eddd18d29dd8966caa32c5960ff8be2e6f43
|
|
am: 17867fdf87 am: 0071fe0249
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1373531
Change-Id: I66ac5c84d1b5230657c867bf36bf7d0f5a4cd785
|
|
See https://source.android.com/setup/contribute/respectful-code for reference
Test: Presubmit
Bug: 161896447
Change-Id: If0192e33d6d063c7dfda72af1509a3fbd16e3044
|
|
There is a time delay that the SystemUI get
READY state from telephony,and the SystemUI
think it's PIN_REQUIRED state when check state
from telephony api. That will cause the internal status
be in a wrong state and make the screen locked.
Use new api check the SIM state.
Change-Id: Iede5925c5af2a70cc15451f8560e31f76da64caa
CRs-Fixed: 2663732
|
|
The initial goal was to remove PhoneConstants. But in doing so, it made sense to replace
an int[] array as a return type with a strongly typed class called PinResult.
Bug: 147774309
Test: SystemUITests
Merged-In: I42f2141f9378fc4f7a6f11af6073d38f917528bc
Change-Id: I42f2141f9378fc4f7a6f11af6073d38f917528bc
|
|
Change-Id: I16a4437d9876db7a6a2b07231b4584df4564bee4
|
|
Change-Id: I321486af27bd4665b73da2c51d88e293b54f3a4c
|
|
The initial goal was to remove PhoneConstants. But in doing so, it made sense to replace
an int[] array as a return type with a strongly typed class called PinResult.
Bug: 147774309
Test: SystemUITests
Change-Id: I42f2141f9378fc4f7a6f11af6073d38f917528bc
|
|
Bug: 146593004
Test: manual - pin and puk
Change-Id: Ic64cc8a48c6e28f3ac8a013cbb4c15e7e58f7f4d
Merged-In: Ic64cc8a48c6e28f3ac8a013cbb4c15e7e58f7f4d
|
|
Bug: 146593004
Test: manual - pin and puk
Change-Id: Ic64cc8a48c6e28f3ac8a013cbb4c15e7e58f7f4d
|
|
Change-Id: I30dd2dce3b0c2fcd635381413a213fe3e97be97b
|
|
This CL replaces all the reference of IccCardConstants.State
with TelephonyManager SIM card state values.
Bug: 111498835
Test: Manual
atest com.android.systemui.statusbar.policy
Change-Id: I810cce9ff418e34a8dbea06e91fa25b2300647e0
|
|
TelephonyManager.getSimCount()
TelephonyManager.getDefault()
TelephonyManager.from()
Bug: 111498835
Test: Manual DSDS test cases
atest com.android.systemui.statusbar.policy
Change-Id: I676a70a5dbd2dcbdbbee6cd889ffd614dc42fb9d
|
|
Change-Id: I293059a06fd09d0377ea06c58cf62eeb31d4668e
|
|
Change-Id: I515dc97a1060fccf4c2fd8f678f8f90753aa1289
|
|
Test: presubmit setup on source branch
Bug: 130289146 Create a Gradle build for SystemUI
Bug: 136279712 Daggerize FalsingManager
Bug: 137324767 "Unable to instantiate service com.android.systemui.doze.DozeService" exception breaks launcher tests
Bug: 137563419 Remove Bouncer reveal delay from bypass flow
Bug: 138787339 Allow Services and Activities to be injected into directly.
Bug: 139128921 [AS 3.5 RC2, SDK API 29 rev 2] Overload resolution ambiguity: while removing element from HashMap
Bug: 64712476 Import translations for dev branches
Change-Id: Ib7fd4706c070907fd556c3532957f3b1b046de6d
|
|
Bug: 139051615
Test: atest SystemUITests && atest SystemUIGoogleTests
Change-Id: Ic4dd5978001c208504c137cee41f363d7e70b1b5
|
|
After device's pattern lock and SIM Card's PIN lock are settled,
reboot and we can see screen keeps showing "Phone is starting".
During the process of showing SIM Pin lock, SIM Pin class handle
"Absent" event and dismiss keyguard. That keyguard has been hidden
will trigger system resume the FallbackHome activity. The FallbackHome
activity will show "Phone is starting" and leads to this issue.
Remove the code for ABSENT in KeyguardSimPin/Puk class to fix it.
Change-Id: I55e41f2d79fe057e413dd2724f504be8867040e5
CRs-Fixed: 2503092
|
|
setup simpler
Removed:
com.android.settingslib.restrictedlockutils
com.android.settingslib.helputils
com.android.keyguard
Moving sysui settings to use sysui settings resource package name
Test: Everything compiles / presubmit
Bug: 130289146
Change-Id: I5d760fa2f04439d24b455839f7bdd5cc499e840f
|
|
We're resetting the view state when a config change happens, but
they can arrive even after the view is not visible anymore.
Let's not update the message area if we're GONE, since the message
area is shared with the Pattern and PIN pad views.
Test: manual
Fixes: 138751729
Change-Id: Idb4877f8ed22e8b640670bb9da66bb124a2f8166
|
|
SystemUI abnormal is observed after entering PIN1.
Caused by wrong subid that be assigned when the
SIM card status is ABSENT.
Change-Id: Ic635105e1200b0759cdedd703d0378a38a3133fb
CRs-Fixed: 2487131
|
|
This reverts commit a35c6e4fea6b10582cb7e60f0af9a1a61dae356d.
Reason for revert: <INSERT REASONING HERE>
CRs-Fixed: 2487131
Change-Id: I77c58862e2f05d516d69392c294f359a00d43804
|
|
SystemUI abnormal is observed after entering PIN1.
Caused by wrong subid that be assigned when the
SIM card status is ABSENT.
Change-Id: I0c03a620fccfb58358f599cf8eac94e587cebfa4
CRs-Fixed: 2487131
|
|
Change-Id: I0f9f887d6a33702a6988709d8296731cfdb8f73d
|
|
User correct lifecycle methods for listener regristion,
otherwise error messages would show up on the shared text field
Test: add/remove locked sim card
Test: solve sim challenge, go to bouncer
Fixes: 130906933
Change-Id: I5327c447b770da1148c3e3ef19c6a75e69832a90
|
|
Test: tap on notification on lock screen
Test: tap on notification on shade locked
Test: swipe down from the top expanding QS
Test: swipe up from LS
Test: switch between pin, pattern and password
Test: add and remove locked sim card
Test: atest KeyguardBottomAreaTest
Test: atest KeyguardClockPositionAlgorithmTest
Test: atest KeyguardMessageAreaTest
Test: atest KeyguardIndicationControllerTest
Test: atest StatusBarKeyguardViewManagerTest
Test: atest KeyguardBouncerTest
Test: atest KeyguardPatternViewTest
Fixes: 130398499
Fixes: 130298363
Fixes: 129784068
Fixes: 130223966
Change-Id: Ib1706de259fa4b1f4ef13f654cbd931457733d82
|
|
Change-Id: Id8d32c9377185cecfb4bacc9a86ad7a98ab17a25
|
|
When user has DSDS and both sims are locked, the pin lock screen doesn't
show which carrier is requiring the pin.
b/128994337 tracks fixing the "Card 1" name on turning on the phone.
Test: manual
Bug: 125290365
Change-Id: I8c6b6ecd6b3c1e5f111ebbb1ceabbfb2b083ed0d
|
|
1) Remove old bypass code for ABSENT in KeyguardPin/Puk class
and move it into KeyguardViewMediator where it belongs.
2) Fix issue where pulling out sim and then putting it back in
doesnt trigger PIN/PUK screen until turn off->on screen by clearing
SimData state for the slot that became ABSENT.
Bug: 119560495
Test: Move across eSIM and pSIM as well as manually remove PIN/PUK'ed SIMs
Change-Id: Iebf2cb046b1a1d7e0689a2329a9f78e1cbb6aca4
|
|
Change-Id: Ieb6ae3730e8b01f867f9b5120de1ab3067653d21
|
|
Test: n/a
Change-Id: I432e11b52deb7974e50f62076af3b7aa07e364b6
|
|
When SIM card is pull out, the subId is changed to invalid,
but ths subId in KeyguardSimPinView is not updated.It will display
the default wrong PIN code message when sim card is re-inserted.
Send all the sim state changed event to listeners in
KeyguardUpdateMonitor, let listeners to decide whether to check
the subId is valid.
Change-Id: I67caa2f08bcad9a52083ddb1035896f1be0add01
CRs-Fixed: 2314055
|
|
Add slotId to distinguish between sim1 and sim2 in Simpinview
Change-Id: Ia73aad3e6188d2c080dc72a0d984105056f2fdfa
CRs-Fixed: 2226747
|
|
Conflicts:
services/core/java/com/android/server/ConnectivityService.java
services/core/java/com/android/server/connectivity/tethering/TetheringConfiguration.java
services/core/java/com/android/server/om/OverlayManagerSettings.java
Change-Id: I44e49cb1dc1cf3f10e12b49ca84d0cb486925d08
|
|
After sim unlock, Telephony manager return result is ready and
the remainAttemp is 0. The remainAttemp zero will make the following
process get the password error message in showDefaultMessage.
So, the process should reset the mRemainingAttempts to be -1 after
confirming the sim state is ready. To reset the mRemainingAttempts
will make the showDefaultMessage not to trigger the wrong talkback.
Bug: 72663742
Test: atest SystemUITests
Change-Id: I1b9b14282f74b3f41932af73c65d67379b9ed916
|
|
RootCase:SimPinView is unlocked by incorrect subId
Change-Id: I7c2b24e9c8d791d9c4f619d659e0f66e68bd3f01
CRs-Fixed: 2208323
|
|
Using the new accessibility pane title API
to identify the pattern, pin, and password unlock
screens.
Bug: 73131182
Test: Verified that accessibility events are properly
sent when unlocking the phone with each of the lock
methods.
Change-Id: I32594f4736b503e7f9e3be96e9f77a84ffcadc54
|
|
This CL add an alert dialog under SIM PIN/PUK screen when users try to
disable current eSIM profile and failed.
Bug: 62680294
Test: E2E
Change-Id: I97d8cf1ae8fb30ece48c4731e72bfdfedf69d49a
|
|
Adds the possibility of presenting a custom message on
the keyboard if you're trying to dismiss the keyguard.
This is particularly useful when you're showing the
bouncer because custom authentication (SmarLock)
failed.
Test: launch FLAG_SHOW_WHEN_LOCKED activity and
call KeyguardManager#requestDismissKeyguard
Fixes: 63940122
Change-Id: I0d88c0e59521887efa56d74874062b2b14970e4e
|
|
* Fix to properly display attempts remaining for PIN/PUK.
* On bootup show the available PIN/PUK attempts if sim
is locked on PIN/PUK.
* Show incorrect password message on entering wrong PIN/PUK
password.
In KeyGuardSimPinView and KeyGuardSimPukView, check for sim locked on
PIN and reset the flags to show the default message.
Bug: 37782683
Change-Id: I46d7d5dd86977cddecf3147add73ef6ccc64b257
|
|
am: b7dc3a3b21
Change-Id: I16555b53bbf9c743921cbd36578af3550705a242
|
|
There is the possibility of mCallback being null while
the Keyguard still has a PhoneStateListener registered
for onSimStateChanged callback. This can cause a NPE.
Bug: 66986066
Test: Manual, PIN/PUK locked SIM
Change-Id: I799c9521f787e800e259c3bdce9edee3f844f5f3
|
|
am: 43f9f0290c
Change-Id: I9e28e3975331a7af11747065761632a0566deb56
|
|
1) If the PIN/PUK keyguard comes up for a locked
SIM, it can not be removed by removing the
affected SIM. It can only be removed by
rebooting the device or entering a bogus PIN.
This change automatically clears the keyguard
when when the locked SIM is removed. It will
be shown again if the locked SIM is re-entered.
2) If the device is PUK locked and the code
**05*PUK*new pin* new Pin# is entered in the
emergency dialer, it will unlock the SIM.
By listening to the READY state, we can remove
the keyguard when the SIM is unlocked by
other means.
Bug: 64469515
Bug: 64044132
Test: Manual
Merged-In: I7b576ee7e38f141075cae094e3d1f74b7145d53f
Change-Id: I9507f80edcd4c04dfa0cc3b48a25e619aafa9eb3
|
|
Before this CL, we always show "Disable eSIM" button in SIM lock screen
if the device has eSIM chip. This may make the user who has never used
eSIM or currently is not activated the eSIM Profile confused. This CL
makes the "Disable eSIM" button only be shown iff the device has eSIM
chip and the current activated Profile is eSIM profile.
Bug: 37518023
Test: E2E
Change-Id: Id5a1325f49733528a370ec7145fe49731243bcf7
|
|
|
|
This button is used for eSIM devices. For the phone without eSIM, when
the SIM is lock, the user can remove the SIM card to unlock the phone.
This button is used to let the user disable the current carrier to
unlock the phone (the same as removing SIM card for non-eSIM devices).
Bug: 37275510
Test: manual test
Change-Id: I7e648e4bb5033c1ab3bfdfea9513e65632c49f2a
|
|
Just frameworks/ this time. More paths to come.
Bug: 24137209
Test: make -j32
Change-Id: Iff27abd26fa43296ac2fff8f534fc6742d2ae80c
|