Commit Graph

92653 Commits

Author SHA1 Message Date
Hayden Gomes
3c562e2474 Cleaning up SeekBarVolumizer
Bug: 129265140
Test: Built with make and ran on device
Change-Id: Ifcd9a24cd768249f1b6ec5ad7e2361bcacfb9a4d
2019-04-11 16:56:34 -07:00
Hayden Gomes
6d69bde308 Replacing AudioProductStrategies with List
- Removed AudioProductStrategies and updated usages to work with
List<AudioProductStrategy>
- ditributed looping logic to the respective callers

Test: built successfully with make and ran on device
Bug: 129265140
Change-Id: If95ba9c2418a1fda29590ca1af2d04e7395c2130
2019-04-11 16:56:34 -07:00
Lorenzo Colitti
5c7c6a4b7d Merge "Add support for TAP interfaces in TestNetworkManager." into qt-dev 2019-04-11 23:50:59 +00:00
Peiyong Lin
8f0e1cddbf Merge "[GraphicsEnvironment] Expose API to query whether an app should use game driver." into qt-dev 2019-04-11 23:21:29 +00:00
TreeHugger Robot
e54aa32b9c Merge "[RTT] Clean up doc" into qt-dev 2019-04-11 22:36:39 +00:00
TreeHugger Robot
3d6d6f0085 Merge "Changed intents for data and saver tiles" into qt-dev 2019-04-11 22:20:13 +00:00
TreeHugger Robot
3fe3dc7f5f Merge "Update documentation for fingerprint -> biometric" into qt-dev 2019-04-11 21:25:52 +00:00
TreeHugger Robot
73913e3bf6 Merge "Fixing HardwareBuffer leak when creating a bitmap" into qt-dev 2019-04-11 21:06:40 +00:00
David Brazdil
618940c95f Merge "Update AppComponentFactory.instantiateClassLoader docs" into qt-dev 2019-04-11 20:46:24 +00:00
Alison Cichowlas
902e82278a Merge "Add a longpress timeout config for screenshot chord" into qt-dev 2019-04-11 18:33:43 +00:00
TreeHugger Robot
49e9f80efd Merge "Wait for RELRO before starting WebViewZygote at boot." into qt-dev 2019-04-11 17:27:55 +00:00
Fabian Kozynski
2594b932c0 Changed intents for data and saver tiles
Changed the intents to point to the right settings. The intent in
CellularTile will point to the carrier selected as default for data if
there is one.

Test: manual, using DSDS
Fixes: 122676059
Change-Id: I71a8eac1754eaadda156209315a3a469e7e4f6d0
2019-04-11 12:34:13 -04:00
Mady Mellor
d8913d7eac Merge "Drop the 'initial' of suppressInitialNotification API" into qt-dev 2019-04-11 16:28:34 +00:00
TreeHugger Robot
ac3d917aa3 Merge "Remove remaining deepCopy() usages in TextClassifier" into qt-dev 2019-04-11 15:54:52 +00:00
Etan Cohen
f4062a93c5 [RTT] Clean up doc
Bug: 130329871
Test: N/A
Change-Id: Ia8c95cdaf98e121f01fc4409cd557735168171ec
2019-04-11 07:00:42 -07:00
Ricky Wai
bbde1150c5 Merge "Do not allow moveToFront() and moveTaskToFront() when app is in background" into qt-dev 2019-04-11 13:33:04 +00:00
Lorenzo Colitti
0b77c83ff6 Add support for TAP interfaces in TestNetworkManager.
Bug: 72950854
Test: builds, boots
Change-Id: I88bfd7f37c0ba0228f8288fe92212618ce134e4f
Merged-In: I88bfd7f37c0ba0228f8288fe92212618ce134e4f
(cherry picked from commit ba2eb5e062)
2019-04-11 12:04:23 +00:00
David Brazdil
1fe58ea321 Update AppComponentFactory.instantiateClassLoader docs
Clarify the intended use and properties of the default class loader.

Bug: 128524313
Test: n/a
Merged-In: Iae82554f9294d5248b98f1fa72fc1a47993e86fd
Change-Id: Iae82554f9294d5248b98f1fa72fc1a47993e86fd
(cherry picked from commit 59a97141c8)
2019-04-11 12:04:52 +01:00
TreeHugger Robot
b73580d2fa Merge "Revert "Remove overlay logic from package manager and parser"" into qt-dev 2019-04-11 04:12:23 +00:00
TreeHugger Robot
10093916cc Merge changes from topic "bt-metadata-api-v2-qt-dev" into qt-dev
* changes:
  Bluetooth metadata API changes in SettingsLib
  Refine Bluetooth Metadata API
