Commit Graph

113720 Commits

Author SHA1 Message Date
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
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
Mehdi Alizadeh
7161e49836 Merge "Applies left and right edge scale to side swipe width" into rvc-dev 2020-03-16 04:01:11 +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
Mehdi Alizadeh
f2b28e9b0b Applies left and right edge scale to side swipe width
Also adds listeners to update the values on settings change

Bug: 146004827
Test: atest DisplayPolicyInsetsTests DisplayPolicyLayoutTests AlwaysOnDisplayPolicyTest

Change-Id: Ia3344f3bef8f3439fc2c60d9f4e83dc0163f83dd
2020-03-15 13:47:19 -07: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
TreeHugger Robot
764e7971d8 Merge "Updated v4 signature processing." into rvc-dev 2020-03-14 02:28:40 +00:00
Jayant Chowdhary
6241aceae8 Merge "camera2: rename getConcurrentStreamingCameraIds() -> getConcurrentCameraIds()" into rvc-dev 2020-03-14 01:44:50 +00:00
TreeHugger Robot
c670246edb Merge "Treat MODE_FOREGROUND as ALLOWED for appop checks" into rvc-dev 2020-03-14 01:34:04 +00:00
Philip P. Moltmann
e6c5650e88 Treat MODE_FOREGROUND as ALLOWED for appop checks
noteOp always resolved MODE_FOREGROUND into IGNORED/ALLOWED
checkOp resolves it too, but checkOpRaw does not resolved it and might
return it.

Preflight checks should be independant of the uid state, hence treat
MODE_FOREGROUND similar to ALLOWED as MODE_FOREGROUND might allow it.

Bug: 150508177
Fixes: 148197098
Test: TH
Change-Id: I7b4f53c7ce638f92747d452f2d2f72d098e94b78
2020-03-14 01:22:55 +00:00
Song Hu
e9851d5fad Merge "Prototype for Sharesheet direct share row append mechanism" into rvc-dev 2020-03-14 01:09:13 +00:00
TreeHugger Robot
62748d0a66 Merge "Set mNextServedView as null only when current served view lost focus" into rvc-dev 2020-03-14 00:26:57 +00:00
Khaled Abdelmohsen
f6b1e8c3f6 Support multi apk stamp verification
Bug: 148005911
Test: atest FrameworksCoreTests:SourceStampVerifierTest
Change-Id: Iffab565a03ae57c469784baa12bec9cd130e69a1
2020-03-14 00:23:56 +00:00
Evgenii Stepanov
eeff2cf753 Enable gwp-asan in system_server.
Enables gwp-asan in system_server with a small probability, same as any
native process or system app.

Bug: 149991821
Test: kill system_server in a loop - find "GWP" in /proc/$PID/maps
      eventually
Change-Id: I3900f5d277d28987883a918d62fe9390c780ac30
(cherry picked from commit 2bb1dba5c7)
2020-03-14 00:10:02 +00:00
Kevin Chyn
6b7b2300c4 Merge "Pass operationId to LSS, add HAT to KeyStore" into rvc-dev 2020-03-13 23:53:16 +00:00
Eugene Susla
2ac02b0d3e Add public API to check if current app is auto-revoke exempt
Test: presubmit
Bug: 146513245
Change-Id: I18ac5957eb9ae1ea0d7de2daf407e6d797079937
2020-03-13 22:44:00 +00:00
Eugene Susla
ff17a587a8 Merge "Introduce per-app manifest flags for autoRevoke" into rvc-dev 2020-03-13 22:40:36 +00:00
Roshan Pius
4d4e926a74 Merge changes from topic "services.net-wifi" into rvc-dev
* changes:
  services.net: Add a static library needed by wifi module
  services.net: Use the new ModuleNetworkStackClient
2020-03-13 22:39:09 +00:00
Alex Buynytskyy
f5e605a00c Updated v4 signature processing.
Passing to libincfs.so.
Obtaining and verifying, including v3 digest check.

go/apk-v4-signature-format

