Commit Graph

109677 Commits

Author SHA1 Message Date
Jeffrey Huang
80900f249f Make ProtoOutputStream public
Bug: 142279786
Test: atest CtsProtoTestCases ProtoInputStreamTests
Change-Id: I1f6eeb09898277a0975c2081630bfa849afc13ab
2019-12-18 22:49:33 -08:00
Jeff Sharkey
e0ae4a4d5b Merge "Shuffling to prepare for MediaProvider APEX." 2019-12-18 01:44:59 +00:00
Jeff Sharkey
04b4ba1e15 Shuffling to prepare for MediaProvider APEX.
An upcoming change will move MediaStore to be within the recently
created MediaProvider APEX.  This means that MediaStore will need to
be fully built against @SystemApi, and so this CL adjusts APIs to
support a clean transition:

-- Listing of "recent" storage volumes and scan paths for "internal"
storage is now handled by StorageManager directly, so that partners
retain control over what is deemed recent.
-- StorageVolume now returns the MediaStore volume name and the
filesystem directory where its contents are presented to apps.
-- Conversion of legacy thumbnail "kind" values to dimensions now
happens directly inside MediaStore.
-- PendingParams and PendingSession are completely removed.
-- Contributed media APIs are completely removed.
-- Media for demo users is now surfaced as a unique StorageVolume.
-- Migrate most MediaStore APIs to accept ContentResolver, which
supports easy usage of ContentResolver.wrap().

Bug: 144247087, 137890034
Test: atest --test-mapping packages/providers/MediaProvider
Exempt-From-Owner-Approval: in-place refactoring
Change-Id: I445528b2779bb37b9f2558e67a3cfc9f60412092
2019-12-18 01:35:46 +00:00
Jeff Sharkey
56911a8623 Merge "Allow "LOCALIZED" and "UNICODE" collators." 2019-12-18 00:48:19 +00:00
Adam He
b50bc1f669 Merge "API for autofill integration with keyboard." 2019-12-18 00:39:13 +00:00
Automerger Merge Worker
e44fee2d3a Merge "docs: Fixed typo" into qt-dev am: 3e4f4f9933 am: 6231cffbb8 am: 18c0fbfacd am: b6349b363d
Change-Id: I8b6bdefb277e58c2342075601e49f62fd1ce66f6
2019-12-18 00:07:53 +00:00
Automerger Merge Worker
b6349b363d Merge "docs: Fixed typo" into qt-dev am: 3e4f4f9933 am: 6231cffbb8 am: 18c0fbfacd
Change-Id: Ic8cde8755fe5fce355931efb735c7d90fb857817
2019-12-17 23:58:44 +00:00
Taran Singh
a4e4cd1a3d Merge "Add alpha support to Insets API" 2019-12-17 23:52:31 +00:00
Automerger Merge Worker
18c0fbfacd Merge "docs: Fixed typo" into qt-dev am: 3e4f4f9933 am: 6231cffbb8
Change-Id: I1653273a1d9c0eae7b8a8406bc188e2e909ffaa0
2019-12-17 23:43:26 +00:00
Automerger Merge Worker
6231cffbb8 Merge "docs: Fixed typo" into qt-dev am: 3e4f4f9933
Change-Id: Ic625ffed3ce23a7766a12a153d9794a4abf7a6b5
2019-12-17 23:31:47 +00:00
Andrew Solovay
3e4f4f9933 Merge "docs: Fixed typo" into qt-dev 2019-12-17 23:20:29 +00:00
Jeff Sharkey
71c694aa38 Allow "LOCALIZED" and "UNICODE" collators.
These custom collators are added by ./android/sqlite3_android.cpp,
so let callers use them.

Bug: 140666363
Test: atest android.database.sqlite.cts.SQLiteQueryBuilderTest
Change-Id: I6674b04afb5bbb5f9870329431549eca8e4f5bc6
2019-12-17 16:15:52 -07:00
Ytai Ben-tsvi
0d52f4202c Merge changes from topic "soundtrigger_refactor"
* changes:
  Migrate SoundTrigger implementation to new service
  Implement the soundtrigger_middlewware service
  Add a permission for preempting sound trigger sessions
  Sound trigger middleware service definition
  Add audio.common types AIDL definition
