Commit Graph

6227 Commits

Author SHA1 Message Date
Tej Singh
3f93bd179c Merge "Add statsd flag namespaces" 2020-12-01 01:21:54 +00:00
Soonil Nagarkar
825d47614e Merge "Remove LOCATION_GLOBAL_KILL_SWITCH completely" 2020-12-01 00:46:35 +00:00
Zim
7ac598f2ad Remove dead isolated storage code from StorageManagerService
Isolated storage was added in Q (and enabled by default) and has been
replaced by FUSE in R

Additionally, we can remove the ExternalStorageMountPolicy concept
which is only required if isolated storage is false

Cleanup in preparation to introduce DeviceConfig changes for
transcoding

Bug: 169327180
Test: Builds
Change-Id: Ie2686d8efa6654ea6c4b4ca8c121c0c1841a6356
2020-11-27 09:45:50 +00:00
Soonil Nagarkar
00a2b6d443 Remove LOCATION_GLOBAL_KILL_SWITCH completely
This functionality is no longer needed as all battery saver related
logic is handled within location code.

Bug: 69373668
Test: presubmits
Change-Id: Ie79d6334e0aff5a6562ae0014b9274c81434b977
2020-11-23 14:36:49 -08:00
Songchun Fan
fcf4a0c5e0 Merge "[DeviceConfig] add schfan to OWNERS" am: 12fc9f58a4 am: 0aec249264 am: 92babaa746 am: 59e16410cc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1503393

Change-Id: Iab8e41148b4e7479e003bb67126bb071d9753fc3
2020-11-18 23:49:01 +00:00
Songchun Fan
59e16410cc Merge "[DeviceConfig] add schfan to OWNERS" am: 12fc9f58a4 am: 0aec249264 am: 92babaa746
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1503393

Change-Id: Iddf5d4c50c2da392e63eb84627525936346b273b
2020-11-18 23:42:20 +00:00
Songchun Fan
92babaa746 Merge "[DeviceConfig] add schfan to OWNERS" am: 12fc9f58a4 am: 0aec249264
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1503393

Change-Id: I5c5525cc6efee1bb9c858375c0d30ee3b79ba5d5
2020-11-18 23:35:52 +00:00
Songchun Fan
84c340e6ab [DeviceConfig] add schfan to OWNERS
Test: N/A
Change-Id: I851d3925fa328d06f8165f9da9b367221b734fac
2020-11-18 23:12:02 +00:00
Marcin Oczeretko
d620436ba7 Merge "Add configuration options to InteractionJankMonitor" 2020-11-18 23:00:53 +00:00
TreeHugger Robot
580ab7f58f Merge "Switch LatencyTracker to the DeviceConfig API" 2020-11-18 21:28:19 +00:00
TreeHugger Robot
8dcb16ed95 Merge "Added cross sim calling settings support" 2020-11-18 19:23:42 +00:00
Fan Zhang
9ad68d2823 Merge "Create setting key for emergency gesture call number override" 2020-11-18 17:28:40 +00:00
Tej Singh
3c093ddbf2 Add statsd flag namespaces
Add statsd_native and statsd_native boot namespaces, and sync them to
DeviceConfig.

Test: manually checked that statsd could receive flags with selinux
changes in
Bug: 172842175

Change-Id: I9b61e78e9131cf9733d46e73d9ea92e72d1ce1b7
2020-11-17 22:14:57 -08:00
Jack Yu
ea9050793c Added cross sim calling settings support
Added a telephony provider entry for storing the
user's settings.

Fix: 173250681
Test: Manual
Change-Id: I081c7e5fcc98f51a97c41a0a9a2b9b628c8d0415
2020-11-17 19:48:31 -08:00
Fan Zhang
8e089728c7 Create setting key for emergency gesture call number override
This setting will store an emergency number locally if government
provided emergency number (such as 911, 110) are not desired by user,
used by emergency apps such as EmergencyInfo and Personal Safety on
Pixel.

