Commit Graph

4824 Commits

Author SHA1 Message Date
TreeHugger Robot
79822242de Merge "Split blacklist from versioned blacklists." 2019-02-12 19:23:01 +00:00
Peiyong Lin
075a9e833f Split blacklist from versioned blacklists.
Previously we use blacklist to get all blacklists, to maintain the consistency
between blacklist and whitelist, and to move blacklist processing to GPU
service, we added blacklists to store all blacklists, and now blacklist will
only represent one blacklist.

BUG: 120869311
Test: Build, flash and boot. Verified in master patch ag/6288554
Change-Id: Ifac875177ad959705c8f80672341c4cbee7bbc93
Exempt-From-Owner-Approval: Change in CoreSettingsObserver.java is too minor
2019-02-12 17:15:01 +00:00
Mathieu Chartier
bd3810b28f Merge "Revert "Revert "Add view inflation device config property""" 2019-02-12 11:11:33 +00:00
TreeHugger Robot
8c04b9f4b9 Merge "Add setting for Aware allowed/disallowed" 2019-02-12 02:02:15 +00:00
TreeHugger Robot
2e71c58863 Merge "Exposed even moar DeviceConfig APIs for testing." 2019-02-12 00:47:56 +00:00
Felipe Leme
5d56e66495 Merge "Use DeviceConfig to configure Augmented Autofill Modes." 2019-02-11 22:06:36 +00:00
Felipe Leme
cc5102705a Exposed even moar DeviceConfig APIs for testing.
Test: atest AugmentedLoginActivityTest
Test: m update-api
Bug: 124006095

Change-Id: I6e2e1f24ba5cc442d533f7d67cea40a670be3937
2019-02-11 10:03:26 -08:00
Felipe Leme
7841d02e36 Use DeviceConfig to configure Augmented Autofill Modes.
Test: atest AugmentedLoginActivityTest
Bug: 121037717

Change-Id: I269946b3055bce82872976d88fa315c7d8c01b99
2019-02-11 10:03:10 -08:00
Mathieu Chartier
743b363226 Revert "Revert "Add view inflation device config property""
Bug: 111895153
Bug: 123524494
Test: unlock lockscreen
Test: cts-tradefed run cts --enable-parameterized-modules --module-parameter instant_app -m CtsAccelerationTestCases
Test: 6/6 pass as expected (TOT)

This reverts commit 2a3b4394384217ae65b430339270c8914639a9e3.

Change-Id: Ib2267a10ef44b01bc077893172ad39b43ead7841
2019-02-11 16:47:56 +00:00
Hongyi Zhang
29301d3300 add scheduler namespace and flag
add namespace scheduler and flag enable_fast_metrics_collection

Bug: 120167542
Test: m -j passed
Change-Id: I17857e8ac94f21b462d120ef0c584ac2d5bce8fd
2019-02-11 06:15:51 +00:00
Jeff Sharkey
1e9e973153 Merge changes from topic "columnz"
* changes:
  Resolve symlinks when listing scan paths.
  Use newly defined columns for directory names.
2019-02-09 02:08:14 +00:00
Felipe Leme
aa4eecad07 Merge changes from topics "kill_switch", "disabled_by_device_config"
* changes:
  Reverted ContentCapture kill-switch mechanism.
  Disable ContentCapture at runtime when it's disabled by DeviceConfig.
2019-02-09 01:45:06 +00:00
Jeff Sharkey
858b311cee Resolve symlinks when listing scan paths.
Some paths like /product might be symlinks to /system/product.

Bug: 124070462, 124074176, 124074218, 124074430
Test: atest CtsMediaTestCases
Change-Id: Ic0aa388f385d13a124ae170686dea18e716016e0
2019-02-08 14:39:01 -07:00
Jeff Sharkey
d8dc4bcdcc Use newly defined columns for directory names.
Instead of using Uri query parameters to configure directory names,
this moves to using real columns that we recently added.

Bug: 123967243, 115377970
Test: atest MediaProviderTests
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: I8aa2c65a7b3552cd1ef0b6371dfd52c0798db218
2019-02-08 14:03:40 -07:00
Beverly Tai
f4b2b512be Merge "By default, all notifications can be bubbled" 2019-02-08 19:06:06 +00:00
Felipe Leme
14ef461fc2 Reverted ContentCapture kill-switch mechanism.
Fixes: 121153631
Fixes: 121144410

Test: atest CtsContentCaptureServiceTestCases

Change-Id: Ic0e3fe6e93a8c2aff12eebcf9872f0082a361589
2019-02-08 10:45:50 -08:00
Jeff Sharkey
699905e5c7 Merge "Start paving the way for XMP metadata." 2019-02-08 18:04:28 +00:00
Beverly
4179f99521 By default, all notifications can be bubbled
- Also add @TestApi to NOTIFICATION_BADGING to allow
setting to be cts tested