Test: atest PackageManagerShellCommandTest
Bug: b/151241461
Change-Id: Id61f5716b9f9b55d6ab1ebca5a7ecb1c6e54570a
2020-03-13 15:13:25 -07:00
Mihir Patel
a5efb2c838 Merge "Notifying the on-device intelligence service when view window insets have changed" into rvc-dev 2020-03-13 21:02:15 +00:00
Selim Cinek
5f003f4e10 Merge changes I69b33b0c,If904c85e,I28444df4,I3bfa4580,I88d9667d, ... into rvc-dev
* changes:
  Decrease avatar and sender name sizes in MessagingStyle
  Fixed various conversation layout appearences
  Implemented FacePile if no group icon is present
  Fixed the behavior of headers in conversation groups
  Ensured correct coloring of badge in dark mode
  Fixed an issue where the bubble badge was visible independent of the icon
  Improved transitions for expanding messaging notifications
  Adjusted single line representation to include a colon
  Made the expand button positioning conditional on expanded state
  Ensured that the sender of the first message is hidden
  Baseline for the new ConversationLayout
2020-03-13 21:01:24 +00:00
Selim Cinek
83cf855163 Merge "Made sure that templated views support RTL" into rvc-dev 2020-03-13 20:58:52 +00:00
Song Hu
e2deffd7bf Prototype for Sharesheet direct share row append mechanism
Use this cmd to enable the feature:
adb shell device_config put systemui append_direct_share_enabled true

Use this cmd to adjust timeout threshold (in millisecond):
adb shell device_config put systemui share_sheet_direct_share_timeout 15000

Bug: 151112858
Test: manually tested both prod flow and prototype flow on phones.

Change-Id: I328ecefc9dffad40ec412c033da54e0443f8889a
2020-03-13 13:52:24 -07:00
Shuo Qian
aa49e5b750 Merge "Add updateMccMncConfiguration as @TestApi for CTS" into rvc-dev 2020-03-13 20:40:31 +00:00
Hall Liu
19ecc1c95c Merge "Hide APIs introduced in earlier change" into rvc-dev 2020-03-13 20:29:19 +00:00
Hall Liu
1b243291f4 Merge "Hide RoleManager#getDefaultSmsPackage" into rvc-dev 2020-03-13 20:28:36 +00:00
Rob Carr
6e2a98a1f8 Merge "InsetAnimationControlImpl: Copy SurfaceControl" into rvc-dev 2020-03-13 20:18:09 +00:00
Mihir Patel
b73c421753 Notifying the on-device intelligence service when view window insets have changed
bug:137800469

Test: manual
Change-Id: Ia69e273a6646fc15e289f75084a81193e71e1eef
2020-03-13 20:04:25 +00:00
Nate Myren
2585289c30 Merge "Update USER_SENSITIVE flags on app install and optimize it" into rvc-dev 2020-03-13 19:43:10 +00:00
Hongyi Zhang
d7886dcbae Merge "RescueParty: Add a DeviceConfig killswitch" into rvc-dev 2020-03-13 19:37:38 +00:00
Joanne Chung
031fe36d35 Merge "Refine TC request classes." into rvc-dev 2020-03-13 19:35:33 +00:00
Khaled Abdelmohsen
e6bae5dc05 Merge "Change source stamp verifier outcome" into rvc-dev 2020-03-13 19:01:28 +00:00
Khaled Abdelmohsen
39bad6c991 Change source stamp verifier outcome
Modify source stamp verifier to produce non-present stamps when
receiving an error while reading the stamp file in an APK.

Bug: 148005911
Test: atest FrameworksCoreTests:SourceStampVerifierTest
Change-Id: I7682f51761e60b4236424cf2cdb6119f53259ab0
2020-03-13 18:56:21 +00:00
Adam He
640c3b4f92 Merge "Hide autofill highlight if filling only the focused field." into rvc-dev 2020-03-13 18:52:57 +00:00
Adam He
2f70bc5503 Merge "Removed inlinePresentation from Dataset ctor and added setInlinePresentation." into rvc-dev 2020-03-13 18:52:09 +00:00
Evan Severson
a285890237 Merge "Update reserved permission controller flags name" into rvc-dev 2020-03-13 18:30:25 +00:00