Commit Graph

480418 Commits

Author SHA1 Message Date
TreeHugger Robot
f1f28c8ec4 Merge "When opening from locked shade, wait for the shade to unlock before expanding." into rvc-dev 2020-06-19 20:59:36 +00:00
TreeHugger Robot
861a8178f9 Merge "Camera: Allow reprocessing session to configure physical streams" into rvc-dev 2020-06-19 20:46:04 +00:00
TreeHugger Robot
6c8c9ea8cb Merge "Fix the exception when shortcut info was removed before loading persisted bubbles" into rvc-dev 2020-06-19 20:40:09 +00:00
TreeHugger Robot
a2e3ae1365 Merge "Controls UI - Marquee + transient status == no good" into rvc-dev 2020-06-19 20:38:29 +00:00
TreeHugger Robot
4058b3b950 Merge "[WifiEnterpriseConfig] Update javadoc for setCaCert/Path" into rvc-dev 2020-06-19 20:17:59 +00:00
Joshua Tsuji
494fdeaf6e When opening from locked shade, wait for the shade to unlock before expanding.
Bug: 159270619
Test: open notifs from a locked shade!
Change-Id: Ibc8312895c4e4321b6a98b60a24ab7c13662e239
2020-06-19 15:26:18 -04:00
Matt Pietal
2f63cc02b7 Controls UI - Marquee + transient status == no good
Temporary text was not given enough time to be visible, and could
cause confusion. Remove all temporary text in favor of leaving it
until the app decides to update, or the user takes another action.

Fixes: 159163559
Test: manual, controls mock + large font, touch on TYPE_TV
Change-Id: I6093c450e286cd1aac489847180877d78faa7ed3
2020-06-19 15:23:40 -04:00
Kevin Chyn
5731877f1e Merge changes from topic "b/159260556" into rvc-dev
* changes:
  Revert "Do not start biometric auth if encrypted or lockdown"
  Revert "Add SafetyNet logging for b/79776455"
2020-06-19 19:12:47 +00:00
Nathan Harold
811cf5d8f5 Merge "Allow Background Location Access for Shell" into rvc-dev 2020-06-19 18:48:07 +00:00
Pinyao Ting
4ddd778d0e Fix the exception when shortcut info was removed before loading
persisted bubbles

Bug: 159243080
Test: manual
Change-Id: Ie3211ae97de1ed146a639424ffbc7f19bd496c8e
2020-06-19 11:37:08 -07:00
Khaled Abdelmohsen
592da34c0b Merge "Modify source stamp format" into rvc-dev 2020-06-19 18:36:27 +00:00
Hai Shalom
21f67c5fb0 [WifiEnterpriseConfig] Update javadoc for setCaCert/Path
Update javadoc for WifiEnterpriseConfig#setCaCert, setCaCerts and
setCaPath to document that if not set, then the server certificate
validation is skipped and the connection is not secure.

Bug: 159458442
Test: No code changes
Change-Id: Icb26b340f743faf129544a0d889dcb7bc1a76551
2020-06-19 11:30:44 -07:00
Govinda Wasserman
6650cd46aa Merge "Generify arguments to AssistLogger" into rvc-dev 2020-06-19 18:30:42 +00:00
Ben Lin
79554c081d Merge "Disable drag handle." into rvc-dev 2020-06-19 18:27:02 +00:00
Miranda Kephart
703aaba6c6 Merge "Close screenshot UI on CLOSE_SYSTEM_DIALOGS intent" into rvc-dev 2020-06-19 18:21:55 +00:00
TreeHugger Robot
e9db363b54 Merge "Allow exposing ChunkIndex as MediaFormat" into rvc-dev 2020-06-19 18:06:59 +00:00
Nikolas Havrikov
0cf1ad8495 Merge "Ensure mShowDialogs gets updated as part of global config update" into rvc-dev 2020-06-19 17:49:34 +00:00
Shuzhen Wang
84a475a20f Camera: Allow reprocessing session to configure physical streams
Do not disallow reprocessable session to use physical streams.

At the same time, we cannot claim reprocessing to/from physical streams
work because:
1. It's undefined behavior to reprocess an input buffer into a physical
stream of different physical camera, or an input physical stream buffer
into an output buffer of different physical camera.
2. If the reprocessing input buffer comes from different physical cameras
with different sizes, because the current HAL API doesn't support sending
different size buffers through input stream, there isn't a
non-vendor-specific solution available.

