summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fixup! Add button to setup eSIM on missing SIM pageHEADr11.1Oliver Scott2021-09-262-5/+32
| | | | Change-Id: I4faf1f68a854d966114b70fed95dca26cbb14dd4
* SUW: Move re-enabling of status bar to FinishActivityAlessandro Astone2021-09-262-1/+2
| | | | | | This is always run both in the GMS and non-GMS flows Change-Id: If70aa4cec640bacaf7b03da505b90d6c3c5aaf8e
* SUW: FinishActivity: hide navigation bar & statusbar before animationTimi Rautamäki2021-09-261-1/+2
| | | | Change-Id: Ia9d421a3f63469645f19acd91f72d472573e8818
* SUW: Intent changes for new Wi-Fi setup flowMichael Bestas2021-09-262-1/+10
| | | | Change-Id: Ib79c7e709443eea9ec202efd1279dafcfb7951ad
* The big code style cleanupMichael Bestas2021-09-2629-362/+363
| | | | | | | | * Format using AOSP code style in Android Studio, excluding `Rearrange entries` option. * Rename static variables to use proper naming scheme * Remove empty lines Change-Id: I0d193e35f071bc288050e587b1693844d68865e1
* Remove whitespaceMichael Bestas2021-09-267-16/+16
| | | | Change-Id: Iaf9a56b1f8646bff8eb505050f15c24626acf47d
* Ensure all files have a newline at the endMichael Bestas2021-09-268-8/+8
| | | | Change-Id: I55990ff367addbc24b34abe8da7fa6d52604a0d2
* SUW: add accessibility settings to welcome pageTimi Rautamäki2021-09-266-8/+67
| | | | | | Added icon is from https://materialdesignicons.com/. Change-Id: I21daa20c59f3deb7ef862fdbe7f7ce9262094c9a
* SUW: rearrange welcome activityTimi Rautamäki2021-09-264-25/+70
| | | | | | Hide navigation bar and relocate buttons Change-Id: I0202c18dbcf08bac31707b7b43f10b59d88be7f2
* SetupWizard: Fix status bar managing workflowArtem Borisov2021-09-263-33/+28
| | | | | | | | | | | | | | | | StatusBarManager uses tokens in binder connections to identify disable records and queue each of them accordingly. New record creates each time an application connects to StatusBarManager and tries to change the state. New records don't activate until previous ones are destroyed. Records can be destroyed either when app binder dies, or when the same binder ticket reverts its previous changes. To accomodate this behavior, StatusBarManager was moved to a static class that initializes first when status bar gets disabled, and then gets destroyed when status bar is re-enabled. While we're at it, also fix race condition between main and exit activites by moving status bar disabling code to the application class. Change-Id: I3b33e628da1e1881181cbe665e6aaccee3dd19ef
* SUW: use standard navigation methodTimi Rautamäki2021-09-2620-192/+208
| | | | | | Use software/hardware back button and add on-screen Next & Skip buttons. Change-Id: I7bfa052f2217e51ea778df688e7169657aaad2c6
* SUW: use GLIF v3 light -themeTimi Rautamäki2021-09-262-2/+2
| | | | Change-Id: I3684279ad87c82b85c93267e959e9faa2dabfdc3
* SUW: Cleanup intent extrasMichael Bestas2021-09-266-28/+12
| | | | | | | | | | Remove unused extras: allowSkip: Removed in 2015 wifi_auto_finish_on_connect: Removed in 2016 Use WizardManagerHelper definitions when possible Change-Id: I4e6a503ae030b85486921fcacfc4fe03e37c8698
* SUW: use setupdesign layout & themingTimi Rautamäki2021-09-2628-791/+684
| | | Change-Id: I4841b701a8952035bd633d73368e80075d17e42a
* Replace LOCAL_MAC_ADDRESS with NETWORK_SETTINGSDaniel Micay2021-09-262-2/+1
| | | | | | | ConnectivityManager.getCaptivePortalServerUrl now requires NETWORK_SETTINGS instead of LOCAL_MAC_ADDRESS. Change-Id: Idd9b7b683a48e49d97fca90bb62d81ee0629b672
* Disable ChooseDataSimActivity if single SIM detectedOliver Scott2021-09-263-1/+11
| | | | Change-Id: I963a7b4f268698c048cf0eccb15198412b3e2ab3
* fixup! Fix SimMissingActivity never showingOliver Scott2021-09-261-3/+1
| | | Change-Id: I332dbb942ba76115722b960b9be400ae96f08f42
* Rework isMultiSimDevice checkMichael Bestas2021-09-222-7/+9
| | | | | | Move it to PhoneMonitor to be consistent with other checks Change-Id: I560048ebdf318a92747a70ffb6fa8027b4589c1a
* SetupWizard: Use SettingsLib for TimezonesMichael W2021-09-222-188/+9
| | | | | | | | | | | * Currently we are storing a copy of timezones.xml ourselves and parsing it manually * Use ZoneGetter from SettingsLib instead to get the list of TimeZones * That way we have less code to maintain and updates to the list are easier as well * Also simplify constructTimezoneAdapter -> we never sort by name Change-Id: Ifd690ed28c6fbecaee895b4063137e86c059e314
* suw: remove option to update the recoverymosimchah2021-06-193-9/+2
| | | | Change-Id: Id6bc5ed7f91302efbf679ade207bb14ae08cb02b
* Fix SimMissingActivity never showingOliver Scott2021-06-073-8/+19
| | | | Change-Id: I1a9d2539db96046c472f17a21932bc720c00eb26
* Add gesture to skip setup wizardOliver Scott2021-06-071-2/+60
| | | | Change-Id: I91226946103dd7c8f9076ed8e026bceee498a458
* Add button to setup eSIM on missing SIM pageOliver Scott2021-06-074-2/+59
| | | | Change-Id: I61072d392a4eff5e5223782c2bda8c0d3ca45d1f
* SW: update our logoVasilj Milošević2021-04-151-101/+23
| | | | | | make it cleaner Change-Id: I93c11d9dd85a7ddc45934310b87bd3065c3caa1d
* SetupWizard: aicpfyAli B2021-04-15105-495/+493
| | | | Change-Id: I69e0e6f47d9f91cbb3e2ad116ece93ec8af3fc84
* SetupWizard: change logo bg colorAli B2021-04-151-5/+5
| | | | Change-Id: I6031cc8afa9861b88d4e0d44ac990be46d2d4dcf
* SetupWizard: make background whiteAli B2021-04-151-1/+1
| | | | | | | | Looks out of place when following any other gapps setupwizard. Better to set it to white for better eye candy. Change-Id: I21feecfc301fa1c32492e56d4d7c4ff589397434
* AicpSuW: New logodoc HD2021-04-151-48/+101
| | | | Change-Id: Iccf7896f7643ec8b057b3ec57bd2821019d46d4a
* Revert "Add an activity for launching a restore from backup"doc HD2021-04-117-165/+0
| | | | | | This reverts commit fc026fcadc2f02bdb3319644ab91e37e35f5539c. Change-Id: I0ed6c782a18c5d6596001e739b26f1d64ab1028e
* Revert "SetupWizard: Add seedvault restore page in GMS flow"doc HD2021-04-113-13/+1
| | | | | | This reverts commit 7423d88cd0011a494bca3d709d3766c67e25db40. Change-Id: I60a25db36baa07b5e7790b1f24917f62dac60f94
* SetupWizard: whitelist LineageOS permissionGeorge Zacharia2021-03-291-0/+1
| | | | | Whitelist HARDWARE_ABSTRACTION_ACCESS permission Fixes: PackageManager: Privileged permission lineageos.permission.HARDWARE_ABSTRACTION_ACCESS for package org.lineageos.setupwizard (/system_ext/priv-app/SetupWizard) not in privapp-permissions whitelist
* suw: Switch to aicp PackageUtilsdoc HD2021-03-291-3/+3
|
* remove LineageSettingsActivityDaniel Micay2021-03-297-376/+0
| | | | Change-Id: I7825ef0c53fed69cf4c3b494f11e0b27f8826aa8
* suw: rebrand strings for AICPdoc HD2021-03-291-11/+11
| | | | Change-Id: I4b98690d09e536966cb676d1702ccaa0d2ee9b6c
* remove LineageOS SDK inclusionDaniel Micay2021-03-292-4/+0
|
* SetupWizard: replace welcome logo for AICPGeorge Zacharia2021-03-291-40/+38
| | | | Change-Id: I5efbd4b5655d661463abbd05f7660b6ae4dc514e
* change name to AicpSetupWizardDaniel Micay2021-03-293-3/+3
| | | | Change-Id: I39cec56304a4d12d58291311827e02bfff47e351
* SetupWizard: Move to system_extLuca Stefani2021-03-231-0/+2
| | | | | | | * This is where system _extensions_ should live Change-Id: I1fc0dbf73c63e92525c8837a19b8f750fab55271
* SetupWizard: Convert to Android.bpLuca Stefani2021-03-232-44/+49
| | | | | | | * This allows us to move it to system_ext that wasn't possible to .mk Change-Id: I3fcdfd2566b8518a921e18a39c60e69beab4cf86
* SetupWizard: Disable mobile data at least onceMichael W2021-03-231-1/+2
| | | | | | | | * Right now, the user has to set the toggle on and off to actually get the setting set to "off", since the underlying default value is "on" * Make sure to send an "off" initially right at the beginning of SuW Change-Id: Iec2fd05ea341351f3e6d4b195a1a385f9d88d4f7
* SetupWizard: Remove libphonenumber depLuca Stefani2021-03-171-1/+0
| | | | | | | | | | * This is likely an artifact of the {cm,lineage}sdk transition that included this lib * Now the lib is only included in a separate library to avoid unnecessary disk waste Change-Id: Ib12acac080f4a2271a118470951a06cd014a91aa
* Automatic translation importMichael Bestas2021-02-2865-74/+316
| | | | Change-Id: I1d89185ee1a43a2894bf9f42d06dda43c808e5af
* SetupWizard: Add device specific hook pageMichael W2021-02-045-2/+119
| | | | | | | | | | | | | | | * Add a new activity DeviceSpecificActivity which acts as a jumppad into an activity using "org.lineageos.settings.device.SUW_SETTINGS" * Handles navigation (back / next) * Handles cases where the script contains the page but SUW_SETTINGS don't exist * In order to use this, devices need to provide an activity that: * at least shows a back and continue button * returns Activity.RESULT_OK and Activity.RESULT_CANCELLED for the buttons * does whatever you need to specifically have done in setup! Change-Id: I4956c8f5f1ad13b9adf2e5604fd4a728e261336b
* SuW: Avoid showing exceptions if packages are not installedBruno Martins2021-01-312-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | Just check if the package is installed before trying to disable it. Test: Observe that the following exception is not longer shown. Exception occurred while executing 'disable': java.lang.IllegalArgumentException: Unknown package: com.android.provision at com.android.server.pm.PackageManagerService.setEnabledSetting(PackageManagerService.java:21052) at com.android.server.pm.PackageManagerService.setApplicationEnabledSetting(PackageManagerService.java:20910) at com.android.server.pm.PackageManagerShellCommand.runSetEnabledSetting(PackageManagerShellCommand.java:2151) at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:231) at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98) at android.os.ShellCommand.exec(ShellCommand.java:44) at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21736) at android.os.Binder.shellCommand(Binder.java:929) at android.os.Binder.onTransact(Binder.java:813) at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4621) at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4361) at android.os.Binder.execTransactInternal(Binder.java:1159) at android.os.Binder.execTransact(Binder.java:1123) Change-Id: I646f2803f95817d7d9f2b1dfe54a9c1f8c9988e7
* UpdateRecoveryActivity: Don't force recovery update by defaultBruno Martins2021-01-101-3/+3
| | | | Change-Id: I0992bd257a3acc7ca6872744478121ba7f001ea0
* SetupWizard: update recovery after setupTimi2020-12-314-9/+36
| | | | | | * Instead of doing it when going to next page Change-Id: I65c5ca1bab1d79c8fd5906b36a02fd74547827ac
* SetupWizard: center text next to checkbox in recovery update -activityTimi2020-12-131-2/+3
| | | | | Change-Id: I121c5ea0c39eef2d7eb87950432e5ec64b8edfa1 Signed-off-by: Timi <timi.rautamaki@gmail.com>
* SetupWizard: Add activity to toggle recovery updatesAlessandro Astone2020-11-198-1/+266
| | | | Change-Id: I8157d812c1b616b10dd4204d12cc8fb21d4eee50
* SetupWizard: Add seedvault restore page in GMS flowMichael Bestas2020-11-183-1/+13
| | | | Change-Id: I1ce86864b4a8d0477cd2db77a3820583e24c758a
* translations: Rename fingerprint setup string to biometric setupChirayu Desai2020-11-1366-262/+262
| | | | | For: I9ddd7b46548c8107239fdec457bbaae6b12876e6 Change-Id: Ic315f4ccf97edda45de000f41ba4cb456c249d29