| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Ticket: CYNGNOS-3251
Change-Id: I394514335bdaeafdc7b89918ece1fe3d2794647f
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Dismiss heads up popups when PIN is required, it would block input as
the new PUK screen would pop up
- Also dismiss the PUK screen when the SIM is removed
Ticket: CYNGNOS-2843
Change-Id: Id42626faaa563215b128d7c830793d9908e5282d
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Only show bouncer when requesting dismiss, which will set the states
for us.
- Also remove duplicate states.
- Ensure we disable edge gesture when showKeyguard is called
- Bail out on showKeyguard if already in keyguard.
CYNGNOS-2872
Change-Id: I6be10923de1590b386c270925654669a8f832cfe
|
|
|
|
|
|
| |
CYNGNOS-2816
Change-Id: Ie2ef88765f52e099d61d250faa9ae4100726abf3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Prevent edge gesture from conflicting with lockscreen shortcuts
- Fix lockscreen shortcuts crash where animations were being run
on detached view
- Fix statusbar flicker when swiping keyguard in from the left
- Fade scrim away when swiping lockscreen in and out
- Fix back button not working when showing bouncer in
external keyguard.
- Ensure we collapse bottom area after up/cancel when
in external keyguard
- Fix issue where clock/notifications can get off-center
when swiping to left.
- Fix bottom flicker when swiping lockscreen to left
- Only lock directional swiping when swipe helper acknowledges it.
This allows for all the standard swipe behavior to function.
- Ensure lockscreen shortcuts are not actionable when in SHADE
- Only dismiss bottom area after lockscreen shortcuts animations
have finished animating
- Prevent swipe when album art showing
CYNGNOS-2585
CYNGNOS-2488
CYNGNOS-2517
CYNGNOS-2390
CYNGNOS-2632
CYNGNOS-2634
Change-Id: I2fe767ed7e07b621075c755aae98121c8517b997
|
|
|
|
|
|
|
|
| |
Add an animation for when the user has swiped the left edge to bring
the notificaiton panel back into view from the left side.
Change-Id: Ie2ab3482a39d2d9c7b93a853f6ebae43a174e2c0
TICKET: CYNGNOS-2549
|
|
|
|
|
|
| |
Allows user to left swipe to live lockscreen and back.
Change-Id: Ia94d735695b77a091a240e13858641cf95ac0647
|
|
|
|
|
|
|
|
|
|
|
|
| |
We check package manager whether crypt keeper has disabled itself, but
if crypt keeper is in the process of disabling itself, the lockscreen
might get in a bad state.
Instead of checking package manager, let's use the same check that
CryptKeeper uses to decide whether to disable itself.
Change-Id: I9de09a1248b28fa14db9f69fb1313778895e2438
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Some devices are exhibiting an issue where the keyguard will be
shown on top of the decrypt device screen when they have their
sim locked. When this occurs, the user is not able to enter their
pin/password to decrypt the device even after the keyguard is
dismissed.
Change-Id: I7362b77a6ea2ec41c8835ae763ce427c12c02138
REF: NIGHTLIES-1254
|
|
|
|
|
|
| |
Fix: mPhoneState value never change
Change-Id: Ica51c1261aef15a0801e7089b788cd77c8d44d14
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We use this method to determine wither to allow profiles and the lock
screen tile whether to allow messing with the lockscreen.
Don't check whether the keystore is empty. Check whether we allow trust
agents by DPM. And also make keyguard use this method to respect it.
Ref: CYNGNOS-1930
Change-Id: I1a2b26419d43bd2bbc1d4a5027f1ed78d2744466
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
| |
We should hide the keyguard after the user has input their SIM PIN if
the profile (or ourselves) say so.
Ref: CYNGNOS-1930
Change-Id: I6cb1478eebd4442346c4c0970729fbf7450b156c
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Disable (grey out) the lock screen tile when a profile is already
disabling it. Profiles takes precedence over the internal setting.
Also simplify lockscreen disable logic - using a null'd Boolean without
synchonization will lead to things falling out of place.
Ref: CYNGNOS-1930
Change-Id: Ia4cb7926e418a4d72426be65e5bfb11dc44bee5e
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
| |
The prompt for the PIN for second SIM was missing if lockscreen is
disabled.
Change-Id: Ia98771929e905243967c3be6a428f813c2c3d0a9
|
|
|
|
|
|
|
|
|
|
| |
Also add a broadcast receiver to watch for profile changes/updates and
update the tile whenever we receive those.
Ref: OSS NIGHTLIES-1721, CYNGNOS-1930
Change-Id: I68d4789159cb9a0a25609380054ae5545c9df5bd
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
| |
Ref: CYNGNOS-1930
Change-Id: Ie5d2557c84c1ff9f1053de525e68c5ed790ecb99
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of just set the mShowing var, we should use the locked method to notify
all the other components that the lockscreen is not going to be shown. Otherwise, the
screen will not be refreshed and will not be drawn.
This happens when PIN set is not enabled (because this one triggers the screen to introduce
the pin). Wihout the PIN set enabled, components are not notified about it.
Change-Id: I949428d47f7ff979afe0e755aa82448ebbd8c598
JIRA: NIGHTLIES-1260, CYNGNOS-1930
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This brings it inline with stock behavior and also fixes a couple of issues.
If lock screen was disabled via profiles, on boot you would end up with no home or recents buttons
and if you had a simpin set you would be faced with a black screen with no way to access the phone unless you
popped the sim out.
Ref: CYNGNOS-1930
Change-Id: I9f1f9f467647e31525a1179dc1a0ce7b9dc3285f
|
|
|
|
|
|
|
|
|
|
|
| |
* Option appears on PIN,pattern and password methods
* User should press back button to see swipe-up-to-unlock screen.
* Instantly hides keyguard if Smart Lock has unlocked phone.
CYNGNOS-1873
Change-Id: I2ceeed348d7e61632b8344f35431f30cba62ca4f
Signed-off-by: eray orçunus <erayorcunus@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Sometimes keyguardDone() may be invoked from PhoneWindowManager many times
in a short time, especially when app works with FLAG_DISMISS_KEYGUARD.
Make sure the unlock sound is only played when keyguard is showing and the
screen is on.
Change-Id: I396588579a3be3b3210e619179d2a57211904644
CRs-Fixed: 900840
|
|
|
|
|
|
|
|
|
|
| |
Now should instantly reflect the proper state after clicking. In certain
situations it would not update immediately.
Ref: CYNGNOS-1607
Change-Id: I97a5e3417f91315ca5d06a832fa799938981e284
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of saving this to a shared preference in SystemUI, let's
leverage the CM SDK Settings Provider so we can query this state and let
the user know why the keyguard is disabled.
Also move the logic into KeyguardViewMediator to monitor the state
change and apply it locally.
Ref: CYNGNOS-1513
Change-Id: I08a984797921178082e1e7bda881b7b8a7965ddf
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
| |
* Stay disabled when disabled
* No need to use Keyguard locks, use internal update monitor
Change-Id: I9e66458d5789aa45b933ca60643e049d932ce58b
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
| |
Change-Id: Ib1e627bf5432ce54a9f81a5ba65da7c687c232d6
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Android 6.0.0 release 26
Conflicts:
cmds/bootanimation/BootAnimation.cpp
core/java/android/accounts/AccountManager.java
core/java/android/app/AppOpsManager.java
core/java/android/os/PowerManagerInternal.java
core/java/android/os/storage/IMountService.java
core/java/android/provider/Settings.java
core/java/com/android/internal/widget/ILockSettings.aidl
core/res/res/values-mcc204-mnc12/config.xml
core/res/res/values-mcc219-mnc02/config.xml
core/res/res/values-mcc730-mnc07/config.xml
core/res/res/values/config.xml
core/res/res/values/symbols.xml
packages/SystemUI/res/values/config.xml
packages/SystemUI/src/com/android/systemui/doze/DozeService.java
packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java
packages/SystemUI/src/com/android/systemui/statusbar/ExpandableOutlineView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeScrimController.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java
packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java
services/core/java/com/android/server/LocationManagerService.java
services/core/java/com/android/server/am/ActivityManagerService.java
services/core/java/com/android/server/pm/PackageManagerService.java
services/core/java/com/android/server/power/PowerManagerService.java
telecomm/java/android/telecom/Phone.java
telephony/java/android/telephony/CarrierConfigManager.java
telephony/java/android/telephony/RadioAccessFamily.java
telephony/java/android/telephony/ServiceState.java
telephony/java/android/telephony/SignalStrength.java
telephony/java/android/telephony/TelephonyManager.java
telephony/java/com/android/ims/ImsCallProfile.java
telephony/java/com/android/ims/ImsReasonInfo.java
telephony/java/com/android/ims/ImsSuppServiceNotification.aidl
telephony/java/com/android/ims/ImsSuppServiceNotification.java
telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl
telephony/java/com/android/internal/telephony/RILConstants.java
Change-Id: I99c6edb8e25a77145b5adef97d0d55bfbe676959
|
| |
| |
| |
| |
| | |
Bug: 23970549
Change-Id: I899d8a92050c257217fa8528c33cb4592ad6d76a
|
| |\
| | |
| | |
| | | |
mnc-dr-dev
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We used to start fingerprint authentication in onFinishedGoingToSleep.
This was a UX issue because then users couldn't place the finger on
the sensor immediately after pressing the power button because
onFinishedGoingToSleep is significantly delayed (around 900ms after
pressing the power button).
Bug: 23570959
Change-Id: I0bf557ebd10e6a8b033ab98a78aa338bf6538dcc
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In case the the screen timed out and the setting was set to "lock now"
in case the screen times out, we locked before finished going to sleep,
leading to all kinds of state messups in Keyguard, including an empty
lockscreen when authenticating with fingerprint during that period.
Bug: 23952388
Change-Id: If1629be1171c841d51ec0555422e6108002fdb73
|
| |
| |
| |
| |
| | |
Bug: 23967648
Change-Id: If91df75e6325b3969dc2351a70af0c160d3eab04
|
| |
| |
| |
| |
| | |
Bug: 23970549
Change-Id: Iec1e8ac507268086e0e2935847eda606ea1fb700
|
| |
| |
| |
| |
| | |
Bug: 23718313
Change-Id: I6c88fbba9ae460594b8e2f1a77c6545b305e5813
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When telling window manager that Keyguard window is in the correct
state for a fp-touch-to-wake sequence, it takes more than 1 frame at
the moment because the signal that WM is waiting for the next draw
is delayed by one frame because it is posted at the end of the
runnable queue.
To correctly fix this, we should post it at the beginning at the
queue, but this is way too risky this late. Instead, add a isolated
SysUI hack to report it faster.
Bug: 23401557
Change-Id: Icf64101e27611c7c01d108123021b22186f1e70c
|
| |
| |
| |
| |
| |
| | |
Bug: 22846469
Bug: 22115393
Change-Id: I6ef5322d02e540fc043e7f20d3aabf595ce7c224
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Move all fingerprint related to logic in on central class in
SystemUI that knows all the state of the UI so there is exactly ONE
place in which we decide what to do when we acquire a fingerprint.
- When pulsing and we get a valid finger, we fade the contents of the
Keyguard out and fade the scrim out almost the same way as we would do
in a normal wake-and-unlock sequence.
- Hide shadows while dozing, so we don't see the artifacts when we fade
the dozed Keyguard out.
Bug: 23225107
Change-Id: I82f78e61f2530cf7d507ade80f6f0a340c082567
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
waking up" into mnc-dev
* commit '81eeef589386483722c21572d9ab6d3f95dd26be':
Update time when turning on screen, in addition to waking up
|
| | |
| | |
| | |
| | |
| | | |
Bug: 23113439
Change-Id: I7abcf1b4298fc832ba78df742c691246766993b1
|
| | |
| | |
| | |
| | |
| | | |
Bug: 21594472
Change-Id: Iab169d4fa2e4ad134f8c8579654b28e96b5b1385
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I16dcba63d849da8c6026ecaad8de778868cfd8ee
Signed-off-by: Roman Birg <roman@cyngn.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Adapted for cm-12.
Change-Id: I0eb1b5578b705c2ade4c0772fa86e09478b9f73e
Signed-off-by: Roman Birg <roman@cyngn.com>
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
power
reboot
screenshot
profile switcher
airplane mode
user switcher
bug reports
sound modes
[mikeioannina]: Modify for CyanogenMod
framework: Add advanced reboot options (2 of 2)
This commit is an squash of the commits below and re-adds the reboot
logic to CM.
I took the liberty to rewrite some of the ShutdownThread code because
it had some lingering issues present since I originally wrote this
for CM7 (!!). Namely, the reboot reason was being changed when the items
are pressed instead of when the user presses the positive button. This
made some people add workarounds like handling back button presses and
whatnot, these are gone now.
commit 588464bea40b92b04c4aeee35c47f7becceeed56
Author: Roman Birg <roman@cyngn.com>
Date: Thu Jul 10 14:20:42 2014 -0700
advanced reboot: add soft reboot option
Adds a "Soft reboot" option which restarts zygote, as requested in JIRA
CYAN-3998
Signed-off-by: Roman Birg <roman@cyngn.com>
Conflicts:
core/res/res/values/cm_arrays.xml
core/res/res/values/cm_strings.xml
services/java/com/android/server/power/ShutdownThread.java
commit 3e7b92551bbf818ace41cd9b9532473ed7d18f2f
Author: Veeti Paananen <veeti.paananen@rojekti.fi>
Date: Tue Jul 23 16:34:35 2013 +0300
Show advanced reboot if using an insecure lock screen
Enables the advanced reboot menu when locked if the selected lock method
is insecure (= slide unlock).
Conflicts:
services/java/com/android/server/power/ShutdownThread.java
commit cf42ed3993d5d05c9b2591883fefb6338fbcdd40
Author: DvTonder <david.vantonder@gmail.com>
Date: Thu Feb 21 18:20:01 2013 -0500
Framework: Show the Advanced reboot menu only for the primary user
Conflicts:
services/java/com/android/server/power/ShutdownThread.java
commit 08aa6fd643e0359114b86f50053921dd2d86fc50
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date: Mon Nov 4 03:37:40 2013 +0000
Framework: Add Advanced reboot (2 of 2)
This commit responds to a setting in Development settings for including
options in the power menu for rebooting into recovery or bootloader. It
is defauled to off.
When enabled, the Advanced reboot options will only be available once the
device is unlocked.
Enhance power menu reboot option
* Use our old reboot icon
* Set correct dialog title & message when rebooting
* Move strings to cm_strings
* Add back reboot_download string used by samsung devices
* Remove Chinese translations, will be handled through crowdin
policy: Remove references of Profiles in android.policy.
We can't reference the CMSDK within a jar that is exported in the
BOOTCLASSPATH, otherwise we end up overriding the 3rd party
applications classloaded jar and causing various issues during
runtime.
Change-Id: Ia0b7950d17bb7450347b57d8a423c44df982b195
|
|/
|
|
|
|
|
|
|
|
|
| |
When in ambient display mode, we didn't get a callback to
onStartedWakingUp, thus the time was never refreshed. Since
broadcasts are disabled in this low-power state, we need to refresh
the clock manually before turning on the screen, because we can't
rely on the broadcasts to be delivered.
Bug: 23171638
Change-Id: I249f4195a14995f7c1467e73ac2aa400b871f80e
|
|
|
|
|
|
|
| |
Even when there is a pin.
Bug: 22920549
Change-Id: Ib84e1c3ac67be0318d4186c66ee582a49969e373
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add callback to inform SysUI when the screen has been unblocked
and turned on.
- Cleanup inconsistent messaging about device interactive/screen on
and off.
- Add callbacks to inform SysUI about screen states
- Implement a quick fade for the scrim after touch, wake, and unlock.
First, start with a black scrim on top of everything, and then fade
it out.
- Make sure we play the normal unlock animation when device is pulsing
- Override navigation bar animations for touch, wake and unlock: Fade
in the same manner as the scrim.
Bug: 22571198
Bug: 21855614
Change-Id: I8ff08d72cced1e0f03c78d71ff710d8a4f6b848c
|
|
|
|
|
|
|
|
|
| |
Previously the fingerprint could still unlock the device
when waking up with the fingerprint sensor, since we were not
checking if it is allowed.
Bug: 22622999
Change-Id: I039a4e0701c1f161f227cf6f1d25e8147548db47
|
|
|
|
|
|
|
|
| |
We now keep the fingerprint running and switch to the bouncer when
the user successfully authenticated.
Bug: 21618072
Change-Id: If00061cb3914afd4d7a7d75964594484c792a890
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add onFingerprintAcquired, so Keyguard can grab a wakelock to prevent
the device from sleeping.
- If we get a successful fingerprint, wake the device up, immediately
dismiss the keyguard and tell PWM that we kicked off our frame that
will represent the correct state.
- PWM then waits for this frame to be drawn, and then turns on the
screen, which results in unlocking directly to the previsouly
opened app.
Bug: 21855614
Change-Id: I5f43df17fa5e4e9c6a6392eef4a4590b07df4f96
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When a Keyguard exit animation was played while the screen was
turning off, the window animation was cancelled. However, since
we didn't reset mPostKeyguardExitAnimation, we thought we need to
apply it again, with a start time of Long.MIN_VALUE. For some reason,
this animation never ended, and it was stuck at the beginning. Thus,
the alpha was 0 and the user just saw a blank wallpaper.
In addition, we also forbid starting the Keyguard exit animation when
the screen is about to turn off.
Bug: 21124013
Change-Id: Ief022c5bd758a9fedcaab3fe9fc385fa4234b37f
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This led to the network being unusable.
We now ensure that the Keyguard is not notified of the SIM PIN
changes until after the initial dismissal logic is done.
In addition, the fullscreen PIN is now always shown immediately
and not until the user swipes up, which was an error before.
Also made sure that the Keyguard Scrim is correctly visible
when shown.
Bug: 21850021
Change-Id: I81804124bae30adf0e17e26cc42f67e48fc446e8
|
|
|
|
|
|
|
|
| |
A message can now be shown on the keyguard bouncer
explaining why the bouncer is being shown.
Bug: 21618072
Change-Id: I25aea9cc242abbf6a133fb42cc4407f5c2f3f688
|