782 Commits

Author SHA1 Message Date
Jorim Jaggi
1145748e5e Merge "Remove some overdraw in Keyguard" into lmp-dev 2014-09-10 17:22:53 +00:00
Jorim Jaggi
53251ed4ac Remove some overdraw in Keyguard
Bug: 17287256
Change-Id: I0bc4101713f83abc2738528c247ca8ce5748bff1
2014-09-10 19:00:22 +02:00
Selim Cinek
6380482d08 Fixed unnecessary layer creations in the pin unlock method
This was especially noticible when double tapping a notification
because of the staggered appearing.

Bug: 17287256
Change-Id: I8f39892fa122bb8b7b6f2a7b1e7be8a9570e661e
2014-09-10 16:39:01 +02:00
Jorim Jaggi
68e6fa72f2 Remove "forgot pattern" in pattern view
Bug: 17184958
Change-Id: I7ebb35a1b734286ded99352b3fa2b891386c581d
2014-09-05 15:41:07 +02:00
Baligh Uddin
6bed40eddc Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-04 17:49:32 +00:00
Yorke Lee
cc5179f0e3 Use TelecommManager APIs to detect if we are in a call
Bug: 17335666
Change-Id: I5f443c76041e51a2eca903db924fb26031dde055
2014-09-03 17:04:54 -07:00
Baligh Uddin
03a25fe3a0 Import translations. DO NOT MERGE
Change-Id: Ib0b5565412211bede23918b8f9987e7e2c0b1792
Auto-generated-cl: translation import
2014-09-03 12:21:28 -07:00
Adrian Roos
053ff3c776 Merge "Auto dismiss lockscreen when switching to guest" into lmp-dev 2014-09-03 15:39:11 +00:00
Adrian Roos
be47b07bef Auto dismiss lockscreen when switching to guest
Bug: 16659674
Change-Id: I8d24a3997ac7493cd8a8317f8a35532eaf5c3cfe
2014-09-03 16:46:55 +02:00
Jorim Jaggi
4dc653aaa2 Merge "Fix outdated time when turning on screen" into lmp-dev 2014-09-02 20:26:39 +00:00
Jorim Jaggi
d09def7511 Fix outdated time when turning on screen
Force a synchronous update of the clock view when turning on the
screen. Also wait for the Keyguard window to be drawn when turning
on the screen.

Bug: 16904617
Change-Id: I38f78a38cfe35ccd067cd420d2bad626bd955ad6
2014-09-02 22:05:42 +02:00
Jorim Jaggi
e82f90e72e Remove different layout for landscape in Keyguard
Bug: 15422177
Change-Id: I8a643a8f6dcfed1530f17e8de6a5cc69533528b4
2014-09-02 21:54:25 +02:00
Baligh Uddin
ab76ad4f62 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-01 21:26:16 +00:00
Adrian Roos
48c796cad6 Keyguard: Register user specific broadcasts correctly
Fixes the face unlock indicator only working for the
owner user. While we're at it, also fix other broadcasts
that should have been registered for all users and not just
the owner.

Bug: 17251445
Change-Id: I53cad656d7d1e1d312bff2eebfc0c23ea467e0b7
2014-09-01 16:03:38 +02:00
Baligh Uddin
0a14d1e569 Import translations. DO NOT MERGE
Change-Id: I727035c5d02efd35eef5ed40f46daa167fe805f1
Auto-generated-cl: translation import
2014-08-31 12:38:19 -07:00
Jeff Hao
1b012d302b Add sample profiling option to am.
Also bundles all profiling options into a class.

Bug: 17040932
Change-Id: I85d675ee1494bdc7308caffdf94145d27c996e9d
2014-08-26 15:54:25 -07:00
Baligh Uddin
1494447e35 Import translations. DO NOT MERGE
Change-Id: I0787124e2a6bf24f406c9b89770bdbfb5b801325
Auto-generated-cl: translation import
2014-08-26 10:48:38 -07:00
Jorim Jaggi
31e0ae0cad Merge "Make date consistent with spec when alarm is set" into lmp-dev 2014-08-26 10:35:41 +00:00
Baligh Uddin
0699cadcb4 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-25 16:16:06 +00:00
Jorim Jaggi
20060091e2 Merge "Fix password unlock method" into lmp-dev 2014-08-25 16:09:23 +00:00
Jorim Jaggi
e60982f536 Merge "Fix invisible security method" into lmp-dev 2014-08-25 16:09:12 +00:00
Jorim Jaggi
e070018b3e Fix password unlock method
- 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
2014-08-25 17:21:05 +02:00
Jorim Jaggi
fb28c0e129 Fix invisible security method
Also fixes a bug where notification guts couldn't be launched from
Keyguard.

Bug: 17162095
Change-Id: I50395065e568ca01e837b0540d5edfd8bbd5797a
2014-08-25 17:20:43 +02:00
Jorim Jaggi
38a7c658c5 Make date consistent with spec when alarm is set
Bug: 17162597
Change-Id: I7855d8f40af77cf4d91791c899e0b6147ee17071
2014-08-25 15:37:06 +02:00
Baligh Uddin
e77eec8867 Import translations. DO NOT MERGE
Change-Id: Ie520695726af475fa6c263df03943c9435e599b6
Auto-generated-cl: translation import
2014-08-24 09:27:39 -07:00
Jim Miller
d4efaac5d5 Update TrustAgentService API after review.
Also documents timebase on related DevicePolicyManager API.

