941 Commits

Author SHA1 Message Date
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
Adrian Roos
17a313cd53 am 6468d5c2: Merge "Restart trust agents when updated or when they are dead" into lmp-dev
* commit '6468d5c216e45b33830e00b754258e910154393e':
  Restart trust agents when updated or when they are dead
2014-07-25 13:10:45 +00:00
Adrian Roos
b42fe576f6 am 5de758d3: am f8a01f5f: am 6468d5c2: Merge "Restart trust agents when updated or when they are dead" into lmp-dev
* commit '5de758d3868b036f5067ad9f86ee7b02331e4818':
  Restart trust agents when updated or when they are dead
2014-07-25 13:22:38 +00:00
Adrian Roos
c5f95cea26 Restart trust agents when updated or when they are dead
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
2014-07-24 21:44:02 +02:00
Baligh Uddin
1046f5fb05 Import translations. DO NOT MERGE
Change-Id: Ibab6e14da05435706aba41675ff5d35fed45ba5a
Auto-generated-cl: translation import
2014-07-23 19:27:05 -07:00
Adrian Roos
c41eebb723 am a727db86: Update LockPatternUtils to new alarm API
* commit 'a727db864c3e555c073d908a85d4c6ebc6eb2303':
  Update LockPatternUtils to new alarm API
2014-07-21 12:32:47 +00:00
Adrian Roos
edad7b24c1 Update LockPatternUtils to new alarm API
Change-Id: Idc6c2865b86e467e1e254452326f327f145177b0
2014-07-21 12:07:52 +00:00
Baligh Uddin
ded9fdc608 am 4aa0295b: Merge "Remove deprecated locales - DO NOT MERGE" into lmp-dev
* commit '4aa0295b355ce17e2da195907ea5dc0322837351':
  Remove deprecated locales - DO NOT MERGE
2014-07-20 02:31:48 +00:00
Jim Miller
c61c067042 am 0f6db1e8: Merge "Add DevicePolicyManager flag for fingerprint." into lmp-dev
* commit '0f6db1e823a96d14ea831ec2bccc435dd321da28':
  Add DevicePolicyManager flag for fingerprint.
2014-07-18 21:34:07 +00:00
Jim Miller
06e345089a Add DevicePolicyManager flag for fingerprint.
Change-Id: Icb3e4b98d97487179acefabc7a3b747d3d0fa23a
2014-07-18 20:48:34 +00:00
Baligh Uddin
09533e2f8d Import translations. DO NOT MERGE
Change-Id: I3a4b999f1cb648dbb980193bfe0c1a55c87b3b48
Auto-generated-cl: translation import
2014-07-22 16:40:09 +00:00
Baligh Uddin
50af6d7ae6 Remove deprecated locales - DO NOT MERGE
Change-Id: Iac5489639edae2373ed0ce92f7d0fe22629a249a
2014-07-19 13:05:12 -07:00
Baligh Uddin
16c14533cd Import translations. DO NOT MERGE
Change-Id: I18d8bb62a43325d925743f8ef6e5ce7562485cf2
Auto-generated-cl: translation import
2014-07-16 17:39:00 -07:00
John Spurlock
1e6eb17a22 QS: Introduce cast control panel.
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
2014-07-13 12:06:21 -04:00
Jim Miller
85516d028b Add new "pin complex" type to supported keyguard PINs
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
2014-07-10 01:54:49 +00:00
Santos Cordon
0bae09fdde Move showCallScreen & isInAPhoneCall to PhoneManager.
Change-Id: I852da78ae80eba120932fb7acb1e5c3db2a8f18a
2014-07-09 18:53:41 +00:00
John Spurlock
ae641c9ccd Implement new volume UI design.
- 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
2014-07-07 18:48:25 -04:00
Baligh Uddin
232c3ea990 Import translations. DO NOT MERGE
Change-Id: I03ad3342f0bcc9c07e2fe7cd7a09e816d2fe951f
Auto-generated-cl: translation import
2014-07-05 09:56:26 -07:00
Jorim Jaggi
b690f0d502 Clean up user activity handling
- 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
2014-07-04 03:00:29 +02:00
Selim Cinek
103a6c41c0 Fix build
Change-Id: I1ddfa0a36b05d0af9e742e083b41b23883f59c00
2014-06-30 21:34:57 +02:00
Selim Cinek
5b1662d467 Removed unused nullcheck
Change-Id: Iebc3e267d2a80d960e4ee4ebd04b3a96a1b90067
2014-06-30 19:02:45 +00:00
Selim Cinek
4e8b9ed30b Implemented new PIN unlock design
The pin unlock design was changed according to the spec
and new animations where introduced for the password field.

Bug: 13735707
Change-Id: I76f5e873bd0ea4f34ca3d2cd971223f0a83e2f28
2014-06-30 18:48:41 +00:00
Baligh Uddin
d3530a463e Import translations. DO NOT MERGE
Change-Id: If11e03bf833fb561e2e20cc89166a380504b30c3
Auto-generated-cl: translation import
2014-06-30 14:35:51 +00:00
Jim Miller
f41fc9664f Add fingerprint detection support to Keyguard.
Tested:
- power-on with fingerprint sensor
- dismiss bouncer with fingerprint
- fingerprint to enter trusted state

