Commit Graph

468813 Commits

Author SHA1 Message Date
Riddle Hsu
3b9ac733e4 Polish the transition when unlocking to home
- Only take snapshot if keyguard is secure because the snapshot
  doesn't help too much if there is unlocking window animation,
  because screen is already turned on in this case.
- Only use the snapshot when unlocking to home directly because
  the visual look may be worse with translate animation.
- Dismiss the snapshot starting window directly when the main
  window is ready, so it has less chance to see the fading
  translucent outdated snapshot.

Bug: 140811348
Bug: 148553119
Test: Unlock device with fingerprint and password.
      Check the top area of home doesn't have obvious
      fading scrim.

Change-Id: Ifb1302bd185d83ca9b203cf5d01a8f50fa1d6e69
2020-02-18 16:34:06 +08:00
TreeHugger Robot
48b2f06621 Merge "Fix bug in StatsService which prevents any shell command from execution." 2020-02-18 08:13:23 +00:00
Tarandeep Singh
2b39e764ab Window Manager Flag Migration (14/n) (Flips the flag)
Fully change to the new insets mode.

Bug: 118118435
Test: atest InsetsSourceProviderTest InsetsStateControllerTest
            InsetsPolicyTest WindowStateTests CommandQueueTest
            RegisterStatusBarResultTest InsetsFlagsTest
            LightBarControllerTest RegisterStatusBarResultTest
            ViewRootImplTest DisplayPolicyLayoutTests
            DisplayPolicyInsetsTests DisplayPolicyTests
            TaskSnapshotSurfaceTest
            AnimatedVectorDrawableParameterizedTest

Change-Id: I2041074beb4a6fd9da189c1d9127fc0ed1999770
2020-02-18 15:53:23 +08:00
Mark Chien
bf979428e4 Merge "Add tethering client callbacks" 2020-02-18 07:52:59 +00:00
Jorim Jaggi
090ec99274 Temporarily ignore ScreenDecorWindowTests
We need to implement mapping between PRIVATE_FLAG_IS_SCREEN_DECOR
windows and inset providers before these tests can pass.
Temporarily ignore them so we can flip the flag.

Test: n/a
Bug: 145242835
Bug: 118118435
Change-Id: Ib0960938c01c8408d355ddb919b5db8d65095905
2020-02-18 15:52:31 +08:00
Jorim Jaggi
001b3418e3 Allow showing when control target is IME fallback
When we need to make the IME fallback the control target, we also
need to allow showing the IME as the existing check doesn't pass.

Bug: 111084606
Test: MultiDisplaySystemDecorationTests.testCrossDisplayBasicImeOperations
Test: MultiDisplaySecurityTests.testNoInputConnectionForUntrustedVirtualDisplay
Change-Id: Ibbf21a8da2e523fce1703b80b1cba45c0989eecf
2020-02-18 15:48:49 +08:00
TreeHugger Robot
3c51ff6bd8 Merge "Add comments and prevent duplicate experiment ids being added." 2020-02-18 07:32:58 +00:00
Chalard Jean
11f21993b5 [NS D04] Implement a simple speed comparison between scores.
This is not used yet to avoid making the change too big to review,
but D05 will use this. Refer to D05 for how this is going to be
used.

Test: ConnectivityServiceTest
Change-Id: I32c12702c8bce959682b02f157946d3f37b12a0c
2020-02-18 16:15:22 +09:00
Chalard Jean
b3c546ce0c [NS D03] Migrate the bad wifi avoidance policy
Test: ConnectivityServiceTest
Bug: 113554781

Change-Id: I688593cc0379a0d2042e30fbe83e549dcb02723e
2020-02-18 16:06:10 +09:00
Treehugger Robot
71bfe434ea Merge "Check for dump permission before other permissions." am: f8af692214 am: c046c8905e am: b4e882bfce
Change-Id: Ia46c91c95fe0022fa1f3c66d98cf165a09151c9e
2020-02-18 06:35:28 +00:00
Benedict Wong
a265e4325d Merge changes Ide9daebc,Id47ada57 am: 88ec62afa9 am: eb43144549 am: 99c31b925c
Change-Id: Iaacfbe8b221d79e3d06d0d7ea81528db13e4611a
2020-02-18 06:35:06 +00:00
Chiachang Wang
eb79b4b002 [automerger skipped] Merge "Add NETWORK_SETTINGS to SystemApi" am: 0ab508981a am: c4f123463a am: 6d20c0e20d -s ours
am skip reason: skipped by user ngeoffray