Bug: 124047225
Test: atest cts/tests/app/src/android/app/cts/NotificationManagerTest.java
Change-Id: I4c46ef2162b6d240471c867838c47f08434f67a8
2019-02-08 11:57:48 -05:00
Felipe Leme
14608b3d7b Merge "Make some DeviceConfig methods available for testing." 2019-02-08 01:47:20 +00:00
Jeff Sharkey
c62b0aca8c Start paving the way for XMP metadata.
The Extensible Metadata Platform (XMP) standard is widely used to
annotate useful information about audio, video, and image files, so
this change starts indexing certain widely-useful fields.

For example, the "document ID" concept is designed to uniquely
identify media items regardless of renaming or trivial metadata
edits over time.  And "original document ID" gives a clean way of
identifying a chain of derivative works.

Finally, the "format" attribute can be used to specify a richer MIME
type that may not be recognizable from a file extension alone.

While we're making changes here, remove several APIs that we've
realized aren't needed for Q, such as "trashing."

Bug: 120791890
Test: atest MediaProviderTests
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: I0361dd857aed4c2e2f533685478db1c558a97564
2019-02-07 16:22:41 -07:00
John Reck
83e5eb59d7 Merge "Revert "Add view inflation device config property"" 2019-02-07 21:36:58 +00:00
Aurimas Liutikas
86ef44bcc7 Merge "Add helper methods for View attribute debugging" 2019-02-07 19:05:20 +00:00
John Reck
f8c0d70f3e Revert "Add view inflation device config property"
This reverts commit 86076a7cbe.

Reason for revert: Requires apps to have READ_DEVICE_CONFIG permission which they cannot possibly get. Also breaks instant apps (which don't have & can't get that permission)

Bug: 123524494
Test: CtsAccelerationTestCases[instant] passes.
Change-Id: I789a2c9007780331c510802a9f807cc24174be2d
2019-02-07 18:31:50 +00:00
Felipe Leme
d03283d024 Make some DeviceConfig methods available for testing.
Test: m update-api
Test: atest CtsContentCaptureServiceTestCases:android.contentcaptureservice.cts.CanaryTest

Bug: 123378494

Change-Id: Idd830956c27b01b33a429fb76df3df0856d5523b
2019-02-07 09:46:56 -08:00
Aurimas Liutikas
8f004c85a0 Add helper methods for View attribute debugging
Adding abilities to debug:
- Attribute resolution stack (which resources are looked
  at when resolving an attribute)
- Attribute value source (where did each attribute value
  get defined)
- Get explicit style id (if a view had it set via style="...")

This feature will be behind Settings.Global flag that Android
Studio will set to the debugged application package ID.

Bug: 111439551
Test: atest CtsViewTestCases:android.view.cts.ViewStyleTest
Change-Id: Ib6f9fc81000bb867b5b94a68953c99b0bc802d6c
2019-02-06 14:46:17 -08:00
Youming Ye
300cdfcd1b Merge "Add connect time to conference participant." am: bd2016353c am: 5ff42a7991
am: f62df78690

Change-Id: I5ccd356cc36abb68ef6112368c588a86574945ee
2019-02-06 14:39:25 -08:00
Youming Ye
f62df78690 Merge "Add connect time to conference participant." am: bd2016353c
am: 5ff42a7991

Change-Id: Ie88693e8ec940d9116c7ed459a44685e88e3aa88
2019-02-06 14:26:59 -08:00
Julia Reynolds
7f52f4a051 Merge "Add settings for notification bubbling" 2019-02-06 13:41:43 +00:00
TreeHugger Robot
c3136ab958 Merge "Add media_native flag namespace" 2019-02-06 03:44:33 +00:00
Mat Bevilacqua
7a8780be19 Add setting for Aware allowed/disallowed
Bug: 118171317
Test: make
Change-Id: I1d5f1d72b65a63ff2c7bf8e6abeeb170af47808a
2019-02-05 17:33:54 -08:00
Dongwon Kang
5ebb265fb6 Add media_native flag namespace
Test: add sepolicy, build, check GetServerConfigurableFlag function in
      media apex.
Bug: 123658514
Change-Id: Ic22561742c969d79f6aba8d2043501492cc30228
2019-02-05 16:36:49 -08:00
Raman Tenneti
33a11bd0e3 Fix merge problems with cherry-picking "Add notification settings to backup&restore" change into pi-dev
On 9/28 CL https://googleplex-android-review.git.corp.google.com/5116913 was checked into pi-dev. Merge was bad(couple of lines were lost during merge).

  https://b.corp.google.com/issues/35655737#comment34

Adding LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS and LOCK_SCREEN_SHOW_NOTIFICATIONS to SETTINGS_TO_BACKUP array. This fixes apct/framework/presubmit test failure.

