Commit Graph

357138 Commits

Author SHA1 Message Date
Julia Reynolds
ef934fdd48 Rebind assistant services on user unlocked.
Change-Id: I25daeaffee282df3b2e3819a29db6c3117b163f5
Fixes: 72453895
Test: manual
2018-02-01 22:57:29 +00:00
TreeHugger Robot
099267f323 Merge "Remove clipping from QSContainerImpl" 2018-02-01 22:49:43 +00:00
TreeHugger Robot
5d446ec5b9 Merge "Stop supporting broken font fallback" 2018-02-01 22:44:30 +00:00
TreeHugger Robot
4d41f29127 Merge "Atom: Remaining and full battery capacity" 2018-02-01 22:32:06 +00:00
TreeHugger Robot
7902b4a1b2 Merge "Add AudioFormat.ENCODING_E_AC3_JOC" 2018-02-01 22:03:22 +00:00
TreeHugger Robot
60dcffad5f Merge "Update argument of Layout methods." 2018-02-01 21:40:03 +00:00
Bryce Lee
1204a6fd93 Merge "Do not return stacks to AM that are marked for deferred removal." 2018-02-01 21:32:28 +00:00
TreeHugger Robot
e545db013a Merge "Revert "Uses back and home button for screen pinning when recents is invisible"" 2018-02-01 21:14:02 +00:00
Jeff Sharkey
850f29a169 Merge changes Iac97c342,I52518d52
* changes:
  Enable sendfile() and splice() optimizations.
  Use sendfile() and splice() to speed up copying.
2018-02-01 21:08:52 +00:00
TreeHugger Robot
f6275e2720 Merge "Fixes quickstep swipe up animation being stuck" 2018-02-01 20:55:39 +00:00
TreeHugger Robot
e6e19a518c Merge "Delete alert window notification channel when no longer used" 2018-02-01 20:46:58 +00:00
TreeHugger Robot
35501be16f Merge "Add tron counter for battery % too" 2018-02-01 20:45:44 +00:00
TreeHugger Robot
381a55ad97 Merge "Remove unused methods from LocationManagerService" 2018-02-01 20:39:32 +00:00
TreeHugger Robot
44b261f372 Merge "Use statsd constants instead of literals" 2018-02-01 20:37:29 +00:00
Jason Monk
468dc71439 Merge "Clear slice access grants on package clear/remove" 2018-02-01 20:25:27 +00:00
TreeHugger Robot
738f827d07 Merge "Fixes for animationEnd in AnimatedImageDrawable" 2018-02-01 20:06:25 +00:00
TreeHugger Robot
b414d51d51 Merge "Fix flicker with remote animations" 2018-02-01 20:03:54 +00:00
Bryce Lee
aea60d2f55 Do not return stacks to AM that are marked for deferred removal.
When the Activity Manager informs the Window Manager that a stack has
been removed, it can opt to hold onto the stack (such as when an
animation is in progress). This can lead to inconsistencies where the
Window Manager can report a stack back to the Activity Manager that
has since been removed.

This changelist addresses one such call point in
WindowManagerService#setNewDisplayOverrideConfiguration. Deferred
removed displays are now filtered out of the returned list.

