Commit Graph

97607 Commits

Author SHA1 Message Date
Makoto Onuki
caff9d2cc2 Merge "Initialize JobScheduler without using preload" 2019-10-31 22:32:24 +00:00
TreeHugger Robot
6807fa4c81 Merge "Clean up code for experiment of JIT'ing priv apps" 2019-10-31 21:05:57 +00:00
Nikita Dubrovsky
b6b8c731a4 Merge "Add debug logging for cursor logic in TextView and Editor" 2019-10-31 19:56:21 +00:00
Kweku Adams
f8ab0aa52b Merge "Move heap dump sharing to SHELL." 2019-10-31 19:23:30 +00:00
TreeHugger Robot
20277b8309 Merge "Set "today" and "selected" for Datepicker when using Calender" 2019-10-31 18:34:03 +00:00
John Reck
be69644c78 Merge "Ensure SKP serialization occurs on RenderThread" into qt-qpr1-dev am: ab9d0b5103
am: 48145618d2

Change-Id: I8713f1ea467de5f7fdad7a27d41dfdfaab7e16c7
2019-10-31 10:57:41 -07:00
John Reck
48145618d2 Merge "Ensure SKP serialization occurs on RenderThread" into qt-qpr1-dev
am: ab9d0b5103

Change-Id: I7176a638d66e74ceb555e867dcea471c7ef6fe53
2019-10-31 10:50:38 -07:00
John Reck
ab9d0b5103 Merge "Ensure SKP serialization occurs on RenderThread" into qt-qpr1-dev 2019-10-31 17:33:44 +00:00
Amit Mahajan
531b169d30 Merge "Create @SystemApi CarrierMessagingServiceWrapper." 2019-10-31 17:06:40 +00:00
Muhammad Qureshi
2ae836d45e Merge "Add StatsEvent.Builder" 2019-10-31 16:56:04 +00:00
Nikita Dubrovsky
05cfcc8ac4 Add debug logging for cursor logic in TextView and Editor
Test: manual
Change-Id: If5ddb575af3518aba2c4fbed3d6a040898c0d003
2019-10-31 08:15:23 -07:00
Roshan Pius
e5c88a806a Merge "UserManager: Add new hasUserRestrictionForUser @SystemApi" 2019-10-31 12:49:58 +00:00
Ivan Chiang
3bc64a128b Merge "Update java doc for correct rotation of thumbnail from Q" 2019-10-31 09:57:14 +00:00
Roshan Pius
7969c80c7e UserManager: Add new hasUserRestrictionForUser @SystemApi
Wifi stack needs a multi-user version of hasUserRestriction.

Bug: 142888959
Test: Compiles
Change-Id: I915de45218b95c3a2856d35d6000c429942551ec
2019-10-30 20:06:30 -07:00
Phil Weaver
22c2c46b88 Merge "a11y: don't crash the system when illegal component name encounted" am: f4d1789b81 am: 411b523373
am: 015fe4ff3e

Change-Id: Id23f04ae4bd5c3c622e64525a89303bb79ba24ec
2019-10-30 19:07:09 -07:00
Phil Weaver
015fe4ff3e Merge "a11y: don't crash the system when illegal component name encounted" am: f4d1789b81
am: 411b523373

Change-Id: Idb8ffd83b4d8b89ebba52ad6fe5e7037ac61b4b7
2019-10-30 18:59:00 -07:00
Phil Weaver
f4d1789b81 Merge "a11y: don't crash the system when illegal component name encounted" 2019-10-31 01:29:30 +00:00
TreeHugger Robot
639701e8cb Merge "Fix for race condition when loading fonts from font provider" 2019-10-30 23:04:07 +00:00
Amit Mahajan
92642659e8 Create @SystemApi CarrierMessagingServiceWrapper.
This is primarily a wrapper over ICarrierMessagingService
that to create a stable API to communicate with CarrierMessagingService.

