Commit Graph

108441 Commits

Author SHA1 Message Date
Chavi Weingarten
bc66f23f1a Merge "Support talkback for functions on the caption view." 2019-11-18 20:34:59 +00:00
TreeHugger Robot
82865f85c1 Merge "Pipe featureId from app to noteOp for WallpaperMgr" 2019-11-18 19:01:35 +00:00
Aran Ink
6a1fbf8462 Merge "Convert TakeScreenshot finishers Runnables to Consumer<Uri>" 2019-11-18 18:22:19 +00:00
Makoto Onuki
b8cf86a2ca Merge "Clean up system service registration. (2nd try)" 2019-11-18 17:22:13 +00:00
Kenny Guy
e9eb313f14 Merge "Add an API to BrightnessConfiguration to enable colour sampling." 2019-11-18 16:50:34 +00:00
Aran Ink
eb565fc85a Convert TakeScreenshot finishers Runnables to Consumer<Uri>
Test: Automated tests pass.
Change-Id: I431dc812903a61a862497287bfd5e4871f399002
2019-11-18 10:40:01 -05:00
Roshan Pius
3d9b7b6b8a Merge "StaticIpConfiguration: Couple of minor fixes" am: 5c4c9872c5 am: 402e33e6e7
am: d3e4bc9004

Change-Id: I66a1e125c1ecfa456ae7e83153dfc02eb7d7d3b0
2019-11-18 07:17:43 -08:00
Anna Trostanetski
77361b326d Merge "Make CompatConfig be package private." am: 688b3aea7c am: eec638dada
am: 57d083db3b

Change-Id: I53846ae6444b539f3955df33c586a22c6f4e79f1
2019-11-18 07:14:17 -08:00
Roshan Pius
d3e4bc9004 Merge "StaticIpConfiguration: Couple of minor fixes" am: 5c4c9872c5
am: 402e33e6e7

Change-Id: Ic40a6d4221cdb39e40b895efbe313160b7ab0846
2019-11-18 07:14:08 -08:00
Anna Trostanetski
57d083db3b Merge "Make CompatConfig be package private." am: 688b3aea7c
am: eec638dada

Change-Id: I7c5fec41bd74e19bffcdcbb6a096197f365936a4
2019-11-18 07:10:44 -08:00
Roshan Pius
402e33e6e7 Merge "StaticIpConfiguration: Couple of minor fixes"
am: 5c4c9872c5

Change-Id: I29469c22d25fd812590f7adca23ef83337580b2b
2019-11-18 07:10:41 -08:00
Anna Trostanetski
eec638dada Merge "Make CompatConfig be package private."
am: 688b3aea7c

Change-Id: Id8fcdf026bc41b94a3050d9d261b41cbb97a38e5
2019-11-18 07:07:22 -08:00
Roshan Pius
5c4c9872c5 Merge "StaticIpConfiguration: Couple of minor fixes" 2019-11-18 15:05:31 +00:00
Anna Trostanetski
688b3aea7c Merge "Make CompatConfig be package private." 2019-11-18 14:51:32 +00:00
Jayachandran Chinnakkannu
a46de19da4 Merge "Remove usage of Telephonymanager getDefault() and from() hidden APIs" am: 73e22ad21d am: 306f8cecf8
am: 6d2b8e0d6a

Change-Id: Ief1f090f3664d583565f291c89357bfbac58fe17
2019-11-18 01:09:40 -08:00
Jayachandran Chinnakkannu
6d2b8e0d6a Merge "Remove usage of Telephonymanager getDefault() and from() hidden APIs" am: 73e22ad21d
am: 306f8cecf8

Change-Id: I7613a654dd726bcf5428a5a07ad4369f616bbcfa
2019-11-18 01:05:02 -08:00
Jayachandran Chinnakkannu
306f8cecf8 Merge "Remove usage of Telephonymanager getDefault() and from() hidden APIs"
am: 73e22ad21d

Change-Id: I555617ff893acf4c53e6a73d6591b6aaebf3ce50
2019-11-17 22:30:01 -08:00
Jayachandran Chinnakkannu
73e22ad21d Merge "Remove usage of Telephonymanager getDefault() and from() hidden APIs" 2019-11-18 06:16:09 +00:00
Rahul Sabnis
ce1c461f6c Merge "Re-add getAliasName to fix build breakage" am: e905264d3c am: f6231d08d1
am: d01af7b1b2

Change-Id: Ie577452177e364cde4e894f492b439988a6d214a
2019-11-17 20:46:11 -08:00
Rahul Sabnis
d01af7b1b2 Merge "Re-add getAliasName to fix build breakage" am: e905264d3c
am: f6231d08d1

