Commit Graph

15544 Commits

Author SHA1 Message Date
Winson
ffaf07fed0 Fixing index bounds exception when TaskViews are added while dismissing.
Bug: 31518216
Change-Id: I749aa45f54d80d524f069922ac09d2f781c87f86
2016-09-22 19:47:41 +00:00
TreeHugger Robot
d5d5dc2473 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-09-22 09:52:00 +00:00
Bill Yi
6394011a86 Import translations. DO NOT MERGE
Change-Id: Ib207a07629651b14f450065e8314b2d8b3252c35
Auto-generated-cl: translation import
2016-09-21 23:05:36 -07:00
Selim Cinek
4c1c7f3e18 Merge "Large icons now scale nicer when expanding bundles" into nyc-mr1-dev 2016-09-21 23:51:04 +00:00
TreeHugger Robot
07d798b902 Merge "Removing private system ui flags from status bar flags logic." into nyc-mr1-dev 2016-09-20 23:00:37 +00:00
Selim Cinek
8a71ad032f Large icons now scale nicer when expanding bundles
Fixes: 	27597173
Change-Id: I5df234d58903b87cbef5df8812e48992b435fca8
2016-09-20 15:04:31 -07:00
TreeHugger Robot
1ec6ccdafc Merge "Protect against crash on user switch" into nyc-mr1-dev 2016-09-20 20:33:05 +00:00
Jason Monk
6e6af2c7ee Protect against crash on user switch
Somehow one of the tiles doesn't have a view yet. Assume that this
is a transient part of the tiles getting recreated and that the skipped
tile will get picked up in the next layout.

Change-Id: Ia1370d66119bfcfa7b00bd087bcb0d72a072666a
Fixes: 31394359
2016-09-20 14:53:28 -04:00
Jason Monk
a138395cc8 Fix data disabled icons in RTL
Change-Id: Idfde6cbb3f1e19c44f33fda98c8c94d795a7763b
Fixes: 30130440
2016-09-20 14:21:19 -04:00
Winson
ab216609f1 Removing private system ui flags from status bar flags logic.
- Prevent third party apps from inadvertently changing internal SystemUI
  flags through a call to setSystemUiVisibility().  These flags are only
  set in the individual SystemUI components and can be updated in WMS
  directly.

Bug: 29875297
Change-Id: I5ea238c8fb16a0eccd6e993d95a912acb359cee6
2016-09-19 18:39:25 -07:00
Winson Chung
65383622b7 Merge "Workaround for not showing previous tasks when time is set." into nyc-mr1-dev 2016-09-19 23:54:44 +00:00
Winson
a4fab41e8b Workaround for not showing previous tasks when time is set.
Bug: 28908500
Change-Id: I32201d4ce1af0bca1c73c2e0c7862771dac7a8d7
2016-09-15 17:18:40 -07:00
Julia Reynolds
7ca068feeb Merge "Non-blockable notification packages." into nyc-mr1-dev 2016-09-15 17:01:56 +00:00
Jason Monk
1fffffdf59 Change bang to x for indication of no internet
am: d67fbe6201

Change-Id: Ibeb766a13acfe74574009f6df1bac6d1bdd69268
2016-09-14 23:23:08 +00:00
Mady Mellor
be9d8e62c6 Merge "Improve swiping to reveal gear for ongoing notifications with time check" into nyc-mr1-dev 2016-09-14 19:34:34 +00:00
Mady Mellor
9a20c64d0a Merge "Fix notification being slided over with the gear not showing" into nyc-mr1-dev 2016-09-14 18:51:55 +00:00
Julia Reynolds
98a448633c Non-blockable notification packages.
Adds a resource for listing packages whose notifications users
cannot block.

Bug: 31404047
Change-Id: I6247f0826fe1c2cf080b33fea6b7fdcf1e9f0cc6
2016-09-14 17:56:42 +00:00
Mady Mellor
32c638a597 Fix notification being slided over with the gear not showing
If a notification is updated to be non-dismissable it gets "snapped back"
into place, if the notification was slid over to show the gear when this
happens it'll snap back to the gear. If the screen is turned off during
this time, the notification tries to reset itself back over the gear.

The translation animator was not cancelled in the reset method, so the gear
visibility would get reset, but the translation animation to snap back
into position would continue. This results in the notification being slid
over but the gear being invisible.

The fix is to simply cancel the animator when the translation is reset.