2019-04-11 03:37:58 +00:00
Nikita Ioffe
7d7583e421 Merge "Improve documentation for getActiveStagedSession API" into qt-dev 2019-04-10 23:04:15 +00:00
Jack He
61034792b4 Revert "Remove overlay logic from package manager and parser"
This reverts commit c6778e5435.

Reason for revert: This CL causes Bluetooth fail to start

Bluetooth Java services cannot turn on.

Change-Id: I4a9649d61de7781d3a00074da780c3a5a1dfbd56
Fixes: 130260055
Test: compile, BluetoothInstrumentationTests
2019-04-10 23:01:45 +00:00
TreeHugger Robot
e8c5311cb0 Merge "Rename capabilities to adjustments" into qt-dev 2019-04-10 22:22:25 +00:00
Sean Stout
783bdb0dec Merge "Add android.settings.VIEW_ADVANCED_POWER_USAGE_DETAIL" into qt-dev 2019-04-10 22:02:40 +00:00
Sunny Goyal
62915b28e0 Fixing HardwareBuffer leak when creating a bitmap
Callers are supposed to close the hardware buffer themselves. Creating
a utility method around this

Bug: 123874711
Test: No more leak warning on device
Change-Id: I2cf215f0646222f63e564a58edab1ffffa396ff3
2019-04-10 21:59:57 +00:00
Torne (Richard Coles)
05a766e876 Wait for RELRO before starting WebViewZygote at boot.
We start WebViewZygote at boot time to ensure the first app to use
WebView doesn't have to wait, but we were not waiting for RELRO creation
to finish before doing so. Move the background task which starts the
zygote to WebViewUpdateServiceImpl and have it wait for the RELRO first
to ensure that we get the memory saving of RELRO sharing whenever
possible, instead of only when the timing happens to work out by chance.

Fixes: 130305037
Test: manual, check logs and relro sharing status after boot
Change-Id: I55c3f80b0db1dc82727b90c70f777618ca77a942
2019-04-10 17:59:52 -04:00
TreeHugger Robot
b5258351ea Merge "System Bars: Ensure contrast when app requested transparent bar" into qt-dev 2019-04-10 21:58:42 +00:00
Cody Northrop
3432b6df37 Merge "GPU Debug Layers: Allow multiple layer apps" into qt-dev 2019-04-10 21:38:31 +00:00
TreeHugger Robot
a00cee7fed Merge "Nullability for ViewTreeObserver gesture exclusion" into qt-dev 2019-04-10 21:32:33 +00:00
Michael Wachenschwanz
9f7dba6155 Merge "Remove Test Api annotation from ProtoInputStream" into qt-dev 2019-04-10 21:30:49 +00:00
TreeHugger Robot
0444bcc6d4 Merge "Add @CurrentTimeMillisLong to new API method" into qt-dev 2019-04-10 21:29:53 +00:00
Winson Chiu
6706c22b52 Merge "Close ApkAssets in PackageParser" into qt-dev 2019-04-10 21:28:43 +00:00
Nicolas Geoffray
5e05627687 Merge "Disable USAP when running in jitzygote mode." into qt-dev 2019-04-10 21:23:08 +00:00
Tony Mak
748281037b Remove remaining deepCopy() usages in TextClassifier
Did a grep to ensure no more deepCopy() in textclassifier folder.

BUG: 129901152

Test: atest cts/tests/tests/view/src/android/view/textclassifier/cts/

Change-Id: Ia1e6f3ad1664a0b57495d94d2cf5aa8945965862
2019-04-10 21:15:10 +00:00
Peiyong Lin
9eee3f956e [GraphicsEnvironment] Expose API to query whether an app should use game driver.
Game Driver and ANGLE require to disable graphics driver preloading, which
results in app launch time regression. Given that in early stage, only a few
applications will use them, we would like to make sure Zygote prefork comes
with a preloaded graphics driver, such that applications that don't go through
ANGLE or Game Driver can directly use Zygote prefork without having to load the
driver.