Change-Id: I4f965e8712f7c039c54162584f48f3a103420601
2019-11-17 20:42:33 -08:00
Rahul Sabnis
f6231d08d1 Merge "Re-add getAliasName to fix build breakage"
am: e905264d3c

Change-Id: Icda73f1ab221523248249f88fb9f0f4dd5da3a19
2019-11-17 20:39:01 -08:00
Goven Liu
b75323eb34 Merge "[Wi-Fi] Add intent action & extra keys & result codes for add networks." 2019-11-18 04:33:17 +00:00
Treehugger Robot
e905264d3c Merge "Re-add getAliasName to fix build breakage" 2019-11-18 04:24:51 +00:00
Rahul Sabnis
d14320d21c Re-add getAliasName to fix build breakage
Bug: 144619887
Test: Manual
Change-Id: Ib4f3582a1c9cb8cbcb14fece6a3ab463b3400cea
2019-11-16 11:52:13 -08:00
Jiyong Park
de26442649 Merge "remove framework_base_subdirs" am: 46397049fe
am: 7cd8f399f7

Change-Id: I1dc1009490d3e1d26257b7490f1a44bd91b91085
2019-11-16 07:35:07 -08:00
Jiyong Park
7cd8f399f7 Merge "remove framework_base_subdirs"
am: 46397049fe

Change-Id: I910bc8f5f7266e70fe3d8549aab51c2e504298a0
2019-11-16 07:31:54 -08:00
Jiyong Park
46397049fe Merge "remove framework_base_subdirs" 2019-11-16 15:21:03 +00:00
Jiyong Park
ced28d531d remove framework_base_subdirs
Metalava no longer requires it at least for droidstubs in this
directory. Even when local_sourcepath is not set, the -sourcepath option
is set to the module directory (frameworks/base in this case), and
metalava tries to find package.html files under the directory to know if
a package is hidden or not.

Exempt-From-Owner-Approval: cherry-pick from internal

Bug: 144264106
Test: m

Merged-In: Idfa2aa392ae1da9582e7691a8c06c986baad5088
(cherry picked from commit e53786e864)
Change-Id: Idfa2aa392ae1da9582e7691a8c06c986baad5088
2019-11-16 20:48:06 +09:00
TreeHugger Robot
19e6a8c5c1 Merge "remove framework_base_subdirs" 2019-11-16 08:08:52 +00:00
Jayachandran C
82e53b725a Merge "Remove usage of Telephonymanager getDefault() and from() hidden APIs" am: 337df70e17 am: 0a86ee3b3e
am: 78f84d5abe

Change-Id: I24e2c0c353f9e74a65c2e3d24a43338022b3efc4
2019-11-15 22:25:23 -08:00
Jayachandran C
78f84d5abe Merge "Remove usage of Telephonymanager getDefault() and from() hidden APIs" am: 337df70e17
am: 0a86ee3b3e

Change-Id: I2b1be68cd2eea8a4795a882933ed91dbf6ed83ee
2019-11-15 22:11:01 -08:00
Jeff Sharkey
eca95ef9e8 Merge changes from topic "nov15"
* changes:
  Expand ContentProviderOperation support of extras.
  Extend insert/update/delete to provide extras.
  Query arguments for grouping, other SQL clauses.
2019-11-16 04:20:10 +00:00
Philip P. Moltmann
41ff0f6724 Pipe featureId from app to noteOp for WallpaperMgr
Test: atest CtsAppOpsTestCases(now includes canary test for this flow)
Bug: 136595429
Change-Id: I5f309646286cc4f3e080b87f482199fface67370
2019-11-15 20:09:13 -08:00
Jayachandran C
43fa1be03a Remove usage of Telephonymanager getDefault() and from() hidden APIs
This CL replaces with getSystemService(TelephonyManager.class)

Bug: 140768340
Test: atest frameworks/base/tests/net
Change-Id: I0f14cc5440fa85c81ab90f3199e9e91c1b00f5e1
2019-11-15 19:26:33 -08:00
Jayachandran C
0a86ee3b3e Merge "Remove usage of Telephonymanager getDefault() and from() hidden APIs"
am: 337df70e17

Change-Id: Iba519e0e11af591d93f9bca5e09aab6191240b39
2019-11-15 19:11:44 -08:00
Treehugger Robot
337df70e17 Merge "Remove usage of Telephonymanager getDefault() and from() hidden APIs" 2019-11-16 01:36:08 +00:00
Rahul Sabnis
693269e6e2 Merge "Refactor methods to access/modify BluetoothDevice alias and name" am: 67bef6ab92 am: 90a45d63bc
am: a00cb4b8b0