Change-Id: I6aab7591d370412a143fe219a1575b2719a4de96
2014-06-28 01:11:20 +00:00
Baligh Uddin
5fe3f9a6dd Import translations. DO NOT MERGE
Change-Id: I39e8d1f33e311ccc7004a45aacbc45b5f5316058
Auto-generated-cl: translation import
2014-06-26 11:07:23 -07:00
Baligh Uddin
d1c9f47663 Import translations. DO NOT MERGE
Change-Id: Ieb89a90f2d4829e6d555d717fd6295e9537fd67f
Auto-generated-cl: translation import
2014-06-25 02:32:50 +00:00
RoboErik
60c958cd9f Merge "Remove dead code from keyguard" 2014-06-20 02:09:17 +00:00
Selim Cinek
f99d000764 Improve unlock motion further.
Bug: 15244051
Change-Id: I6f567ff327695ec6ece56748cd300b8103715811
2014-06-20 01:19:40 +00:00
RoboErik
939f04f971 Remove dead code from keyguard
This only removes the pieces that are directly dependent on
IRemoteControlDisplay. There is still code for the transport controls
UI that could be removed.

Change-Id: I0ee4921fcba9aee8d8efcd16e2198a2000147416
2014-06-19 23:02:57 +00:00
Baligh Uddin
de978fe283 Merge "Import translations. DO NOT MERGE" 2014-06-18 22:47:18 +00:00
RoboErik
d3c8642dae Remove some more old code and fix Media command
Removes some more hidden apis from AudioService/Manager. This also
fixes up Media.java to support commands for the new service to help
with debugging. Also fixes a couple bugs that were found while fixing
up Media.

Change-Id: I68e4aa80a4de430b98236aafc883664b9432c62b
2014-06-19 10:37:00 -07:00
Baligh Uddin
b8b4998e71 Import translations. DO NOT MERGE
Change-Id: I7f81acd62d7f32ba75bfa2e4a963d5de438f26f9
Auto-generated-cl: translation import
2014-06-18 09:41:46 -07:00
Jorim Jaggi
d34804cfb3 am b6d02956: Merge "Bigger clock." into lmp-preview-dev
* commit 'b6d029569675a486dde2a7117fdc94658e1576fe':
  Bigger clock.
2014-06-16 16:28:35 +00:00
Jorim Jaggi
7b1fda8c98 am bfb2ad5e: Merge "Revert "Introduced fading views for the camera interaction on the lockscreen."" into lmp-preview-dev
* commit 'bfb2ad5ed5da824f71290b27bb3962b9641b6a65':
  Revert "Introduced fading views for the camera interaction on the lockscreen."
2014-06-16 16:28:25 +00:00
Jorim Jaggi
67de52cd2e Merge "Bigger clock." into lmp-preview-dev 2014-06-12 05:34:42 +00:00
Jorim Jaggi
220bf5cf9a Bigger clock.
Also fixes a bug where notifications would be wrongly padded
on Keyguard after rotating the screen.

Bug: 15244051
Change-Id: I2418692c3d2ffdd5fe642361f2924629bf9a75eb
2014-06-14 22:43:12 +02:00
Jorim Jaggi
8f4ac9e214 Merge "Revert "Introduced fading views for the camera interaction on the lockscreen."" into lmp-preview-dev 2014-06-12 03:30:50 +00:00
Jorim Jaggi
a27b004ca0 Revert "Introduced fading views for the camera interaction on the lockscreen."
This reverts commit 4f963c1b557010bf453af500b00f36b68988f8e2.

Change-Id: I8c7df9d115be1b89b57fb9c9bb2a12b4c1d45520
2014-06-14 03:58:56 +00:00
Selim Cinek
1aed973665 Introduced fading views for the camera interaction on the lockscreen.
Bug: 15126905
Change-Id: I82b0050a4216873d9cd191b32d1e5bf6871acbd6
2014-06-12 03:33:14 +00:00
Baligh Uddin
da8a64b80b Import translations. DO NOT MERGE
Change-Id: Ibdd11bf4b5a0ebb0394400688dd0e38a70660a62
Auto-generated-cl: translation import
2014-06-13 07:20:46 -07:00
Baligh Uddin
bae17706e4 Import translations. DO NOT MERGE
Change-Id: I106f4baf039e03ba6cd7b82c80c60b4f49dd4a7b
Auto-generated-cl: translation import
2014-06-15 12:55:21 +00:00
Selim Cinek
5da5e7a481 am 3ee7fb10: Merge "Introduced fading views for the camera interaction on the lockscreen." into lmp-preview-dev
* commit '3ee7fb1045024b566d852f12ef8f081206ba7bb5':
  Introduced fading views for the camera interaction on the lockscreen.
2014-06-12 19:58:19 +00:00