Commit Graph

113784 Commits

Author SHA1 Message Date
Winson Chung
a8a123c1ea Merge "Add WCT call to set container hidden state" into rvc-dev 2020-03-17 16:35:58 +00:00
Marco Ballesio
e12741e825 Merge "freezer: thaw on dumpsys data collection" into rvc-dev 2020-03-17 16:07:27 +00:00
Cody Kesting
fffee66588 Merge "Add support for registering test networks with administrators." into rvc-dev 2020-03-17 15:31:26 +00:00
Cody Kesting
e09e0db478 Merge "Update ConnectivityDiagnosticsCallback function name." into rvc-dev 2020-03-17 15:29:55 +00:00
Abhijeet Kaur
4bd6e9d0a5 Merge "Move Scoped Storage compat flags definition to frameworks/base" into rvc-dev 2020-03-17 15:29:21 +00:00
TreeHugger Robot
1264239382 Merge "Make IME fit navgation bars at left and right sides" into rvc-dev 2020-03-17 14:59:29 +00:00
Eric Sandness
d204f75d49 Merge "Don't Show Work Profile Toast During Setup" into rvc-dev 2020-03-17 14:57:43 +00:00
Abhijeet Kaur
14c5d83597 Move Scoped Storage compat flags definition to frameworks/base
Currently the flags definition is in MediaProvider, which is an
apex module (updatable), and the flags values are now used in
frameworks/base as well (non-updatable).

Good to have flags definition in the constant component.

Bug: 150593967
Test: atest ExternalStorageHostTest
Test: atest com.android.providers.media
Test: manual
Merged-In: I0b06c068cb3957a7db8af5e14598724f72122736
Change-Id: I0b06c068cb3957a7db8af5e14598724f72122736
(cherry picked from commit 4a989379e8)
2020-03-17 12:54:17 +00:00
Tony Mak
a10f2b981a Merge "Remove local text classifier and related tests." into rvc-dev 2020-03-17 11:50:58 +00:00
Pavel Grafov
6e4ef9b5eb Merge "Make work profile maximum time off at least 3 days." into rvc-dev 2020-03-17 11:24:48 +00:00
Eric Sandness
e89d0e1ba5 Don't Show Work Profile Toast During Setup
Before device setup is complete, we shouldn't ever show the "using this
app outside your work profile" toast.  This toast is confusing in the
context of Setup Wizard.

Fixes: 150451876
Test: atest com.android.internal.app.IntentForwarderActivityTest
Test: Manually verified no toast during setup
Test: Manually verified toast appears after setup
Change-Id: I661cc18c625609726388f3705c7b893517e23323
2020-03-17 09:26:42 +00:00
Automerger Merge Worker
fcfddefedf Add support for registering test networks with administrators.
CTS testing for ConnectivityDiagnosticsManager requires registering
TestNetworks with the administrator UIDs set. This sets up the CTS
process to be an administrator over the test network, which allows it to
receive ConnectivityDiagnosticsCallback callbacks.

Bug: 148032944
Test: atest android.net.cts.ConnectivityDiagnosticsManagerTest
Test: atest IpSecManagerTunnelTest
Change-Id: I7a443c368cf1ac470fbe40883ca24bc3143153b0
Merged-In: I7a443c368cf1ac470fbe40883ca24bc3143153b0
(cherry picked from commit 7b105b6194)
2020-03-17 00:22:09 -07:00
Cody Kesting
9347e33557 Update ConnectivityDiagnosticsCallback function name.
API Council feedback suggests renaming ConnectivityDiagnosticsCallback
'onConnectivityReport' function to be 'onConnectivityReportAvailable'.

Bug: 150598997
Test: atest FrameworksNetTests
Change-Id: Ieea727ecee6cf358a53a215fd4b06233dfe967ea
(cherry picked from commit 324b224cc48fcb12125bd1727be70ad2effbfce3)
2020-03-17 00:16:58 -07:00
Lucas Lin
19f09b234a Merge "Add some comments in isAlwaysOnVpnLockdownEnabled" into rvc-dev 2020-03-17 04:42:52 +00:00
Kweku Adams
e78f4abb70 Merge "Convert system forced reasons to flags." into rvc-dev 2020-03-17 04:28:24 +00:00
Shu Chen
422e7eada2 Merge "Makes the finger-to-cursor distance configurable via DeviceConfig." into rvc-dev 2020-03-17 03:18:55 +00:00
TreeHugger Robot
f931471bf4 Merge "Run codegen v15 on inline suggestion data classes" into rvc-dev 2020-03-17 03:13:25 +00:00
Rajeev Kumar
7cff642925 Merge "Revert "Enable settings_tether_all_in_one by default"" into rvc-dev 2020-03-17 03:09:23 +00:00
Automerger Merge Worker
a3630a528f Add some comments in isAlwaysOnVpnLockdownEnabled
Bug: 141621373
Test: Build pass.

