Commit Graph

468908 Commits

Author SHA1 Message Date
Dmitri Plotnikov
92e9d96e37 Allow blocking calls to InstrumentationWatcher
InstrumentationWatchers are used in tests, therefore
we are not concerned about them misbehaving on
production devices.

Fixes: 147705910
Test: run an instrumentation test and
  there are no ONEWAY_FLAG warnings from BinderProxy

Change-Id: I323d4598a4d8e5e754251d8d4f27c5c6a2faea2f
2020-02-27 19:38:08 +00:00
Ben Lin
5b55f124d8 Merge "Fix a typo in config_pipEnableResizeForMenu." into rvc-dev 2020-02-27 18:45:17 +00:00
Nate Jiang
a99073b296 Merge "Add Doc about app disable or netowrk reset will remove suggeestion" into rvc-dev 2020-02-27 18:33:27 +00:00
Winson Chiu
b0c5105b2d Merge changes from topic "actor-signature-policy-rvc-dev" into rvc-dev
* changes:
  Actor signature overlayable policy
  Refactor overlayable policy
2020-02-27 18:27:53 +00:00
Winson Chiu
ab5563dd1c Merge "Initialize PackageManagerService ApplicationInfo instances to system user" into rvc-dev 2020-02-27 18:26:25 +00:00
Amit Mahajan
cc7682bd15 Merge "Hide TelephonyRegistryManager." into rvc-dev 2020-02-27 18:25:29 +00:00
TreeHugger Robot
9a979fb217 Merge changes I41959627,Iba316772 into rvc-dev
* changes:
  Bind/unbind notif children content dynamically
  Support freeing contracted/expanded view
2020-02-27 18:17:01 +00:00
Mike Ma
36eeacc058 Merge "Fix PowerIncidentTest" into rvc-dev 2020-02-27 18:13:31 +00:00
Ytai Ben-tsvi
d050812a30 Merge changes I9f0a440d,I0b734cc7,I510ee307,Ia257021d into rvc-dev
* changes:
  Pretty-print parcelables when logging
  Add sysdump to SoundTriggerMiddlewareService
  SoundTriggerMiddlewareService logging decorator
  Refactor SoundTriggerMiddlewareService
2020-02-27 18:09:39 +00:00
Nicholas Ambur
626b24958f Merge "remove client token passing active VI service" into rvc-dev 2020-02-27 18:01:24 +00:00
Nicholas Ambur
a163d079d8 Merge "add enrollment application UID tracking" into rvc-dev 2020-02-27 18:01:24 +00:00
TreeHugger Robot
92a82e2d81 Merge "VibratorService: Conditionally Use Callbacks" into rvc-dev 2020-02-27 17:57:49 +00:00
Daniel Colascione
8dfcca7db7 Merge "Flush permission cache when we change delegates" into rvc-dev 2020-02-27 17:53:43 +00:00
Daniel Colascione
ac3c969069 Merge "Add context UID to package-name-based permission query" into rvc-dev 2020-02-27 17:52:24 +00:00
Sudheer Shanka
442399b1c1 Merge "Include pending media as well when deleting mediastore entries." into rvc-dev 2020-02-27 17:49:53 +00:00
Automerger Merge Worker
14862018b9 [automerger skipped] Merge "DO NOT MERGE Fix Autohide functionality" into qt-qpr1-dev am: 2267cbc57f -s ours
am skip reason: subject contains skip directive

Change-Id: Ic96145923275d950d6f0a565f497b59cfa0ffd6c
2020-02-27 17:42:24 +00:00
Mike Ma
14eef1368c Fix PowerIncidentTest
ag/9684175 changed mScreenBrightnessSettingMinimum,
mScreenBrightnessSettingMaximum and mScreenBrightnessSettingDefault
to float without changing proto dump and cts.