Change-Id: I8d874eba5aa1303ee01b369d9704de6c12329889
2020-02-18 06:34:48 +00:00
Chalard Jean
78b6667292 Address comments on ag/10316753
Test: NetworkScoreTests
Change-Id: Ib4754c69e8bca12cda459d93e60aaecc7e23b21d
2020-02-18 15:17:16 +09:00
Kyunglyul Hyun
d9bb4d707e Fix typo
Test: run cts related to media router 2
Change-Id: I88557333b7488c48a9a2d9afa90678752340d7d9
2020-02-18 15:05:26 +09:00
Chalard Jean
da0c5df4af Merge "[NS D02] Mix in the ignore on wifi policy." 2020-02-18 05:46:33 +00:00
Remi NGUYEN VAN
43b0e5c6c7 Add tethering client callbacks
The callbacks are fired when the list of connected clients or their IP
addresses / hostname change.

Test: flashed, connected 2 devices, verified callbacks
Test: atest TetheringTests
Bug: 135411507
Change-Id: I96291038cf7b39a67547a5f74fcd7cbedc1ca002
2020-02-18 13:32:16 +08:00
wilsonshih
c21e6de908 Prevent KeyguardPresentation been dismissed.
By default Presentation can be dismiss if DisplayMetrics has changed.
However, even when DisplayMetrics has changed, we should still show
KeyguardPresentation on secondary display.

Bug: 149004025
Test: follow issue description.
Test: atest MultiDisplayKeyguardTests
Change-Id: Icf7f5726648bc8b8037bbdd31eac3f0b1cbd5945
2020-02-18 13:24:27 +08:00
TreeHugger Robot
5b6fb2aea2 Merge "Use consistent calling uid and package in navigateUpTo" 2020-02-18 04:28:58 +00:00
Dieter Hsu
f1273c4fca Refresh new extra data AccessibilityNodeInfo.ExtraRenderingInfo
Bug: 136404500
Test: atest AccessibilityTextActionTest AccessibilityNodeInfoTest
Change-Id: Ib1a8556d662d31ffbf3366e1482588ba058530cd
2020-02-18 12:18:52 +08:00
TreeHugger Robot
2d4e0f25f2 Merge "Add the locale field and an extra Bundle to the InlineSuggestionsRequest." 2020-02-18 04:00:52 +00:00
TreeHugger Robot
dc50039ae6 Merge "Remove code duplications" 2020-02-18 03:35:26 +00:00
Hyundo Moon
b5e0afed86 Merge "MediaRouter2: Enhance readability of MediaRouter2ServiceImpl" 2020-02-18 02:32:32 +00:00
timhypeng
f84aaea547 Add media output group panel index
Bug: 146813761
Test: build pass
Change-Id: I01271053b2abb19b700ab450111eb27cf0147ada
2020-02-18 10:28:33 +08:00
Kyunglyul Hyun
96e4893dbe Merge "MediaRouter2: Clean up APIs" 2020-02-18 02:18:14 +00:00
TreeHugger Robot
e65d5c94bd Merge "Add enum for conversation screen" 2020-02-18 02:16:22 +00:00
Hyundo Moon
ea99a6640d Merge "MediaRouter2: Refactor internal classes" 2020-02-18 02:02:09 +00:00
JW Wang
5a91658ad8 Merge "Speed up tests" 2020-02-18 01:48:45 +00:00
Julia Reynolds
0297145502 Add method to retrieve all conversations
Test: atest
Bug: 149583455
Change-Id: Ib57e9d738fc029fd4d63e83f90a2296115150ef7
2020-02-17 20:36:44 -05:00
Julia Reynolds
a625b94d3f Clean up settings and history for deleted convos
Test: atest
Fixes: 149556404
Change-Id: I998ecf39b794b4b3b3daca44875f9754797e0187
2020-02-18 00:59:46 +00:00
Julia Reynolds
b4b35202f4 Add enum for conversation screen
Test: make
Bug: 149583455
Change-Id: I14ae457bc4d301db48b48c86ac62f64ecd0c752f
2020-02-17 19:34:01 -05:00
Sudheer Shanka
285848d88f Re-enable BlobStorePerfTests.
+ Add a shell command to delete a blob.