Bug: 31437688
Change-Id: Icb9d777e30ee3a5578c49475b89f6d46c1096053
2016-09-14 08:58:25 -07:00
Jason Monk
d67fbe6201 Change bang to x for indication of no internet
Bug: 31271895
Change-Id: I14f71974f0549991d448fe68b30573d2ae033b19
2016-09-14 15:18:29 +00:00
Rubin Xu
89927b3cd9 Allow direct-boot aware activity to show before profile is unlocked
Work profile challenge is shown by intercepting normal activity launching and
replacing it with the confirm credential activity. For direct boot aware
activities, they should be able to be displayed when the work profile is
still locked, so add a conditional in the activity intercepting logic to bypass
work challenge in this case.

Also launching work profile activities from notification is handled specially
in order to avoid dismissing the notification if the work challenge is canceled,
so add similar logic there to allow direct boot aware activity to go through.

Bug: 30296144
Change-Id: Ib6395271cee2d4781009bb08d50351d73824de0c
2016-09-14 11:59:56 +01:00
Andrew Sapperstein
b04d40e026 Merge "Use DeviceDefault.Settings.Dark for systemui_theme" into nyc-mr1-dev 2016-09-13 19:32:33 +00:00
TreeHugger Robot
ae8a460985 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-09-13 08:32:30 +00:00
Bill Yi
b60dfc2ac1 Import translations. DO NOT MERGE
Change-Id: I01291d5d8896be638e0f655c0e6c40ac7e4b89f6
Auto-generated-cl: translation import
2016-09-12 20:52:37 -07:00
Selim Cinek
994153944e Escalate HeadsUp when dreaming starts
1. When dreaming starts before locking, notifications can remain
pinned. This is because the device is locked without
screen off, and HeadsUp are not escalated.
As a result is the pinned heads up shown behind the bouncer
when unlocking.
In this case touchable bound is limited to headsup bounds,
so the user can't unlock at all.

2. Escalate HeadsUp when bar state changes to KEYGUARD

3. This also fixed a bug where the bouncer isn't touchable
When device is occluded and locked, HeadsUp can appear.
If the user then clicks on the HeadsUp and try to send
pending intent, Bouncer can be shown without expanding
panel.

Bug:30820511
Change-Id: I8604c9d00d839d773b32d8b913dfdcd2ed72f1dd
2016-09-12 16:41:54 -07:00
Andrew Sapperstein
ed9fa424e9 Use DeviceDefault.Settings.Dark for systemui_theme
It was using DeviceDefault which is black in AOSP. It should be using
the blue grey primary color instead used by DeviceDefault.Settings.

Bug: 30748928
Change-Id: I7e7ed87f74f654f412c106a44906d7fba4e992dc
2016-09-12 16:17:21 -07:00
Mady Mellor
5b3cc1158b Improve swiping to reveal gear for ongoing notifications with time check
Swiping to show the gear for ongoing notifications can be difficult, this
CL adds an additional check for the duration of the gesture, if the
gesture takes long enough on an non dismissable notification then it
considers it a gear reveal.

Bug: 30908400
Change-Id: Iec769bae2a70ef79acb43c69063cc9e2b6b1f56f
2016-09-12 15:53:35 -07:00
Selim Cinek
09b7dea5b7 Overflow number supports RTL layout
Fix overlapping issue of overflow number view in RTL layout.
And also, fit the width of overflow Single-line view to match_parent.

Change-Id: I436a3770c8a0001b7a577e3f726bb52cd978298e
Fixes: 31181327
2016-09-09 17:07:51 -07:00
Selim Cinek
68422fd129 Update contentDescription of the DismissView when locale changes
When the locale changes, update not only text
but also contentDescription of the DismissView.

Test: switch language and observe dismiss view description
Fixes: 31320721
Change-Id: If89fd6d2f3c3819927a181ff69849b66855ae451
2016-09-09 17:07:51 -07:00
Selim Cinek
2c984f16eb Fixes a crash with a renderthread camera animation
Test: double-tap power button when display is off and freshly restarted.
Change-Id: I6bad3e75568ba578245dd86f7dd28597c29ae95d
Fixes: 31084435
2016-09-09 17:07:51 -07:00
Winson Chung
99cf874cc3 Merge "Revert "Fixing issue with old tasks being visible in Overview"" into nyc-mr1-dev 2016-09-09 01:50:22 +00:00
Winson Chung
36f3f0337d Revert "Fixing issue with old tasks being visible in Overview"
Bug: 28908500

This reverts commit b258f6a4bd.

Change-Id: I9b3c04358d6ca693ed3fdcd9220af13f81eb704e
2016-09-09 01:29:18 +00:00
TreeHugger Robot
cbed5a74a4 Merge "KeyguardStatusBar: Fix bad state after canceled animation" into nyc-mr1-dev 2016-09-08 21:31:54 +00:00
TreeHugger Robot
711d0da353 Merge "A11y: Prevent utterance from resetting RemoteInputView" into nyc-mr1-dev 2016-09-07 22:53:53 +00:00
Adrian Roos
e2f6173bc0 KeyguardStatusBar: Fix bad state after canceled animation
Fixes a bug where the icon area and user switcher
could overlap if the animation was canceled at a
bad time.