Change-Id: Ie063d9ad35fd703ad376e993345e7158c6082b87
Merged-In: Ib9df71192937164ff95ce564195d5d68508ec69d
2020-03-17 02:43:49 +00:00
Marco Ballesio
71750b2229 freezer: thaw on dumpsys data collection
Introduce a new java API wrapping libprocessgroup to thaw and freeze again
the freezer. Use such API in ActivityManager upon collection of sensitive
dumpsys fields.

Bug: 151225245
Test: manually verified that the freezer is thawed and then frozen again
for meminfo, dbinfo and gfxinfo. Verified that data collection does not
timeout when this API is called

Change-Id: I487f328cb05ceac2fa2f23ad94ca8d4f82b82a5a
2020-03-16 18:29:21 -07:00
Feng Cao
1ee5afacb9 Run codegen v15 on inline suggestion data classes
Test: atest InlineSuggestionsRequestTest
Bug: 151265975

Change-Id: I2e7ce699cc212e6b4e3dd2a7901d5695227990a4
2020-03-16 17:44:56 -07:00
TreeHugger Robot
18dd476b0c Merge "Attempt to fix race condition in PooledLambdaImpl." into rvc-dev 2020-03-16 22:58:11 +00:00
Mady Mellor
583092c980 Merge "Include bubble changes in ranking & move flagging to BubbleExtractor" into rvc-dev 2020-03-16 22:35:02 +00:00
Hongwei Wang
ca111769ac Merge "Get PiP bounds from layout dimensions if applicable" into rvc-dev 2020-03-16 20:59:09 +00:00
Hall Liu
e6045973f7 Merge "Hide setDisabledForSimNetworkLock" into rvc-dev 2020-03-16 20:45:58 +00:00
Sean Pont
8c40228417 Merge "[Quick Access Wallet] Update docs, remove debug logs, and fix lint errors" into rvc-dev 2020-03-16 20:40:03 +00:00
Hall Liu
61d30d7d98 Merge "Re-hide OPSTR_READ_DEVICE_IDENTIFIERS" into rvc-dev 2020-03-16 20:37:27 +00:00
Sean Pont
9d4fb03671 [Quick Access Wallet] Update docs, remove debug logs, and fix lint errors
Bug: 150134429
Bug: 149580068
Test: atest CtsQuickAccessWalletTestCases
Change-Id: I2173b270950a9174b7be67461ef8821ecde91194
2020-03-16 13:37:21 -07:00
Amit Mahajan
c48113aa14 Merge "Remove @SystemApi from some constants for R." into rvc-dev 2020-03-16 20:35:00 +00:00
Mady Mellor
56515c4334 Include bubble changes in ranking & move flagging to BubbleExtractor
Previously, only changes to the "allowBubbles" on the channel or
package would trigger a ranking change. This bit only indicates that
the notification is allowed to bubble -- it doesn't indicate that
the notification *is* a bubble. To allow active notifications to
become bubbles if the user changes the setting, we need to
flag them in response to ranking changes.

This CL moves the bubble flagging code into BubbleExtractor that
way the flag is always updated during ranking changes.

BubbleController listens to ranking changes and adds / removes bubbles
based on the ranking. The ranking needs to have an isBubble bit on
it because ranking changes won't pipe flag updates through. SysUI
uses this bit to flag the entry on SysUI's side.

Moves the shortcut getting / validating code into a helper class.

Also removes the inline reply requirement.

Test: NotificationManagerTest NotificationManagerServiceTest BubbleExtractorTest ShortcutHelperTest BubbleCheckerTest
Bug: 149736441
Change-Id: Ib5b62923c123187ae5f7073ec7ca50d7e20c04b1
Merged-In: Ib5b62923c123187ae5f7073ec7ca50d7e20c04b1
2020-03-16 20:19:39 +00:00
Tony Mak
293bdf360a Remove local text classifier and related tests.
1. libtextclassifier and libtextclassifier-java are no longer built
   into framework/base.
2. Removed local text classifier code
3. Removed local text classifier test code.
   All of them should be already moved to libtextclassifier/tcs side.
4. Unify all the TC related log tags to "androidtc".

BUG: 147412216

Test: mts-tradefed run mts-extservices
Test: atest frameworks/base/core/java/android/view/textclassifier
Test: Sanity test: Smart selection

