summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Import translations. DO NOT MERGE" into lmp-devBaligh Uddin2014-08-2572-83/+128
|\
| * Import translations. DO NOT MERGEBaligh Uddin2014-08-2472-83/+128
| | | | | | | | | | Change-Id: Ie520695726af475fa6c263df03943c9435e599b6 Auto-generated-cl: translation import
* | Merge "Fix password unlock method" into lmp-devJorim Jaggi2014-08-2511-58/+98
|\ \
| * | Fix password unlock methodJorim Jaggi2014-08-2511-58/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Update layouts/assets to material - Fix that the virtual keyboard didn't always come up - Fix window layout of status bar window, so it's above the IME when on Keyguard Bug: 16957208 Change-Id: I1785af9ac73103abe6cd9968ed27582fbfc9a1d9
* | | Merge "Fix invisible security method" into lmp-devJorim Jaggi2014-08-252-1/+3
|\ \ \ | |/ / | | / | |/ |/|
| * Fix invisible security methodJorim Jaggi2014-08-252-1/+3
| | | | | | | | | | | | | | | | Also fixes a bug where notification guts couldn't be launched from Keyguard. Bug: 17162095 Change-Id: I50395065e568ca01e837b0540d5edfd8bbd5797a
* | Update TrustAgentService API after review.Jim Miller2014-08-221-0/+6
| | | | | | | | | | | | | | | | Also documents timebase on related DevicePolicyManager API. Fixes bugs 16401527 and 17046034 Change-Id: I8ee6d0055ab6f52ec71630344d3232f7875d9c1d
* | Fixed focusing order for the notification panel and QSSelim Cinek2014-08-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fixed multiple bugs regarding focusability, where some elements were focusable even though invisible. The buttons, QS-tiles, QS-detail buttons, QS Header icons and other elements now have the correct focusability state. The rect indicating accessibility focus is now also correct for dual label tiles, instead of just the whole button. Also fixes an ordering issue where notifications were above the camera circle when launching. In addition the focus order of the notifications now work correctly. Bug: 15569922 Bug: 15682123 Bug: 17159249 Bug: 15690386 Change-Id: Ie9f7ae73397b41ce2e9a4060699301fdef3a0d01
* | Content description for next alarmJorim Jaggi2014-08-223-5/+8
|/ | | | | | | | Also fixes a bug where "status" was read out with TalkBack for no good reason. Bug: 15694080 Change-Id: Id295eb70af880d93ff928ebc337b09a8d679120d
* Only show face unlock indication if it appliesAdrian Roos2014-08-202-6/+14
| | | | | | | | | When trust is not managed or the indication is set for a different than the current user, don't show it on the lock screen. Bug: 17034124 Change-Id: Ia470520d6bd05db8417b3b0bb1f55894f791554e
* Play "device trusted" sound when onTrustInitiatedByUser firesAdrian Roos2014-08-182-1/+6
| | | | | Bug: 16840500 Change-Id: I73fbe5c2cff665ccb637abb9039d57f377d9df53
* Import translations. DO NOT MERGEBaligh Uddin2014-08-155-13/+13
| | | | | Change-Id: I7f283fa34aa5503bb34e7a085268abb4743032dd Auto-generated-cl: translation import
* Don't scale notifications on Keyguard for devices < xxhdpiJorim Jaggi2014-08-142-1/+21
| | | | | Bug: 16824061 Change-Id: Iccccebcd17357764aef325df0cd220508fcf7403
* Make clock larger on tabletsJorim Jaggi2014-08-145-2/+18
| | | | | | | | | | | | Also fixes "Large text" option on lockscreen and fixes Keyguard layout on smaller devies. In addition, make sure that landscape layout for phones isn't terrible broken (it's not pretty but it works). Bug: 14994495 Bug: 15589636 Bug: 16799035 Change-Id: I9ab76af41cbecd1a727d019e422765efbbd3276d
* Made AlarmClockInfo a nested class in AlarmManagerJose Lima2014-08-141-4/+4
| | | | | Bug: 16959028 Change-Id: I150eaaff765d1e214c3621c1bf50162ec0dac8ec
* Dismiss bouncer when onTrustInitiatedByUser firesAdrian Roos2014-08-133-6/+36
| | | | | | | | Also modifies the SampleTrustAgent to allow testing of the feature and adds the initiatedByUser flag to the dumpsys output. Bug: 16840500 Change-Id: I4c08ddcdcbd0ab02c694a1873f73cb9a250f98d7
* Lockscreen launch animationsJorim Jaggi2014-08-123-3/+9
| | | | | | | | | | | | | | | | | | | - Get rid of ActivityManager.dismissKeyguardOnNextActivity, which was used for two different things: Dismiss keyguard from somewhere else (not really necessary anymore), wait to actually dismiss keyguard after the window behind is drawn. Instead, introduce keyguardWaitingForActivityDrawn(), and change the semantics where necessary. - Make wallpaper_close_enter consistent with task_open_enter and the Keyguard launch animation. - Close the panel even on lockscreen when launching a notification. - Block notification shade updates during the collapsing motion so notification don't play the disappear animation immediately after having launched a notification. Bug: 15991916 Change-Id: I133c177b84e926c87c1a404ba93d633593fec3ab
* Preparations for lockscreen launch animationsJorim Jaggi2014-08-1214-20/+115
| | | | | | | | | | | | | | | | - Update unlock animations to new spec to make the consistent with lockscreen launch animations. - Introduce disappearing motion for security views which runs before we actually dismiss Keyguard. - If a window is running the un-force-hide animation, treat as it would have the wallpaper flag set so the wallpaper stays until the animation is completely done. - Run an animation on the wallpaper if the wallpaper is going away. Bug: 15991916 Bug: 16234603 Bug: 15326120 Change-Id: I063aa4f269ddcf75b9a705e90f0c3056b541b642
* Animations for Keyguard user switcher.Jorim Jaggi2014-08-072-15/+67
| | | | | Bug: 15757197 Change-Id: Ia3fcc0f771cea37fc2d57181d859373c423954a7
* Pass initiatedByUser to TrustListenersAdrian Roos2014-08-072-1/+9
| | | | | Bug: 16840500 Change-Id: I8d9bd8fe9a305066f33ac5c888d8a41ce219a6f1
* Merge "Wipe only managed profile when max number of incorrect passwords ↵Esteban Talavera2014-08-051-5/+8
|\ | | | | | | exceeded" into lmp-dev
| * Wipe only managed profile when max number of incorrect passwords exceededEsteban Talavera2014-08-061-5/+8
| | | | | | | | | | | | | | When the maximum number of retries that has been exceeded is not for the primary profile of the user, wipe only the profile that set that policy (e.g. the managed profile) rather than the entire user. At the moment the whole device is wiped if the max number of incorrect passwords for a managed profile is reached, as the password is shared with the USER_OWNER. Bug: 14453697 Change-Id: I5746de104133c0ea0a51d75b9c92e1516d365d8c
* | Implement face unlock running indicator on Keyguard.Jorim Jaggi2014-08-062-0/+29
| | | | | | | | | | | | | | Icon is still dummy. Bug: 16502879 Change-Id: Ibea1e594f322e919049a42a26ff858d2169415e7
* | New swipe-up assist animation for L.Jorim Jaggi2014-08-0513-508/+15
|/ | | | | | Bug: 16307470 Bug: 14623152 Change-Id: Ib7e0381d118bda177981cc56ec9a8fb418dfb0e3
* Add setManagingTrust and expose it on lockscreenAdrian Roos2014-07-305-6/+74
| | | | | | | | | | | | Adds a facility for trust agents to indicate if they are ready to manage trust. Also adds an indication to the lock icon on the lockscreen to show whether trust is being managed. Bug: 15518469 Bug: 16123013 Change-Id: Ie17f588aebeafe66c81dea4a69c733b0d2c72fd4
* Add new DevicePolicyManager API to allow fine-grained TrustAgent managementJim Miller2014-07-281-0/+10
| | | | | | | This adds a new feature that allows a device admin to specify a whitelist of features that are allowed for the given admin. Change-Id: I83f853318efbcf72308532d0a997374f73fa9c10
* Update KeyguardStatusView on user and alarm changesAdrian Roos2014-07-281-0/+1
| | | | | | | | | Refreshes both owner info and the next alarm when the current user changes. Also updates the next alarm when it changes. Bug: 16531212 Change-Id: Ibc9de5d28b2cafd6946fc56602f12769d3526728
* Implement next alarm info in expanded QS.Jorim Jaggi2014-07-2813-16/+51
| | | | | | | | | | Also make the representation of alarm on lockscreen consistent with QS. In addition, fix a bug where pending app transition was overriden to make the alarm click interaction look nice. Bug: 15392951 Bug: 15856205 Change-Id: Iacdf6a38c5c1a7484b4b328c9a3fa4d25e071c64
* am 5b942f14: am 6038139c: am ed2a502c: Merge "API REVIEW: VectorDrawable" ↵ztenghui2014-07-251-7/+4
|\ | | | | | | | | | | | | into lmp-dev * commit '5b942f1430bc5bf6ee35455919b7985d8fdefdc2': API REVIEW: VectorDrawable
| * am ed2a502c: Merge "API REVIEW: VectorDrawable" into lmp-devztenghui2014-07-251-7/+4
| |\ | | | | | | | | | | | | * commit 'ed2a502c3fae8b4faae3a4e83b4b5e111319905f': API REVIEW: VectorDrawable
| | * API REVIEW: VectorDrawableztenghui2014-07-251-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Merge <size> and <viewport> attributes all in to top-level <vector> tag - Indent attributes under <group> in java doc. - Updata android:stroke to be android:strokeColor, likewise android:fill - Instead of android:clipToPath, make this a different clip-path tag. - Document units of the various attributes - Add example code for defining a VectorDrawable resource More than that: = Refactor the code to better support clipPath as a sub-class. = Update all the xml files to use the new attributes and clip-path tag. TODO: -- Remove clipToPath, since that should happen on build break Friday. bug:16488254 Change-Id: I6db5680ef83cb26c8f064a60fc7d6e7142974b0f
* | | am 5de758d3: am f8a01f5f: am 6468d5c2: Merge "Restart trust agents when ↵Adrian Roos2014-07-253-3/+14
|\ \ \ | |/ / | | | | | | | | | | | | | | | updated or when they are dead" into lmp-dev * commit '5de758d3868b036f5067ad9f86ee7b02331e4818': Restart trust agents when updated or when they are dead
| * | am 6468d5c2: Merge "Restart trust agents when updated or when they are dead" ↵Adrian Roos2014-07-253-3/+14
| |\ \ | | |/ | | | | | | | | | | | | | | | into lmp-dev * commit '6468d5c216e45b33830e00b754258e910154393e': Restart trust agents when updated or when they are dead
| | * Restart trust agents when updated or when they are deadAdrian Roos2014-07-243-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ActivityManager restarts the trust agent service for us when it gets killed automatically. This does not apply when its process crashes too often or when its package gets updated however. To catch the update case, the trust agent connection is removed as soon as the package disappears, and then readded when the new package appears. To catch the repeated crashing case, the connection is reset if it hasn't successfully connected for several minutes. Also adds a button to SampleTrustAgent to simulate a crash. Bug: 16137258 Change-Id: I1b18fc7a3025e23e25ca1623b6af658d5430a94b
* | | Import translations. DO NOT MERGEBaligh Uddin2014-07-231-26/+26
| | | | | | | | | | | | | | | Change-Id: Ibab6e14da05435706aba41675ff5d35fed45ba5a Auto-generated-cl: translation import
* | | Import translations. DO NOT MERGEBaligh Uddin2014-07-222-7/+7
|/ / | | | | | | | | Change-Id: I3a4b999f1cb648dbb980193bfe0c1a55c87b3b48 Auto-generated-cl: translation import
* | am a727db86: Update LockPatternUtils to new alarm APIAdrian Roos2014-07-211-3/+14
|\ \ | |/ | | | | | | * commit 'a727db864c3e555c073d908a85d4c6ebc6eb2303': Update LockPatternUtils to new alarm API
| * Update LockPatternUtils to new alarm APIAdrian Roos2014-07-211-3/+14
| | | | | | | | Change-Id: Idc6c2865b86e467e1e254452326f327f145177b0
* | am 4aa0295b: Merge "Remove deprecated locales - DO NOT MERGE" into lmp-devBaligh Uddin2014-07-2012-1957/+0
|\ \ | |/ | | | | | | * commit '4aa0295b355ce17e2da195907ea5dc0322837351': Remove deprecated locales - DO NOT MERGE
| * Remove deprecated locales - DO NOT MERGEBaligh Uddin2014-07-1912-1957/+0
| | | | | | | | Change-Id: Iac5489639edae2373ed0ce92f7d0fe22629a249a
* | am 0f6db1e8: Merge "Add DevicePolicyManager flag for fingerprint." into lmp-devJim Miller2014-07-181-0/+13
|\ \ | |/ | | | | | | * commit '0f6db1e823a96d14ea831ec2bccc435dd321da28': Add DevicePolicyManager flag for fingerprint.
| * Add DevicePolicyManager flag for fingerprint.Jim Miller2014-07-181-0/+13
| | | | | | | | Change-Id: Icb3e4b98d97487179acefabc7a3b747d3d0fa23a
| * Import translations. DO NOT MERGEBaligh Uddin2014-07-162-7/+7
|/ | | | | Change-Id: I18d8bb62a43325d925743f8ef6e5ce7562485cf2 Auto-generated-cl: translation import
* QS: Introduce cast control panel.John Spurlock2014-07-131-1/+2
| | | | | | | | | | | | | | | | | | Make cast controller more granular, at the route level, and bind a common detail item panel to the available routes. Fix tile icon, add connecting label. Remove dialog presentation, no longer needed. Add the new empty state, and add controller state to dump. Found a bug in keyguard when in presentation mode, added a workaround - don't crash when no owner info in keyguard status view. Bug:15833210 Change-Id: I19afec390eac2260bccf4a7064065b666b7bceca
* Add new "pin complex" type to supported keyguard PINsJim Miller2014-07-101-0/+1
| | | | | | | | | | This adds a feature to allow DevicePolicyAdmins to prevent using simple PINs, which are defined as those containing more than 3 repeated values. Examples include '1234', '2468', '1111', '9876', etc. Bug 12081139 Change-Id: I4ebe1c76a48087dcd7c878e9bd79a4e3ee2a27fe
* Move showCallScreen & isInAPhoneCall to PhoneManager.Santos Cordon2014-07-091-1/+1
| | | | Change-Id: I852da78ae80eba120932fb7acb1e5c3db2a8f18a
* Implement new volume UI design.John Spurlock2014-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | | - Add segmented zen-mode picker to the rocker UI. - Add a new "no interruptions" value to the zen setting. - Implement expandable condition subpanel on the rocker UI. - Remove the old circle&slash icons. - Suppress alarm sounds if in "no interruptions" mode. - Add warning re: alarms to the condition UI. - Allow rocker UI to display over the keyguard. - Remove Notifications QS tile. - Realign volume rocker to the top of the screen. - Add support for new "days" sleepMode. - New icon policy rules for "volume" slot. - New important icon (star). Associated Settings change: I6ed56791784968adfbd684f490dbbebed285a2dd Bug:15831713 Change-Id: I35afe38646f04d2ba0dbac11c2c6356120a33694
* Import translations. DO NOT MERGEBaligh Uddin2014-07-059-4/+1268
| | | | | Change-Id: I03ad3342f0bcc9c07e2fe7cd7a09e816d2fe951f Auto-generated-cl: translation import
* Clean up user activity handlingJorim Jaggi2014-07-0413-63/+25
| | | | | | | | - Only call userActivity in down touch event - Use normal timeout when QS is open - Clean up old code regarding user activity in Keyguard Change-Id: I968eeed33fef44def37b68eb1ddc63f1a531ab35
* Fix buildSelim Cinek2014-06-301-1/+1
| | | | Change-Id: I1ddfa0a36b05d0af9e742e083b41b23883f59c00