Change-Id: I21713512fb5c70c45439258609b87a585675304a
Fixes: 30865084
2016-09-07 15:16:27 -07:00
Adrian Roos
f17c86b833 A11y: Prevent utterance from resetting RemoteInputView
Fixes a bug where the RemoteInputView would issue an
utterance upon resetting the view because it was not
hidden at that point.

Change-Id: I3f80b903c0b3e55c308bda8d4f18aa0b586aa328
Fixes: 30103313
2016-09-07 14:19:07 -07:00
Bill Yi
4fd35e0578 Import translations. DO NOT MERGE
Change-Id: I2541b36722c5142046760d243c27929c46c4ec42
Auto-generated-cl: translation import
2016-09-07 00:01:44 -07:00
Jaewan Kim
177801c273 Keep the PIP at the shifted position when the Settings is shown
Some top level Settings menus launch activities from other packages.
In that case, they should be considered as a part of the Settings
if they follow the Leanback's side panel style.

Add such activities to the whitelist to keep the PIP position.

Bug: 31142005
Change-Id: I12cab611b346154048cbd61f6a678f23b5a10c00
2016-09-06 14:09:07 -07:00
TreeHugger Robot
dc77fbca27 Merge changes I955f9dfa,Ibfbb9d67 into nyc-mr1-dev
* changes:
  Only show optimizing storage dialog if dex opt dialog was shown
  Only do slow unlock transition if real home is not running
2016-09-04 01:39:32 +00:00
Winson Chung
a8c0fe6606 Merge "Fixing issue with old tasks being visible in Overview" into nyc-mr1-dev 2016-09-02 21:49:13 +00:00
Tenghui Zhu
50da38c198 Merge "Remove redundant code" into nyc-mr1-dev 2016-09-02 16:41:01 +00:00
Jorim Jaggi
031f79560f Only do slow unlock transition if real home is not running
Test: Tested the first unlock on both FDE and non-FDE device.

Change-Id: Ibfbb9d67fb83456acd7b12bbe2d03a961a998ba9
Fixes: 31203310
2016-09-01 16:57:25 -07:00
TreeHugger Robot
ede3f3fa27 Merge "Also Set IME_FLAG_NO_FULLSCREEN to RemoteEditText" into nyc-mr1-dev 2016-09-01 23:12:15 +00:00
Jason Monk
802bc6ee06 Add branded VPN messages to go along with branded icons
Change-Id: Id2089d50581a958ebab6af1d5b172ec61b1aced3
Fixes: 31019697
2016-09-01 10:45:08 -04:00
TreeHugger Robot
ac63c8589c Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-09-01 06:44:33 +00:00
Bill Yi
fa6279f670 Import translations. DO NOT MERGE
Change-Id: Id6b5139d8588dc5f871ff4f2e68462e752804341
Auto-generated-cl: translation import
2016-08-31 19:10:31 -07:00
Jeff Sharkey
99e1bca91a DO NOT MERGE. Update lockscreen message when user unlocked.
If a user doesn't have credentials, we start the unlock process
automatically, but that races with the UI binding process.  Fix by
rebinding the UI once we hear the user is unlocked.

Change-Id: Id678b97aa6120ba78088fb6cf4c2a65d129e98a3
Test: none
Bug: 30840626
(cherry picked from commit 181001379f)
2016-08-31 21:42:21 +00:00
Teng-Hui Zhu
4ebc5986a8 Remove redundant code
This can save both system image size and run time memory usage.
Every byte counts. :)

b/30956516

Change-Id: I1af0455fe488e3122f6cf8e8fca5a5a43a4614f2
2016-08-31 14:30:37 -07:00
Allen Hair
e9a9e6b92c Merge "Fine tune code coverage filters for SystemUI tests." into nyc-mr1-dev 2016-08-31 17:36:38 +00:00
Jason Monk
89fb99c8e9 Fix QS CTS failure caused by tile backup
am: 34f6cbc288

Change-Id: Ic82ccc386b8ab81797e748893b831601c34c12ce
2016-08-31 01:36:54 +00:00
Allen Hair
8fef05f2c1 Fine tune code coverage filters for SystemUI tests.
Bug: 28269038
Change-Id: Iece993a76b39873170c4ae0b2d1cd2dd5445e3c2
2016-08-30 16:55:35 -07:00