Change-Id: Icb1076153f51d5674c8a6c58681ffed5aa772149
2020-03-16 20:16:17 +00:00
Sunny Goyal
838c49bed6 Merge "Updating widgets docs" into rvc-dev 2020-03-16 20:07:53 +00:00
Selim Cinek
8a6c2bf38d Merge "Fixed various paddings of the messaging layout" into rvc-dev 2020-03-16 19:46:09 +00:00
Selim Cinek
62ee4e97ad Merge "Made the old MessagingLayout work again" into rvc-dev 2020-03-16 19:44:06 +00:00
Zhen Zhang
e373051f01 Revert "Enable settings_tether_all_in_one by default"
This reverts commit ab42095409.

Reason for revert: b/151579796, b/151624169

Bug: 151579796
Change-Id: Ic398efd54e667a7f250ce0e7ac5082502a40078a
2020-03-16 19:21:21 +00:00
TreeHugger Robot
6bd4a7edb8 Merge "Remove haptic primitives that aren't ready yet." into rvc-dev 2020-03-16 19:16:48 +00:00
Kweku Adams
aa46194fea Convert system forced reasons to flags.
Switching the reasons to flags allows us to track mulitple reasons for
an app being in a bucket.

Bug: 149507105
Test: atest FrameworksServicesTests:AppIdleHistoryTests
Test: atest FrameworksServicesTests:AppStandbyControllerTests
Change-Id: I6fb9e980652ac76e927fbba3d65da2b39b55f1b9
2020-03-16 12:14:09 -07:00
TreeHugger Robot
6838c0ef56 Merge "Use compat flags to reflect the current status of legacy storage." into rvc-dev 2020-03-16 17:47:33 +00:00
Michael Wright
8fc2be555d Remove haptic primitives that aren't ready yet.
We have some concerns about a couple of the primitives we're exposing,
so rather than risk committing to an API surface that we may regret and
aren't 100% confident in the implementation of, lets hide it and keep
them for private usage for now.

Also, rename LIGHT_TICK to TICK; we shouldn't expose the internal
differences to users since it just makes the whole surface more
complicated to explain.

Fixes: 151085071
Fixes: 151261619
Test: N/A
Change-Id: I2872e8f52202d6192de6aa7e3081778486174f4e
2020-03-16 17:06:10 +00:00
Adrian Roos
146db0e46b Merge "Revert "Revert "WindowInsetsController: Address API feedback""" into rvc-dev 2020-03-16 17:03:31 +00:00
Yara Hassan
018978b77c Merge "Enabled Content Capture in Service" into rvc-dev 2020-03-16 16:28:09 +00:00
Pavel Grafov
1628ee0aaf Make work profile maximum time off at least 3 days.
Bug: 150668401
Test: manual, with TestDPC (not testOnly)
Test: atest OrgOwnedProfileOwnerTest#testWorkProfileMaximumTimeOff
Change-Id: I9d274c67ff99d903ceb26b2233038b405c58e958
2020-03-16 16:08:04 +00:00
Ricky Wai
bac0268f63 Merge "Pass bind mount storage data decision from java to zygote" into rvc-dev 2020-03-16 15:39:52 +00:00
Cody Kesting
8646f0eb5e Merge "Update Javadoc comments for ConnectivityDiagnostics constants." into rvc-dev 2020-03-16 15:39:43 +00:00
Yara Hassan
988f7e0cd4 Enabled Content Capture in Service
In AiAi we require calling the data share ContentCapture API from a Service.  Therefore we would like to enable ContentCapture in a Service. We do this by having the Service implement the ContentCaptureClient interface.

Bug: 150451947
Fix: 150451947
Test: Locally
Change-Id: I4a2c600e7c09a5441dc681d78549cd21abba44cc
2020-03-16 12:49:04 +00:00
TreeHugger Robot
74739ff81b Merge "Add a new test API for getting the list of approved rule providers." into rvc-dev 2020-03-16 12:35:42 +00:00
TreeHugger Robot
317603dc2f Merge "Improve doc for DPM.generateKeyPair" into rvc-dev 2020-03-16 12:12:53 +00:00
Charles Chen
dee20d12dc Merge "Show class name in error message" into rvc-dev 2020-03-16 11:44:03 +00:00
TreeHugger Robot
76d201490e Merge "Start quiet mode from a background thread." into rvc-dev 2020-03-16 11:11:31 +00:00
TreeHugger Robot
88d8768adf Merge "Close file streams" into rvc-dev 2020-03-16 10:39:08 +00:00