Test: basic messaging sanity
Bug: 143609473
Change-Id: I67fda8bab3902b358c483f992633dbdfe3a8cda2
2019-10-30 13:31:25 -07:00
Makoto Onuki
54c4e0366a Initialize JobScheduler without using preload
Bug: 139883463
Bug: 143500374
Test: atest CtsJobSchedulerTestCases
Change-Id: Ibf4b44baba9be4c6bbba01e46648ab76f92e6f51
2019-10-30 12:10:33 -07:00
Yinglei Wang
6adfce55c2 Merge "remove accessibility event throttling in Progressbar" 2019-10-30 18:57:29 +00:00
Jeff Sharkey
2cbafa9c8d Merge "Reconcile MediaStore with MediaMetadataRetriever." 2019-10-30 18:50:01 +00:00
TreeHugger Robot
3e74ce33de Merge "Add @TestApi to SystemApis in SystemProperties Test: build and flash Android Bug: 143620678" 2019-10-30 18:13:33 +00:00
Sasha Kuznetsov
3a81af1c4f Add @TestApi to SystemApis in SystemProperties
Test: build and flash Android
Bug: 143620678

This is needed because these APIs are used by CTS tests.
2019-10-30 18:13:14 +00:00
Torne (Richard Coles)
c1661db644 Merge "Clarify CookieManager RFC reference." into qt-dev am: 7186df9e6f am: 45a9d4bc79 am: 04be94e23e
am: c1c1a5e7d7

Change-Id: I4dcb73c107e1c1a8e4f8c3fa68dc529f634df9ef
2019-10-30 10:11:11 -07:00
Torne (Richard Coles)
c1c1a5e7d7 Merge "Clarify CookieManager RFC reference." into qt-dev am: 7186df9e6f am: 45a9d4bc79
am: 04be94e23e

Change-Id: I4b40d40281753e10408d41114490794734002d72
2019-10-30 10:03:58 -07:00
Torne (Richard Coles)
04be94e23e Merge "Clarify CookieManager RFC reference." into qt-dev am: 7186df9e6f
am: 45a9d4bc79

Change-Id: I9a3ea8dcbece844051fd8383deea6a00ae92fe07
2019-10-30 09:57:39 -07:00
Torne (Richard Coles)
45a9d4bc79 Merge "Clarify CookieManager RFC reference." into qt-dev
am: 7186df9e6f

Change-Id: I91a6a53d029b8ec2567eaac93056c91642b5177e
2019-10-30 09:51:40 -07:00
TreeHugger Robot
7186df9e6f Merge "Clarify CookieManager RFC reference." into qt-dev 2019-10-30 16:31:03 +00:00
Matt Pape
33f91f59fb Merge "Move namespace/prefix logic to Settings.Config." 2019-10-30 14:36:38 +00:00
Wale Ogunwale
ed38d4f967 Merge "Revert "Remove native calls to HWUI from Surface and use the public API instead"" 2019-10-30 13:33:31 +00:00
Derek Sollenberger
a320e92c56 Revert "Remove native calls to HWUI from Surface and use the public API instead"
This reverts commit 79201b16f1.

Reason for revert: breaks wm-presubmit

Change-Id: I3245e202f88b16d30b924e229cbc05fca37a3759
2019-10-30 13:17:41 +00:00
TreeHugger Robot
94cc0ba959 Merge "Add Tap Gesture for Aware Settings" 2019-10-30 10:17:13 +00:00
Ivan Chiang
c5c74e61be Update java doc for correct rotation of thumbnail from Q
Before Q, the thumbnail has wrong rotation, the developers need
to rotate it to correct rotation manually. As of Q, we provide
the correct rotation of the thumbnail.

Test: m -j
Bug: 142601201
Change-Id: I9c472f47b2bd0c3191ff55d1eb8d21303437dedd
2019-10-30 15:10:32 +08:00
Tony Huang
40d8da39d2 Merge "Prevent return giant size thumbnail" 2019-10-30 06:39:53 +00:00
Edgar Wang
32af83b2cb Add Tap Gesture for Aware Settings
- Add new settings provider key for tap gesture.

Bug: 142702985
Test: atest & manual
Change-Id: Ib76327b37a415512145a150a4b0e176a6cb114d7
2019-10-30 13:12:32 +08:00
Derek Sollenberger
2db814af51 Merge "Remove native calls to HWUI from Surface and use the public API instead" 2019-10-30 03:11:06 +00:00
Philip P. Moltmann
57344c24c3 Merge "Note with featureId from ContentProvider" 2019-10-30 02:21:51 +00:00
TreeHugger Robot
2bbe7de417 Merge "Remove StartInputFlags.FIRST_WINDOW_FOCUS_GAIN" 2019-10-29 23:51:56 +00:00
Philip P. Moltmann
128b70364e Note with featureId from ContentProvider
This takes the Context#getFeatureId from the calling context and pipes
it all way through to the noteOp calls done by the content provider.

