Commit Graph

92672 Commits

Author SHA1 Message Date
Jeff Sharkey
fc24615213 Promote generic columns up to MediaColumns.
Based on feedback from developers, they need to query these columns
on the general "Files" table, so we need to promote them to the
general "MediaColumns" common interface to make them available.

Bug: 130254706
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: I66afa14799ae42deea519d121177b2c8469889ab
2019-04-12 11:52:18 -06:00
Nandana Dutt
8a69e0b393 Merge "Expose bugreporting service name" into qt-dev 2019-04-12 10:48:44 +00:00
Mihai Popa
8621631bf8 Merge "Revert "Stop window redraws for invisible parent children"" into qt-dev 2019-04-12 10:26:10 +00:00
Adrian Roos
76d2f52e3f Merge "System Bars: API to ensure contrast when app requested transparent bar" into qt-dev 2019-04-12 09:43:57 +00:00
TreeHugger Robot
bb8b7e57c2 Merge "DO NOT MERGE Do not check product unbundled from Q" into qt-dev 2019-04-12 08:20:22 +00:00
Kiyoung Kim
be955e81b1 DO NOT MERGE Do not check product unbundled from Q
This code should be enabled from R, but for some devices it just works
because of target SDK + no /product/lib directory. To avoid confusion
this code should be removed from Q release

Bug: 129011845
Test: m -j
Change-Id: I4d85cbcb5e2cbe694ec065f4e3d060eb74f542ba
2019-04-12 10:52:43 +09:00
Shawn Lin
be0106abce Merge "Remove DocumentsStatsLog.java" into qt-dev 2019-04-12 01:49:12 +00:00
Chiachang Wang
fa124d7bf4 Merge "Migrate NetworkStack metrics off StatsLog.write" into qt-dev 2019-04-12 01:04:30 +00:00
TreeHugger Robot
6ce0a59623 Merge changes I98573a5c,Ic7394f24 into qt-dev
* changes:
  Enable checks for MANAGE_TEST_NETWORKS in TestNetworkService
  Cleanup of Test Network service
2019-04-12 00:54:45 +00:00
Kevin Chyn
a0d2d2021d Merge changes from topic "face-logging" into qt-dev
* changes:
  Populate debug value for biometric atoms
  Adding debug value to Biometric atoms.
2019-04-12 00:14:36 +00:00
TreeHugger Robot
1d66b0b0d0 Merge "Update LoadedApk instead of re-creating on outdated cache" into qt-dev 2019-04-12 00:08:22 +00:00
TreeHugger Robot
116ca5db5b Merge "Adds sanity checks to session commit and abandon" into qt-dev 2019-04-12 00:07:21 +00:00
Lorenzo Colitti
5c7c6a4b7d Merge "Add support for TAP interfaces in TestNetworkManager." into qt-dev 2019-04-11 23:50:59 +00:00
Kevin Chyn
4858da4aa6 Populate debug value for biometric atoms
Fixes: 130363518

Test: Builds
Change-Id: I73e8bbb6d9f310ee025bce271bf9470b47626ecc
2019-04-11 16:41:44 -07: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
Benedict Wong
b4e98f3b0b Cleanup of Test Network service
This follow-up change performs some cleanup changes without affecting
functionality

Bug: 72950854
Test: Compiles, CTS tests using this pass
Change-Id: Ic7394f24f11d713c9374b438182e29d2a02ea236
Merged-In: Ic7394f24f11d713c9374b438182e29d2a02ea236
(cherry picked from commit 7df36ed96a)
2019-04-11 20:04:06 +00:00
Winson
71cf350f8e Update LoadedApk instead of re-creating on outdated cache
Recreating the entire object drops the mApplication inside,
so multiple Application instances are unexpectedly created.

Instead, call into updateApplicationInfo to replace
the Resources object manually.

Bug: 129890769

Test: device boots, applies overlay paths correctly; was unable
to reproduce a case where the overlays are missing from the
system itself, other Resources/caching changes may have
decreased the occurrence rate

Change-Id: Ib5e7d6ca79ac5b37d5691ce327e3b66cc4672335
2019-04-11 11:36:04 -07:00
Alison Cichowlas
902e82278a Merge "Add a longpress timeout config for screenshot chord" into qt-dev 2019-04-11 18:33:43 +00:00
Patrick Baumann
00321b7026 Adds sanity checks to session commit and abandon
This change ensures we cannot commit or abandon a child session that has
been added to a parent session. It also ensures that a child session
being added to a parent has not already been added to another parent and
that it has not yet been committed or destroyed.

Fixes: 129534286
Test: atest CtsAtomicInstallTestCases:AtomicInstallTest
Change-Id: Id1b3524acb5bf546f7239ae644fb3080c0d3128b
2019-04-11 11:07:13 -07:00
TreeHugger Robot
49e9f80efd Merge "Wait for RELRO before starting WebViewZygote at boot." into qt-dev 2019-04-11 17:27:55 +00:00
Nandana Dutt
d7e8d5a108 Expose bugreporting service name
Also add @TestApi so GTS tests can be written.

BUG: 123578274
Test: builds
Change-Id: Ia43edb8aecbdd7138468a92692a2e0bd72379bdf
2019-04-11 16:57:39 +00:00
Mihai Popa
175579b4b8 Revert "Stop window redraws for invisible parent children"
This reverts commit 4add16c4b8.

Bug: b/130061620
Bug: b/129692959

Change-Id: I07c54f1510d7a5e3aff92cbfffe944e9e8dae9a9
2019-04-11 16:43:56 +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
Adrian Roos
6eb1ed3a61 System Bars: API to ensure contrast when app requested transparent bar
Bug: 129533768
Test: atest EnsureBarContrastTest
Change-Id: I42facefc15dce227193a4db5f368184e1b5ebd32
2019-04-11 16:50:32 +02: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
Chiachang Wang
e512b26913 Migrate NetworkStack metrics off StatsLog.write
Now that the new metrics API can be used, NetworkStack
metrics need to migrate off the legacy StatsLog.write.

Bug: 130323000
Test: Test with ./out/host/linux-x86/bin/statsd_testdrive 121
      to ensure log properly
Test: Ensure NetworkStackStatsLog will be generated as expected
Test: atest NetworkStackTest

Change-Id: I8c70503cf1d9f1d06f30a1936d2d88857d0cff53
2019-04-11 21:24:28 +08: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
shawnlin
cf18ac827c Remove DocumentsStatsLog.java
This file is no longer needed since we now use the new design of statsd
for mainline module.

Fixes: 130203187
Test: make
Change-Id: I9003e9b49c533861969a0355d008565bb1cffa6c
2019-04-11 15:47:58 +08: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