Bug: 149324953
Test: atest apct-tests/perftests/blobstore/src/com/android/perftests/blob/BlobStorePerfTests.java
Change-Id: Id83086614bd71335fdd461387a84f761b0d9edb7
2020-02-17 16:33:38 -08:00
shubang
c090b6db71 Tuner Java API: minor changes per API review feedback
The feedback is b/149341923

Bug: 149341923
Test: make;
Change-Id: I54f98b2531c73f341ff49d29878e6e30d9d4b105
2020-02-17 16:29:45 -08:00
Mike Ma
afee1bbc35 Merge "Core proto definition for "dumpsys nfc --proto"" 2020-02-17 23:38:10 +00:00
Mike Ma
5313cbcb1b Core proto definition for "dumpsys nfc --proto"
Add NfcServiceProto for protobuf dumpsys of nfc service. Primarily used
by incident service to capture an incident report proto.

Command to invoke (any of the following after lunch and env setup):
$ adb shell dumpsys nfc --proto
$ adb shell incident 3052
$ incident_report 3052

Bug: 146086108
Exempt-From-Owner-Approval: Owners not reachable.
Test: Execute the above commands and compare the output against dumpsys
      nfc.

Change-Id: I024e148d64ccef5441a67efcbad95c622e5df12a
2020-02-17 15:34:36 -08:00
Treehugger Robot
b4e882bfce Merge "Check for dump permission before other permissions." am: f8af692214 am: c046c8905e
Change-Id: Ide554d628c5b68bad064bf156c8f9edf75db3fd2
2020-02-17 22:57:49 +00:00
Treehugger Robot
c046c8905e Merge "Check for dump permission before other permissions." am: f8af692214
Change-Id: I2724cd33d88cf8a75133f0dde46363f7c7721ccc
2020-02-17 22:45:16 +00:00
Treehugger Robot
f8af692214 Merge "Check for dump permission before other permissions." 2020-02-17 22:31:24 +00:00
Benedict Wong
99c31b925c Merge changes Ide9daebc,Id47ada57 am: 88ec62afa9 am: eb43144549
Change-Id: I712e6e42cc754db2513321b3498018b21b94161e
2020-02-17 22:23:15 +00:00
Benedict Wong
eb43144549 Merge changes Ide9daebc,Id47ada57 am: 88ec62afa9
Change-Id: Ied52fed05566a0d75e82007170210205db7832a8
2020-02-17 22:01:24 +00:00
Benedict Wong
88ec62afa9 Merge changes Ide9daebc,Id47ada57
* changes:
  Ensure all VPN runners clean up state when exiting
  Enforce restricted user, getConnectionOwnerUid checks
2020-02-17 21:30:35 +00:00
Jorim Jaggi
8ac64bc013 Merge "Revert "SystemUI Split via TaskOrganizer"" 2020-02-17 21:11:06 +00:00
TreeHugger Robot
2bbd85ce68 Merge "Clear calling id before binder call" 2020-02-17 20:54:31 +00:00
arangelov
23c66647a3 Update work off empty state icon.
Test: manual
Fixes: 149698047
Change-Id: I373f078bcd4048a8678367ed17747b784f38b094
2020-02-17 20:38:05 +00:00
TreeHugger Robot
00ddcc82fe Merge "Import translations. DO NOT MERGE" 2020-02-17 19:47:32 +00:00
TreeHugger Robot
ae0405b504 Merge "Import translations. DO NOT MERGE" 2020-02-17 19:43:29 +00:00
TreeHugger Robot
2a5459ca7d Merge "Import translations. DO NOT MERGE" 2020-02-17 19:41:33 +00:00
TreeHugger Robot
5a2ac9ef58 Merge "Import translations. DO NOT MERGE" 2020-02-17 19:35:49 +00:00
atrost
c14c79bbf3 Check for dump permission before other permissions.
There are test that rely on that being checked first.

Bug: 149350547
Test: atest android.security.cts.ServicePermissionsTest#testDumpProtected
Change-Id: Ifeac7219c217ee522af442e46dc7832b6afb9e42
2020-02-17 19:35:35 +00:00
Nick Chalko
90a13aa688 Merge "Add encoding information to TvTrackInfo" 2020-02-17 19:29:32 +00:00
atrost
24274277e1 Clear calling id before binder call
The permission check in app compat fails without clearing calling id.

Bug: 149662772
Test: launch com.appstem.mammoth, it crashed -> add clearcallingid -> doesn't crash
Change-Id: Ide87da8b8c13e8a10723f379bd4e4b386e5d35e4
2020-02-17 19:26:41 +00:00