474172 Commits

Author SHA1 Message Date
Jiyong Park
db589dded4 Mark some aidl_interface modules as unstable
With b/152655547, all aidl_interface modules are considered as stable
unless it is explicitly with "unstable: true". This change marks the
aidl_interface that are not used across updatable module bounraries
as unstable, so that the build system does not run the API
dumping/checking on them.

Bug: 152655547
Test: m
Change-Id: I1257c66de6dd42b2d32d47ed74cb2878f79d14fb
2020-04-13 13:00:47 +09:00
TreeHugger Robot
ec38d551e3 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-13 01:27:51 +00:00
TreeHugger Robot
3a064c9f69 Merge "Resend previous inline suggestions when IME hides and shows again" into rvc-dev 2020-04-13 00:13:23 +00:00
Lucas Dupin
bce51ad5b5 Merge "Fix wallpaper flickering when turning screen off" into rvc-dev 2020-04-12 18:26:50 +00:00
Bill Yi
d2b3c8ac65 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I27e80e8c82d076d68169ff314630dfeefc9fdd01
2020-04-12 10:35:07 -07:00
Bill Yi
88a267dbf2 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ifb495830cd4a7b8641fbddb84add7049b05db54c
2020-04-12 09:23:08 -07:00
Bill Yi
13d870c8cd [automerger skipped] Import translations. DO NOT MERGE am: 3acd7a3db8 -s ours
am skip reason: subject contains skip directive

Change-Id: Iba40c63bf08c049a1d15cf18012d1e92f6715b64
2020-04-12 06:35:13 +00:00
Bill Yi
3acd7a3db8 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: If8966d8a24569244520ab818d82b39c08f64a936
2020-04-11 17:17:00 -07:00
Bill Yi
e8d42c45ca Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Iee1c308781f39c87526b883a4b56f5df4f4c0c5b
2020-04-11 16:51:38 -07:00
Andrii Kulian
bba1891e80 Merge "7/n Use display area instead of display id in ATM methods" into rvc-dev 2020-04-11 16:33:24 +00:00
TreeHugger Robot
01cc8a3372 Merge "Set transport types to resolver" into rvc-dev 2020-04-11 14:25:27 +00:00
TreeHugger Robot
18b8b2d75e Merge "Fix typo in stack traversal" into rvc-dev 2020-04-11 06:55:29 +00:00
chenbruce
5d95562622 Set transport types to resolver
For a given network, resolver doesn't know what transport types are.
Therefore, when a new network is created or transport types are changed
in a give network, transport types will be updated and sent by calling
setResolverConfiguration(). In the same time, if link properties or
transport types are null, setResolverConfiguration() won't be called.
The original behaviors of setResolverConfiguration() aren't changed.
Only increasing one new behavior that when a given network has transport
type change, calling setResolverConfiguration() directly and resolver
updates the transport types for that given network.

Bug: 143732914
Test: atest FrameworksNetTests
      atest FrameworksNetIntegrationTests
Change-Id: I6527cde0e177ba08c886576131b35fc769c2bb53
2020-04-11 14:39:59 +08:00
TreeHugger Robot
507bbaeb9b Merge "WifiConfiguration: Add a method to check if keymgmt needs preShareKey" into rvc-dev 2020-04-11 05:55:19 +00:00
Chalard Jean
ce6aa16b80 Merge "Fix a theoretical NPE" into rvc-dev 2020-04-11 05:06:32 +00:00
Daniel Bright
2a639e9786 Merge "Add CarrierConfig key to customize apn priority" into rvc-dev 2020-04-11 04:56:25 +00:00
Roshan Pius
71709e04c9 WifiConfiguration: Add a method to check if keymgmt needs preShareKey
Bug: 153435438
Test: atest android.net.wifi
Change-Id: If67d853000d99f32204bf0b8b95465909e8740e2
2020-04-11 04:38:59 +00:00
Tej Singh
e715d2f0e7 Merge "Statsd test mapping" into rvc-dev 2020-04-11 03:49:17 +00:00
Treehugger Robot
67ac7abd21 Fix a theoretical NPE
Test: NetworkAgentTests
Bug: 153718627

