Commit Graph

476885 Commits

Author SHA1 Message Date
Paul Duffin
c1abc71892 Update lint-baseline.txt for android.test.mock
Bug: 156126315
Bug: 156175891
Test: m checkapi
Change-Id: I39d5f458fdf965c14c999f906cbe4a487d33cf0f
2020-05-11 20:55:36 +01:00
Paul Duffin
f66bf9b172 Add lint-baseline.txt files for test base/runner/mock
In preparation for enabling API lint checking on java_sdk_library
adds lint-baseline.txt containing all the existing issues for these
APIs.

The test-base and test-runner APIs are old and have been deprecated
so there is little benefit in fixing those issues.

The test-mock API while old has not been deprecated and so should be
cleaned up. Bug 156175891 tracks that cleanup work.

Bug: 156126315
Bug: 156175891
Test: m checkapi
Merged-In: Ifb4669fcf7f2a36e5cb4d593bfc5d03330901ee9
Change-Id: Ifb4669fcf7f2a36e5cb4d593bfc5d03330901ee9
(cherry picked from commit ee5a4af4c5)
2020-05-11 19:57:41 +01:00
Pavel Grafov
c8d5a68525 Merge "Make getPersonalAppsSuspensionReasons more robust." into rvc-dev 2020-05-11 18:04:12 +00:00
TreeHugger Robot
dc9883a0bd Merge "InsetsSourceProvider: Fix serverVisible update order in onPostLayout" into rvc-dev 2020-05-11 17:43:35 +00:00
Evan Rosky
1fffbc69fb Merge "Don't override bounds when reparenting" into rvc-dev 2020-05-11 17:33:15 +00:00
Rambo Wang
e6e7cdf1af Merge "LTE+ indicator not shown when attached to CA network" into rvc-dev 2020-05-11 16:36:32 +00:00
Adam Bookatz
3685058e52 Merge "EventLog for UserController broadcasts (formatting)" into rvc-dev 2020-05-11 16:19:52 +00:00
Pavel Grafov
3b4aa554ac Make getPersonalAppsSuspensionReasons more robust.
* Make sure that if the time is rolled back after the deadline
  has been reached, it is not undone. When the deadline is
  reached it is set to -1 which is far in the past, so timezone
  change won't affect it.
* Return sensible value in case when the deadline has just
  expired and the suspension itself hasn't been enacted.
  Previously the deadline expiration wouldn't be reflected until
  mAppsSuspended gets updated after all apps are suspended.
* Update deadline on time changes. This makes it react to time
  changes via adb.
* Additional debug logging to investigate further if the issue
  persists.

Bug: 155878352
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
Change-Id: I6549f76584121df200ace811285e7a358f262869
2020-05-11 17:09:14 +01:00
Diego Vela
458938578f Merge "Fix resize info activity not showing in some cases" into rvc-dev 2020-05-11 15:54:25 +00:00
Adrian Roos
e05d29e383 InsetsSourceProvider: Fix serverVisible update order in onPostLayout
Fixes an issue where serverVisible was only updated after updateFrames, but
updating the frames depends on the server visibility being correct since [1].

Also addresses an issue in the test fixture which prevented this regression
from being caught: the server visibility is now set by onPostLayout, instead
of onSetup, to mirror how the server visibility would be set at runtime.

[1]: Id2c482e112c1d73cf7d5b3ba5e1a2d5775f47298

Fixes: 156226586
Test: atest ScreenDecorWindowTests InsetsSourceProviderTest
Change-Id: Id90e6315e9fe230307929a8d992a76a5dae1107c
2020-05-11 17:11:00 +02:00
Antoan Angelov
ff779f6d8e Merge "Don't show layout with default if in tabbed view" into rvc-dev 2020-05-11 14:49:18 +00:00
Santiago Seifert
b7cc9681ff Merge "Fill crypto data in MediaParser" into rvc-dev 2020-05-11 14:29:22 +00:00
TreeHugger Robot
1d5934de3d Merge "Make notification match the mocks." into rvc-dev 2020-05-11 13:46:52 +00:00
Adrian Roos
4869550555 Merge "GlobalActions: Disable IME focusability" into rvc-dev 2020-05-11 13:39:14 +00:00
Mohammad Samiul Islam
d8b6b0fb92 Merge "Avoid reverting apex on devices that do not support updating apex" into rvc-dev 2020-05-11 11:45:02 +00:00
Charles Chen
5681f3e796 Merge "Add WindowMetricsHelper" into rvc-dev 2020-05-11 10:17:37 +00:00
TreeHugger Robot
241f65ced5 Merge "Remove FlakyTest for testTaskChangeCallBacks" into rvc-dev 2020-05-11 09:50:55 +00:00
Yunfan Chen
a890058cd1 Remove FlakyTest for testTaskChangeCallBacks
The test is no longer flaky.