Bug: 172609395
Test: manual/rebuild
Change-Id: I8732c20f0438e521eaec73758242015794c80c3b
2020-11-17 14:47:28 -08:00
Marcin Oczeretko
3b462716ce Add configuration options to InteractionJankMonitor
Test: UTs + manual
Bug: 162927074

Change-Id: I3edf8d2ce3d2b3b7410fa56d46db0833ac23366d
2020-11-17 18:37:58 +00:00
Marcin Oczeretko
2db59986eb Switch LatencyTracker to the DeviceConfig API
Test: manual
Bug: 162927074

Change-Id: I4eaae9db74ac1b23bdd0e90a6981a852375f788b
2020-11-17 18:37:51 +00:00
Gyanesh Mittal
9431debc23 Deprecate the pre-defined apps of IM in the ContactsContract.
Test: build
Bug: 172950907
Change-Id: I17a86ac2f16c238a28af6e0f04cbadb98a0cf3b6
2020-11-16 14:21:42 -08:00
Sally
3be3d32392 Change forceBoldText to fontWeightAdjustment in Settings
Bug: b/170966021, b/110991537
Test: builds; switched between users
Change-Id: I61958e7f7926aa773d2326eaed34352d69bf057b
2020-11-13 19:43:29 +00:00
Yu-Han Yang
5f084f88db Merge "GNSS Satellite Blocklist Renaming" 2020-11-10 23:06:24 +00:00
Mathew Inwood
5a448e27ed Merge "Add maxTargetSdk restriction to unused APIs." am: f8abe13db4 am: eb80316624
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1468245

Change-Id: I60222cb1879651cf283e385519b5c4d156ab68a1
2020-11-09 15:24:20 +00:00
Mathew Inwood
f8abe13db4 Merge "Add maxTargetSdk restriction to unused APIs." 2020-11-09 14:41:20 +00:00
Grace Jia
1628da1ed5 Merge "Add missed information relative parameter and fields." am: 3014218c9e am: 25c392d7a1 am: e776e16151
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1167604

Change-Id: I9bbc329c80183fb93c604e05d9ea975a2cc5a3d4
2020-11-04 22:41:15 +00:00
Grace Jia
e776e16151 Merge "Add missed information relative parameter and fields." am: 3014218c9e am: 25c392d7a1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1167604

Change-Id: I634bbe43e14aef85a487681112f954a84075ca06
2020-11-04 22:09:44 +00:00
Grace Jia
3014218c9e Merge "Add missed information relative parameter and fields." 2020-11-04 21:16:48 +00:00
Marin Shalamanov
99aa6e7fe0 Add flag for match content frame rate
Add new Settings.Secure.MATCH_CONTENT_FRAME_RATE to store user's preferred
refresh rate switching type.

Bug: 161776333
Test: 1. adb shell settings put secure match_content_frame_rate [0|1|2]
      2. Verify the setting is correctly propagated:
         adb shell dumpsys display | grep mModeSwitchingType
         adb shell dumpsys SurfaceFlinger | grep allowGroupSwitching
      3. reboot and verify the setting is persisted

Change-Id: I95b3f3f550f3e49f3bc6858185a7f7af1d55a4a7
2020-11-04 14:15:04 +01:00
Mathew Inwood
5d123b6775 Add maxTargetSdk restriction to unused APIs.
These are APIs that have @UnsupportedAppUsage but for which we don't
have any evidence of them currently being used, so should be safe to
remove from the unsupported list.

Bug: 170729553
Test: Treehugger
Merged-In: I626caf7c1fe46c5ab1f39c2895b42a34319f771a
Change-Id: I54e5ecd11e76ca1de3c5893e3a98b0108e735413
2020-11-04 09:45:53 +00:00
Darryl Johnson
5104973509 Merge changes from topic "vendor-display-settings"
* changes:
  Add global development setting to enable/disable vendor display settings. (2/n)
  Seperate out DisplayWindowSettings persistence from retreival/policy logic. (1/n)
