32828 Commits

Author SHA1 Message Date
Manu Cornet
429338e3bd 2D Recents: Fix issues with thumbnail scaling transitions am: 57b6149f8b
am: 6f5bb1f340

Change-Id: I0556939ca9c94965865ac050a98981a347f6d0aa
2017-02-02 23:19:05 +00:00
TreeHugger Robot
de3f962e8a Merge "Update the drag to dismiss UI to be closer to design" 2017-02-02 21:40:19 +00:00
Jason Monk
d7af66d0c3 Merge "Move recents CommandQueue callbacks to recents" 2017-02-02 21:09:29 +00:00
Selim Cinek
c494e38c07 Fixed that the HUN layout could be visible on Keyguard
Test: runtest systemui
Change-Id: I9d106b6b021bb15fd709a6281beed8ab084201db
Fixes: 34548351
2017-02-02 12:25:58 -08:00
Geoffrey Pitsch
580f32d7b0 Merge "SystemUI uses Builder API with NotificationChannel" 2017-02-02 20:25:48 +00:00
Selim Cinek
b5aa599eec Fixed that the HUN layout could be visible on Keyguard
Test: runtest systemui
Merged-In: I9d106b6b021bb15fd709a6281beed8ab084201db
Change-Id: I9d106b6b021bb15fd709a6281beed8ab084201db
Fixes: 34548351
2017-02-02 12:22:10 -08:00
Manu Cornet
69f9c6073d 2D Recents: Less drastic scale reduction for dismiss animation
am: 8ea36af22b

Change-Id: Ie90263b3eff6ecc7b469fe7c6fa028c2ff1afc62
2017-02-02 19:30:21 +00:00
Manu Cornet
6f5bb1f340 2D Recents: Fix issues with thumbnail scaling transitions
am: 57b6149f8b

Change-Id: Iacd79a63699736c9b8fb7794d45bc8891c57b513
2017-02-02 19:26:43 +00:00
Jason Monk
764da991de Move recents CommandQueue callbacks to recents
This will make it a more common and less broken place for both
handset and TV.

Fixes: 34813216
Test: make and click on recents button.
Change-Id: I2fd9c3103e2be28a19497719ac5763c064beeed1
2017-02-02 14:13:16 -05:00
Mady Mellor
d4e40fb097 Update the drag to dismiss UI to be closer to design
Rather than a circular target for drag to dismiss, there is text / icon
as well as a gradient. As the PIP approaches the text / icon they grow
in size. If the PIP is released overtop of the text / icon, it is
dismissed.

Test: Using PIP test app, have a PIP, drag it to dismiss target area.
Change-Id: I339ad14e144dfd61f0e990ba4d2559642a47b141
2017-02-02 11:08:26 -08:00
Anthony Chen
b3f0849c3e Merge "Refactor notification to allow for overlay by Android Auto." 2017-02-02 18:09:43 +00:00
TreeHugger Robot
e70ef857fb Merge "Fix leaks in sysui" 2017-02-02 18:08:29 +00:00
Geoffrey Pitsch
1dc93bc407 SystemUI uses Builder API with NotificationChannel
Some changes to channels based on UX feedback.

Test: runtest systemui
Change-Id: I1b2f661ba145d6926035f992231dc3c2f8cbf844
2017-02-02 11:12:05 -05:00
Jason Monk
de850bbcaa Fix leaks in sysui
Add support for testing for PluginManager and TunerService leaks
and add tests for the known leaks and fix them. Also port PluginManager
and TunerService to Dependency to make them easier to handle in
tests.

Test: runtest systemui
Change-Id: I5642539ee24dd72f802905106decd0c87b41b4eb
Fixes: 34846972
2017-02-02 10:58:18 -05:00
Manu Cornet
c01308a03c Merge "2D Recents: Less drastic scale reduction for dismiss animation" into nyc-mr2-dev 2017-02-02 15:51:56 +00:00
Chris Wren
27a52fa86b port status bar logs to Tron V2
Bug: 33303260
Test: runtest --path frameworks/base/core/tests/coretests/src/com/android/internal/logging/legacy/ && runtest --path frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone
Change-Id: I7746b846247e930617f0b440217635e71ed58bb5
2017-02-02 07:47:16 -05:00
Jason Monk
87562128ee Merge "QS: Remove circles and add lines" 2017-02-02 02:53:52 +00:00
Manu Cornet
f41a8c5a3d Merge "2D Recents: Fix issues with thumbnail scaling transitions" into nyc-mr2-dev 2017-02-02 02:22:07 +00:00
Winson Chung
b0412060ea Merge changes Iad270dfd,Ice608e6d,I375369a8
* changes:
  Adding initial TRON logging for picture-in-picture.
  Disallow entering PiP when activity is locked.
  Preventing cases where an app can be stopped while entering PiP.
