9161 Commits

Author SHA1 Message Date
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
Winson Chung
78155d5d14 Merge "Fixing random crash when transitioning to Recents, ensuring we don't update the TextView unnecessarily." 2014-07-09 21:30:41 +00:00
Winson Chung
bdbb87dd74 Fixing random crash when transitioning to Recents, ensuring we don't update the TextView unnecessarily.
Change-Id: I93ab512642f6e95ee96e041614f063f46420bb39
2014-07-09 14:39:52 -07:00
Santos Cordon
0bae09fdde Move showCallScreen & isInAPhoneCall to PhoneManager.
Change-Id: I852da78ae80eba120932fb7acb1e5c3db2a8f18a
2014-07-09 18:53:41 +00:00
Winson Chung
a433fa9c17 Updating task grouping logic.
- More fixes for graphical glitches when picking up task views.

Change-Id: I93fab1c2a9cc727c68d8f8fbd506bedaf681715f
2014-07-09 18:49:20 +00:00
Winson Chung
6057c91563 Refactoring a few things with the full screen overlay and enter animation.
- Fixing issue with configuration change triggering enter animation
- Using a proper target task rect when animating into a group

Change-Id: I856d29a663f5e8c000ca22fd1025c09f65032893
2014-07-09 18:47:48 +00:00
Svet Ganov
525a66b2bb Adding print preview.
This change adds the pring preview part of the new print UX. The
UI has two parts, the top section is the print options and the
bottom section print preview with a list of pages. The user can
interact only with one of them. When print options are expanded
they cover the preview content and a scrim is laid out on top of
the preview. Tapping the scrim collapses the print options. When
the user types in page ranges and closes the options to look at
the preview, the latter is updated to show only these pages. In
the list of pages the user can further prune pages by deselecting
them.

Change-Id: I0b23d2c598afe2a34400ccfa43e4e935af83c72f
2014-07-09 18:43:38 +00:00
John Spurlock
cfa39d269b Defer opening a stats session until first use.
Bug:16174801
Change-Id: Ia70f9a01bd348809db4ab2992e5e1265778cfcfa
2014-07-09 14:29:01 -04:00
Jorim Jaggi
4649c8d53f Fix overlapping status bar icons.
Change-Id: I9ca4b9e026cb3cccdf9e30ab350d10d46b98d47e
2014-07-09 17:04:01 +02:00
Jorim Jaggi
3f48f46d7e Update QS header to spec
- Move brightness slider down.
- Make clock bigger when expanded.
- Show date in collapsed state.
- Change size of avatar depending on collapsed/expanded.

Bug: 15865202
Bug: 15381387
Change-Id: I7894edae495b5a2d12b4fe4637a9aa3fd2e58963
2014-07-09 16:37:32 +02:00
John Spurlock
5e9049a362 QS: Add limit to cellular data panel.
Change-Id: I4d69ffe0681b89670d052ed18c5e4be4674d2d62
2014-07-08 23:50:04 -04:00
John Spurlock
360e15bdd2 QS: Signal tile optimizations.
- Only set visibility if changed (all tiles)
- Only animate traffic indicators if showing panel

Change-Id: I4ca750f65e1f1d36daeaf39668da4d2dc6f496d5
2014-07-08 21:42:15 -04:00
John Spurlock
b98f747c71 QS: Basic cellular data detail panel.
Change-Id: I1f19a8bf3e01d7f1d49e82d7096a215c863eab61
2014-07-08 17:23:58 -04:00
John Spurlock
d71517be7c Include timers in no-interruptions warning, always show.
Bug:15831713
Change-Id: I83434d882ba1168bba4de8f1d58334742eb863a3
2014-07-08 11:40:15 -04:00
John Spurlock
a37e9c8dcb Update status bar icon policy for volume + zen.
Only show vibrate in the volume slot, create a separate slot
for zen.

Bug:15831713
Change-Id: I9d23a2d370bc6f98be3bdc98c2990bbea6643ce7
2014-07-08 09:40:31 -04:00
Jeff Sharkey
d746057f24 Change new file installs to be cluster-based!
Now that all the other pieces are in place, we're ready to start
installing new file-based packages as a cluster (the new unified
directory-based layout).  This greatly simplifies the renaming
process.

Also add helper methods to ApplicationInfo to give a much clearer
mapping between it and internal field names, since we can't change
the public API.

Add recursive restorecon().

Bug: 14975160
Change-Id: I72a63c5ddbc594c2fec4a91dd59f73ef253fbfd7
2014-07-08 00:38:57 -07:00
John Spurlock
8845da77bb Cut volume dialog timeout in half for media.
Bug:15849635
Change-Id: I84078c62db082293fb0153e378055c0279989e3c
2014-07-07 22:07:48 -04:00
John Spurlock
0429001ed5 Increase touch feedback area for plus/minus buttons.
Bug:15831713
Change-Id: I6ae067eaf71c292be6cbeb0176131800d6486711
2014-07-07 21:12:35 -04:00
Winson Chung
88085ad05b Merge "Refactoring to support groups." 2014-07-07 17:47:39 +00:00
Winson Chung
ffa2ec6644 Refactoring to support groups.
- Removing RecentService, determining animations just in time
- Fixing a few issues with animations of newly picked up tasks from the pool
- Moving helper classes into sub package

Change-Id: Ie10385d1f9ca79eea918b16932f56b60e2802304
2014-07-07 17:33:31 -07:00
Julia Reynolds
5e458dd6b4 Apply user restrictions to SettingsProvider.
Change-Id: If68c715bc688bf0df63591e0b8f8bf8a2b6dd118
2014-07-07 20:09:23 +00:00
Jorim Jaggi
853b070f19 Add % for battery in expanded QS; make it clickable
Also removes the "xx minutes until full" label in expanded QS.