2019-12-17 22:33:55 +00:00
Mehdi Alizadeh
1c66473972 Merge "Adds settings fields for left and right back gesture inset size" 2019-12-17 21:57:23 +00:00
Automerger Merge Worker
24931ee346 Merge "Remove PhoneStateLister#onOtaspChanged" am: 0d7a5dc2ea am: 6846fe997c am: de89306a0c
Change-Id: I576a3d67755efab9131dc8188d2911bdd497cf47
2019-12-17 21:50:42 +00:00
Automerger Merge Worker
de89306a0c Merge "Remove PhoneStateLister#onOtaspChanged" am: 0d7a5dc2ea am: 6846fe997c
Change-Id: I8129f2a112daeb63e23535edb5155ceb85c2ece7
2019-12-17 21:28:32 +00:00
Meng Wang
6846fe997c Merge "Remove PhoneStateLister#onOtaspChanged"
am: 0d7a5dc2ea

Change-Id: Ide424903fac31549a660ded17d24c14fa4e5db5b
2019-12-17 13:25:04 -08:00
Meng Wang
0d7a5dc2ea Merge "Remove PhoneStateLister#onOtaspChanged" 2019-12-17 21:14:06 +00:00
Jeff Sharkey
e65b0918cf Merge "Methods to streamline bulk media operations." 2019-12-17 20:54:30 +00:00
Automerger Merge Worker
bd9f7a6169 docs: Removing most of the intro to PowerManager API am: 3fea8d1042 am: f92878e651 am: c06564375b am: b82174bc3a
Change-Id: I6a392d78c6d510e575758cb9feae680f20b7b19a
2019-12-17 20:46:43 +00:00
Alex Mang
1165084c1d Merge "Support for NotificationAssistantService to rerank notifications." 2019-12-17 20:40:22 +00:00
Dmitry Dementyev
f579c1aeab Merge "Remove hidden shared account methods from AccountManager.java" 2019-12-17 20:36:43 +00:00
Alex Mang
730d949e6d Support for NotificationAssistantService to rerank notifications.
NotificationAssistantService passes a RankingScore via an Adjustment to
NotificationRecord. NotificationManagerService sorts notification using
rank as part of NotificationComparator.

Bug: 146443378
Test: atest NotificationComparatorTest
Change-Id: I9f4d03c7d0ccf5adba4f26f48eb2638aa6caa49b
2019-12-17 20:33:16 +00:00
Automerger Merge Worker
b82174bc3a docs: Removing most of the intro to PowerManager API am: 3fea8d1042 am: f92878e651 am: c06564375b
Change-Id: I9605f308953aabb49868763dbf5bfd66ac955bee
2019-12-17 20:32:46 +00:00
Nathan Harold
04eaf14fc9 Merge "Expose PreciseDataConnectionState to Public API" 2019-12-17 20:24:50 +00:00
Automerger Merge Worker
c06564375b docs: Removing most of the intro to PowerManager API am: 3fea8d1042 am: f92878e651
Change-Id: I07ea69318879ad5c70c99880c6cc6c57a348d76a
2019-12-17 20:18:50 +00:00
Tarandeep Singh
699aa679a3 Add alpha support to Insets API
All insets side may want to animate with transparency with or without
insets. This change allows any side to do that.
Also, this CL adds fade to IME when its not controlled by app.
This tries to replicate original IME animation.

Bug: 111084606
Test: Manually using test app.

Change-Id: I1ecd4715336a58cd904b2898bb36462e5ce2b6ab
2019-12-17 11:59:25 -08:00
Automerger Merge Worker
f92878e651 docs: Removing most of the intro to PowerManager API am: 3fea8d1042
Change-Id: I25c41e4998197ef1df2c95fb1f2360360970389f
2019-12-17 19:58:53 +00:00
Sally Yuen
a9c4305ecc Merge "Use CollectionInfo and CollectionItemInfo api in RadioGroup and RadioButton" 2019-12-17 19:41:46 +00:00
Ameer Armaly
efed6c7ab0 Merge "Implement existing gestures using the new architecture." 2019-12-17 19:29:43 +00:00
David Su
073ec93bbe Merge "Expose @hide APIs needed by ParceledListSlice" 2019-12-17 19:24:41 +00:00
Automerger Merge Worker
f47a64b59d Merge "[Telephony Mainline] Expose MAX_NETWORK_TYPE constant" am: 23019528ec am: a4c3162339
Change-Id: I263fbd69be70ccf48b0e16d00985e716060f6bfa
2019-12-17 19:20:16 +00:00
Peter Wang
a4c3162339 Merge "[Telephony Mainline] Expose MAX_NETWORK_TYPE constant"
am: 23019528ec

