summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-08-05Merge tag 'LA.QSSI.12.0.r1-08300-qssi.0' into sugisawa-mr1HEADsugisawa-mr1alk3pInjection
"LA.QSSI.12.0.r1-08300-qssi.0" Change-Id: I4693d4e59416ffc3f2679fc8959757e92325b445
2022-06-29Settings: Ignore custom app space management activitiesDanny Lin
Allowing apps to override the "Clear storage" function makes users powerless when it comes to clearing the data of a rogue app, short of reinstalling the entire app. I've never seen an app that uses this in a good way, so just remove it to allow clearing storage of any app. The most prominent example of this is the Google Search (Velvet) app, which does not allow the user to clear all data and leaves up to 100 MB of wasted space even after clearing storage in its custom space manager. It's also impossible to clear its data after disabling the app, which forces users to deal with wasted space for no reason. Change-Id: Ib80d4741750bcbb5c6e1dd844aa763ce4e24854c
2022-06-29Merge tag 'LA.QSSI.12.0.r1-07900.02-qssi.0' into sugisawa-mr1alk3pInjection
"LA.QSSI.12.0.r1-07900.02-qssi.0" Change-Id: I57fd8f2a2541d7f7473f7f5113f098d51e86b7a3
2022-06-23Merge s-mpr-2022-05-IIMatt Lee
Change-Id: I0251e01ab9a4812d638c57fec1ff43ac2890d8ef
2022-06-22Fix PLMN scan abort mechanismGanesh Vilas Chaudhari
If network scan started via IRadio then stop it only via IRadio. Change-Id: Ie418baa66f4340c8ceb8d9995d5f6e3c19ca014e CRs-Fixed: 3152236 (cherry picked from commit d96c3128861136be933260ff4f0910cbd73e1e0e)
2022-06-15Merge "Add PLMN null check for UserPLMNEditorActivity" into s-keystone-qcom-devTreehugger Robot
2022-06-13Add position check for ArrayIndexOutOfBoundsExceptionQiang Chen
Change-Id: If630bf45d6c07b31283b742e6ae6c238d50fdb5a CRs-Fixed: 3207422 (cherry picked from commit fa2a9d284b9ff02c295849d1177dff062065b5ac)
2022-06-13Add PLMN null check for UserPLMNEditorActivityQiang Chen
Sometimes the PLMN is empty, so need to add the null check before using. Change-Id: I12bbe0cb91e5e94f356389ce4828d6f3aa0a09e1 CRs-Fixed: 3203993 (cherry picked from commit f3512b2300345b8a3114eb0f9c65e7d539b7f8f4)
2022-06-13Merge "Dynamically gray out the smart DDS switch option" into ↵Ramesh Garimella
s-keystone-qcom-dev
2022-06-02Merge tag 'LA.QSSI.12.0.r1-07600-qssi.0' into sugisawa-mr1alk3pInjection
"LA.QSSI.12.0.r1-07600-qssi.0" Change-Id: Ia1bc5428e7944108b1f8473fd448203d3b53edeb
2022-05-18Merge "Fix Data preference not graying out when Smart DDS switch is on" into ↵Treehugger Robot
s-keystone-qcom-dev
2022-05-11Dynamically gray out the smart DDS switch optionVala Zadeh
If fewer than two subscriptions are active, gray out the smart DDS switch option. CRs-Fixed: 3107817 Change-Id: Idf1b662723a702a020b48796b9b57886dc519525
2022-05-07Settings: Long press power button to toggle flashlight [2/2]Chris Crump
* Animation by Sahul Krishnan, remade to lottie by Andrew Fluck * Adapt to Android 11 by mickaelmendes50 Change-Id: Ibdce3644ba1e794120a268064843349b9fa432a9
2022-05-07Settings: Long press volume button to skip tracks [2/2]Chris Crump
Bring Forward Volume Rocker Track Change * Thanks Aryanata Andipradana for the great animation * ritujb: Fix default value mismatch with framework in playback control Change-Id: Ifa3d0987a0d54afd1f56e1d4a7488f428338c757
2022-05-07Settings: Implement hide gestural navigation hint bar [2/2]Jesse Chan
Change-Id: I14dd73414c9f7ee1b01f315c9eeae0fd3ac4f859 Signed-off-by: alk3pInjection <webmaster@raspii.tech>
2022-05-07Settings: Add double tap to sleep preferencealk3pInjection
Change-Id: I5bae721fdcf7879fcf6ffe81ace1819a7dfb1357
2022-05-07Settings: get outer NFC preference to listen for changesinthewaves
The NFC preference in Settings -> Connected devices -> Connection preferences doesn't listen to changes from the NFC tile. (This wasn't an issue in Android 10, because there used to be a SwitchPreference that listened there.) Change-Id: I85842db3faa558ea61bc878ca76ff6d8ce1a4b02
2022-05-07Settings: Allow using legacy VPN typesAlessandro Astone
The UI makes it abundandly clear that it is unsafe. Change-Id: I16e97cab2516b44fa52a7cf9ba3adcdfc498cede
2022-05-07Settings: Fix NPE when launching accessibility settings from GMS SUWAlessandro Astone
* When launching from GMS SUW mCollapsingToolbarLayout is left to null. The activity is already full screen so do nothing. Change-Id: If7a7cf1557c944961372b65518188d223223c2b8
2022-05-07Settings: Accessibility wants fullscreen, too!Michael W
* Right now, the screen uses a CollapsibleToolbarLayout, showing the title twice * The header is also tinted differently, therefore making it look even worse * Hide the header, we have another one Change-Id: I470f18cea9e0863a0e95d7c3d5e0e3b2c6d8a66f
2022-05-07QS dev tiles: Don't set them to active areaAlex Cruz
For some reason or another, Google made it so when you enable the developer QS tiles they move into the active spot. This makes for a bad experience becuase it throws all your QS tiles out of order. This partially reverts commit fb71550128aff2505ba4a06088b0297782a214d8. Change-Id: I11f559dc2332007811bb84562a0f63c569837222
2022-05-07Settings: Switch to VERSION.INCREMENTAL instead of FINGERPRINTpalaych
Change-Id: I1f539acc3dfd83b6b5833dd7df45b1c3a6877345
2022-05-07Settings: Show only Build ID in about phoneJyotiraditya Panda
Change-Id: I5e91efc7b82717e8f0d0abb113ab910ed46d8903
2022-05-02Settings: Add custom ROM version entryDanny Lin
Change-Id: I3fdaae56963449c3eb36e2e643f9a6df13fc029c Signed-off-by: alk3pInjection <webmaster@raspii.tech>
2022-05-02Settings: Remove phone number preferenceChris
* already in sim status * also move legal info down Change-Id: I9cb4d6e4b9fd5c9ad33a0d9f645e30c26c580374
2022-05-02Settings: only set phone number if it's not emptyTimi Rautamäki
Only set the phone number in Rename mobile network dialog if it's not empty in order to preserve the ´Not available´ -text. Test: m, open ´SIMs´ in settings, click Pen-icon to edit SIM, verify either mobile number or ´Not available´ -text is shown. Change-Id: I3bc1f1f4eb26cda38e5cc7a12bd4db1bf922f076
2022-05-02Settings: Add package name to installed app detailsLuca Stefani
Change-Id: I8ce737ec5150f37e61240d8053403046ca9317fb
2022-05-02Settings: Allow sorting Applications by sizeRoman Royer
Allow sorting applications by size in Settings->Apps just like in Settings->Storage/USB->Apps Change-Id: I9e022162110e1feff20f257992086e66735e0f5e
2022-05-02Settings: Hide unsupported USB modes automaticallyWang Han
* The roles are advertised by USB HAL so we can check for their status Change-Id: I5933d1a03f573af08b00039850173329b293448a
2022-05-02Settings: Check if we have any color modes declared in overlayLuca Stefani
* Checking for wide gamut support isn't always enough Change-Id: Ic7257e37f2eca97450eaf0ca1e330de7596352be
2022-05-02BasebandVersionDialogController: Trim duplicated baseband if neededjhenrique09
Change-Id: Ife1cf4982672e7f5f3c631d80cdeac6350585938
2022-05-02Settings: Disable notification channel warnings by defaultBruno Martins
* Since we usually ship "userdebug" builds, it is better to globally disable the toast because we are not in control of third-party apps that haven't been properly aligned with new Oreo requirements. * Leave it enabled by default only for "eng" builds Change-Id: Ie5cdec1cbdd3285af3af730dac4a5de95ad8b334
2022-05-02Revert "[Wi-Fi] Remove 'Do not validate' option in CA certificate spinner"TogoFire
This is not a definitive fix, so revert it. WPA2-Enterprise (802.1X) or WPA2-PSK. [xawlw]: - Sometimes we can't connect to some Enterprise WiFi networks because we don't know its domain so let's revert this 'Security' feature - Read more about it here: https://www.xda-developers.com/android-11-break-enterprise-wifi-connection/ This reverts commit 33cde5dbeee934269f16d72e26e651d56a13733e. This reverts commit 94b8579607c6f1201cea9d6601e88cec897b2ff6. Signed-off-by: TogoFire <italomellopereira@gmail.com> Signed-off-by: xawlw <abdulazizawlw@gmail.com> Change-Id: I3cec92b74a419b5463c5e5db496863e66d034703
2022-04-20BLE Broadcast UI: Fix lifecycle event callbacksSunny Kapdi
Provide Settings lifecycle as additional parameter CRs-Fixed: 3178181 Change-Id: I0245332e5f82246ff9266e3d89f6eb5e33340b08
2022-04-15Fix Data preference not graying out when Smart DDS switch is onVala Zadeh
Change-Id: Ifb3bd6a3306bb4ca92040ae9649f8dbaa235cb15 CRs-Fixed: 3174430
2022-04-07Merge s-mpr-2022-04Eric Arseneau
Change-Id: I75ab6afde6e38f9fc895bbb8df528a244429d12e
2022-03-15Change default USB configuration to a RestrictedPreferenceAlex Johnston
Test: manual with TestDPC and Settings DefaultUsbConfigurationPreferenceControllerTest Bug: 201519976 205996517 Change-Id: I1def7b37184d6d81f29a5e6e4793b92012dacd9b Merged-In: I1def7b37184d6d81f29a5e6e4793b92012dacd9b (cherry picked from commit bc4fd99ddb494683420264e6b749a5ce80df90b9) Merged-In: I1def7b37184d6d81f29a5e6e4793b92012dacd9b
2022-03-15Hide private DNS settings UI in Guest modelucaslin
Hide private DNS settings UI in Guest mode to prevent guest users modifying global private DNS settings. Bug: 206987762 Test: 1. make RunSettingsRoboTests \ ROBOTEST_FILTER=PrivateDnsPreferenceControllerTest 2. Switch to Guest user and check if the private DNS UI is hidden or not. Change-Id: Iebfb8684da3be32110decd9e8447dd07b1c40387 (cherry picked from commit 52e863b5a212889d4f8cb89a4028c42af59c9327) Merged-In: Iebfb8684da3be32110decd9e8447dd07b1c40387
2022-03-09Merge SP2A.220305.013Haamed Gheibi
Bug: 220074017 Change-Id: Ib6806956cacbe6c8ac661d7ea60c5cb1cda014a7
2022-03-09Merge "BT: do not display LE BA UI in Device details fragment for legacy ↵Treehugger Robot
devices" into s-keystone-qcom-dev
2022-03-08Merge "Fix enable airplane mode when device is in SCBM" into s-keystone-qcom-devTreehugger Robot
2022-03-07Merge "Settings: Fix SuperNotCalledException in MobileNetworkActivity." into ↵Treehugger Robot
s-keystone-qcom-dev
2022-03-07Fix enable airplane mode when device is in SCBMChaitanya Saggurthi
Once user responded to dialog of exit SCBM, onActivityResult of AirplaneModePreferenceController is not invoked. Fix issue by calling onActivityResult of AirplaneModePreferenceController. Change-Id: I0f2c6122736f7414d4027d961f39665ac41f03f5 CRs-Fixed: 3096109
2022-03-07Merge "Settings: Fix NPE FC when calling getServiceStatus for inactive sub." ↵Treehugger Robot
into s-keystone-qcom-dev
2022-03-07BT: do not display LE BA UI in Device details fragment for legacy devicesMingbo Zhang
Do not display LE BA UI in Device details fragment for legacy a2dp devices which don't support LE BA. Change-Id: I2e3a1a99ba0a5ec979ee62edb64e17719580d8cb CRs-Fixed: 3008500
2022-03-02Settings: Fix SuperNotCalledException in MobileNetworkActivity.hoffc
Receives onResume callback in sub inactive status. the super.onResume is not called. So leads to the SuperNotCalledException. Add the calling of super.onResume in activity onResume callback handling. Change-Id: Id54a1e9cbcb0715a64f4e817bea7921a8707f7e8 CRs-Fixed: 3142212
2022-02-25Settings: Fix NPE FC when calling getServiceStatus for inactive sub.hoffc
getServiceStatus will return NULL for inactive sub. Remove the redundant code logic and useless code. Change-Id: Ia5c6797c515ca58f916be18c3152fa71d624960e CRs-Fixed: 3135801
2022-02-23Merge "Fix the array index issue." into s-keystone-qcom-devTreehugger Robot
2022-02-17Fix the array index issue.qiongz
New mPreferenceList when call update() to avoid adding duplicate preferces in it. Without the fix, the index of mPreferenceList may be more than sub's count, hence it will failed to modify nr config. CRs-Fixed: 3131790 Change-Id: I6173f1cd53e3441e8aa989818a2362304bceea4a
2022-02-17Settings: Fix NPE FC when access saved wifi p2p device after screen rotationhoffc
Rotating screen, wifi p2p setting fragement will be re-created and the selected wifi p2p device will be saved in onSaveInstanceState. However, now this saved wifi p2p device is restored in onActivityCreated, this is too late. So when getting this saved wifi p2p device return NULL in onCreateDialog and leads to NPE force close. Restore the saved wifi p2p device in onCreateView instead of onActivityCreated. Change-Id: I2390c095a447539a42644673300013f13e9fbd5c CRs-Fixed: 3129515