2020-11-03 19:49:02 +00:00
Darryl L Johnson
7bbe64f9d6 Add global development setting to enable/disable vendor display settings.
(2/n)

This change introduces the DEVELOPMENT_IGNORE_VENDOR_DISPLAY_SETTINGS
setting which controls whether or not WindowManagerService should return
display vendor settings provided in the vendor/ partition. This will be
added as an entry in Developer Options to allow ignoring vendor settings
and using the default settings.

Test: atest WmTests:WindowManagerSettingsTests
Bug: 168808369
Change-Id: Iece0b76e4861be56186333134d7d5b25cab5c7e0
2020-11-03 09:00:14 -08:00
Yi Kong
e0f130b36d Merge "Add NAMESPACE_PROFCOLLECT_NATIVE_BOOT for profcollect feature experiments" am: c4aedd1f87 am: 02709d5394 am: d2b9bd8405 am: 475fb2a707
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1471526

Change-Id: I006dbd6f8b0053aed42418f9c34d5b5b17d763e0
2020-11-03 02:14:49 +00:00
Yi Kong
475fb2a707 Merge "Add NAMESPACE_PROFCOLLECT_NATIVE_BOOT for profcollect feature experiments" am: c4aedd1f87 am: 02709d5394 am: d2b9bd8405
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1471526

Change-Id: I8fd2dd7166b12f80135a949c187f6298ca01e701
2020-11-03 01:58:06 +00:00
Yu-Han Yang
8318aba8ed GNSS Satellite Blocklist Renaming
Test: on device
Bug: 168111993
Change-Id: I2ee4414fbc1fcb7abe8a3d5b1099a3e6e58a6777
2020-11-02 17:47:59 -08:00
Yi Kong
d2b9bd8405 Merge "Add NAMESPACE_PROFCOLLECT_NATIVE_BOOT for profcollect feature experiments" am: c4aedd1f87 am: 02709d5394
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1471526

Change-Id: Ica83c944d645c9d1f23e5ba825e85491405bfc16
2020-11-03 01:41:59 +00:00
Grace Jia
3280596f6e Add missed information relative parameter and fields.
Test: android.provider.cts.CallLogTest
Bug: 144452099
Change-Id: Idb5fb877a5e947b00ae1d7d4046f0bef26af8550
2020-11-02 18:09:01 +00:00
Yi Kong
878268ceab Add NAMESPACE_PROFCOLLECT_NATIVE_BOOT for profcollect feature experiments
Bug: 79161490
Test: build
Change-Id: Icf8c24f6d5b63a28272e383e5ab0641032710cdd
2020-11-03 00:48:10 +08:00
Mathew Inwood
5f0edaaaf5 Add maxTargetSdk restriction to unused APIs.
These are APIs that have @UnsupportedAppUsage but for which we don't
have any evidence of them currently being used, so should be safe to
remove from the unsupported list.

Bug: 170729553
Test: Treehugger
Merged-In: I8285daa8530260251ecad6f3f38f98e263629ca7
Change-Id: I626caf7c1fe46c5ab1f39c2895b42a34319f771a
2020-11-02 10:30:09 +00:00
Robert Carr
b92fec61f6 Flip BLAST flag.
This flag will enable the BLASTBufferQueue adapter for use by ViewRootImpl.
BLASTSync and the BLASTBufferQueue in SurfaceView are still behind seperate flags.