Bug: 15392950
Bug: 15863237
Change-Id: I41e85a9ffeb3cba31b58769f8faee9147a3b031e
2014-07-08 01:38:41 +02: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
Selim Cinek
f7a14c0add Avoid overlap if expanding in the bottom stack
We are now scrolling slightly upwards if an expanding / collapsing
motion goes into the bottom stack to avoid overlapping with the
card above.

Bug: 15167388
Change-Id: I7a3ca3d80de0178de28e16b3cabe4b7ef35d933a
2014-07-07 13:07:14 +00:00
Christoph Studer
5b63826f93 SysUI: Filter notification group children on connect
Previously we filtered group children when receiving fresh
notifications only and failed to filter them when receiving
initial notifications.

Bug: 16043383
Change-Id: Icdac5aacf9af2832fef044c0d0d0aa0e70721a42
2014-07-07 12:34:51 +02:00
Baligh Uddin
bd66e55b10 Merge "Import translations. DO NOT MERGE" 2014-07-02 20:06:33 +00:00
Baligh Uddin
442dbe962e Import translations. DO NOT MERGE
Change-Id: I05f000d23e0e1e8d32c1d00e024c8d67b0a684f8
Auto-generated-cl: translation import
2014-07-06 04:48:17 -07:00
Baligh Uddin
c8bd930ef7 Merge "Import translations. DO NOT MERGE" 2014-07-05 02:59:43 +00:00
Baligh Uddin
edc3ec360f Import translations. DO NOT MERGE
Change-Id: I77b0f9e9140e419fbd54d636ee1f2d560afa48e2
Auto-generated-cl: translation import
2014-07-05 09:18:29 -07:00
Jorim Jaggi
ad46ffef4b Fix blinking bug when no notifications on lockscreen.
Bug: 16044775
Change-Id: Ia8b23e8ce93194d86eb4cb809f44f8caa277550e
2014-07-05 02:37:40 +00:00
Baligh Uddin
425bb0cb5e Merge "Import translations. DO NOT MERGE" 2014-07-02 18:55:10 +00:00
Baligh Uddin
0a24efd513 Import translations. DO NOT MERGE
Change-Id: I39f20de8a02ff8d825102a4a36570bcb6180f12e
Auto-generated-cl: translation import
2014-07-05 09:25:31 -07:00
Baligh Uddin
88d0a79b34 Merge "Import translations. DO NOT MERGE" 2014-07-02 18:50:12 +00:00
Baligh Uddin
40b9a2a59a Import translations. DO NOT MERGE
Change-Id: I004e0eca54b3f3e8bc06237abcec0790e0eddd57
Auto-generated-cl: translation import
2014-07-05 09:33:02 -07:00
Baligh Uddin
72ed699cab Merge "Import translations. DO NOT MERGE" 2014-07-05 02:59:43 +00:00
Baligh Uddin
3bea0921e6 Import translations. DO NOT MERGE
Change-Id: Ica5e9d382ccc718954892f8f3668503a92283548
Auto-generated-cl: translation import
2014-07-05 09:40:01 -07:00
Baligh Uddin
266538b688 Merge "Import translations. DO NOT MERGE" 2014-07-05 02:59:43 +00: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
Baligh Uddin
8fc585aca2 Merge "Import translations. DO NOT MERGE" 2014-07-05 02:59:43 +00:00
Baligh Uddin
d452de61b2 Import translations. DO NOT MERGE
Change-Id: I2f4e298839b4ba9976ec6be66bf22b90eb43e804
Auto-generated-cl: translation import
2014-07-05 14:05:50 -07:00
Baligh Uddin
4ee95ddcb2 Merge "Import translations. DO NOT MERGE" 2014-07-05 02:59:43 +00:00
Baligh Uddin
e20c6704b3 Import translations. DO NOT MERGE
Change-Id: Id3da3bdc18533f885bd34e4afa40c6479a6a0413
Auto-generated-cl: translation import
2014-07-05 14:12:45 -07:00
Baligh Uddin
8ca00fc68e Merge "Import translations. DO NOT MERGE" 2014-07-02 18:50:12 +00:00
Baligh Uddin
9de2621072 Import translations. DO NOT MERGE
Change-Id: I7a8d4c4a5758261843535c247ceaf20c3d57e257
Auto-generated-cl: translation import
2014-07-05 15:14:46 -07:00
Baligh Uddin
374c4b83ae Merge "Import translations. DO NOT MERGE" 2014-07-02 18:50:12 +00:00
Baligh Uddin
47bdbd1f0c Import translations. DO NOT MERGE
Change-Id: I45fc44712db4f2dafeab5f99fc2ca9a5276e75ba
Auto-generated-cl: translation import
2014-07-05 15:21:18 -07:00
Baligh Uddin
52220cf5e5 Merge "Import translations. DO NOT MERGE" 2014-07-05 02:59:43 +00:00
Baligh Uddin
4a9aabb3c1 Import translations. DO NOT MERGE
Change-Id: I3f8ef62714d212d2f82fabf4573cb73ddaa6ce93
Auto-generated-cl: translation import
2014-07-05 15:37:52 -07:00
Baligh Uddin
7cd70661a1 Merge "Import translations. DO NOT MERGE" 2014-07-02 18:50:12 +00:00
Baligh Uddin
a3b2ecf130 Import translations. DO NOT MERGE
Change-Id: I87bdb10cbf1f6ad9f0561ef07e99378e1863fca8
Auto-generated-cl: translation import
2014-07-05 15:45:30 -07:00