Bug: 157123506
Test: vendor testing
Change-Id: I1ccf2b3918c1cb475b1baec10d35c6785b25208d
2020-06-19 17:23:52 +00:00
Ben Lin
d0125c3734 Merge "Revert "Make PipTaskOrganizer protected."" into rvc-dev 2020-06-19 17:18:51 +00:00
Lyn Han
e3f751c42c Merge "Lighten bubble scrim" into rvc-dev 2020-06-19 16:53:05 +00:00
Miranda Kephart
6864874f6d Close screenshot UI on CLOSE_SYSTEM_DIALOGS intent
Bug: 158845370
Fix: 158845370
Bug: 148808304
Test: manual -- tapped search bar, took a screenshot, and then
swiped up to home to verify that the home screen reappeared
correctly

Change-Id: I74d16e71392482185bb87d8f5d71ea93f38a40d6
2020-06-19 12:49:10 -04:00
Fabian Kozynski
d6b99a586a Merge "Change BroadcastDispatcher to 1receiver/action" into rvc-dev 2020-06-19 16:46:11 +00:00
Chavi Weingarten
259309f1d3 Merge "Don't clear mUsingBLASTSyncTransaction until sending callback" into rvc-dev 2020-06-19 16:42:59 +00:00
TreeHugger Robot
171f5f2857 Merge "Another setting.pkg null check" into rvc-dev 2020-06-19 16:28:18 +00:00
Santiago Seifert
d58414732a Allow exposing ChunkIndex as MediaFormat
Adds a parameter for exposing chunk indices as MediaFormats.
The parameter is disabled by default.

Bug: 149906115
Bug: 154120292
Test: atest CtsMediaParserTestCases
Change-Id: I2b64cab71edf0496c1ea730b4833fa2f4dbb6aad
2020-06-19 17:27:06 +01:00
Evan Rosky
fece74693d Merge "Keep ime information up-to-date even when divider invisible" into rvc-dev 2020-06-19 16:08:37 +00:00
Nathan Harold
89796d4936 Allow Background Location Access for Shell
The shell has COARSE and FINE permission, but it
needs background access to support CTS test cases
that must be run with elevated permissions from
the shell.

Bug: 159236070
Test: atest PhoneStateListenerTest#testBarringInfo

Change-Id: Iba3fcb3a43c5df3c30dadf6b7733eaee03d1d0e3
2020-06-19 09:03:29 -07:00
TreeHugger Robot
467891337c Merge "Adding internal version of getUsers without permission check." into rvc-dev 2020-06-19 15:59:00 +00:00
Yara Hassan
51715229f9 Merge "Catch RemoteExceptions in DataShareCallbackDelegate" into rvc-dev 2020-06-19 15:49:17 +00:00
TreeHugger Robot
ade182cdb6 Merge "Fix off-center bubble pointer" into rvc-dev 2020-06-19 15:46:29 +00:00
TreeHugger Robot
eca0b3f9fb Merge "「DO NOT MERGE」Revert "Get ApnIpType from ConnectivityManager#getLinkProperties()"" into rvc-dev 2020-06-19 15:21:36 +00:00
Fabian Kozynski
f3fb89347a Change BroadcastDispatcher to 1receiver/action
With the aggregated filter, as it had to be registered when any single
action changed (added for first time or removed the last receiver for
that action), if there was any action that got periodically
registered/unregistered, it would cause frequent cycles of
unregister/register with Context. This leads to interruption of service.

With this change, changes in one action would not affect receivers for
the others.

Test: manual, SystemUI works as expected
Test: manual, dumps and logs
Test: atest UserBroadcastDispatcherTest ActionReceiverTest
Bug: 148390204
Bug: 157165818

Change-Id: I7961f6c60600dfa0407615319c43bb72e43b4795
2020-06-19 11:21:02 -04:00
Antoan Angelov
db36471478 Merge "Show disclosure for organization-owned work profile" into rvc-dev 2020-06-19 14:52:02 +00:00
TreeHugger Robot
c57d55b7b0 Merge "Pass updatable driver path to native GPU service." into rvc-dev 2020-06-19 14:24:30 +00:00
Yara Hassan
be678673b3 Catch RemoteExceptions in DataShareCallbackDelegate
Catch the RemoteExceptions thrown in DataShareCallback's accept() and
reject() methods, as throwing an exception could result in the
ContentCaptureService crashing.

Bug: 159213080
Fixes: 159213080
Test: ran cts tests
Change-Id: I4ce8f15c835fba665a0657c7b3ed898f4e091b19
2020-06-19 15:01:45 +01:00
Govinda Wasserman
f5a95509d5 Generify arguments to AssistLogger
This allows the logger to be used for any type of event, not just the
AOSP defined ones.