Change-Id: I587f4c0d9aea8114ff4a71259001b399447b40c0
2019-11-15 16:06:31 -08:00
Rahul Sabnis
a00cb4b8b0 Merge "Refactor methods to access/modify BluetoothDevice alias and name" am: 67bef6ab92
am: 90a45d63bc

Change-Id: I96a1cffd308983a131ad00c2ba1da050a32900d1
2019-11-15 15:51:05 -08:00
Jayachandran C
16dce22bf5 Remove usage of Telephonymanager getDefault() and from() hidden APIs
This CL changes to use getSystemService(TelephonyManager.class)

Bug: 140768340
Test: Build
Change-Id: I1fcf2c17456f126584df359547f64c07c168aa65
2019-11-15 15:46:43 -08:00
Rahul Sabnis
90a45d63bc Merge "Refactor methods to access/modify BluetoothDevice alias and name"
am: 67bef6ab92

Change-Id: Id0a50d482a7ff33df5fcd990a3ce5273956fcc5c
2019-11-15 15:40:17 -08:00
Treehugger Robot
67bef6ab92 Merge "Refactor methods to access/modify BluetoothDevice alias and name" 2019-11-15 23:20:37 +00:00
Evan Rosky
0740566355 Merge "Include IWindowContainer token along with StackInfo" 2019-11-15 22:56:31 +00:00
James O'Leary
fe08abee19 [DO NOT MERGE] Convert TakeScreenshot finishers Runnables to Consumer<Uri>
am: 712eb51dc9

Change-Id: I1a5cc3ceef3f95e02abcbe86fcafd56e19aedc65
2019-11-15 14:05:59 -08:00
Hyangseok Chae
1e83f128f0 Support talkback for functions on the caption view.
Accessibility talkback feature works partially.
Support talkback for a title on caption view.

Test: manual
1. Enable Accessibility TalkBack
2. Execute application with freeform
3. Touch title on the freeform window
4. Check speech "App in Pop-up window"

Bug: 144271785

Change-Id: I5ab3cd23610f37a8b930de4710abf8ae62f65b84
(cherry picked from commit b51a68057f5d1498e3a87a10928d8377ad82acd0)
2019-11-15 21:42:47 +00:00
Makoto Onuki
05b14f53a5 Clean up system service registration. (2nd try)
Bug: 143788029
Test: boot
Test: build/soong/soong_ui.bash --make-mode dist ANDROID_BUILDSPEC=vendor/google/build/app_build_spec.mk
(This build uses java 8, which caused a build failure at the first try)

Test: atest SystemUITests

Change-Id: I352df4e76c9a2e787c9b4216b26d8d5fc84ff369
2019-11-15 13:39:20 -08:00
Jayachandran Chinnakkannu
90982acede Merge "Add static version of getSimCountryIso() called getDefaultSimCountryIso()" 2019-11-15 21:33:30 +00:00
Jeff Sharkey
243d5f197c Expand ContentProviderOperation support of extras.
Now that we allow extras in more ContentProvider calls, we should
also allow CPO to define and pass those extras into a provider.  We
recently added flexible utility methods like withExtraBackReference(),
so this change starts passing those values to insert, update, delete,
and query.

Bug: 131643582
Test: atest CtsContentTestCases
Change-Id: I4a445c061bbd84f45bdb80d336a2d0928b7fbe9c
2019-11-15 14:11:42 -07:00
Jeff Sharkey
e9fe152f31 Extend insert/update/delete to provide extras.
A few releases ago we added ContentResolver.QUERY_ARG_* constants
to query() as a new best-practice that will help wean us off raw
SQL arguments.  (For example, a provider could add their own
custom arguments like QUERY_ARG_INCLUDE_PENDING to cause the query
to reveal pending items that would otherwise be hidden.)  This
change expands update() and delete() to accept those arguments.

This change also expand insert() to accept extras too, as part of
preparing to support an upcoming MediaProvider feature that will let
apps place new media "adjacent" to an existing media item.  (Sending
that adjacent item through extras is cleaner than trying to send it
through escaped query parameters.)

Bug: 131643582
Test: atest CtsContentTestCases
Change-Id: I436296155b9b5f371b4cbe661feaf42070285fcc
2019-11-15 13:46:31 -07:00
Jayachandran C
dc8cb2905e Add static version of getSimCountryIso() called getDefaultSimCountryIso()
This new system API will use the default subscription to get the ISO

Bug: 140768340
Test: Sanity
Change-Id: I362acaed0085a535104a1f0af606fd0891608c8d
2019-11-15 11:18:52 -08:00
Adam Bookatz
b9a57da94c Merge "Introduce user types" 2019-11-15 19:15:37 +00:00