Bug: 168506246
Test: Days of manual testing on multiple devices (stressed: app switching, rotation, SurfaceView, PIP, Split-screen). Multiple presubmits. 5 passing runs of flicker. Systrace inspection. App startup perf tests. Inspection of jankstats from experiment based flip in R dogfood.
Change-Id: I2b6e37884d938d327479977becbbce8e38e521f0
2020-10-29 16:00:12 -07:00
TreeHugger Robot
a15b4bb4fd Merge "Remove LOCATION_PROVIDERS_ALLOWED completely" 2020-10-29 18:50:12 +00:00
Soonil Nagarkar
3bacac2197 Remove LOCATION_PROVIDERS_ALLOWED completely
Test: presubmits only
Change-Id: I68d7c53c0edc2df0ab3642451aa1ee84b03d7dcc
2020-10-29 10:15:26 -07:00
Kweku Adams
6dac7fd2d0 Merge "Migrate AppStandbyController to DeviceConfig." 2020-10-29 15:25:26 +00:00
Mathew Inwood
8e742f928e Add maxTargetSdk restriction to unused APIs.
These are APIs that have @UnsupportedAppUsage but for which we don't
have any evidence of them currently being used, so should be safe to
remove from the unsupported list.

This is a resubmit of ag/12929664 with some APIs excluded that caused
test failures; see bugs 171886397, 171888296, 171864568.

APIs excluded:
Landroid/bluetooth/le/ScanRecord;->parseFromBytes([B)Landroid/bluetooth/le/ScanRecord;
Landroid/os/Process;->myPpid()I
Landroid/os/SharedMemory;->getFd()I
Landroid/hardware/input/InputManager;->INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH:I

Bug: 170729553
Test: Treehugger
Change-Id: I8285daa8530260251ecad6f3f38f98e263629ca7
2020-10-29 11:51:12 +00:00
Minche Li
e5abc9331c Merge "Removes the settings key,WINDOW_MAGNIFICATION, that is never used" 2020-10-29 03:08:31 +00:00
Hongwei Wang
286c33a5c5 Merge "Revert "Add maxTargetSdk restriction to unused APIs."" 2020-10-28 23:58:21 +00:00
TreeHugger Robot
b2f811d3c8 Merge "Add flag for notif dismissal prototype" 2020-10-28 22:12:36 +00:00
Hongwei Wang
050275cd83 Revert "Add maxTargetSdk restriction to unused APIs."
This reverts commit 72f07d6a8a.

Reason for revert: Droidcop-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?testMethod=testAppZygotePreload&testClass=android.app.cts.ServiceTest&atpConfigName=suite%2Ftest-mapping-presubmit-retry_cloud-tf&testModule=CtsAppTestCases&fkbb=6936597&lkbb=6936969&lkgb=6936551&testResults=true&branch=git_master&target=cf_x86_phone-userdebug>, bug b/171886397

Bug: 171886397
Change-Id: Ibe0f0430a3451477c1ee8ef56a596e91ea1e7672
2020-10-28 20:16:22 +00:00
Lyn Han
c1ffb4f443 Add flag for notif dismissal prototype
New flag: Settings.Global.SHOW_NEW_NOTIF_DISMISS
- Do not backup to other devices
- To be removed before release

Usage:
adb shell settings put global show_new_notif_dismiss [0|1]
- 0 to disable
- 1 to enable

Test: treehugger
Bug: 171817112
Change-Id: I8712a7f8a2bac6483afd52ede9e478f8b08d661d
2020-10-28 12:18:28 -07:00
Mathew Inwood
ee5d369323 Merge "Add maxTargetSdk restriction to unused APIs." 2020-10-28 09:39:20 +00:00
TreeHugger Robot
fe43160894 Merge "Add Setting for HDMI CEC 2.0" 2020-10-28 09:03:09 +00:00
TreeHugger Robot
27cec559d3 Merge "Migrate QuotaController to DeviceConfig." 2020-10-27 22:36:29 +00:00
Mathew Inwood
72f07d6a8a Add maxTargetSdk restriction to unused APIs.
These are APIs that have @UnsupportedAppUsage but for which we don't
have any evidence of them currently being used, so should be safe to
remove from the unsupported list.

Bug: 170729553
Test: Treehugger
Change-Id: I4c8fd0006f950de9955242e93968fb0996ceb372
2020-10-27 15:46:07 +00:00