2017-02-02 00:23:08 +00:00
TreeHugger Robot
58f34b828d Merge "Start MtpDocumentsService as foreground service." 2017-02-02 00:13:34 +00:00
Daichi Hirono
d3c6dd1522 Start MtpDocumentsService as foreground service.
Prevously MtpDocumentsService was started as background service, then it
turns into a foreground service by calling Service#startForeground.

The workflow did not work until this, because now background activity
cannot launch a background service.

The CL starts using NotificationManager#startForegroundService to launch
MtpDocumentsService so that the service can be started as foreground
service directly.

Bug: 34468813
Test: MtpDocumentsProviderTests
Test: manual testing with connecting MTP device to Android
Change-Id: Ic35d3e92f234881846e5d82ed04d6681a83035f7
2017-02-02 00:13:08 +00:00
Jason Monk
2db4619153 QS: Remove circles and add lines
- Remove circles from icons.
 - Add lines to indicate tiles with dual tap targets.
 - Change default order

Test: visual
Change-Id: I1eb02641757a76ddf3e3876182f7b2503161bc9e
2017-02-01 17:22:51 -05:00
Sundeep Ghuman
05c41e2ce4 Show saved networks before scored networks.
Changing ranking order to prioritize saved networks over scored
networks.

Bug: 34716123
Test: Turn on scoring and scoring UI features, ensure unscored saved
network appears before unsaved scored network. Working on adding tests
for AccessPoint.java separately.

Change-Id: Ib53ade6c0e3756e2595ba6a73bf1a0fdc05e3074
2017-02-01 13:27:56 -08:00
Adrian Roos
643e51e3a1 StatusBar: Clean up buzzBeepBlinked and friends
Test: mmm frameworks/base/packages/SystemUI
Change-Id: Idcd1fe02e825c18782880d8d12345776a3928ddf
2017-02-01 21:06:01 +00:00
Daniel Nishi
646f500315 Merge "Add a filter for audio apps." 2017-02-01 21:01:55 +00:00
Adrian Roos
58c4d503b5 Merge "AOD: Fix in-place ambient layout updates" 2017-02-01 20:02:11 +00:00
TreeHugger Robot
386405dbc5 Merge "Import translations. DO NOT MERGE" 2017-02-01 19:51:06 +00:00
Winson Chung
14fbe141e0 Adding initial TRON logging for picture-in-picture.
Bug: 33756317
Test: Run PIP activity
Change-Id: Iad270dfdf6521d4659653a0697effaed4a0d4137
2017-02-01 11:12:30 -08:00
Jean-Michel Trivi
6deaa4c8cf Merge "Notification playback synchronized with audio focus" 2017-02-01 18:43:36 +00:00
Anthony Chen
3cb3ad9998 Refactor notification to allow for overlay by Android Auto.
Android Auto requires different styling for notifications. In
particular:

- Background of scrim to be a different color
- Notification shade should always be full width
- No quick settings
- User switcher always visible
- Card styling, such as rounded corners and more spacing between items.
- Notification shade to be triggered from a button on the navigation
  bar.

Refactored different areas of the framework to allow for this. This
mostly means extending notification code and overriding methods where
appropriate.

Test: manually tested
Bug: 33487455
Change-Id: Ifcea70e121c1cbbeb057bb6ce8d351336ae41554
2017-02-01 10:05:07 -08:00
TreeHugger Robot
4dfc39cc36 Merge "Remove unused files" 2017-02-01 02:04:18 +00:00
Selim Cinek
2bc30ead52 Fixed an issue where heads-upped notifications would stay
am: 23301afb8e

Change-Id: I04e8cf3ba5a0f44390c53867a43dacd22812da4e
2017-02-01 01:01:59 +00:00
Selim Cinek
e89a950b8b Merge "Fixed an issue where heads-upped notifications would stay" into nyc-mr2-dev 2017-02-01 00:52:13 +00:00
Selim Cinek
4a0ae490bd Merge "Fixed an issue where heads-upped notifications would stay" 2017-02-01 00:21:05 +00:00
Jason Monk
18116a60e2 Remove unused files
Test: make
Fixes: 34846431
Change-Id: Ia41e1c262c3f9bc8b96af9d6670176d9432959a7
2017-01-31 19:20:17 -05:00
Selim Cinek
23301afb8e Fixed an issue where heads-upped notifications would stay
If a heads up notification was briefly removed right after
it was added it could linger around in systemUI until
the panel collapsed.
We need to make sure not to apply this improvement if
reordering isn't allowed, otherwise it will never time out