Bug: 35655737
Bug: 118674794
Test: presubmit unit tests
Change-Id: I2e9cc95e8827e72ef3c09910d4d3e089bde375e5
Merged-In: I421c7487955ee339f88e3957c973375d0f87e2ff
2019-02-05 16:34:43 -08:00
Michael Groover
5ad658cd92 Merge "Add DeviceConfig switch to disable new dev ID access restrictions" 2019-02-06 00:00:08 +00:00
TreeHugger Robot
55593a983f Merge "Adding enableNightMode flag to BatterySaverPolicy." 2019-02-05 23:18:38 +00:00
Tony Mak
f014d01cdd Merge changes from topic "action-intent"
* changes:
  Update ExtService to use suggestConversationActions
  Support intent configuration for actions
2019-02-05 21:57:31 +00:00
Tony Mak
e1a27ac030 Update ExtService to use suggestConversationActions
1. Use suggestConversationActions for both replies and actions
2. Make existing flags configurable via DeviceConfig

Test: atest SmartActionHelperTest.java
Test: atest AssistantSettingsTest.java

BUG: 123745079

Change-Id: I9b84edf9818d5839202c337ac3c3d48378adbf55
2019-02-05 21:57:20 +00:00
Mathieu Chartier
c9dcaeb4a5 Merge "Add view inflation device config property" 2019-02-05 20:26:07 +00:00
Kweku Adams
4db6a3ca60 Adding enableNightMode flag to BatterySaverPolicy.
Also migrating UiModeManagerService to register a LowPowerModeListener
so it uses the more standard interface for Battery Saver.

Bug: 119261320
Bug: 122968431
Test: atest com.android.server.power.batterysaver.BatterySaverPolicyTest
Change-Id: I669737d5985d0b2835740a53695526a2119cdf49
2019-02-05 11:45:22 -08:00
Felipe Leme
aba2ef4af2 Merge "Made ContentCapture APIs available for testing." 2019-02-05 15:20:04 +00:00
Julia Reynolds
4509ce731c Add settings for notification bubbling
And a new api to consolidate that information for notification
listeners

Test: atest
Bug: 123543052
Change-Id: I61d1718ef5b5bb8ab824d4c3efff511669266313
2019-02-05 08:47:16 -05:00
Sudheer Shanka
609346bfd9 Merge "Translate sandboxed paths correctly for MediaStore.SCAN_FILE_CALL." 2019-02-05 06:00:06 +00:00
Felipe Leme
19652c0c27 Made ContentCapture APIs available for testing.
Test: atest CtsContentCaptureServiceTestCases
Test: m update-api

Bug: 123584359
Bug: 119187075

Change-Id: I4ece03de6c7994451dbb9d0ce36d37f20656d3e0
2019-02-04 21:09:16 -08:00
Sudheer Shanka
cae41c4065 Translate sandboxed paths correctly for MediaStore.SCAN_FILE_CALL.
Bug: 123642484
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore_DownloadsTest.java
Change-Id: Ie19beb12e546b1b78e8e0d056558444a255f394d
2019-02-04 18:16:15 -08:00
Mathieu Chartier
b31138f908 Add runtime_native_boot namespace
For runtime properties that require reboots.

Bug: 120794191
Bug: 123524494
Test: set a property and ensure it can be read in AndroidRuntime.cpp

Change-Id: I6287320465f633447a7ef65af6c29cd9f8cce18d
2019-02-04 14:45:53 -08:00
Youming Ye
d6de26ea61 Add connect time to conference participant.
Bug: 78176188
Test: Manual
Change-Id: Ifb7f061ddcc69356a21d08c9c446edeb38a6674c
2019-02-04 10:14:49 -08:00
Mathieu Chartier
86076a7cbe Add view inflation device config property
Added runtime namespace and corresponding device config property. If
the property is enabled, it overrides the system property.

Bug: 123524494
Bug: 111895153

Test: manual
Change-Id: I97f094e3a8471b72255b27fd0f10160040d49175
2019-02-04 08:55:43 -08:00
Misha Wagner
3bca79c932 Merge "Add settings for KernelCpuThreadReader" 2019-02-01 10:44:12 +00:00
Andy Hung
dd45d82911 Merge "Add master audio balance" 2019-02-01 01:53:28 +00:00
Edward Savage-Jones
35c292f57a Add master audio balance
Test: Change Balance through Settings, play audio
Bug: 28390736
Change-Id: I6cebd3fa448239999c5d624f10902152d0db679b
2019-01-31 15:30:42 -08:00
Michael Groover
0dbc35d1e9 Add DeviceConfig switch to disable new dev ID access restrictions
Bug: 117781266
Test: Manually verified new device ID access restrictions were disabled
      when the new switch was set to true.

Change-Id: I59570471acc8dd470eff837f50372d07c88c5035
2019-01-31 11:07:20 -08:00