Commit Graph

20250 Commits

Author SHA1 Message Date
TreeHugger Robot
d2ec5a62c7 Merge "Defer showing pip menu activity until pip animation ends" into oc-dev 2017-04-18 01:39:05 +00:00
TreeHugger Robot
89e8b7b58e Merge "AOD: Implement redacted notificatinos" into oc-dev 2017-04-18 00:31:59 +00:00
TreeHugger Robot
96da371a6d Merge "AOD: Do not show guts nor snooze" into oc-dev 2017-04-18 00:08:05 +00:00
TreeHugger Robot
c2627353c4 Merge "Tightening up rotation behavior for PIP (3/3)" into oc-dev 2017-04-17 23:50:27 +00:00
Wale Ogunwale
6455e500b8 Defer showing pip menu activity until pip animation ends
This was causes additional churn in the system delaying the visibility
of the activity behind the one we are pipping. We now delay starting the
pip menu activity until the enter pip animation is done.
This doesn't fix the real issue where we don't wait for app transition
to be finished before starting pip, but it does make it much harder to
the user to trigger the case. Will do that in a follow-up CL.

Test: manual
Bug: 37420370
Change-Id: Ic0271d693d45c3e414b3abdf0ad24be44ff5ae5c
2017-04-17 16:19:45 -07:00
TreeHugger Robot
8c3a371bf3 Merge "Accessibility for Notification Inline Controls" into oc-dev 2017-04-17 23:07:56 +00:00
Adrian Roos
1a1ecfcf5a AOD: Implement redacted notificatinos
Test: Turn on "show sensitive notifications on lockscreen", receive notification, observe AOD
Bug: 36610748
Change-Id: I981ef4cea7cefc76dcd55ebad9d05c758927dabb
2017-04-17 15:41:09 -07:00
Jason Monk
8604ac3af5 Merge "Fix up color issues as a result of theme change" into oc-dev 2017-04-17 22:32:55 +00:00
Jason Monk
c5e04dbfd4 Merge "Status bar updates" into oc-dev 2017-04-17 22:32:14 +00:00
TreeHugger Robot
e7b581bca9 Merge "AOD: Track missed AOD time ticks" into oc-dev 2017-04-17 22:16:21 +00:00
TreeHugger Robot
ff9a2790b7 Merge "Fix date going missing in QS" into oc-dev 2017-04-17 22:06:11 +00:00
Winson Chung
ef4dc81d50 Tightening up rotation behavior for PIP (3/3)
- Fixing up edge case when SysUI resizing conflicts with updating the
  display rotation bounds.  When an interaction causes both a display
  rotation and a resize from SystemUI, we should defer the resize animation
  until the rotation has been propagated to SystemUI, otherwise the bounds
  used will be incorrect.

Bug: 36879891
Test: android.server.cts.ActivityManagerPinnedStackTests
Change-Id: Ife1b7ab0c2f1f11f33cbc9614778ff49a28c79f6
2017-04-17 14:49:31 -07:00
Adrian Roos
3ca223a8ce AOD: Do not show guts nor snooze
Fixes: 37179751
Test: receive notification while phone is off, try longpress or accessing the gear icon through swiping, ensure neither works
Change-Id: If18ac166eac28cd7ad05a12f670b2ddbad9e29b8
2017-04-17 14:17:40 -07:00
Geoffrey Pitsch
d94e788318 Accessibility for Notification Inline Controls
Send WINDOW_STATE_CHANGED event in status bar
Disable falsing when in touch navigation
Accessibility string for enable/disable switch
Bug: 34840327
Test: runtest systemui
Change-Id: I60cc7e49d9e6323e23a17183b8b10c9d857501bb
2017-04-17 17:04:51 -04:00
TreeHugger Robot
1c4c981c03 Merge "AOD: disable quicksettings while dozing" into oc-dev 2017-04-17 20:41:09 +00:00
Jason Monk
18c990104c Fix up color issues as a result of theme change
Test: visual
Change-Id: I9adc8b85b40e3ac2df6099655c7479c74675b7bb
Fixes: 37372025
Fixes: 37362926
Fixes: 37358881
Fixes: 37326340
2017-04-17 16:04:30 -04:00
Jason Monk
daac9c455e Fix date going missing in QS
Test: Dismiss alarm while QS is expanded
Change-Id: I491deda22848af08db36dcffcb678f6ce2f1bdda
Fixes: 37259783
2017-04-17 15:22:30 -04:00
Jason Monk
d1ba5fbb54 Status bar updates
- Wifi moves to right of cell
 - Cell data and roaming indicator swap places
 - Data disabled and no internet on cell look the same
 - Don't show wifi in QS signal cluster, it has its status
   right below.

