479422 Commits

Author SHA1 Message Date
Sungsoo Lim
ca2ba6c9c5 Merge "Do not export private AIDL files of the media module" into rvc-dev am: 383371cdc5
Change-Id: Ife384bb258f2d13b26f5a5986db8efebb418aee2
2020-04-10 06:33:09 +00:00
TreeHugger Robot
79546dbe8d Merge "Fix split task position behavior when landscape" into rvc-dev am: b770ca4746
Change-Id: I5d3b87b659be6918d9f27d8a5dd9c2e01a4d09fb
2020-04-10 06:31:23 +00:00
Sungsoo Lim
383371cdc5 Merge "Do not export private AIDL files of the media module" into rvc-dev 2020-04-10 05:28:21 +00:00
TreeHugger Robot
b770ca4746 Merge "Fix split task position behavior when landscape" into rvc-dev 2020-04-10 05:17:29 +00:00
TreeHugger Robot
5135be6702 Merge "Fine tune performance for notifyContentCapture()" into rvc-dev am: 2a7091d896
Change-Id: I0904cd567a4e4f1a5ed320231d12a830ba3e1300
2020-04-10 04:53:53 +00:00
TreeHugger Robot
2a7091d896 Merge "Fine tune performance for notifyContentCapture()" into rvc-dev 2020-04-10 04:42:58 +00:00
TreeHugger Robot
fb4bb30908 Merge "Determine if the activity is the topmost one" into rvc-dev am: b4d5aef6b0
Change-Id: Ia211070b68bd04b256384618db989abcaadefd02
2020-04-10 04:40:08 +00:00
TreeHugger Robot
b4d5aef6b0 Merge "Determine if the activity is the topmost one" into rvc-dev 2020-04-10 04:07:28 +00:00
TreeHugger Robot
949ce3129c Merge "Change doc for suggestion API" into rvc-dev am: e6897b1950
Change-Id: I2b027f2478319c95001a52543e4a0e1897a31eb6
2020-04-10 03:26:17 +00:00
Winson Chung
6d9820e707 Merge changes I7d2ca2a2,I9f1fc593 into rvc-dev am: cb437ade00
Change-Id: If75e0e60c1988ee9d94a7d3884fc4c905cf21e27
2020-04-10 03:25:49 +00:00
TreeHugger Robot
e6897b1950 Merge "Change doc for suggestion API" into rvc-dev 2020-04-10 03:19:43 +00:00
Winson Chung
cb437ade00 Merge changes I7d2ca2a2,I9f1fc593 into rvc-dev
* changes:
  Fix a couple issues with previous CL (keeping tasks hidden)
  Keep task hidden until task appeared
2020-04-10 03:03:21 +00:00
Eric Laurent
17a15fb191 [automerger skipped] Merge "AudioService: fix audio mode not reset to MODE_NORMAL" into rvc-dev am: 9454e04c8c -s ours
am skip reason: Change-Id Ifb8c66372a8e994edcea628cad7dc2a7ee4763a6 with SHA-1 7d5a0048ce is in history

Change-Id: I910d96cbf41d9c8c94bd46b5ab91fd7a7a13aee2
2020-04-10 02:41:08 +00:00
TreeHugger Robot
4701c1dc6b Merge "Pass inline suggestions renderer info Bundle to Frameworks and IME" into rvc-dev am: c0404ff5e5
Change-Id: I5dbca1e5fce9fa7ba39c905f48cdeb54d93b1ebe
2020-04-10 02:40:30 +00:00
TreeHugger Robot
7da760208c Merge "getDefaultHomeActivity() could return null ComponentName." into rvc-dev am: 1e54504643
Change-Id: Ibbc9f01c154e7d6a6943be7c638f69e71db03287
2020-04-10 02:40:05 +00:00
Eric Laurent
9454e04c8c Merge "AudioService: fix audio mode not reset to MODE_NORMAL" into rvc-dev 2020-04-10 02:31:52 +00:00
TreeHugger Robot
c0404ff5e5 Merge "Pass inline suggestions renderer info Bundle to Frameworks and IME" into rvc-dev 2020-04-10 02:19:23 +00:00
TreeHugger Robot
1e54504643 Merge "getDefaultHomeActivity() could return null ComponentName." into rvc-dev 2020-04-10 02:13:22 +00:00
Louis Chang
a1de080179 Merge "Compute configuration overrides for tasks created by organizer" into rvc-dev am: d398485d3f
Change-Id: Ic5f8d5fc8dfc3028b633d7168567b5670bb42418
2020-04-10 01:29:59 +00:00
Louis Chang
d398485d3f Merge "Compute configuration overrides for tasks created by organizer" into rvc-dev 2020-04-10 01:29:44 +00:00
TreeHugger Robot
d908fc5b68 Merge "Added RingModeTracker" into rvc-dev am: 57404b392b
Change-Id: If550f4cc96c3f0618315d42bade36163e29e4803
2020-04-10 01:29:29 +00:00
TreeHugger Robot
57404b392b Merge "Added RingModeTracker" into rvc-dev 2020-04-10 01:22:38 +00:00
Nate Jiang
69e1136884 Change doc for suggestion API
Add more explanation in doc, when app receive error code calling
suggestion API.