Change-Id: I5f7aad9296cec8bd56e933a71553f9cd40579378
Fixes: 71548119
Test: atest FrameworksServicesTests:com.android.server.wm.RootWindowContainerTests
2018-02-01 11:22:24 -08:00
TreeHugger Robot
5482951a12 Merge "Add icon tintable flag to suggestion." 2018-02-01 19:12:35 +00:00
Lifu Tang
c84d42e7d6 Remove unused methods from LocationManagerService
Test: Built and Manually tested
Change-Id: I7e13d51864d86054eb9394704927dc4d449c0b13
2018-02-01 18:56:53 +00:00
TreeHugger Robot
6f2e062c9f Merge "Ignore flaky tests" 2018-02-01 18:39:59 +00:00
Leif Wilden
3806b9108c Merge "Migrate to lifecycle events from architecture components." 2018-02-01 18:25:40 +00:00
Leif Hendrik Wilden
3b0e0574cd Migrate to lifecycle events from architecture components.
Bug: 70572789
Test: Added unit test. Manual: adb logcat -b events | egrep "(sysui_|notification_)".
Change-Id: If249f16c06ac439c6da1e419142bff6f22ffb0c9
2018-02-01 18:23:32 +00:00
Chavi Weingarten
c13b54361d Merge "Re-added Dimmer for IME window container" 2018-02-01 18:09:07 +00:00
Chavi Weingarten
aea047a242 Merge "Use WS pending transaction for MoveAnimation" 2018-02-01 18:07:50 +00:00
Evan Laird
691c0db31f Remove clipping from QSContainerImpl
No longer necessary to achieve roundedness

Test: visual
Change-Id: I3206b75b852f18480c7b96a568c322e2f05cf844
Fixes: 72762900
2018-02-01 13:07:19 -05:00
Matthew Ng
9b9d0c513a Revert "Uses back and home button for screen pinning when recents is invisible"
This reverts commit c4356fb753.

Reason for revert: Regression b/72800226

Change-Id: Iaa14de444c00a9da7c3b3a6d8828f40d66a8ac29
2018-02-01 18:04:00 +00:00
Jorim Jaggi
ab09e6472f Fix flicker with remote animations
There was a race condition where we notified the controlling app
already about transition start, which itself started the animation
and applied the transform of the first frame. However, a little
bit later, we applied the pending transaction from window manager,
which overrode the properties again, leading to a flicker.

Test: go/wm-smoke
Test: Press home button, observe never a flicker
Bug: Surprisingly there isn't one yet.
Change-Id: I849a1573e6fd0487b9b5c22c7a7525bc818661cc
2018-02-01 19:01:54 +01:00
Wale Ogunwale
6c8f2e4559 Delete alert window notification channel when no longer used
We no longer need the notification channel for alert window
use for a process e.g. the package is uninstalled, then go ahead
and delete the channel.

Change-Id: I2dea9af0e73810f91b248ad85cab73fa4f8271f4
Fixes: 67883657
Test: steps from bug
2018-02-01 17:58:35 +00:00
TreeHugger Robot
0d3813e3da Merge "Support dimension in condition in metric producers." 2018-02-01 17:18:37 +00:00
Kenny Guy
52c0747408 Merge "Fix manual brightness slider" 2018-02-01 17:06:35 +00:00
TreeHugger Robot
a61111abe7 Merge "Up the version of the database" 2018-02-01 16:50:24 +00:00
Julia Reynolds
e904fb331e Ignore flaky tests
And delete zenpaneltest - it causes other tests to fail flakily,
and isn't currently used.

Change-Id: I15a9201128656a4f75eeab6d0d250534062bfbbf
Fixes: 72785419
Test: atest SystemUITests
2018-02-01 16:50:02 +00:00
Mikhail Naganov
29f479d502 Merge "Add audio presentation interface to Java API" 2018-02-01 16:46:07 +00:00
Jorim Jaggi
6464c8d21b Merge "Scale timeout with animation scale" 2018-02-01 16:10:35 +00:00
Yoshiki Iguchi
58b5f697a3 Merge "Revert "Split HeadsUpManager implementation to HeadsUpManagerPhone"" 2018-02-01 15:19:52 +00:00
Jason Monk
68ff6aac07 Clear slice access grants on package clear/remove
Test: uiservicestests
Bug: 68751119
Change-Id: Ie5bd29a8c02cdfe7b634d2a302c625524ffcb89a
2018-02-01 10:07:38 -05:00
TreeHugger Robot
731f9fa6b3 Merge "Add divider between QS and footer." 2018-02-01 15:07:38 +00:00
Jorim Jaggi
a19d781a8a Scale timeout with animation scale
So slowed down animations still work
Test: RemoteAnimationControllerTest
Test: go/wm-smoke-auto