Test: existing tests pass
Bug: 34608075
Merged-In: I7768f6111ada30edcb997a42940e5e336efe1cf2
Change-Id: I7768f6111ada30edcb997a42940e5e336efe1cf2
2017-02-01 00:15:58 +00:00
Jean-Michel Trivi
99489ccf74 Notification playback synchronized with audio focus
PlayerProxy: more control options (pan, delayed start),
  remove exceptions in method signatures.
Use delayed start on notification playback for better sync
  between media apps and notifications
Disabled for now: support for AudioService (through
  MediaFocusControl and PlaybackActivityMonitor) to enforce
  audio ducking of focus owners losing audio focus with
  AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK, and who don't
  play audio that has a content labelled as CONTENT_TYPE_SPEECH.
  This feature will be enabled when setting a VolumeShaper
  on a player works.

Test: play music and play notification
Bug 30258418

Change-Id: I4e4d911645306bbde17f74288f3b61781fe0e3fe
2017-01-31 15:40:09 -08:00
Android Build Merger (Role)
70ec5c416d Merge "2D recents: fix layout to show 3 tasks on a single line am: 776f6bacd6 am: d378bc16ee" 2017-01-31 23:39:09 +00:00
Manu Cornet
3e0d6c9fc0 2D recents: fix layout to show 3 tasks on a single line am: 776f6bacd6
am: d378bc16ee

Change-Id: Ic79ece663a1b689ae226df861062f1ae623f8efd
2017-01-31 23:38:03 +00:00
Stephen Chen
9507388685 Merge "Remove Wi-Fi lock icons from AccessPointPreference." 2017-01-31 23:37:26 +00:00
Manu Cornet
d378bc16ee 2D recents: fix layout to show 3 tasks on a single line
am: 776f6bacd6

Change-Id: I73cda7b837f91b78714db90c06617302201389fd
2017-01-31 23:31:14 +00:00
Stephen Chen
ed8f5297a3 Remove Wi-Fi lock icons from AccessPointPreference.
We now have friction icons to show secured state.

Bug: 34775402
Test: manual inspection.
Change-Id: I644aadf8175e5b7b4daab6a3d6feacbe95fcdfda
2017-01-31 15:31:13 -08:00
Manu Cornet
abfe26bad7 Merge "2D recents: fix layout to show 3 tasks on a single line" into nyc-mr2-dev 2017-01-31 23:25:01 +00:00
Ido Ofir
081d576c77 Merge "Adding missing filters to suggested actions in Settings that that they match the Optional Steps fliters in setup wizard. Also added some more logging." 2017-01-31 23:17:29 +00:00
Selim Cinek
bd5bf5eaa4 Fixed an issue where heads-upped notifications would stay
If a heads up notification was briefly removed right after
it was added it could linger around in systemUI until
the panel collapsed.
We need to make sure not to apply this improvement if
reordering isn't allowed, otherwise it will never time out

Test: existing tests pass
Bug: 34608075
Change-Id: I7768f6111ada30edcb997a42940e5e336efe1cf2
2017-01-31 14:49:02 -08:00
Ido Ofir
a560cd947b Adding missing filters to suggested actions in Settings that that they
match the Optional Steps fliters in setup wizard.
Also added some more logging.

Bug: 34460278
Test: cd tests/; mma

Change-Id: Id576a1a19daa473e203cef41d67f6ef0cfc06dbe
2017-01-31 11:03:44 -08:00
Selim Cinek
7d1009b3bd Increased the collapsed size of messaging notifications
Messaging notifications now get an increased boost in size,
since those are usually important to the user.

Test: existing tests pass
Bug: 34469375
Change-Id: Idfc2d2403b04c4c2d17b821e3ccbbbd48d31654d
2017-01-31 10:26:03 -08:00
Mady Mellor
ab3070fd6d Merge "Fix NotificationGuts tests" 2017-01-31 17:58:36 +00:00
TreeHugger Robot
21e0ccb1a6 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-01-31 08:31:13 +00:00
TreeHugger Robot
8a0f9dd59a Merge "Import translations. DO NOT MERGE" 2017-01-31 08:02:43 +00:00