Change-Id: If620508739fccc330383f52592ed060777b83cff
2019-12-17 11:15:51 -08:00
Automerger Merge Worker
67da267f24 [DO NOT MERGE] Reset mTrackingReportedValues in endSample() am: 7293dfca7c
Change-Id: Ic79aa39d2578c4625c3e92e5ba46dde7df239b0e
2019-12-17 19:13:09 +00:00
Peter Wang
23019528ec Merge "[Telephony Mainline] Expose MAX_NETWORK_TYPE constant" 2019-12-17 19:10:24 +00:00
Winson Chiu
14610721fe Merge changes from topic "overlay-vis-remerge"
* changes:
  Move MockitoUtils to server om package
  Revert "Revert "Overlay, actor, and target app visibility handling""
2019-12-17 19:06:28 +00:00
Hui Yu
7e53cb7166 Merge "[DO NOT MERGE] Reset mTrackingReportedValues in endSample()" into qt-qpr1-dev 2019-12-17 19:01:15 +00:00
Alexander Dorokhine
98be60dd24 Merge "Fix double-wrapping of exceptions in remote AndroidFutures." 2019-12-17 18:36:24 +00:00
TreeHugger Robot
af109096eb Merge "Support @left marker" 2019-12-17 18:21:35 +00:00
TreeHugger Robot
7623a52a36 Merge "Update user restriction APIs to be called on parent instance" 2019-12-17 18:19:08 +00:00
Taran Singh
43c913bf13 Merge "API update for insets" 2019-12-17 18:04:43 +00:00
Ameer Armaly
51106a339e Implement existing gestures using the new architecture.
This includes the following gestures: double-tap, double-tap and hold, one-direction swipes, and two-direction swipes
including angle swipes.

Bug: 142277141
Bug: 136131815
Test: atest AccessibilityGestureDetectorTest TouchExplorerTest GestureManifoldTest
Change-Id: I47089b003ff4e49e96b2833931ec4006131f1bd4
2019-12-17 17:57:31 +00:00
TreeHugger Robot
37ea48adc8 Merge "Camera: Fix typo when comparing display size height" 2019-12-17 17:57:02 +00:00
Alison Cichowlas
a0540b61eb Merge "Sharesheet - App stacking." 2019-12-17 17:50:01 +00:00
TreeHugger Robot
5f97823473 Merge "Expose request data to InstantAppResolverService" 2019-12-17 17:16:27 +00:00
TreeHugger Robot
7edf546fb9 Merge "Revert "Revert "Cleaning up listener when task completes""" 2019-12-17 17:05:54 +00:00
Automerger Merge Worker
5d836174d9 Merge "Add new configuration loading path for apex module Cronet" am: a960204edf am: d5f5adad39
Change-Id: I76afbbbb8df96f44749889573a1b1b5bc74aa07d
2019-12-17 16:20:16 +00:00
Alison Cichowlas
19ee292575 Sharesheet - App stacking.
When an app offers more than one activity to handle Send intents,
"stack" these into a single target in the All Apps list.

Tapping this target gives a disambiguation dialog to allow the
user to choose the specific action they want.

Long-pressing this app still brings up the app pinning dialog, but
app pinning allows you to pin any of the actions.

Test: atest ChooserActivityTest
Test: manual - press/longpress targets in A-Z list
Change-Id: Ida56344c3451da80d7cbe61bac8ca2117497e59a
2019-12-17 11:09:21 -05:00
Luke Huang
d5f5adad39 Merge "Add new configuration loading path for apex module Cronet"
am: a960204edf

Change-Id: I116d759e0856086c53f7d7fa0d013ad212f42ade
2019-12-17 08:03:49 -08:00
Chavi Weingarten
1ae91f190f Merge "Added WindowMagnification for Accessibility in System UI" 2019-12-17 15:52:26 +00:00