Cole Faust
784411fc25
Fix errorprone issues
...
IgnoredPureGetter, LenientFormatStringValidation, ProtocolBufferOrdinal, and ReturnValueIgnored.
https://errorprone.info/bugpatterns
Bug: 253827323
Test: RUN_ERROR_PRONE=true m javac-check
Change-Id: I9975c8689c9d673d0b676c60d68ccec1953470f8
Merged-In: Ia0e16b8be5284d13bed4366cbee0f92748bf2f85
2024-09-17 14:08:00 -07:00
Treehugger Robot
eb2e9e4776
Merge "Fix errorprone issues" into main
2024-09-11 18:08:19 +00:00
Jihoon Kang
4ae6ead8d6
Make java_sdk_library dependencies explicit
...
modules should specify the submodule of java_sdk_library that the module
actually depends on
Test: CI
Bug: 358613520
Merged-In: I78dec317d4e74275287e3a5b7f5ffe2b10db05ab
Change-Id: I78dec317d4e74275287e3a5b7f5ffe2b10db05ab
2024-09-10 22:43:05 +00:00
Cole Faust
9b89e3d643
Fix errorprone issues
...
IgnoredPureGetter, LenientFormatStringValidation, ProtocolBufferOrdinal, and ReturnValueIgnored.
https://errorprone.info/bugpatterns
Bug: 253827323
Test: RUN_ERROR_PRONE=true m javac-check
Change-Id: Ib0a0335aa04b36924adcbfecc830b7392c0e5bec
2024-09-06 13:34:50 -07:00
Treehugger Robot
96fcc4903b
Merge "bluetooth: Refactor BT Audio Codec list" into main am: 7c9f1454da
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3241342
Change-Id: I87e97131d3361224aa898838bf6c04308d95bd28
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-28 07:23:17 +00:00
Jakub Rotkiewicz
97b113a660
bluetooth: Refactor BT Audio Codec list
...
* Show only selectable codecs to the user
* Removed redundant 'abstract' layer
* Disable codec selection when BluetoothA2dp, active device unavailable
or HD Audio disabled.
Bug: 329809288
Bug: 346490998
Flag: EXEMPT - refactor
Test: atest SettingsRoboTests:com.android.settings.development.bluetooth.BluetoothCodecListPreferenceControllerTest
Merged-In: I56ebfeaf2cfa22ec253db897d7b7e96d1f8eee61
Change-Id: I23714715d9257479f5eac1a172ba1804da7e64e3
2024-08-27 20:15:01 +00:00
Haijie Hong
61a2efc807
Merge "Add owners for bluetooth settings test folder" into main am: 55834fff02
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3216259
Change-Id: I4835d1b33e1593892054224dec33ea79e64187dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-14 10:32:20 +00:00
Haijie Hong
6f38de4932
Add owners for bluetooth settings test folder
...
Change-Id: I1503db974eb271890486581d173c1bde8457f7df
2024-08-14 09:42:21 +00:00
Xin Li
20fb15ea4b
Merge "Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future" into aosp-main-future
2024-08-12 17:14:32 +00:00
Treehugger Robot
d005b3250b
Merge "Fix DoubleBraceInitialization errorprone issues" into main am: 05c4027843
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3214820
Change-Id: I5b364535808594161ae0aa7fe6d2eb75149fdd77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-09 23:31:01 +00:00
Cole Faust
2483b32069
Fix DoubleBraceInitialization errorprone issues
...
https://errorprone.info/bugpattern/DoubleBraceInitialization
Flag: EXEMPT refactor
Bug: 253827323
Test: m RUN_ERROR_PRONE=true javac-check
Change-Id: Idf52035a720f051a43553b53a89a37131d4e208b
2024-08-09 15:05:14 -07:00
Xin Li
e2d326beeb
Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future
...
Bug: 347831320
Merged-In: I2489a64804f068a957f9be3f87847d6911b24447
Change-Id: I1885ef34f69ac4eb6e76ac903fcacdebe4139ae1
2024-08-08 11:41:20 -07:00
Ram Peri
119d1e9f43
Merge "Robolectric upgrade" into main am: 71b2be5571
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3185301
Change-Id: I9469f534e375c589f0a7dbac20f185f61ae69295
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-07-23 01:08:54 +00:00
Ram Peri
f5b58ea3be
Robolectric upgrade
...
Test: atest SystemUIGoogleRoboRNGTests
Flag: TEST_ONLY
Change-Id: I833ac67223875480994f947907754290bb25c946
2024-07-22 13:48:09 -04:00
Zaiyue Xue
dc841cd077
AiCore reattribute feature
...
Bug: 344438848
Bug: 346706894
Test: atest SettingsRoboTests:com.android.settings.fuelgauge.batteryusage
Flag: EXEMPT bug fix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:164e2be9380ef0df6afe7616fb0bedc8eea6f899 )
Merged-In: Ifb18c2d156d11fcfdc67cff575ba800c4a6cc0fe
Change-Id: Ifb18c2d156d11fcfdc67cff575ba800c4a6cc0fe
2024-07-11 04:25:14 +00:00
Haijie Hong
3ecc4b93bb
Determine Spatial Audio AudioDeviceAttributes by BT profile state
...
Test: atest BluetoothDetailsSpatialAudioControllerTest
Bug: 341005211
Flag: com.android.settingslib.flags.enable_determining_spatial_audio_attributes_by_profile
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4296b30dcf879701a9bf614b37b45d5f1d886fe4 )
Merged-In: I1436019d239414c3855d506dcf35d736c8428e0a
Change-Id: I1436019d239414c3855d506dcf35d736c8428e0a
2024-07-10 05:15:33 +00:00
Alina Zaidi
7b4fcc6006
Merge "Update OWNERS for DesktopModePreferenceController" into main am: ed9bccb0b3
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3159736
Change-Id: I79c2dd015ce63fa0fe658daf486971f48917f0ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-07-03 17:37:22 +00:00
Alina Zaidi
a059eabdb3
Update OWNERS for DesktopModePreferenceController
...
Change-Id: I446525a06480a27f80e530c65181fd31f43a9ef8
Test: N/A
Flag: EXEMPT Ownership cannot be flagged
2024-07-03 16:22:23 +00:00
Joshua Mccloskey
08697a3b5c
Revert "Restart fingerprint auth on cancel."
...
This reverts commit 4efd4c16f9
.
Reason for revert: Breaks auth behavior
Fixes: 347858844
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:16f973b8364171116ce16b951113d64beefe506c )
Merged-In: Ie1b8be9dfae2cba7e2b37187f08cf1360aedf29f
Change-Id: Ie1b8be9dfae2cba7e2b37187f08cf1360aedf29f
2024-06-27 03:45:41 +00:00
Kevin Liu
76d7864bc6
Merge "Add strict_mode: false" into main
2024-06-18 03:07:47 +00:00
Yiyi Shen
9bd19f4604
Merge "[Audiosharing] Reset shadows after tests." into main
2024-06-16 13:24:13 +00:00
Yiyi Shen
440d061648
Merge "[Audiosharing] Increase audio sharing test coverage" into main
2024-06-16 13:21:38 +00:00
Alexander Roederer
be647ab053
Merge changes from topic "b308819928-ModesSettingsAppBreakthroughPage" into main
...
* changes:
Modify Summary for Mode's Apps settings page
Adds summary helper for apps subtitle
2024-06-16 02:49:53 +00:00
Alexander Roederer
41902bb0c5
Modify Summary for Mode's Apps settings page
...
Adds call to SummaryHelper to set Apps preference summary.
Bug: 308819928
Test: atest ZenModeAppsLinkPreferenceControllerTest
Flag: android.app.modes_ui
Change-Id: Iebec11afc62ecb79386e1866af57cd4e68461a95
2024-06-15 04:48:38 +00:00
Matías Hernández
8409c39d94
First bits of "add a mode"
...
* Preference below the modes list.
* Temporarily triggers addition of a mode with default name and type=SCHEDULE_TIME (type will be "manual only" later).
* Fixed sorting of modes in the list when refreshing (new modes were added at the bottom instead of where they should, the same would've happened for renamed modes).
* Minor polishes (extracted fragment launch to helper class, renamed item controller class for clarity).
Test: atest com.android.settings.notification.modes
Bug: 326442408
Fixes: 347198709
Flag: android.app.modes_ui
Change-Id: Ie276c92181c5374faf74592433595e7e15a5efc0
2024-06-14 15:23:30 +00:00
chelseahao
16f9205fb6
[Audiosharing] Add tests for qrcode related classes.
...
Test: atest -c com.android.settings.connecteddevice.audiosharing.audiostreams
Bug: 308368124
Change-Id: I74caacf43a23bbd0a6da44af24a1be4dd9544a5d
2024-06-14 11:38:51 +00:00
Chelsea Hao
24d8411915
Merge changes I6322ccbb,Idc96c23d into main
...
* changes:
[Audiosharing] Add tests.
[Audiosharing] Add logging 3.
2024-06-14 11:07:49 +00:00
Yiyi Shen
f570ee0018
[Audiosharing] Reset shadows after tests.
...
Test: atest
Bug: 345686602
Change-Id: I311ba5c8d234240e61dffd17b4357452c12f4fb1
2024-06-14 17:44:33 +08:00
Treehugger Robot
fbf3403f8d
Merge "Reenable all tests for SettingsRoboTests" into main
2024-06-14 08:52:33 +00:00
chelseahao
f6b235746d
[Audiosharing] Add tests.
...
Test: atest -c com.android.settings.connecteddevice.audiosharing.audiostreams
Bug: 308368124
Change-Id: I6322ccbb5deffe2bc169a898ef0208e135caa819
2024-06-14 08:48:17 +00:00
Matías Hernández
e3570eb633
Merge "Load zen mode type icon options from the proper resources" into main
2024-06-14 08:10:59 +00:00
Fan Wu
595ed9645e
Reenable all tests for SettingsRoboTests
...
Updating tests in development/ due to ag/27774179
Temporarily ignore tests in UserDetailsSettingsTest due to ag/27785999
Bug: 347125800
Test: atest
Change-Id: Iaed79c3fde80f5b2c31754bef4a93546813444a8
2024-06-14 07:27:31 +00:00
Yiyi Shen
2c6b9bb364
[Audiosharing] Increase audio sharing test coverage
...
Bug: 345686602
Test: atest
Change-Id: Iec196fc884c3b7ddd580eb8dd13b445d59e3b1b7
2024-06-14 14:30:14 +08:00
Alexander Roederer
a6b1d7cbbc
Adds summary helper for apps subtitle
...
The subtitle for the apps page says which apps (up to two/three) and how
many (if there are more than three) are allowed to bypass dnd under the
main "Apps" page.
Bug: 308819928
Test: atest ZenModesSummaryHelperTest
Flag: android.app.modes_ui
Change-Id: I15696384c392ba3f054948db50eea614f91d8c48
2024-06-13 13:20:29 +00:00
Matías Hernández
22c325a099
Load zen mode type icon options from the proper resources
...
* Move default mode icons from Settings res to core res.
* Add array resources for the icon options and their descriptions.
* As the initial version of the list, use the default mode icons.
Bug: 333901673
Test: atest IconOptionsProviderImplTest
Flag: android.app.modes_ui
Change-Id: I66669e67a9d607268c05d5ed3df6c9555e57864c
2024-06-13 14:38:51 +02:00
Matías Hernández
2bdd13fd26
Merge "Follow-up improvements to zen mode icon picker" into main
2024-06-13 09:28:24 +00:00
Chelsea Hao
4826efcbbf
Merge "[Audiosharing] Add logging 2." into main
2024-06-13 08:56:59 +00:00
Fiona Campbell
21c0dd70ae
Merge "Even Dimmer for manual screen brightness mode" into main
2024-06-13 08:50:20 +00:00
Julia Reynolds
162813cd5a
Merge "Support device effects for manual mode" into main
2024-06-12 23:29:59 +00:00
Matías Hernández
37bdf39ad6
Follow-up improvements to zen mode icon picker
...
* Propose icons from com.android.internal.R instead of android.R (as a proof of concept) since this is what we'll be doing with the final icons.
* Provide the icon options as a parameter to the controller (can also be used for testing).
* Fix some Lint warnings.
Test: atest ZenModeIconPickerListPreferenceControllerTest
Bug: 333901673
Flag: android.app.modes_ui
Change-Id: I023eed0fd5719c5c4540f8d145335f60d088e7fb
2024-06-12 19:33:12 +02:00
YK Hung
5a52e7068c
Merge "Help talkback to read the hyphen of time frame '{day}{time}-{time}' in PreferenceCategory Title." into main
2024-06-12 16:20:11 +00:00
Julia Reynolds
71698935f3
Support device effects for manual mode
...
Test: ZenModesBackendTest
Flag: android.app.modes_ui
Fixes: 333530553
Change-Id: I31c484b73d1dfe0f986fe3c344f3a9a1d8580172
2024-06-12 15:19:42 +00:00
Matías Hernández
5527df1330
Merge "Re-enable notifications modes tests in SettingsRoboTests" into main
2024-06-12 10:10:50 +00:00
mxyyiyi
d047b6da10
Help talkback to read the hyphen of time frame '{day}{time}-{time}' in PreferenceCategory Title.
...
Bug: 346707823
Test: atest + manual
Change-Id: I3098ccaffd6396fb1f00e3b57c326980250651f2
2024-06-12 17:09:04 +08:00
Angela Wang
7b46a822ee
Merge "Fix incorrect summary for LE audio hearing aids" into main
2024-06-12 08:11:29 +00:00
chelseahao
a3b1638c4b
[Audiosharing] Add logging 2.
...
Test: atest -c com.android.settings.connecteddevice.audiosharing.audiostreams
Bug: 308368124
Change-Id: I50fc57427aa135a13566c4627ba193aed9d73e0d
2024-06-12 08:04:17 +00:00
Matías Hernández
f13c16399e
Re-enable notifications modes tests in SettingsRoboTests
...
Fixes: 346276716
Test: atest com.android.settings.notification.modes
Flag: NONE
Change-Id: I573fe1b719a348d996eda39633811ad0bc34c847
2024-06-11 16:37:19 +00:00
Ze Li
44de7e98d3
Merge "[ConnectedDevicePage] Make bonded bluetooth devices can be found by Settings search" into main
2024-06-11 10:50:04 +00:00
Yiyi Shen
996e12b34d
Merge "[Audiosharing] Increase test coverage for audio sharing" into main
2024-06-11 09:32:10 +00:00
Yiyi Shen
7f55253fb2
Merge "[Audiosharing] Log action in audio sharing dialogs" into main
2024-06-11 08:51:57 +00:00