Test: visual && runtest systemui
Fixes: 36717491
Change-Id: I16ebe6fb6dd519526a1e174753c8ce08c713d405
2017-04-17 15:14:15 -04:00
TreeHugger Robot
d8d7a283bd Merge changes I22b55b73,Id050f2f5 into oc-dev
* changes:
  Only foreground service notifications can be colorized
  Fixed a regression where the scrim would be black
2017-04-17 18:51:07 +00:00
Adrian Roos
f0111ce8b6 Merge "AOD: Fix icon color when updating on AOD" into oc-dev 2017-04-17 18:48:42 +00:00
Adrian Roos
68d468019e AOD: disable quicksettings while dozing
Test: Trigger ambient display / AOD, verify quicksettings is not expandable
Bug: 37303800
Change-Id: I694360f4d728ff9714036d0b92176c922ff53e9a
2017-04-17 11:38:16 -07:00
TreeHugger Robot
bde4eb5bcb Merge "TV PIP: Remove onboarding activity and overlay activity" into oc-dev 2017-04-17 17:53:20 +00:00
Yoshinori Hirano
2696aa3577 Fix EmergencyCryptKeeperText initialization
Moved the initialization to CollapsedStatusBarFragment
because EmergencyCryptKepperText is included in status_bar.xml

Bug: 37198942
Test: visual

Change-Id: I1b87e4857cea7f7b582f7e0f6062b70da98df13a
2017-04-17 11:29:59 -04:00
Jaewan Kim
e630923b55 TV PIP: Remove onboarding activity and overlay activity
Remove both activities until the new OC UX spec is finalized.

Bug: 36370535
Test: Manual test (Checked that onboarding nor overlay activities aren't
    shown after the FDR)
Change-Id: I97c4b2038aabf4f00cac957af6b79dcd874000ae
2017-04-17 19:36:27 +09:00
Winson Chung
487737b876 Use vsync choreographer when moving PIP.
Bug: 36371375
Test: Enter PIP, move PIP
Change-Id: I5956a3ed9e92a4cdd4bf0a55723b9f1574c1a86f
2017-04-16 16:45:18 -07:00
TreeHugger Robot
4ea09f5ca4 Merge "Keyguard should authenticate with FP even after getting valid FP" into oc-dev 2017-04-15 07:05:48 +00:00
Adrian Roos
490ef3cda4 Merge "AOD: Prolong AOD2 after interaction, turn off AOD when prox covered" into oc-dev 2017-04-15 01:48:31 +00:00
TreeHugger Robot
47dea3b16d Merge "Reduce effect on PipMenuActivity during animation" into oc-dev 2017-04-15 01:18:36 +00:00
Kevin Chyn
625a014006 Keyguard should authenticate with FP even after getting valid FP
There may be strange states where the user is already authenticated
but still on the lockscreen. The user should be able to dismiss
keyguard in that state.

Fixes: 29306222

Test: unlock phone
go back to keyguard
swipe up screen half way
touch fingerprint sensor (icon should change to unlocked)
then touch fingerprint sensor again (keyguard should be dismissed)

Test: unlock phone and go to settings -> Pixel Imprint
lock phone, unlock phone with fingerprint
touch sensor again and make sure Pixel Imprint page also responds to FP
do this test at least 10 times

Change-Id: I86acd520a06a68fab3548dd4cf6153a7833114fe
2017-04-14 17:33:14 -07:00
Adrian Roos
f3eacd35c0 AOD: Fix icon color when updating on AOD
Fixes a bug where notification shelf icons
would become colorful when they update while
in AOD.

Change-Id: I6e1d98bc75a2119eb32b55a40a66a9b3bcee8737
Fixes: 37156783
Test: Turn off device, receive notification, receive update to that notification, trigger ambient display
2017-04-14 16:35:58 -07:00
Adrian Roos
67cca7442b AOD: Prolong AOD2 after interaction, turn off AOD when prox covered
Turns off AOD 1 and 2 when the proximity sensor is covered.
Also extends the AOD2 duration when the screen is touched or
the lift gesture is triggered.

Also fixes some issues with the fingerprint unlock transition
from AOD where the doze state for the NotificationPanelView
was cleared too early.

Also hides the wallpaper while we're dozing.

Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/doze/DozeMachineTest.java
Fixes: 36893539
Fixes: 36893538
Fixes: 36033906
Fixes: 37327153
Change-Id: I3fccae1515a0daf2ff99589ed78ec947687e6262
2017-04-14 22:59:26 +00:00
Adrian Roos
e4b564c856 AOD: Track missed AOD time ticks
Adds missed AOD time ticks to the doze log.