Change-Id: I955b6dac6de48b12696dc640f131f5983ac552df
Merged-In: I08f57cce0cd85d5cd66e9a0ef948224290e9200e
(cherry picked from commit 31492c708746a51f70c74913a4d6cd97bf06ae63, aosp/1284575)
2020-04-11 03:26:27 +00:00
TreeHugger Robot
72a3d44773 Merge "Camera: Fix condition check for min/max zoom ratios" into rvc-dev 2020-04-11 02:19:12 +00:00
Andrii Kulian
1cb59dd027 7/n Use display area instead of display id in ATM methods
Bug: 152116619
Test: WM CTS and unit tests
Change-Id: I2267fdb7fc0e6e87ab8c3e9794de37947f2a70e7
2020-04-10 18:25:21 -07:00
Yurii Zubrytskyi
207f1d3036 Merge changes I668e8664,Ia44f7e45 into rvc-dev
* changes:
  [incfs] Fix a crash in worker thread calling JNI
  [incfs] Make native library extraction async
2020-04-11 01:24:45 +00:00
TreeHugger Robot
2f601f4dbe Merge "LiveData#getValue can return null" into rvc-dev 2020-04-11 01:19:37 +00:00
Feng Cao
1f0b18175c Resend previous inline suggestions when IME hides and shows again
* when IME hides (onInputViewFinish), autofill manager service will
  send an empty inline suggestions response to clear the previous
  non-empty response
* when IME shows again (onInputViewStart), if the focus didn't change,
  the autofill manager service will resend the previous non-empty inline
  suggestions response to the IME

Test: atest android.autofillservice.cts.inline
Test: atest CtsInputMethodTestCases
Bug: 152577411
Bug: 153702698

Change-Id: Ic6a4b1db54c93040dc47c2a0d1cdc2e98f64d8ff
2020-04-10 17:53:31 -07:00
Youngjun Kwak
0abf11e202 Merge "Implement AAOS-specific KeyguardViewController and decouple keyguard from statusbar." into rvc-dev 2020-04-11 00:42:04 +00:00
Daniel Bright
14ad84249a Add CarrierConfig key to customize apn priority
Test: atest on com.android.internal.telephony.dataconnection
Test: Make phone call
Test: Send text message
Test: Hit websites on chrome
Test: Override pririties using carrier config using broadcast
Bug: 152324921
Change-Id: Ib2139a93768999c2a867e40fea8d86c0ce730130
Merged-In: I259071334c135709fc98c989a9b7c8c35f449578
2020-04-10 23:53:21 +00:00
Sarah Chin
31354ac59f Merge "Add carrier configs for NR SA unmetered" into rvc-dev 2020-04-10 23:38:37 +00:00
TreeHugger Robot
5b3e4d946f Merge "Make internal printing tests compatible with helpers" into rvc-dev 2020-04-10 23:15:19 +00:00
TreeHugger Robot
c3721ac874 Merge "Deprecates the animatingBounds from WM to SysUI" into rvc-dev 2020-04-10 23:13:52 +00:00
TreeHugger Robot
f622ff9add Merge "Fix preventable NPE & probable others" into rvc-dev 2020-04-10 23:03:15 +00:00
Andrii Kulian
5bb053bfe7 Fix typo in stack traversal
Bug: 152116619
Test: RootActivityContainerTests#testRemovingStackOnAppCrash_multipleDisplayAreas
Change-Id: I1672bc0c712c2bfd3f2f87139414da612a039226
2020-04-10 16:01:07 -07:00
Robert Snoeberger
0cf2bc2f53 LiveData#getValue can return null
The documentation recommends not calling this method on a background
thread. The problem is that it returns null until the value is set, and
setting the value requires waiting for the set-task to run on the main
thread.

Fixes: 153697933
Test: seek bar is still working
Change-Id: Idbb02e1c9baafd1676f67c1a5408107ed84c41d2
2020-04-10 18:51:36 -04:00
Lucas Dupin
97f0c5fecd Fix wallpaper flickering when turning screen off
Test: visual
Bug: 153559173
Change-Id: If16a59464b4524e757f6df0c372d64a8791770b4
2020-04-10 15:23:38 -07:00
kwaky
4ed2e207c5 Implement AAOS-specific KeyguardViewController and decouple keyguard from statusbar.
Bug: 150162295
Bug: 150164054
Test: Manual. Unit Tests Pending.
Change-Id: I66586e15d114eb6da55254f778511bde4fce3154
2020-04-10 15:22:51 -07:00
Joshua Duong
4d7fb0b4c2 Merge "Hide notification shade when WifiDebuggingActivity is shown." into rvc-dev 2020-04-10 21:59:01 +00:00
Robert Snoeberger
a86df87eaa Merge "Get media devices for each media application" into rvc-dev 2020-04-10 21:46:23 +00:00
Fabian Kozynski
0935694b5a Merge "Add controls rearrange activity" into rvc-dev 2020-04-10 21:02:01 +00:00
Benjamin Gordon
65bab93fcc Make internal printing tests compatible with helpers
WorkflowTest and IPrintManagerParametersTest extend BasePrintTest from
CtsPrintTestCases, which means they now try to load a helper when
BasePrintTest.setUp() runs.  Add the helper installer target preparer
and package to their build files so that these can be found as expected.

