Commit Graph

4798 Commits

Author SHA1 Message Date
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
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
TreeHugger Robot
d47fcfdc72 Merge "Adding support for adaptive battery saver." 2019-01-31 08:37:32 +00:00
TreeHugger Robot
bdd22d05a9 Merge "Consolidate wake-screen settings" 2019-01-31 05:30:10 +00:00
Alex Salo
f29e2228ce Merge "Remove PROPERTY_ prefix" 2019-01-31 01:49:10 +00:00
Soonil Nagarkar
c845053656 Merge "Location settings documentation and migration" 2019-01-31 01:14:12 +00:00
TreeHugger Robot
8dacd6195c Merge changes I8569aa7c,I2ac4ee57
* changes:
  Rename location access check flag.
  Rename Permissions Hub property.
2019-01-31 00:57:53 +00:00
Yiwen Chen
c948e0a4ef Merge "Add ramping ringer vibration duration flag" 2019-01-31 00:32:03 +00:00
TreeHugger Robot
2bd06a3062 Merge "Add sample rate for app compaction metrics." 2019-01-31 00:17:00 +00:00
Jeff Sharkey
2fbc125658 Merge "Respond to API feedback for directory names." 2019-01-31 00:05:06 +00:00
Kweku Adams
9f488e2eae Adding support for adaptive battery saver.
Adaptive battery saver is a state that can be entered into dynamically
without the user turning on full EBS. With this, some features of
battery saver can be enabled to save power before the user needs to have
EBS turned on.

Bug: 119261320
Bug: 32423528
Test: atest android.provider.SettingsBackupTest
Test: atest com.android.server.power.PowerManagerServiceTest
Test: atest com.android.server.power.batterysaver.BatterySaverPolicyTest
Test: atest com.android.server.power.batterysaver.BatterySaverStateMachineTest
Test: atest com.android.server.power.batterysaver.BatterySavingStatsTest
Test: atest CtsBatterySavingTestCases
Change-Id: Ib11ea069828275d788e20cd2e858375eaaea888e
2019-01-30 15:38:25 -08:00
Soonil Nagarkar
5e185019f0 Location settings documentation and migration
-Add new LOCATION_MODE_ON for internal use only
-Update location docs for Q
-Fix egregious copy/pasta bug

Bug: 118883513
Test: NA
Change-Id: I5c04786f912f1b8db33930449ae2ba5854a55981
2019-01-30 14:42:04 -08:00
Jeff Sharkey
c4597797d1 Respond to API feedback for directory names.
We have public APIs to set "primary" and "secondary" directory names
when contributing new media, but we don't have a way to read out that
information once an app targets Q.  So define columns to provide API
symmetry.

Also, since these are called "primary" and "secondary", it's
confusing to have a "secondary bucket ID" defined, so rename that to
be a "group ID" instead.

Since this is a major schema change, recalculate all columns that
are derived from file paths.

Fix bugs where we tried dropping SQLite internals when wiping the
schema of a database, which would have always failed.

Bug: 115377970
Test: atest MediaProviderTests
Test: atest cts/tests/tests/media/src/android/media/cts/MediaScanner*
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: I7b7b7e03bfdae6f94a1d70ac1d9e80776a2171b8
2019-01-30 15:14:26 -07:00
Ben Murdoch
2384df757c Add sample rate for app compaction metrics.
Introduce a parameter for simple sampling of app compaction
metrics as they go into statsd. Rate is confirgurable with
DeviceConfig.

Test: atest FrameworksServicesTests:AppCompactorTest
Bug: 123574961

Change-Id: Iebfd815dc4f7c6db7b849259d8b0b031e7de8621
2019-01-30 21:51:40 +00:00
Yiwen Chen
555b83df78 Add ramping ringer vibration duration flag
Bug: 120789399
Test: When finish the whole change, flash into a dev phone to test first.
Change-Id: I5ece793f1214e7b8a29f4c8d4abcc7fa6d7b511a
2019-01-30 21:27:41 +00:00
David Su
66ae702cdc Merge changes from topics "link-probe-overlay", "link-probe-feature-flag"
* changes:
  Link Probing: Add overlay flag to disable feature by default
  Link Probing: Add feature flag
