941 Commits

Author SHA1 Message Date
Yorke Lee
015fc93377 am 002e85e1: Merge "Use TelecommManager APIs to detect if we are in a call" into lmp-dev
* commit '002e85e1a3ad030bf77f700d545f9a41d7214c74':
  Use TelecommManager APIs to detect if we are in a call
2014-09-04 17:36:00 +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
7ef28383be am 39dd16c8: Merge "Auto dismiss lockscreen when switching to guest" into lmp-dev
* commit '39dd16c8f35d0fdd01c25bf51c01b71726819eae':
  Auto dismiss lockscreen when switching to guest
2014-09-03 16:19:02 +00: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
29ff450cd6 am d9a773e5: Merge "Fix outdated time when turning on screen" into lmp-dev
* commit 'd9a773e51e6fcf7abbbcfd2c145e7e4e16c1282d':
  Fix outdated time when turning on screen
2014-09-02 20:36:04 +00: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
57cc95bce3 am a6399288: Merge "Remove different layout for landscape in Keyguard" into lmp-dev
* commit 'a63992888988017f664cc4c33ea1f0d546959b9d':
  Remove different layout for landscape in Keyguard
2014-09-02 20:14:15 +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
5a0c37895b am 690611d2: Merge "Keyguard: Register user specific broadcasts correctly" into lmp-dev
* commit '690611d2d92a800b56b0119c27b1cd661262e7b2':
  Keyguard: Register user specific broadcasts correctly
2014-09-01 14:56:28 +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
71785ed7dd am 73fb1feb: Merge "Add sample profiling option to am." into lmp-dev
* commit '73fb1feb93e56c7aadb2ce64e040b9ff3d0c0358':
  Add sample profiling option to am.
2014-08-26 23:10:23 +00: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
5a5d353953 am cd051d74: Merge "Make date consistent with spec when alarm is set" into lmp-dev
* commit 'cd051d744b13f01e4dfe5b4c9e57d76b1a65fffa':
  Make date consistent with spec when alarm is set
2014-08-26 11:18:17 +00: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
Jorim Jaggi
d120520c4c am cfef67fc: Merge "Fix password unlock method" into lmp-dev
* commit 'cfef67fc9ab05d59910b467409a6d82e918f91cd':
  Fix password unlock method
2014-08-25 16:22:45 +00:00
Jorim Jaggi
8fa3ab173f am e43d288f: Merge "Fix invisible security method" into lmp-dev
* commit 'e43d288f0e8aa96a704b0b98ab7061b479e309a9':
  Fix invisible security method
2014-08-25 16:22:40 +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
7d95c50fd6 am 9af7f4f6: Merge "Update TrustAgentService API after review." into lmp-dev
* commit '9af7f4f66652d659fb17f4bc502362f0e6faf175':
  Update TrustAgentService API after review.
2014-08-22 23:18:16 +00: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
415ccb29f2 am 953dd5e4: Merge "Fixed focusing order for the notification panel and QS" into lmp-dev
* commit '953dd5e4722cf05c08d30ee4f0f653023e499e0b':
  Fixed focusing order for the notification panel and QS
2014-08-22 15:48:52 +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
908fdcceac am 4f952625: Merge "Content description for next alarm" into lmp-dev
* commit '4f952625b83b77b85db3e3dc6d3f9dc26ccf7c67':
  Content description for next alarm
2014-08-22 00:13:18 +00: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
ad2cff7463 am e0f85cb7: Only show face unlock indication if it applies
* commit 'e0f85cb7ab0431f627f5c14f7b85db38903a44ae':
  Only show face unlock indication if it applies
2014-08-20 20:07:27 +00: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
38f88e756d am a31e2348: Play "device trusted" sound when onTrustInitiatedByUser fires
* commit 'a31e2348e929c76572e634bc67df10581e6684fa':
  Play "device trusted" sound when onTrustInitiatedByUser fires
2014-08-18 17:07:43 +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