Bug: 36506772
Test: adb shell cmd deviceidle force-idle deep && sleep 2min && adb shell dumpsys activity service com.android.systemui | grep "missedTick"
Change-Id: I12d056d01603d91ef27fa62ec0d48c8f658f0971
2017-04-14 14:50:50 -07:00
TreeHugger Robot
06426bf652 Merge "Convert signal icon to be custom drawable" into oc-dev 2017-04-14 20:44:19 +00:00
Mady Mellor
4b7b01c1cc Merge "Fix issue where menu items visible on 'closed' notification on lockscreen" into oc-dev 2017-04-14 20:40:03 +00:00
Wale Ogunwale
5e8ecb0f34 Reduce effect on PipMenuActivity during animation
- Set windowDisablePreview to true so no starting window is added for
the pip menu activity.
- setDisablePreviewScreenshots() so we don't waste time taking
screenshot for the pip menu activity.

Test: manual
Change-Id: I327603b9b0edc0baff779b00c8f6f035852aad15
2017-04-14 13:32:19 -07:00
TreeHugger Robot
b160141698 Merge "Sysui Leaks: Leak check destroyed fragments" into oc-dev 2017-04-14 19:24:40 +00:00
Jason Monk
48edc0c628 Convert signal icon to be custom drawable
This will make it really easy to change the number of bars it
displays.

Test: runtest systemui
Change-Id: If0b8a606f56430ea08fa0887af85aa0e90de1d40
Fixes: 35902355
2017-04-14 15:04:09 -04:00
TreeHugger Robot
7c8ab2651b Merge "Remove unnecessary casts on calls to findViewById" into oc-dev 2017-04-14 16:56:28 +00:00
TreeHugger Robot
b7f0db8d89 Merge "Update more implementations of findViewById()" into oc-dev 2017-04-14 16:26:27 +00:00
Alan Viverette
51efddbd3b Remove unnecessary casts on calls to findViewById
Just frameworks/ this time. More paths to come.

Bug: 24137209
Test: make -j32
Change-Id: Iff27abd26fa43296ac2fff8f534fc6742d2ae80c
2017-04-14 11:15:50 -04:00
Winson Chung
2e86be7653 Merge "Fix issue where we weren't dismissing the pip menu activity." into oc-dev 2017-04-14 05:12:54 +00:00
TreeHugger Robot
4191d99614 Merge changes I789945c1,I532b0928,I62c6df8b,Ib2bd81ad into oc-dev
* changes:
  Fixing missing movement bounds notification to SystemUI.
  Fixing animating bounds regression.
  Tightening up rotation behavior for PIP (2/3)
  Tightening up rotation behavior for PIP (1/3)
2017-04-14 04:39:01 +00:00
TreeHugger Robot
59c124b755 Merge "Visual changes to PIP drag to dismiss UI" into oc-dev 2017-04-14 02:40:01 +00:00
Winson Chung
32c566fe6e Fixing missing movement bounds notification to SystemUI.
- When WM updates from a configuration change, ensure that we update the
  pinned stack controller even if there is currently no pinned stack.
- Also finish the menu activity once an activity is unpinned.

Bug: 36879891
Test: android.server.cts.ActivityManagerPinnedStackTests
Change-Id: I789945c1783693cf4b4e3d6663548c8669784001
2017-04-13 19:27:31 -07:00
Mady Mellor
b91efb8b36 Visual changes to PIP drag to dismiss UI
Updated gradient asset, spacing, and added shadow to text

Test: Manual: have a PIP, move it around, observe drag to dismiss UI
Bug: 35358628
Change-Id: I8614468edfc14d0337d69184a7bbab5419f22ec3
2017-04-13 17:20:15 -07:00
Selim Cinek
07525d4f25 Merge changes Icc9c36f7,I723474e2 into oc-dev
* changes:
  Fixed a crash when expanding
  Fixed the visual appearance on heads-up notifications
2017-04-13 22:52:16 +00:00
Lei Yu
57af565fb7 Merge "Refine BatteryInfo and battery drawable" into oc-dev 2017-04-13 21:43:37 +00:00
Winson Chung
be4a808b3d Fix issue where we weren't dismissing the pip menu activity.
- Also don't crash if we get a deferred call to resize the pinned stack
  that no longer exists.

Bug: 36049843
Test: Try to pinch and expand pip
Change-Id: I64c42e47c466c641464c4f22a20bded2209e29eb
2017-04-13 13:52:04 -07:00
Alan Viverette
04fd470ce0 Update more implementations of findViewById()
Bug: 24137209
Test: make checkbuild -j32
Change-Id: I104969fc74d6dc1d159e3d1ff5926640b124a540
2017-04-13 16:50:32 -04:00
TreeHugger Robot
d2b368a68d Merge "Fix location status bar icon" into oc-dev 2017-04-13 20:26:16 +00:00