9352 Commits

Author SHA1 Message Date
Winson Chung
1e44934f02 Fixing issue where we were responding to SCREEN_OFF and going home even if Recents was not visible. (Bug 16204632)
Change-Id: Id29d4190f63bfa3986d15975418f47a3a79fcb83
2014-07-10 20:59:42 +00:00
Wink Saville
47d8d1b0a8 Ignore hasService in updateTelephonySignalStrength
A possible reason for empty triangle is there is no service, I'm
temporarily ignoring hasService in updateTelphonySignalStrength and
adding more debug.

Add logSSC to see history of Service State Changes.

Bug: 16148026
Change-Id: Ia463997eac7b062653b3cef00570d3fffc115ad3
2014-07-10 20:02:43 +00:00
Jorim Jaggi
6bdc9bae74 Merge "Add glyph rerasterization hack for SystemUI." 2014-07-09 20:06:40 +00:00
Jorim Jaggi
362dd6d632 Add glyph rerasterization hack for SystemUI.
Change-Id: I39d84e981b828b501801349d7a5e70a089b5f14e
2014-07-10 01:07:44 +00:00
Adrian Roos
74185a3982 Merge "Add AlarmClock API to AlarmManager" 2014-07-10 00:35:26 +00:00
Adrian Roos
c42a1e1071 Add AlarmClock API to AlarmManager
Adds a new kind of alarm that represents an alarm clock and
a way to query the next scheduled alarm clock.

Deprecates Settings.System.NEXT_ALARM_FORMATTED.

Bug: 14589952
Change-Id: I297eeeff36d07adcda010afac183d0f5ee37dc99
2014-07-10 17:07:36 +00:00
Narayan Kamath
ff110bd61a Multi-arch application installs.
Each application now has two ABIs, the primary
and the secondary. The app is always launched with
the primary, but the secondary might be used by other apps
that load the given applications code. This implies we
must:

- dex2oat the app both ways.
- extract shared libraries for both abis.

The former is relatively straightforward but the latter
requires us to change the layout for shared libs that we
unpack from applications. The bulk of this change deals
with the latter.

This change continues to fill in nativeLibraryPath during
scans for backwards compatibility. This will be removed in
a future patch.

Change-Id: Ia943dd11ef815c5cbfc60f17929eaa2a652a385a
2014-07-10 17:16:14 +01:00
Jorim Jaggi
d4aafe9b70 Add battery level in status bar on Keyguard when charging
Also fixes flickering in the header when overscrolling the
notifications.

Change-Id: I3d6aa95e364298718c6d8b050a1091e7ccd7609d
2014-07-10 21:44:01 +02:00
Paul Jensen
ff6ecccdc8 Merge "Enable network validations and add app to handle captive portal login." 2014-07-10 00:32:18 +00:00
Paul Jensen
869868be65 Enable network validations and add app to handle captive portal login.
Network validation prevents networks claiming to provide internet connectivity
from becoming the default network in cases where internet connectivity is not
found to actually exist.
If a captive portal is encountered the appropriate broadcasts and notifications
are surfaced to allow apps to handle signing in.  If no app handles signing in,
my system app will handle it.

Bug:15409233
Bug:15409354

Change-Id: Ie240d7eac4bdbab8cc7578782bd72d8b26de7951
2014-07-10 13:14:01 -04:00
Jorim Jaggi
266f677f1b Fix that everything lights up when clicking on the header
Bug: 16133698
Change-Id: I2eafb7efd3b605b0b39c5dcf5a828b3f866775d9
2014-07-10 17:33:20 +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
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
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