Bug: 150215899
Test: atest android.net.wifi

Change-Id: I8055546be8f12f807c35b9f50b239940a671482e
2020-04-09 18:18:01 -07:00
Calin Juravle
e4c8cc6812 Merge "Enable dexopt for system server dex files" into rvc-dev am: fe92847793
Change-Id: I23fb591ea72df02ec1d9de7df7f2e737631ece0b
2020-04-10 01:08:06 +00:00
Calin Juravle
fe92847793 Merge "Enable dexopt for system server dex files" into rvc-dev 2020-04-10 01:02:16 +00:00
Calin Juravle
4fdf8271ce Enable dexopt for system server dex files
Add logic for dexopt-ing system server dex files. The files
are managed by the DexManager and need special dexopt
arguments.

As such, they have a dedicated dexopt path, that can be
initiated from DexManager. (The arguments are what we currently
use in ZygoteInit#performSystemServerDexOpt)

Test: adb shell cmd package dexopt android
      presubmits
Bug: 148774920
Change-Id: If0c0457f8045e8f475815136fb5ae2f340eb6661
2020-04-10 01:01:50 +00:00
TreeHugger Robot
0f747c25a7 Merge "Make dialog fit under the notch in landscape mode" into rvc-dev am: bc6ad8ec2c
Change-Id: Ic2ae1f0100d8c14265c2fa8dbba873591742da43
2020-04-10 00:55:56 +00:00
TreeHugger Robot
bc6ad8ec2c Merge "Make dialog fit under the notch in landscape mode" into rvc-dev 2020-04-10 00:40:43 +00:00
wumin3
13821952ef AudioService: fix audio mode not reset to MODE_NORMAL
when a app call setMode to set mode to non MODE_NORMAL modes many times with different audio managers in the same process, in this case the "pid" parameters are the same and the "cb" parameters are not the same, then the parameter "cb" registered and the "mCb" in hdlr are not the same, then NoSuchElementException will happen, and when the app was cleared in recent tasks the audio mode will not be reseted to MODE_NORMAL by expected flow.

Bug: 153649105
Test: AudioManagerTest#testAccessMode, CallDetailsTest#testSetVoipAudioMode
Test: manual cell and voip call
Signed-off-by: wumin3 <wumin3@xiaomi.com>
Change-Id: Ifb8c66372a8e994edcea628cad7dc2a7ee4763a6
Merged-In: Ifb8c66372a8e994edcea628cad7dc2a7ee4763a6
2020-04-10 00:37:43 +00:00
TreeHugger Robot
7b784dcead Merge "Fix the ActivityView consuming shade touches." into rvc-dev am: 377e486c34
Change-Id: Ida6ac667e6ff3c6fbafd25106bad992b148f3f5f
2020-04-10 00:26:54 +00:00
TreeHugger Robot
377e486c34 Merge "Fix the ActivityView consuming shade touches." into rvc-dev 2020-04-10 00:05:24 +00:00
Hui Yu
2001fbafec getDefaultHomeActivity() could return null ComponentName.
Bug: 153400018
Test: Manual test
Change-Id: I29d5a8f00563bdf88ab1f7a00d39d6a39a0ed44d
2020-04-09 16:48:53 -07:00
TreeHugger Robot
f355b1f9df Merge "Exposed PooledLambdaImpl.getFriendlyName() as FunctionalUtils.getLambdaName()" into rvc-dev am: 85b561c3c2
Change-Id: I44d9cd437fb07e58dc39a1aae73a63bc4ada8640
2020-04-09 23:39:30 +00:00
Jeffrey Huang
36007bc6bd Merge "Add APEX UIDs to PackageManager query" into rvc-dev am: cb29fa9384
Change-Id: I0e583f83843a030d1afd2eb5a61a9d96d4aef1f1
2020-04-09 23:36:23 +00:00
TreeHugger Robot
8765dc259c Merge "AppLaunch: use iorapd's dumpsys command interface" into rvc-dev am: 6d287f259b
Change-Id: Ia166c79e78c63fef13182b43375b95e60f118de8
2020-04-09 23:27:14 +00:00
TreeHugger Robot
85b561c3c2 Merge "Exposed PooledLambdaImpl.getFriendlyName() as FunctionalUtils.getLambdaName()" into rvc-dev 2020-04-09 23:22:25 +00:00
Jeffrey Huang
cb29fa9384 Merge "Add APEX UIDs to PackageManager query" into rvc-dev 2020-04-09 23:04:26 +00:00
TreeHugger Robot
6d287f259b Merge "AppLaunch: use iorapd's dumpsys command interface" into rvc-dev 2020-04-09 23:02:47 +00:00
Winson Chung
8b5d23ab10 Fix a couple issues with previous CL (keeping tasks hidden)
- Attempting to set the visiblity when the task org is set can happen too
  early and cause the app to not draw and preventing taskAppeared().
  Instead, move this to setHasBeenVisible() to be in line with other
  cases in the system where we defer setting visibility until the apps
  are good to go.  However, if we do this, we also need the first draw
  (including the starting window) to trigger setHasBeenVisible() to
  ensure the task org can hide it in time (the task org will also want
  to receive the task as soon as possible). As a result of moving it out
  of when the task org is set on the task the PIP transition then also
  has to defer setting the visibility of the activity until the first
  draw.
- Also fix a case where we are dispatching task info change before
  taskAppeared().  There's a brief period where the task has an organizer
  set, but the task org state has not added that task yet or sent
  taskAppeared() because it has not yet drawn.  But in that state, config
  changes still happen causing a task info changed call to the task org.

Bug: 152809695
Bug: 152134460
Test: Open a bubble, ensure that we don't see the task in fullscreen
      first.  Enter pip, ensure that we don't see flash of the task
      before SysUI can fade it in.
Test: atest PipAnimationControllerTest
Test: atest TaskOrganizerTests
Test: atest SplitScreenTests

Change-Id: I7d2ca2a2e538f07c73fff79686e040c159c1dce3
2020-04-09 15:56:00 -07:00
Winson Chung
1b5d055f2e Keep task hidden until task appeared
- If the task is previously not visible or has no visible children at
  the point when we start controlling it in the task org, hide the task
  until we send taskAppeared to ensure that the task org can reparent
  and show it otherwise we could see a flash of the task.

  This happens mainly from two cases:
  - when starting a new task with a given win mode, we show it and wait
    for first draw before notifying the task org
  - when transitioning into pip from swipe up, the activity is hidden
    and when it requests to enter pip is made visible again

  Since we are hiding the task w/ the pending transaction, we also need
  to defer all task org callbacks until that's applied to ensure proper
  lifecycle of the calls.
- Also skip app transitions for task org tasks for now

This reverts commit d2fb07e4f632af9ab16667c58b1c1d40711f1544.

Bug: 152809695
Bug: 152134460
Test: Open a bubble, ensure that we don't see the task in fullscreen
      first.  Enter pip, ensure that we don't see flash of the task
      before SysUI can fade it in.
Test: atest PipAnimationControllerTest
Test: atest TaskOrganizerTests
Test: atest SplitScreenTests
Change-Id: I9f1fc5931df1d69a7086c02b633347162cda94bf
2020-04-09 15:55:03 -07:00
Sergey Volnov
9dddfdcd12 Merge "Fix Content Capture Data Share" into rvc-dev am: 51ecd453b3
Change-Id: I6a955d9605d1a3604b84c8c33574bba91d6d0014
2020-04-09 22:52:34 +00:00
Sergey Volnov
51ecd453b3 Merge "Fix Content Capture Data Share" into rvc-dev 2020-04-09 22:35:08 +00:00
TreeHugger Robot
d6119b4370 Merge "Use headline font in NotificationInfo style" into rvc-dev am: 1ce5fdde3c
Change-Id: Ieab5b78e016bd246253560985f9b7f3aae351fac
2020-04-09 22:19:43 +00:00
Cody Kesting
bfa6da0970 Merge "Fix typo in VpnManager Docs." am: 138575a48c am: 245ef6bdf9
Change-Id: If72bc191faad9e5024e8d2200aceed88803ef102
2020-04-09 22:10:32 +00:00
TreeHugger Robot
1ce5fdde3c Merge "Use headline font in NotificationInfo style" into rvc-dev 2020-04-09 22:08:44 +00:00
Lucas Dupin
26571e90c8 Make dialog fit under the notch in landscape mode
Test: visual
Fixes: 152628601
Change-Id: I0082ab2fac2182de378ded53b375d3ff110eff58
2020-04-09 15:01:31 -07:00
TreeHugger Robot
b778e53b2d Merge "Request the IME to hide current inline suggestion" into rvc-dev am: 232ffbfe8f
Change-Id: I47fc82059f95dd33c9869962f3d489a0fb90564f
2020-04-09 21:50:42 +00:00
TreeHugger Robot
232ffbfe8f Merge "Request the IME to hide current inline suggestion" into rvc-dev 2020-04-09 21:49:49 +00:00
TreeHugger Robot
74cdb6fdf1 Merge "Add test for content inflation during row inflation" into rvc-dev am: c7514c9f71
Change-Id: I66280b4e93d230945f0d58c915323e3a8499b35a
2020-04-09 21:49:24 +00:00
Joshua Tsuji
ba9fef0427 Fix the ActivityView consuming shade touches.
Test: manual
Fixes: 153675983
Change-Id: I2f21124d017402f2197d29015e973e013a643389
2020-04-09 17:41:15 -04:00