Bug: 136595429
Test: atest CtsAppOpsTestCases (new test added to capture this case)
            TelecomUnitTests:CallLogManagerTest
	    ContentProviderClientTest
	    TelecomUnitTests:MissedCallNotifierImplTest
	    TelecomUnitTests:BasicCallTests
	    MediaInserterTest
	    PreferencesHelperTest
	    RankingHelperTest
	    PinnedSliceStateTest
	    FrameworksCoreTests:ContentResolverTest
Change-Id: I53b1035626229c920b353509a5bece157b52fb51
2019-10-29 15:41:28 -07:00
Kweku Adams
6d4bd8e8db Move heap dump sharing to SHELL.
The system shouldn't be granting read URI permissions as itself. This
means that heap dumps aren't successfully shared. Moving the heap dump
sharing mechanism to SHELL, which already has the permission to dump
heaps so that dumps can be shared properly.

The Shell changes are submitted separately.

Bug: 126885951
Bug: 135150619
Test: collect a heap dump and confirm it's successfully shared with an app
Test: do manual test on a secondary user & confirm it's not available to
other user
Change-Id: I6d2230bb2d9ca42a105b3fedee9d075de35e3dd3
2019-10-29 15:17:05 -07:00
Jeff Sharkey
7b75fe5257 Reconcile MediaStore with MediaMetadataRetriever.
Over the last year we've been converging on saying that MediaProvider
is an indexed view of values that developers can obtain directly from
MediaMetadataRetriever.  This change starts indexing several fields
of interest to bring these two surfaces into sync.

Since we're going to be asking MediaMetadataRetriever about audio,
video, and image files, it could return any metadata values for any
of those file types, so we're adding and promoting fields up to the
MediaColumns level.

Bring back APIs related to "trashing" media items; they had been in
place for the last release, but were hidden until we had firm
requests to add them, and partners have now requested them.  Also
add APIs for marking media items as "favorite", as requested by
partners.

Bug: 135343128, 142478744, 122025511, 142498573
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: Ie839ec1b2eed621786d0d10f35a061cbc52f192b
2019-10-29 16:03:20 -06:00
Matt Pape
c600153ae3 Move namespace/prefix logic to Settings.Config.
Previously DeviceConfig, Settings.Config, and SettingsProvider needed to
understand how to append "/" to a namespace to create the prefix for key
names before saving them in SettingsProvider. This removes that
duplication and lets all of the compositing and decompositing happen in
Settings.Config.

Test: atest FrameworksCoreTests:DeviceConfigTest
      atest FrameworksCoreTests:SettingsProviderTest
      atest SettingsProviderTest:DeviceConfigServiceTest
Bug: 136135417

Change-Id: I126155594f3e764e149a4928d1b3708da68c97f4
2019-10-29 14:17:53 -07:00
Anthony Hugh
a7f66b7ee8 Merge "Update getUserSwitchability() to handle different user ids and Auto" 2019-10-29 21:08:08 +00:00
TreeHugger Robot
bc056fcb73 Merge "Fix mistake in SurfaceView lifetime refactoring." 2019-10-29 18:04:53 +00:00
Steven Moreland
a462b8b6b9 Merge "ServiceManagerProxy: implement new method" am: 2a6f6ed94b am: 9ab8a0713f am: 1574e4fd4e
am: 156230b3bf

Change-Id: Id21faff58a559d052dfc6da049f6cd445964852d
2019-10-29 09:47:16 -07:00
Steven Moreland
156230b3bf Merge "ServiceManagerProxy: implement new method" am: 2a6f6ed94b am: 9ab8a0713f
am: 1574e4fd4e

Change-Id: I3018e9922154e7a33dd3aa4814d5f80e4118a77a
2019-10-29 09:36:18 -07:00
Steven Moreland
1574e4fd4e Merge "ServiceManagerProxy: implement new method" am: 2a6f6ed94b
am: 9ab8a0713f

Change-Id: I5af655cba2bb416ed517ba722f0f5ec46610c9bc
2019-10-29 09:26:57 -07:00
Steven Moreland
2a6f6ed94b Merge "ServiceManagerProxy: implement new method" 2019-10-29 15:45:43 +00:00
Julia Reynolds
07e10e3a96 Merge "Add ability to write and read Notification history." 2019-10-29 15:34:00 +00:00