Change-Id: I23116fdd0f2e75e4320bd77aee704d1e2a9de5e7
2018-02-01 15:03:59 +01:00
yoshiki iguchi
0adf6a6d12 Revert "Split HeadsUpManager implementation to HeadsUpManagerPhone"
This reverts commit 78db3d0b0f.

Reason for revert: Cause crash

Test: none
Change-Id: Iffdad2513158c0856a0d3b56f7667063f4bba91c
2018-02-01 22:14:31 +09:00
Robert Berry
bdc407d11f Up the version of the database
We should have done this every time the schema changed, and written
appropriate upgrade SQL. Unfortunately there are now devices in the
wild that initially created the database using older SQL. As such
they are missing columns. This causes them to crash when queries are
run against the DB expecting those columns to exist. As we didn't
up the version number, flashing a new build didn't cause the CREATE
SQL to run again.

Test: manual
Change-Id: I1daa263d9baa69af4abb4bebfe45586b1f9dfd0e
2018-02-01 12:49:31 +00:00
TreeHugger Robot
9d3986bdc3 Merge "Add Ambient Brightness tracker API" 2018-02-01 12:15:15 +00:00
TreeHugger Robot
899715b9d7 Merge changes from topics "mediasession2_libraryroot", "mediasession2_commandbutton", "medianotification_updatable"
* changes:
  MediaSession2: Rename BrowserRoot to LibraryRoot and move to updatable
  MediaSession2: Move MediaSession2.CommandButton to updatable
  MediaSession2: Move MediaSessionService2.MediaNotification to updatable
2018-02-01 11:46:13 +00:00
Jack Yu
4aa09f4c7f Merge "Added support for the new 1.2 data setup/deactivate API" 2018-02-01 11:21:00 +00:00
Kenny Guy
ad9a6ea830 Fix manual brightness slider
Pending brightness change never stored
in current brightness.

Bug: 72725570
Test: manual - non-adaptive move slider check it works, reboot check brightness was persisted.
Test: manual - adaptive - move slider check it works.
Test: manual - verify slider events are logged for adaptive and not for manual brightness

Change-Id: If2914dcb223cf4308f178c101e862e6b4ba851bb
2018-02-01 11:12:15 +00:00
David Brazdil
7d69d3a855 Merge "Droidfood only: Move private APIs to dark greylist by default" 2018-02-01 11:07:39 +00:00
TreeHugger Robot
3d67f4a039 Merge "Add information about brightness config to slider events." 2018-02-01 10:37:30 +00:00
David Brazdil
b43351f84a Droidfood only: Move private APIs to dark greylist by default
In order to tune the API lists, we initialize the light greylist with
APIs we know are used by popular apps. All the other private APIs are
moved into dark greylist. Light greylist will be set to not warn at
all, while dark greylist will produce warnings. This will allow us to
collect logs and tune the lists without breaking all of our dogfooders.

Bug: 64382372
Bug: 72793280
Test: make
Change-Id: Ice6c487eeca8900e6a70abe1b87e8c211ef1066e
2018-02-01 09:47:59 +00:00
Jaewan Kim
ac9edc37db MediaSession2: Rename BrowserRoot to LibraryRoot and move to updatable
Renaming was the one of the feedback from ag/3506231

Test: Run all MediaComponents tests once
Change-Id: I6499070502cd0e20ea53a1447278d680e586dec7
2018-02-01 16:56:37 +09:00
Jaewan Kim
435142badc MediaSession2: Move MediaSession2.CommandButton to updatable
Bug: 72665718
Test: Run all MediaComponents test once
Change-Id: I5e6b382695b9d8c2f9634531ded32fdac438965c
2018-02-01 16:56:23 +09:00