Bug: 149895022
Exempt-From-Owner-Approval: Minor change to fix CTS test
Test: atest CtsIncidentHostTestCases:com.android.server.cts.IncidentdTest#testIncidentReportDumpExplicit
Change-Id: Ief85ba8299626a3d92fb43db162a1b6864c8eae0
2020-02-27 09:38:10 -08:00
Mike Ma
755ce9edf9 Merge "Handle EOF explicitly in incident_helper" into rvc-dev 2020-02-27 17:33:54 +00:00
Heemin Seog
2267cbc57f Merge "DO NOT MERGE Fix Autohide functionality" into qt-qpr1-dev 2020-02-27 17:29:35 +00:00
Jayant Chowdhary
84d6a305a2 Merge "camera2: Add documentation for getConcurrentStreamingCameraIds specifying multi-process use." into rvc-dev 2020-02-27 17:20:00 +00:00
Katsiaryna Naliuka
7bee686ef7 Merge "Grant storage permission to the content capture service." into rvc-dev 2020-02-27 16:39:00 +00:00
Miranda Kephart
cc25bf468b Merge "Update screenshot actions shade to spec" into rvc-dev 2020-02-27 16:11:39 +00:00
Kweku Adams
c661bbe780 Merge "Fix JobThrottling tests, take 2." into rvc-dev 2020-02-27 15:44:46 +00:00
TreeHugger Robot
db5cbbf21c Merge "Add PlatformCompat feature for DocumentUI" into rvc-dev 2020-02-27 15:34:22 +00:00
Felipe Leme
71d0cb0191 Merge "Set Process' start times for SystemServer." into rvc-dev 2020-02-27 15:25:18 +00:00
Anna Trostanetski
6d1c0c7d90 Merge "Cache binder calls in CompatChanges" into rvc-dev 2020-02-27 14:58:13 +00:00
Daniel Colascione
a3c6c09c69 Flush permission cache when we change delegates
Delegates can change the results of permission checks.  This change
assumes that delegate results are not dynamic, but that seems to be
the case in practice. Just in case, re-setting the delegate acts as a
cache flush.

Test: atest UiAutomationTest#testAdoptAllShellPermissions
Bug: b/150265749
Change-Id: I26e7330ebbdeaf2e7e282f3c770b962688aabf41
2020-02-27 12:29:58 +00:00
Daniel Colascione
614105b373 Add context UID to package-name-based permission query
The code for caching permission queries incorrectly used the UID of
the calling process instead of the Context UID when asking
PermissionManagerService whether a package (identified by name) has a
permission. As a result, permission checks produced incorrect results
for certain cross-user scenarios. This CL makes the checking UID part
of the package-name-based permission query.

Test: atest com.android.car.VmsPublisherSubscriberTest
Bug: 150172373
Bug: 150025558
Bug: 150140220
Change-Id: I903a9e79fbbba97ea987120066817eeea9b01d51
2020-02-27 12:29:30 +00:00
TreeHugger Robot
9651ab2de4 Merge "Fix a bug with the settings for skipping integrity check for verifiers." into rvc-dev 2020-02-27 12:09:51 +00:00
TreeHugger Robot
cadf55a3e8 Merge "Add "com.android.packageinstaller" as recognized installer." into rvc-dev 2020-02-27 12:09:22 +00:00
Shu Chen
2c591e8c6b Merge "Makes sure the magnifier source bounds doesn't beyond the surface." into rvc-dev 2020-02-27 11:47:13 +00:00
TreeHugger Robot
e0ffd803d5 Merge "Refine the SchedulesProvider" into rvc-dev 2020-02-27 11:34:32 +00:00
TreeHugger Robot
4d702dfc29 Merge "Mark RESTRICTED bucket stop reasons." into rvc-dev 2020-02-27 11:31:31 +00:00
Katsiaryna Naliuka
bc05190cd2 Grant storage permission to the content capture service.
This unblocks dogfooding of go/image-aware-sharesheet. The feature is currently experimental, so the change will be rolled back if it doesn't graduate to production before R is cut (tracked in b/143339485).

