summaryrefslogtreecommitdiff
path: root/packages/SettingsLib/src
AgeCommit message (Collapse)Author
2022-05-07BatteryService: Add support for OEM fast charger detectionAlexander Martinz
Allows to indicate, whether a device is charged using a proprietary OEM fast charge solution, which write their status to sysfs. The OEM fast charge detection tries to be as generic as possible and is configured via overlays. Path to sysfs to read status - core/res/res/values/custom_config.xml - config_oemFastChargerStatusPath Value expected from read status (Defaults to "1" if not specified) - core/res/res/values/custom_config.xml - config_oemFastChargerStatusValue Change-Id: I6f3598a5a6a3efc76553261d2cf73094170d4110 Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2022-03-15Merge SP2A.220305.013Haamed Gheibi
Bug: 220074017 Change-Id: Idfdd94e902f656ac65a2a75dfdd199f6f85ba472
2022-01-06Merge s-mpr-2022-01-05Eric Arseneau
Change-Id: Ie250e3592a53519f58f691675a61adf7fddc335c
2021-12-22Merge s-mpr-2021-12-05Eric Arseneau
Change-Id: Ic2889f5eb531008340529eadc36ec8efc62b1984
2021-11-24Re-enable volume control for non-grouped devicesOliver Woodman
Bug: 197586676 Bug: 202500642 Test: make -j50 RunSettingsRoboTests Merged-In: I7740d78f3a7dca62d64e6cf7b8c9ffa1578c8e74 Change-Id: I7740d78f3a7dca62d64e6cf7b8c9ffa1578c8e74 (cherry picked from commit b7f52f4468a1daa7408e44fafb362b54eec20897) Merged-In:I7740d78f3a7dca62d64e6cf7b8c9ffa1578c8e74
2021-11-10BT: Add APIs to dynamically control Active profileGurpreet Ghai
- Add APIs to dynamically switch between BREDR and LE profiles for call and media Audio - These APIs are introduced as SDK APIs which can be called from external apps like Settings Change-Id: Iafb514fcf833ccd77ba300f60277ac30eae89943 CRs-Fixed: 3072404
2021-10-05Merge SP1A.210812.016Haamed Gheibi
Change-Id: Id27ea30be4f20be6f5d7d6336c8f53d2644c8e25
2021-09-13Merge "Add new function isMandatoryCodec" into s-keystone-qcom-devTreehugger Robot
2021-09-04Add new function isMandatoryCodecwentjin
- This function is used for check whether the codec is SBC. CRs-Fixed: 3026017 Change-Id: Id803454763d0f50ba0463851c98fd766e0013ea7
2021-08-24Refactor InternetIconInjector to SettingsLibWeng Su
- Plan to share the InternetIconInjector class to System UI. Bug: 192923176 Test: manual test make RunSettingsLibRoboTests ROBOTEST_FILTER=WifiUtilsTest Change-Id: Ieb7080ab6f6462abc3820b47c2a58cc2ea2a083e Merged-In: Ieb7080ab6f6462abc3820b47c2a58cc2ea2a083e (cherry picked from commit a9c846a5fae3f531eed5ed3ffe17e3c2efcc65e9)
2021-08-24[Provider Model] Cherry-pick from ag/15243691, ag/15287619, ag/15287620 and ↵Zoey Chen
ag/15270751 Move Wi-Fi progress bar position Add function to launch the Network details settings - Define the ACTION_WIFI_DETAILS_SETTINGS for launching the Wi-Fi network details settings Launch Wi-Fi detailed when tap the connected Wi-Fi - Uses the WifiUtils.getWifiDetailsSettingsIntent() to launch Network details settings Sync solution from sc - ag/15222851: Fix internet panel doesn't show data rat after dds change, the internet panel does not listen dds changed. - ag/15270340: The "no connection" should be shown in no data cell connection. - Add DISALLOW_CONFIG_MOBILE_NETWORKS condition. Bug: 193029917 Test: atest InternetDialogControllerTest Change-Id: I4ea7aa443659cef091f525e0064a7db4c95522e2 Merged-In: I4ea7aa443659cef091f525e0064a7db4c95522e2
2021-08-17Display W+ icon following carrier configCassie
Bug: 197012079 Test: manual;unit tests Change-Id: Ic3e279e08d6d311381547f675a0fdab8a9f4ff29
2021-08-17Remove new task flag when launching unicorn enrollment.Joe Bolinger
Bug: 196103931 Test: manual (enroll via settings) Change-Id: I35aae96e4ebb0c13bc567bb926f2e7a549f554ba (cherry picked from commit 6c582e973d2bb8eb03edf974dd3ce2222837aaf1)
2021-08-16Merge SP1A.210812.003Scott Lobdell
Change-Id: Ie10e9c4c48550d7f4f0c9aa87015bbc1944ac787
2021-08-12Merge "Remove new task flag when launching unicorn enrollment." into sc-devJoe Bolinger
2021-08-11Merge SP1A.210811.001Brian Orr
Change-Id: I5aa7cf27a3a3cc16830c9947a826e30a0da481c4
2021-08-10Remove new task flag when launching unicorn enrollment.Joe Bolinger
Bug: 196103931 Test: manual (enroll via settings) Change-Id: I35aae96e4ebb0c13bc567bb926f2e7a549f554ba
2021-08-10Disable volume control bar for all remote devicesTim Peng
Bug: 189270378 Test: manual test Change-Id: I72d7d674513e882f5e1628c8bfa78934a998fc40
2021-08-06Merge SP1A.210803.001Scott Lobdell
Change-Id: I09253f8614e9ee85a59460f3ef25f17dd98cac80
2021-08-05Paired BT devices are not displaying in volume control panelTim Peng
-Add selected device into list -getTransferableRoutes() logic is changed at ag/15426495 Bug: 195266049 Test: make -j50 RunSettingsLibRoboTests ROBOTEST_FILTER=InfoMediaManagerTest Change-Id: I127bf7fabf42bbbd7e90a9193bf1f4ff5a35dc6f
2021-08-02Merge "Set package name for learn more action" into sc-devJoshua Mccloskey
2021-08-02Merge "Avoid removing PBAP in device details when remote supports it" into ↵Treehugger Robot
s-keystone-qcom-dev
2021-07-30Set package name for learn more actionJoshua Mccloskey
Test: Verified correct activit is launched from settings info button. Bug: 193577587 Change-Id: If691b7d494b4fb43a4224385bf08787bd17d1d35
2021-07-30Avoid removing PBAP in device details when remote supports itwentjin
- Current logic will add PBAP profile into removedProfiles list when the PBAP isn't CONNECTED. In some cases, PBAP will disapear in device details. - Don't add PBAP into removedProfiles list when the remote supports PBAP profiles. CRs-Fixed: 2997547 Change-Id: I9f8d5d84bf647a90620fd705ec46cae9bacec720
2021-07-27Merge SP1A.210723.002Scott Lobdell
Change-Id: I220cdfc5cb9db40162fd33f400a54591018d54cf
2021-07-27Revert "Revert "Revert "Revert "Launch admin policies settings screen if not ↵Antoan Angelov
possible to"" This reverts commit f1564bc866b1c80fdd26bf2843b7f04735a3a252. Reason for revert: We now know how to properly fix this Fixes: 191727929 Change-Id: I6380796dd987b097fe6d9ad36123676b9861ba3a
2021-07-22Revert "Revert "Revert "Launch admin policies settings screen if not ↵Sergey Volnov
possible to" This reverts commit c3b5583cb01be87e8d49333e0cf28943d1ac2c0b. Reason for revert: Investigating b/194395139 Change-Id: I4700271436dd21fc08f093ee5f9964c855de600a
2021-07-22Revert "Revert "Launch admin policies settings screen if not possible toarangelov
launch help page"" This reverts commit c2d03889621b5d0b82dbfa0ebc7055a22bff53b7. Reason for revert: Reverting the revert and avoiding the TH failure Fixes: 191727929 Change-Id: I741f35aab78ba32f69f204dbdf4ebcf632bd741c
2021-07-20Revert "Launch admin policies settings screen if not possible to launch help ↵Tatiana Webb
page" This reverts commit 75077a17a4c583460b8ccc0acff4649c4a85d43c. Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=git_sc-dev&target=errorprone&lkgb=7566424&lkbb=7566443&fkbb=7566443, bug b/194207719 Change-Id: I40603378f3e6f125639169176e21680980e2a93e
2021-07-20Launch admin policies settings screen if not possible to launch help pagearangelov
Fixes: 191727929 Test: manually performed policy transparency BYOD test Test: manually performed policy transparency DO test Test: manually performed policy transparency DO on managed user test Test: atest ActionDisabledLearnMoreButtonLauncherTest Change-Id: Ief0cc2fab98b28f0836b3dee79e91ea365d37274
2021-07-15Use '!' instead of 'x' in signal drawableEvan Laird
Update the not-connected iconography to use an exclamation mark instead of the 'x'. Test: manual; adb shell am broadcast -a com.android.systemui.demo -e command network -e mobile show -e level -2 -e datatype lte Fixes: 175335798 Change-Id: Iff4b7d9e7fe113c50b92a45cace3a742f7af42f6
2021-07-14Merge SP1A.210709.002Haamed Gheibi
Change-Id: I4610885d5d770d858895057cdd9fea387a5e33dd
2021-07-08Merge "Show "Unavailable" when factory Wi-Fi MAC address is default" into sc-devQuang Luong
2021-07-07Show "Unavailable" when factory Wi-Fi MAC address is defaultTomoharu Hatano
Show "Unavailable" when factory Wi-Fi MAC address is default to align with WifiDetailPreferenceController. Bug: 192935640 Test: build Change-Id: I38728410b11c0db1d922f29fc68fec6af75affe4
2021-07-02Disable W+ in QS.Cassie
Bug: 191903788 Test: manual Change-Id: Id965fb6dc588a40ddbf8c594b3eeae1ef82aa10c
2021-06-30Merge "Hide non transferable routes" into sc-devKyunglyul Hyun
2021-06-29Merge "Start the web help page in the correct user" into sc-devTreeHugger Robot
2021-06-29Start the web help page in the correct userarangelov
Test: ManagedDeviceActionDisabledByAdminControllerTest Test: manually observed the policy transparency dialog with launching the admin policies screen Test: manually observed the policy transparency dialog with launching the web help page Fixes: 191727929 Change-Id: I03aaf2ddbaff3ea515404b257d1590c08ae3ab65
2021-06-28Update intent for requesting parental consentKevin Chyn
Bug: 188847063 Test: adb shell settings put secure android.hardware.biometrics.ParentalControlsUtilsInternal.always_require_consent 1 settings > security > fingerprint press positive button adb logcat -b events (intent is sent) Change-Id: I72ab71d0dd53f66387e5c2ade510ef19c2b7f4e6
2021-06-28Hide non transferable routesKyunglyul Hyun
As non-transferable routes don't look valid targets as "seamless transfer", this CL hides those from the output switcher. Bug: 189803271 Test: Manually Change-Id: If2dc86e9a8e1af323e282ae65f70b04c52b996a6
2021-06-25Use non-shadowed app iconJulia Reynolds
Test: manual Fixes: 192083404 Change-Id: I5e9fede23d6fa61b4a495f3263d0009659c3c36e
2021-06-23Merge SP1A.210618.002Scott Lobdell
Change-Id: I72d03812a8377fc014aebad8db4e68eeded2d531
2021-06-21Merge SP1A.210616.001Daniel Norman
Change-Id: I9acdc955f698dbebb8fad19cfd5cb71fcdd27b45
2021-06-17Merge SP1A.210604.001Brian Orr
Change-Id: I5200ee05285ae422d5e9c1c00f45709a5d6188be
2021-06-17Merge "Launch action to admin component when button clicked" into sc-devKevin Chyn
2021-06-17Merge "Add BiometricActionDisabledByAdminController" into sc-devKevin Chyn
2021-06-16Launch action to admin component when button clickedKevin Chyn
Bug: 188847063 Test: "Set up parental controls" screen seen Test: m -j RunSettingsLibRoboTests ROBOTEST_FILTER=BiometricActionDisabledByAdminControllerTest Change-Id: Iad3ffbcd87fe3af5ebaf6a1e6078bf772606efc4
2021-06-16Add BiometricActionDisabledByAdminControllerKevin Chyn
1) Adds UserManager#DISALLOW_BIOMETRIC. We actually need to pass a restriction from settings to ActionDisabledByAdmin area, otherwise the biometric-specific dialog would be shown outside of biometric flows. 2) Adds an interface to ActionDisabledByAdminController to return a optional OnClickListener for the positive dialog button 3) Returns an instance of the biometric controller when conditions are met 4) Adds string interfaces to DeviceAdminStringProvider to retrieve biometric-specific strings Bug: 188847063 Bug: 191306258 Test: manual Change-Id: Iaeffdeb1336d5db56d464104cdc7677b9021f609
2021-06-10Fix an issue that "Learn More" button was not showing up.Bo-Kyung (BK) Choi
ActionDisabledByAdming dialog was not showing the "Learn More" button when restriction is enforced by the device owner for disallow_factory_reset. Test: atest ActionDisabledLearnMoreButtonLauncherTest Bug: 185248897 Change-Id: I835d3aa040bd3e554acc8340d47831a4c89c45de
2021-06-08Merge "Revert "Create SettingsLibSeekBarPreference"" into sc-devGiuliano Procida