Test: Tested locally
BUG: 147508374
Change-Id: Ibcd64912e048f9f997764f0c24e8c85f72c74fd1
2020-06-19 09:59:39 -04:00
Jorim Jaggi
5cc486b1a1 Merge changes Ia7d9514e,I3e9e4f47 into rvc-dev
* changes:
  Yearly Window Manager spring cleaning #2
  Yearly Window Manager spring cleaning #1
2020-06-19 13:58:45 +00:00
TreeHugger Robot
e8e3bf523a Merge "Revert "Only promote remote animator to top sched group during animation"" into rvc-dev 2020-06-19 13:56:46 +00:00
Fabian Kozynski
d73e5df1eb Merge "Add multi-user support for AutoTileManager" into rvc-dev 2020-06-19 13:36:54 +00:00
Nikolas Havrikov
7771e6ebf5 Ensure mShowDialogs gets updated as part of global config update
The "App keeps crashing" dialog appears on Android TV even
though it should not. This would usually be accounted for
by setting mShowDialogs to false in the ActivityTaskManagerService
on boot. However, this does not happen because the service uses a
method of the ActivityTaskManager which pulls its configuration
from the context, which at this point is not yet updated to reflect
relevant values like the uiMode.

This change solves this problem by introducing an internal method
in the ActivityTaskManager, which acts on a given configuration
instead of the one from the context. This is helpful because the
caller ActivityTaskManagerService is holding on to the correct
configuration in the first place.

Furthermore, this change does not impact any outward-facing
behavior, nor does it introduce code duplication as the old
method of ActivityTaskManager new merely delegates its task
to the new one with the same configuration it would have
originally pulled from the context.

Test: Manually on ADT-3 device
Bug: 159019027
Change-Id: I0fac574a69a19243c2e62b967978ef5d8318ee51
2020-06-19 15:23:50 +02:00
Alex Johnston
2a02c8e381 Merge "Change behaviour of screen capture disabled" into rvc-dev 2020-06-19 12:20:38 +00:00
Jin Seok Park
018afaae7c Merge "[Media ML] Sync with original implementation" into rvc-dev 2020-06-19 11:31:04 +00:00
Jorim Jaggi
268bf68882 Yearly Window Manager spring cleaning #2
- Cache WPC
- Use iteration instead of recursion to check animating

Test: RelayoutPerfTest
Bug: 159056748
Change-Id: Ia7d9514e14568b1aabc08e3b9f9106673e588f2d
2020-06-19 13:21:28 +02:00
Jorim Jaggi
bfa95a71fb Yearly Window Manager spring cleaning #1
- Replace InsetsState ArrayMap with simple array.
- Cache same values in InsetsPolicy.
- Only access Dimmer if dimming

Test: InsetsState test etc.
Bug: 159056748
Change-Id: I3e9e4f473eaa05b2013b7a6d0f37cd9c1fac81dd
2020-06-19 13:18:38 +02:00
Alex Florescu
15522541ff Merge "Add foreground priority flag to broadcasts" into rvc-dev 2020-06-19 10:05:50 +00:00
TreeHugger Robot
28c2d1dcca Merge "Let only Ethernet manage ethernet interface up and down" into rvc-dev 2020-06-19 08:17:25 +00:00
TreeHugger Robot
c266b0398e Merge "Fix MediaEvent release issue" into rvc-dev 2020-06-19 07:29:26 +00:00
Mark Chien
ce7403cdba Let only Ethernet manage ethernet interface up and down
When LAN link is changed for using ethernet interface from Ethernet tethering to Ethernet,
there is confiict as Ethernet Tethering is trying to make ethernet link down and Ethernet is trying to make ethernet link up.

So, this would make Ethernet only manage ethernet interface link state.

Test: manual
Bug: 130840861
Merged-In: I1cd40ae764bdeecbb59e3889e9399b7f4b05f9cc
Change-Id: I1cd40ae764bdeecbb59e3889e9399b7f4b05f9cc
2020-06-19 06:49:46 +00:00
TreeHugger Robot
44b233c55d Merge "Fix the context leak in the ContentCapture" into rvc-dev 2020-06-19 06:38:19 +00:00
TreeHugger Robot
1115ecda57 Merge changes I2292c1cb,I8f60c137 into rvc-dev
* changes:
  Test that IpNeighborMonitor is stopped when IpServer stops.
  Memory leak due to no stop for IpNeighborMonitor.
2020-06-19 06:36:50 +00:00