Bug: 147206065
Test: dumpsys package
Change-Id: If960a412cb5f603348e99b1878897147caf3a1f5
2020-02-27 11:09:39 +00:00
PETER LIANG
2ebe60b5df Merge "Remove the public APIs for allow rich content." into rvc-dev 2020-02-27 10:27:47 +00:00
TreeHugger Robot
28a5ed1cfb Merge "Allow disojoint datasets for inline suggestions." into rvc-dev 2020-02-27 10:15:08 +00:00
TreeHugger Robot
8f24e99754 Merge "Enable overflow" into rvc-dev 2020-02-27 08:41:20 +00:00
Taran Singh
73b1d16d28 Merge "Pipe windowToken for hideSoftInput" into rvc-dev 2020-02-27 07:14:04 +00:00
Ivan Chiang
3cb1cbdcfd Add PlatformCompat feature for DocumentUI
- Whitelist PlatformCompat permissions for DocumentsUI
- Add documents-ui-compat-config into Android.bp

Bug: 141600225
Test: build and boot to home
Test: tools/tradefederation/core/tests/run_tradefed_tests.sh \
      --class com.google.android.asit.DeviceBootTestTest
Change-Id: Iedf73faf497a4ea055b33f68dc0b7097f306791d
2020-02-27 06:57:43 +00:00
Tim Murray
945984e265 Merge "freezer: don't freeze WPRI-bound apps" into rvc-dev 2020-02-27 06:44:36 +00:00
TreeHugger Robot
0b4de66f6d Merge "Update/Add method on InfoMediaManager" into rvc-dev 2020-02-27 06:42:25 +00:00
TreeHugger Robot
7843e91e80 Merge "Increase activity exit-info timestamp resolution" into rvc-dev 2020-02-27 05:21:46 +00:00
Peter_Liang
01a592bfd1 Remove the public APIs for allow rich content.
1. Mark @hide for "Drawable loadAnimatedImage(Context)" and "String loadHtmlDescription(PackageManager)".
2. Move common function into util.

Bug: 149516547
Bug: 142532186
Test: maunal test
Change-Id: I4f734a496938f64bcde990268e11a2d1a5be4771
Merged-In: I4f734a496938f64bcde990268e11a2d1a5be4771
(cherry picked from commit a2f7f84938)
2020-02-27 04:19:53 +00:00
Tarandeep Singh
4fe5b654a1 Pipe windowToken for hideSoftInput
Pipe the windowToken of the window requesting hideSoftInput just like we
did it for showSoftInput [1].
This calls hideInsets on the correct display when control target is
different from IME target e.g. ActivityView.
Also hideInsets should be called on InsetsControlTarget instead which was
originally attempted in [2]

[1]: Ia49e23dd077d264a58d28a7b8acffde54b7db187
[2]: I7133e151a1037c42b275b97857936437a7a6725f

Bug: 149870112
Bug: 133381284
Test: Manually using steps mentioned in bug.

Change-Id: Ia596a392eb73ae46debd097151c8c9a7edd59833
2020-02-27 04:13:25 +00:00
TreeHugger Robot
3ad2ce635c Merge "Update device type of MediaDevice" into rvc-dev 2020-02-27 04:06:09 +00:00
TreeHugger Robot
8e5e4e03a9 Merge "Hide CarrierMessagingServiceWrapper for now." into rvc-dev 2020-02-27 04:04:35 +00:00
Automerger Merge Worker
8a1c944d0d Allow settingIgnored for DBH request if inEmergency am: 97e162d605
Change-Id: I12cbf0e098f599169392fb4ae7c725d5052b674e
2020-02-27 03:35:09 +00:00
Jiyong Park
55daa202ba Merge "stubs inheriting from framework-module-stubs-defaults-* now works" into rvc-dev 2020-02-27 03:23:52 +00:00
TreeHugger Robot
658fc6d6d6 Merge "A few inline autofill API tweaks." into rvc-dev 2020-02-27 03:16:38 +00:00
Shawn Lin
9a02e30990 Merge "Fixed listeners were unexpectedly unregistered when device rotated" into rvc-dev 2020-02-27 03:10:26 +00:00