2019-01-30 20:50:24 +00:00
Sudheer Shanka
415c74155c Merge "Don't ignore COLUMN_MEDIA_SCANNED values from caller." 2019-01-30 18:22:02 +00:00
Joel Galenson
c4d8921e5f Rename location access check flag.
Bug: 112390914
Test: atest CtsPermissionTestCases:android.permission.cts.LocationAccessCheckTest
Change-Id: I8569aa7c3567241bd4f6a03ce3449d29b4ea3795
2019-01-30 10:02:24 -08:00
TreeHugger Robot
5bbb5b4d57 Merge "Add native boot flag namespace for activity_manager" 2019-01-30 17:35:20 +00:00
TreeHugger Robot
f5e3df81cf Merge "Rename fsi_boot to dex_boot and the flag names" 2019-01-30 17:26:51 +00:00
Misha Wagner
4b32c9fbe9 Add settings for KernelCpuThreadReader
Settings include:
- Number of buckets
- UID predicate for which threads to collect data for

Test: to test UID selection: `atest KernelCpuThreadReaderTest`
Test: to test settings application: `adb shell cmd settings put ...` and
manual inspection of `pull-source`
Bug: 123562450
Change-Id: I9d97dfc1c120fcf1b04dadb6ce24863afeff053c
2019-01-30 16:24:00 +00:00
Joel Galenson
d382ad4858 Rename Permissions Hub property.
Bug: 122615235
Test: Manually set/unset flag, see/don't see Permissions Hub screens.
Change-Id: I2ac4ee57352726d9e84ee062a0f6884c9fcba0ad
2019-01-30 07:26:09 -08:00
Yueming Wang
17af4f0050 Merge "Update startViewCalendarEventInManagedProfile API according to API review" 2019-01-30 13:44:49 +00:00
Oscar Shu
aaf9b88835 Merge "Revert "Wifi MAC Randomization: Developer option change global settings"" 2019-01-30 10:55:34 +00:00
Lucas Dupin
e3218c1acd Consolidate wake-screen settings
Test: manual
Bug: 111414690
Change-Id: I8e0eee3ea00b1eb9cbe534cc60bfccec43cf8e31
2019-01-30 05:16:46 +00:00
Sudheer Shanka
684c02a773 Don't ignore COLUMN_MEDIA_SCANNED values from caller.
Right now, DownloadProvider only uses the COLUMN_MEDIA_SCANNED
value if it is coming from addCompletedDownload and for the rest
of the requests, it ignores the incoming COLUMN_MEDIA_SCANNED value
and always invokes mediascanner. This is not what the documentation
says. For e.g., if the caller uses DownloadManager.setDestinationUri()
API, then unless otherwise specified, the download doesn't need to be
mediascanned.

Also, since we are inserting user visible downloads to MediaProvider,
use that info to populate the COLUMN_MEDIAPROVIDER_URI column as well
and update DownloadProvider to not invoke MediaScanner.

Bug: 123440050
Test: atest DownloadProviderTests
Test: atest cts/tests/app/src/android/app/cts/DownloadManagerTest.java
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: I65ccae672eabe2efd5132d4b105c18bb591379fc
2019-01-29 19:09:26 -08:00
yuemingw
05896da8de Update startViewCalendarEventInManagedProfile API according to API review
1. Replaced ACTION_VIEW_WORK_CALENDAR_EVENT with
ACTION_VIEW_MANAGED_PROFILE_CALENDAR_EVENT
2. Improved the javadoc for EXTRA_EVENT_ID
3. Improved the javadoc for startMs and endMs

Bug: 122899642
Bug: 122898273
Bug: 122900059
Test: atest ManagedProfileTest#testCrossProfileCalendar
Change-Id: Ida84cd0d7d941e18acb9140c8fffc27b1ebd0a6c
2019-01-30 01:42:42 +00:00
Victor Hsieh
51c440366a Rename fsi_boot to dex_boot and the flag names
During the discussion in cl/229444950, we decide to rename the namespace.

Test: make
Bug: 120793002
Change-Id: I3ff2024912cc0df19b7c92a33f68476242158301
2019-01-29 17:19:52 -08:00