With UiDevice being removed from BasePrintTest, also move getUiDevice()
over into the internal tests directly so that they can continue using it.

Bug: 153727434
Test: atest PrintSpoolerOutOfProcessTests android.test.IPrintManagerParametersTest
Change-Id: I7ff580c4288c83a69e319ff3668dcb98b11e4f41
2020-04-10 14:57:22 -06:00
Yurii Zubrytskyi
8632140038 [incfs] Fix a crash in worker thread calling JNI
Worker thread has to initialize JNI separately to be able
to call into managed binders implemented in the same
system_server process, e.g. DataLoaderManager

Bug: 153513507
Test: adb install megacity.nov4.apk; adb install megacity.v4.apk
Change-Id: I668e8664361cd2fb3353ec50efd689c7d613658f
2020-04-10 13:47:54 -07:00
Hongwei Wang
3c981f6eb7 Deprecates the animatingBounds from WM to SysUI
PipTouchHandler, similar to other components in SysUI, should be in-sync
with the destination bounds calculated within SysUI rather than WM.

Fixed also the empty movement bounds upon the first call to
PipTouchHandler#onMovementBoundsChanged. Together, this change should
fix the PIP not being lifted on IME show up. PipTouchHandlerTest is
updated correspondingly.

Bug: 153352899
Test: manually enter/exit PiP
Test: atest PipTouchHandlerTest
Change-Id: I2912af2a181b7fb57c6d90751744d46c6b3366d2
2020-04-10 13:47:14 -07:00
TreeHugger Robot
47709f0e8b Merge "Controls UI - Support detail panels" into rvc-dev 2020-04-10 20:45:45 +00:00
Mady Mellor
2dce0fe593 Fix preventable NPE & probable others
Test: treehugger
Bug: 153698788
Change-Id: I77bab3f8db7dc633784a2bbb03c57125726c1ffe
2020-04-10 13:44:35 -07:00
Roshan Pius
661a6fdd56 Merge "wifi: Add subfilters for android.hardware.wifi" into rvc-dev 2020-04-10 20:40:04 +00:00
TreeHugger Robot
186affa9af Merge "Controls a11y - Set activity titles" into rvc-dev 2020-04-10 20:14:08 +00:00
TreeHugger Robot
55815db140 Merge "Add /apex to the list of allowed SystemServer paths" into rvc-dev 2020-04-10 19:52:26 +00:00
Yurii Zubrytskyi
da208016d6 [incfs] Make native library extraction async
IncrementalService can create the library files beforehand, but
delay filling in their data. As it takes quite a while in
general (over a second in cases when the phone is busy), it's
better to run the unzipping and filling in a separate thread
and only make sure it finishes before the whole installation
process is complete.
This speeds up the megacity.apk installation by ~250-300ms,
1000-1100ms -> 750-800ms

Bug: 153513507
Test: adb install megacity.apk

Change-Id: Ia44f7e45b9e0abaebdfb6fe5352f9dcf29ab4ece
2020-04-10 12:30:49 -07:00
TreeHugger Robot
03c66eb0e4 Merge "Update READ_PHONE_STATE doc to remove reference to phone number" into rvc-dev 2020-04-10 19:27:23 +00:00
Joshua Duong
fab030b9c0 Hide notification shade when WifiDebuggingActivity is shown.
Wireless debugging can be enabled from a quick settings tile, and this
gets covered by the notification shade.

Bug: 153275926

Test: Enable wifi debugging qstile from Settings > Developer options >
Quick settings developer tiles > Wireless debugging. On notification
shade, enable wireless debugging on an untrusted network. Notification
shade should be hidden to reveal the WifiDebuggingActivity.

Change-Id: I347e23ab85ee1235c20eab9a2318e1d8afe8975a
(cherry picked from commit 96f32de847a25c1c4a33b2e3d6c0f402ae64d2d4)
Exempt-From-Owner-Approval: cherry-pick
2020-04-10 19:11:33 +00:00
Anton Hansson
a31590bb4a Merge "Use sdk_version: none for platform stubs" into rvc-dev 2020-04-10 18:53:30 +00:00
Chris Wren
1886acb2c4 Merge "port more global actions legacy logs to new pipeline" into rvc-dev 2020-04-10 18:42:46 +00:00