BUG: 130029351
Test: Verify with testing applications.
Change-Id: I8097f0f7a908be9967b08afb01dc0ce5ff7b3413
2019-04-10 13:23:13 -07:00
Jeff Sharkey
668f138c3a Merge "People might want GROUP_CONCAT." into qt-dev 2019-04-10 19:05:19 +00:00
Winson
7a3d82a581 Close ApkAssets in PackageParser
Immediately closes ApkAssets to free up some memory during package
parsing/install process.

This is used instead of implementing AutoCloseable because of
complexities with AssetManager and tracking assets opened
outside of the ApkAssets.java class.

Explained more in b/72056911.

Test: manually booted emulator; closing ApkAssets is used at
boot in PackageParser#parseApkLiteInner
Test: adb install test.apk && sleep 5 && adb uninstall test.package
&& sleep 1 && (adb shell lsof | grep "test.package") prints no
system_server references

Bug: 130182148

Change-Id: Ia471d7065e65bd39b535309de6c6da7ec35bdf12
2019-04-10 19:00:35 +00:00
Ned Burns
001277f606 Add @CurrentTimeMillisLong to new API method
Addressing API council feedback

Test: None
Bug: 123223649
Change-Id: I797e293be1fbb552c54d010a379d8e87a201a57c
2019-04-10 14:33:02 -04:00
TreeHugger Robot
3fa2657fd6 Merge "Hard-disable precompiled layouts" into qt-dev 2019-04-10 18:16:41 +00:00
Adam Powell
aa78d796f0 Nullability for ViewTreeObserver gesture exclusion
Bug: 128704597
Test: n/a
Change-Id: Ia89458cf967ab4e01738ba1658e3460f27ae1830
2019-04-10 18:09:44 +00:00
Julia Reynolds
088c448e79 Rename capabilities to adjustments
To match existing API

Test: make, cts
Fixes: 130224929
Change-Id: I881ce11b583b389ee43bad6b45f837c85f949aa5
2019-04-10 14:05:39 -04:00
Mady Mellor
b78bc92ed3 Merge "Make FLAG_BUBBLE public; update some documentation" into qt-dev 2019-04-10 17:33:20 +00:00
Jeff Sharkey
457296a084 Merge "Split VOLUME_EXTERNAL and VOLUME_PRIMARY." into qt-dev 2019-04-10 17:31:13 +00:00
Cody Northrop
f959f6b5aa GPU Debug Layers: Allow multiple layer apps
This allows applications to specify both a GLES layer app and a
Vulkan layer app, so both APIs can be debugged at the same time.

To specify multiple debug layer apps, colon separate them just
like the layers:

  adb shell settings put global gpu_debug_layer_app app1:app2:appN

Bug: 110883880
Test: atest CtsGpuToolsHostTestCases
Change-Id: I5f721b7d9de59577adb6cc03e909ff99ca79d75e
2019-04-10 11:02:28 -06:00
Jeff Sharkey
0ab6feb7c8 People might want GROUP_CONCAT.
Bug: 129890881
Test: none
Change-Id: I24b6cc3c65e7a25b34c57f17584ba75c40be38ab
2019-04-10 10:27:19 -06:00
Nikita Ioffe
05305027e1 Improve documentation for getActiveStagedSession API
Addressing API review in b/130224237.

Test: n/a
Bug: 130224237
Fixes: 130224237
Change-Id: Ic543412acdadfd08a0929ebff4b8e36567481e48
2019-04-10 17:26:35 +01:00
Ricky Wai
aca8a770cd Do not allow moveToFront() and moveTaskToFront() when app is in background
Bug: 129063631
Test: Unable to start activity / move task in background
Change-Id: Icb5ebad3567b911719341f221483df1a1512109b
2019-04-10 17:24:30 +01:00
Felipe Leme
bef3d76b16 Merge "Clarified ContentCaptureCondition constructor." into qt-dev 2019-04-10 16:19:56 +00:00
Adrian Roos
4c864595bd System Bars: Ensure contrast when app requested transparent bar
Bug: 129533768
Test: atest EnsureBarContrastTest
Change-Id: Ib8f4045b9e8e7bf65c13437133f114d91d0cb050
2019-04-10 18:16:25 +02:00
Eric Holk
49e7040b92 Hard-disable precompiled layouts
The feature is not enabled for Q, so although the cost of checking if it's
enabled is low, there's no reason to pay it at all.

Bug: 111895153
Change-Id: I0d20f47d2c8ddc15031257ce87b40a0d23a617ff
2019-04-10 09:16:05 -07:00