Fixes bugs 16401527 and 17046034

Change-Id: I8ee6d0055ab6f52ec71630344d3232f7875d9c1d
2014-08-22 22:43:30 +00:00
Selim Cinek
e32010ac61 Fixed focusing order for the notification panel and QS
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
2014-08-22 17:13:36 +02:00
Jorim Jaggi
321583d540 Content description for next alarm
Also fixes a bug where "status" was read out with TalkBack for no
good reason.

Bug: 15694080
Change-Id: Id295eb70af880d93ff928ebc337b09a8d679120d
2014-08-22 01:33:33 +02:00
Adrian Roos
4a4101714d Only show face unlock indication if it applies
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
2014-08-20 19:54:21 +00:00
Adrian Roos
49e057d7ee Play "device trusted" sound when onTrustInitiatedByUser fires
Bug: 16840500
Change-Id: I73fbe5c2cff665ccb637abb9039d57f377d9df53
2014-08-18 16:53:27 +00:00
Baligh Uddin
bc9f0bdb47 Import translations. DO NOT MERGE
Change-Id: I7f283fa34aa5503bb34e7a085268abb4743032dd
Auto-generated-cl: translation import
2014-08-15 20:21:53 -07:00
Jorim Jaggi
d7c1fae12e Don't scale notifications on Keyguard for devices < xxhdpi
Bug: 16824061
Change-Id: Iccccebcd17357764aef325df0cd220508fcf7403
2014-08-14 19:16:33 +00:00
Jorim Jaggi
e210cc8e94 Make clock larger on tablets
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
2014-08-14 12:30:14 +00:00
Jose Lima
235510e672 Made AlarmClockInfo a nested class in AlarmManager
Bug: 16959028
Change-Id: I150eaaff765d1e214c3621c1bf50162ec0dac8ec
2014-08-14 02:10:41 +00:00
Adrian Roos
2bb8bfd1e8 Dismiss bouncer when onTrustInitiatedByUser fires
Also modifies the SampleTrustAgent to allow testing of the feature
and adds the initiatedByUser flag to the dumpsys output.

Bug: 16840500
Change-Id: I4c08ddcdcbd0ab02c694a1873f73cb9a250f98d7
2014-08-13 17:24:36 +00:00
Jorim Jaggi
8de4311c51 Lockscreen launch animations
- 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
2014-08-12 22:47:52 +00:00
Jorim Jaggi
76a1623afc Preparations for lockscreen launch animations
- 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
2014-08-12 20:52:26 +00:00
Jorim Jaggi
98f8530af3 Animations for Keyguard user switcher.
Bug: 15757197
Change-Id: Ia3fcc0f771cea37fc2d57181d859373c423954a7
2014-08-07 21:57:34 +00:00
Adrian Roos
3c9a350165 Pass initiatedByUser to TrustListeners
Bug: 16840500
Change-Id: I8d9bd8fe9a305066f33ac5c888d8a41ce219a6f1
2014-08-07 15:13:09 +02:00
Esteban Talavera
00f201e41b Merge "Wipe only managed profile when max number of incorrect passwords exceeded" into lmp-dev 2014-08-05 00:35:13 +00:00
Esteban Talavera
fe0f24cc92 Wipe only managed profile when max number of incorrect passwords exceeded
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
2014-08-06 18:10:16 +01:00
Jorim Jaggi
e7b1252e24 Implement face unlock running indicator on Keyguard.
Icon is still dummy.

Bug: 16502879
Change-Id: Ibea1e594f322e919049a42a26ff858d2169415e7
2014-08-06 16:41:21 +02:00
Jorim Jaggi
f479792e05 New swipe-up assist animation for L.
Bug: 16307470
Bug: 14623152
Change-Id: Ib7e0381d118bda177981cc56ec9a8fb418dfb0e3
2014-08-05 15:24:26 +02:00
Adrian Roos
7861c663fd Add setManagingTrust and expose it on lockscreen
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
2014-07-30 12:33:33 +00:00
Jim Miller
604e7558ef Add new DevicePolicyManager API to allow fine-grained TrustAgent management
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
2014-07-28 21:32:01 -07:00
Adrian Roos
e32dac8ff1 Update KeyguardStatusView on user and alarm changes
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
2014-07-28 17:02:59 +02:00
Jorim Jaggi
c7dea6ee9b Implement next alarm info in expanded QS.
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
2014-07-28 15:34:59 +02:00
ztenghui
29e2dd95fd am 5b942f14: am 6038139c: am ed2a502c: Merge "API REVIEW: VectorDrawable" into lmp-dev
* commit '5b942f1430bc5bf6ee35455919b7985d8fdefdc2':
  API REVIEW: VectorDrawable
2014-07-25 23:42:46 +00:00
ztenghui
97f3ebf4b4 am ed2a502c: Merge "API REVIEW: VectorDrawable" into lmp-dev
* commit 'ed2a502c3fae8b4faae3a4e83b4b5e111319905f':
  API REVIEW: VectorDrawable
2014-07-25 23:32:59 +00:00
ztenghui
a95c8abb36 API REVIEW: VectorDrawable
- 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
2014-07-25 23:26:41 +00:00