Commit Graph

102818 Commits

Author SHA1 Message Date
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
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
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
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
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
88d8768adf Merge "Close file streams" into rvc-dev 2020-03-16 10:39:08 +00:00
Charles Chen
3d9fc0f924 Show class name in error message
Show class name instead of service name in error message
Context#getSystemService to make developers easier to debug.

Bug: 150632074
Test: manual - check error log
Change-Id: Icb00c972c3a4fd4c71383dd5da29d4864bb06379
2020-03-16 17:46:27 +08:00
Stanislav Zholnin
86e27477a7 Merge "Delay initialization of RarelyUsedPackages and package sampling." into rvc-dev 2020-03-16 09:23:17 +00:00
Paul Hu
bd9b91acbb Merge "Accept MAINLINE_NETWORK_STACK permission on register/unregister network provider" into rvc-dev 2020-03-16 05:48:33 +00:00
Aaron Huang
56023af973 Merge "Removing some of the API don't have to be @SystemApi" into rvc-dev 2020-03-16 05:47:34 +00:00
TreeHugger Robot
1660402a5c Merge "SurfaceControlViewHost: Respond to API feedback" into rvc-dev 2020-03-16 02:24:49 +00:00
Khaled Abdelmohsen
2aee73b4e6 Close file streams
This is mainly refactoring, without any new logic.

Bug: 148005911
Test: Refactoring, presubmits are sufficient
Change-Id: I3b9b35f4a952edc04357a2c1b265b1d0f346d515
2020-03-15 23:29:33 +00:00
TreeHugger Robot
777531511f Merge "Rename get/setProtectedPackages methods" into rvc-dev 2020-03-15 23:05:42 +00:00
Stanislav Zholnin
48811ee600 Add logging operation ids.
Add operation ids which are used only for logging. They will
allow to reduce bandwidth required for logging. Mapping between
operation string ids (OPSTR_, public API) and Logging ids
is enforced by statsd CTS test.

Bug:143519689
Test: android.cts.statsd.atom.UidAtomTests#testAppOps
Test: android.cts.statsd.atom.UidAtomTests#testForegroundServiceAccessAppOp
Exempt-From-Owner-Approval: discussed  with moltmann@ in chat.

Change-Id: I2f85d6889e946219557d26b28334d4bacde06b12
Merged-In: I2f85d6889e946219557d26b28334d4bacde06b12
2020-03-15 14:29:32 +00:00
Stanislav Zholnin
4c32385bf6 Delay initialization of RarelyUsedPackages and package sampling.
Delay uniform sampling of packages.
Introduce boot time sampling of packages - simplified sampling designed
to save time during start up sequence.

Bug: 150239020
Test: manual verification
Change-Id: I5911b663cfefe324a443b0ba3f97c46e0984a0f3
2020-03-15 11:23:53 +00:00
Mark Chien
b4decfc142 Merge "Add javadoc for Network#netId" into rvc-dev 2020-03-15 02:53:29 +00:00
Paul Chang
eaca5898d0 Merge "Pass value to indicate screenshot is requested or not in Bugreporting API" into rvc-dev 2020-03-14 18:04:46 +00:00
Eugene Susla
1d7a7910e4 Add missing OPSTR for OPSTR_AUTO_REVOKE_MANAGED_BY_INSTALLER
Fixes: 151506845
Test: Ensure no error on boot
Change-Id: I912fb0c2058ef8db4a58b2c05a1d142a7d7d22cc
2020-03-14 09:16:43 -07:00
Khaled Abdelmohsen
2c89227525 Merge "Support multi apk stamp verification" into rvc-dev 2020-03-14 07:23:34 +00:00
Eugene Susla
41b448e39b Merge "Introduce per-app API for installer whitelisting" into rvc-dev 2020-03-14 05:43:11 +00:00
Eugene Susla
922cd08f62 Introduce per-app API for installer whitelisting
Test: presubmit
Bug: 146513245
Change-Id: I5a4502aeb78d2e35209ed88312d24bcafbb4ba7c
2020-03-13 22:09:22 -07:00