Test: atest TaskStackChangedListenerTest#testTaskChangeCallBacks
Bug: 153707978
Change-Id: I4ca0c15d84728359357e2a42efdb90e06999db68
2020-05-11 17:07:21 +09:00
Jeff Chang
8fdb8d4f34 Merge "Handle the WatchRotation failed" into rvc-dev 2020-05-11 06:33:51 +00:00
TreeHugger Robot
488cd2c4ff Merge "Fix consumer closed input channel cause an error occurred (1/2)" into rvc-dev 2020-05-11 05:56:35 +00:00
Riddle Hsu
53ed707827 Merge "Clean up unnecessary lock of WmTests" into rvc-dev 2020-05-11 05:02:53 +00:00
Riddle Hsu
da95e26cc7 Merge "Update display orientation that was interrupted by recents animation" into rvc-dev 2020-05-11 05:00:11 +00:00
TreeHugger Robot
94cfc91ab2 Merge "Add new atoms for auto revoke" into rvc-dev 2020-05-11 04:50:35 +00:00
TreeHugger Robot
47059f7654 Merge "Make sure AmbiguousGestureMultiplier could start from 1" into rvc-dev 2020-05-11 03:08:31 +00:00
Mark Chien
1fe4d26b79 Merge "Allow to exempt from entitlement check" into rvc-dev 2020-05-11 02:55:14 +00:00
TreeHugger Robot
f8ab9f52c6 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-11 02:09:07 +00:00
Lucas Dupin
f2570fbd42 Merge "Smoothly hide the keyboard" into rvc-dev 2020-05-11 02:05:45 +00:00
Nate Myren
e8f912bbb5 Add new atoms for auto revoke
Added new atoms for auto revoke logging

Test: manual
Bug: 154650244
Change-Id: Ifdc291c24f249b275b435495fcd3c73db089adbc
2020-05-11 09:47:28 +08:00
Julia Reynolds
0408979945 Merge "Make DND intent immutable" into rvc-dev 2020-05-11 01:31:54 +00:00
Bill Yi
366652ceff Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I7898e602b548f7f879076c480aa127ffc5aafe1a
2020-05-11 01:05:26 +00:00
Louis Chang
838475b6fc Merge "Fix fillsParent() always be false on finishing activity" into rvc-dev 2020-05-11 00:47:45 +00:00
TreeHugger Robot
56be725b52 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-11 00:15:25 +00:00
TreeHugger Robot
5348b383b4 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-10 23:53:23 +00:00
Bill Yi
509817ae82 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I2a4b5a3b5229353ad3bd9a6072607f343009811f
2020-05-10 12:51:36 -07:00
Beverly Tai
78a66d6c36 Merge "Add badge colors for dark theme" into rvc-dev 2020-05-10 18:10:15 +00:00
Bill Yi
2df066610a Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I83e573a197eafa31e1120d083ee7e4eefc87a869
2020-05-10 10:41:38 -07:00
Pavel Grafov
f89d3f9f64 Make notification match the mocks.
* Now it is of nice blue colour, lighter in night theme.
* Uses suitcase icon instead of warning sign.
* Shows "Work profile" instead of "Android system" as the source.

note: I reused a string for "Work profile", which has the same
content, but different purpose. This is not ideal, but we are way
past the deadline.

Bug: 155612405
Test: manual, with TestDPC
Change-Id: I8298401742085b1738de384e3fe0e612a8142607
2020-05-10 17:31:55 +01:00
Louis Chang
c3bf552ca8 Fix fillsParent() always be false on finishing activity
ActivityRecord#occludesParent() returns true only if the activity
is not finish and is opaque since 99d6f0e, which caused side-effects
to ActivityRecord#fillParent().

Bug: 155343623
Test: Close a freeform activity and examine the app transition
Change-Id: I30f7071e5dadade8dc0aa3a7c8a573bf72c81f72
2020-05-10 22:08:18 +08:00
Louis Chang
83dd0adecb Merge "Updates visibility before trying to notify task stack changes" into rvc-dev 2020-05-10 13:42:56 +00:00
TreeHugger Robot
0f49e922c5 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-10 05:31:36 +00:00
TreeHugger Robot
2808c4221a Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-10 05:29:35 +00:00
TreeHugger Robot
04bfb26df4 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-10 05:27:33 +00:00
TreeHugger Robot
9de7a37c57 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-10 05:27:21 +00:00
TreeHugger Robot
a7481e3aa6 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-10 05:15:31 +00:00
TreeHugger Robot
5c26fdd47c Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-10 05:11:40 +00:00
TreeHugger Robot
0cd0cb7e19 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-10 05:10:31 +00:00
TreeHugger Robot
91584727f3 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-10 05:09:21 +00:00
TreeHugger Robot
c9a7460c77 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-10 05:01:34 +00:00
TreeHugger Robot
0e66dda128 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-10 04:59:44 +00:00
Jason Hsu
5c8f27a56e Merge "Logs accessibility shortcut behavior." into rvc-dev 2020-05-10 03:06:30 +00:00