Compare commits

...

200 Commits

Author SHA1 Message Date
LineageOS Infra
a965cffe53 Automatic translation import
Change-Id: I2e6d88edf9f00adb00aa4f262a236d1a294b4b8a
2024-03-01 23:36:21 +00:00
LineageOS Infra
3074bf4cac Automatic translation import
Change-Id: I123819d2d0c64cca2121d70d543d9a192b08c33f
2024-02-18 06:25:29 +00:00
LineageOS Infra
0129a533c1 Automatic translation import
Change-Id: Ib660473e58942b4fad95eed401180aef42223d3c
2024-01-01 17:11:54 +00:00
LineageOS Infra
3b3bee079d Automatic translation import
Change-Id: I6c33ca2745c24a493e90ae00e7420446f7f230b2
2023-10-15 18:22:10 +00:00
LineageOS Infra
259f992ad6 Automatic translation import
Change-Id: Ia8829ee9814f300f9a63900a17e261f63f01d0c1
2023-08-15 16:40:31 +00:00
LineageOS Infra
e751607823 Automatic translation import
Change-Id: Id5d3008df62158990abc2768109a0d957e25d0ea
2023-07-15 16:40:30 +00:00
LineageOS Infra
29bd5a6891 Automatic translation import
Change-Id: I465b9490153b76ab2958b9fa15a77f27b34abc5a
2023-07-01 17:31:22 +00:00
LineageOS Infra
3dc978412b Automatic translation import
Change-Id: I81accfee480823f7aa2d4b3bc222d82fca6b38f3
2023-06-15 12:06:56 +00:00
LineageOS Infra
9bb9c3f686 Automatic translation import
Change-Id: I842ff6cb3ead92051a54fd4d47574de37d4f547a
2023-06-01 10:19:50 +00:00
LineageOS Infra
ed8c2c0e61 Automatic translation import
Change-Id: Id309c8dfaa3607aa6e750736c631580489d0278c
2023-05-01 09:10:25 +00:00
LineageOS Infra
945eaa56c3 Automatic translation import
Change-Id: Ic52777a91b4230a5c4829032cde3e933d799a282
2023-04-24 14:26:17 +00:00
Aaron Kling
d8caecf898 Use -television instead of -large-notouch for atv resources
Mobile builds on devices with no touch panel are also getting these
settings applied, which is not intended.

Change-Id: Iab4e8deea1793ee1582b5e2f730bfc193cf05b41
2022-08-02 20:43:49 -05:00
Sean McCreary
62b331d258 SUW: add missing navigation bar in landsape layout
Add a navigation bar to the landscape orientation layout for the
'SIM missing' activity

Change-Id: Ic04b98e1891c9f411e658389168a45fc4fd7a103
2022-02-14 17:17:42 +01:00
Michael Bestas
9cfc52286c Automatic translation import
Change-Id: I1c27631f659e488d178c81d877f120f72b964887
2022-02-13 03:10:18 +02:00
Timi Rautamäki
c2d3b09baa SUW: remove restore page on TV for now
It's not possible to enter the Seedvault PIN on TV

Change-Id: I5feb097c170ee1a25e775cf38a33fa09754b7a28
2021-12-01 15:28:56 +00:00
Timi Rautamäki
2487cf8cc7 SUW: use https for privacy policy link
Change-Id: I6cbdb30f08c16233cf75af6bb407974411002dcf
2021-11-20 15:50:51 +00:00
Timi Rautamäki
a4f7f8e610 SUW: show the link to privacy policy
Change-Id: Icd1d193b74db963a12262deca0e6fbb028d4d504
2021-11-20 15:50:47 +00:00
Timi Rautamäki
7955e86842 SUW: remove privacy policy link on large-notouch
TV's don't have any way to open links.

Change-Id: Ia7123e37668199b76e1e12803223b1cef4e25175
2021-11-14 16:15:59 +01:00
Timi Rautamäki
b975189fcc SUW: update lineage_wizard_script for TV
Removing following pages:
 * datetime
 * sim_missing
 * choose_data_sim
 * enable_mobile_data
 * location_settings
 * biometric_settings
 * lockscreen_settings

Change-Id: I29a9bd3011ecac1a582e5d3f533f7a98888edc97
2021-11-10 18:08:55 +01:00
Timi Rautamäki
4a4a3ca828 SUW: use DayNight theme for TV
* As the TvSettings are always dark too, it looks better to follow it.

Change-Id: Ifa3d2f21b18ffb3bcc791205c271f76221db2a95
2021-11-03 12:56:25 +00:00
Timi Rautamäki
795d0b9489 SUW: update Wifi setup for TV
* Enable skipping Wifi setup on TV

Change-Id: I252a0d901a0a49e3919f7d1076fe8649f9507196
2021-11-03 12:56:25 +00:00
Timi Rautamäki
782f58d2d7 SUW: layout for TV
* Hide the layout with emergency call and accessibility options.
* Make the brand logo 80% of the view height to avoid scrolling.

Change-Id: I2d56129331c0ebb9d4b9273308ec2a0fa163f4b6
2021-11-03 12:56:24 +00:00
Michael W
d6850d2558 Automatic translation import
Change-Id: I067da32505b2e0ca0883295d51e9ec5456a132ca
2021-10-26 20:49:26 +02:00
Alessandro Astone
841512bf66 SUW: Move re-enabling of status bar to FinishActivity
This is always run both in the GMS and non-GMS flows

Change-Id: If70aa4cec640bacaf7b03da505b90d6c3c5aaf8e
2021-09-05 12:12:52 +02:00
Alessandro Astone
367f321410 SUW: restore: Handle RESULT_SKIP from Seedvault
Change-Id: I634f57ba88e8b1406db90f2f2851d60c0c5a0a0b
2021-09-05 11:25:13 +02:00
Timi Rautamäki
4ce5316a37 SUW: FinishActivity: hide navigation bar & statusbar before animation
Change-Id: Ia9d421a3f63469645f19acd91f72d472573e8818
2021-09-03 11:58:29 +00:00
Michael Bestas
b3789b806f SUW: Intent changes for new Wi-Fi setup flow
Change-Id: Ib79c7e709443eea9ec202efd1279dafcfb7951ad
2021-09-03 11:58:29 +00:00
Michael Bestas
b7b34b96a9 The big code style cleanup
* 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
2021-09-03 11:58:29 +00:00
Michael Bestas
ade1361e3b Remove whitespace
Change-Id: Iaf9a56b1f8646bff8eb505050f15c24626acf47d
2021-09-03 11:58:29 +00:00
Michael Bestas
8723edec03 Ensure all files have a newline at the end
Change-Id: I55990ff367addbc24b34abe8da7fa6d52604a0d2
2021-09-03 11:58:29 +00:00
Timi Rautamäki
f6dbf84363 SUW: add accessibility settings to welcome page
Added icon is from https://materialdesignicons.com/.

Change-Id: I21daa20c59f3deb7ef862fdbe7f7ce9262094c9a
2021-09-03 11:58:29 +00:00
Timi Rautamäki
ab4f1231ae SUW: rearrange welcome activity
Hide navigation bar and relocate buttons

Change-Id: I0202c18dbcf08bac31707b7b43f10b59d88be7f2
2021-09-03 11:58:29 +00:00
Artem Borisov
fbf886e808 SetupWizard: Fix status bar managing workflow
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
2021-09-03 11:58:29 +00:00
Timi Rautamäki
44fb45c421 SUW: use standard navigation method
Use software/hardware back button and add on-screen Next & Skip buttons.

Change-Id: I7bfa052f2217e51ea778df688e7169657aaad2c6
2021-09-03 11:58:28 +00:00
Timi Rautamäki
ab4d6d383f SUW: use GLIF v3 light -theme
Change-Id: I3684279ad87c82b85c93267e959e9faa2dabfdc3
2021-09-03 11:24:25 +00:00
Michael Bestas
885e3b363a SUW: Cleanup intent extras
Remove unused extras:
allowSkip: Removed in 2015
wifi_auto_finish_on_connect: Removed in 2016

Use WizardManagerHelper definitions when possible

Change-Id: I4e6a503ae030b85486921fcacfc4fe03e37c8698
2021-09-03 11:24:25 +00:00
Timi Rautamäki
5e2f7f2dfe SUW: use setupdesign layout & theming
Change-Id: I4841b701a8952035bd633d73368e80075d17e42a
2021-09-03 11:24:25 +00:00
Daniel Micay
d186af21f8 Replace LOCAL_MAC_ADDRESS with NETWORK_SETTINGS
ConnectivityManager.getCaptivePortalServerUrl now requires
NETWORK_SETTINGS instead of LOCAL_MAC_ADDRESS.

Change-Id: Idd9b7b683a48e49d97fca90bb62d81ee0629b672
2021-09-03 11:24:25 +00:00
Oliver Scott
7e04f9c361 Disable ChooseDataSimActivity if single SIM detected
Change-Id: I963a7b4f268698c048cf0eccb15198412b3e2ab3
2021-09-02 12:24:00 +00:00
Oliver Scott
1167c047be Fix SimMissingActivity never showing
Change-Id: I1a9d2539db96046c472f17a21932bc720c00eb26
2021-09-02 12:24:00 +00:00
Michael Bestas
c5232fcebd Rework isMultiSimDevice check
Move it to PhoneMonitor to be consistent with other checks

Change-Id: I560048ebdf318a92747a70ffb6fa8027b4589c1a
2021-09-02 12:24:00 +00:00
Michael W
8dc3cf8f47 SetupWizard: Use SettingsLib for Timezones
* 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
2021-09-02 12:24:00 +00:00
Michael Bestas
d23252fbc2 Automatic translation import
Change-Id: I8cea787038231d0b77ed6108fd153178a0077897
2021-08-21 04:07:27 +03:00
Timi Rautamäki
c84c112f8b SetupWizard: LineageSettings: fix padding on summary
Change-Id: Id99e5999f0e97990d319fe252d075b5d1d21ab70
2021-06-13 22:07:39 +02:00
Timi Rautamäki
e278fd6c1a SetupWizard: LineageSettings: correct privacy policy link span
* Some languages don't have the ´Privacy policy´-text
   as the last word of the sentence.

Change-Id: I74e342c8d6bbb038db11538905a12c7fef5a84de
2021-06-13 22:06:59 +02:00
LineageOS Builder
bee667cfd3 Automatic translation import
Change-Id: I774d03f02870c2c2189a52213b990e6968f791cc
2021-05-01 15:56:37 +00:00
Luca Stefani
6b9de1c6ee SetupWizard: Move to system_ext
* This is where system _extensions_
  should live

Change-Id: I1fc0dbf73c63e92525c8837a19b8f750fab55271
2021-03-23 22:20:19 +01:00
Luca Stefani
c102a32744 SetupWizard: Convert to Android.bp
* This allows us to move it to system_ext
  that wasn't possible to .mk

Change-Id: I3fcdfd2566b8518a921e18a39c60e69beab4cf86
2021-03-23 22:20:19 +01:00
Michael W
29e77749c5 SetupWizard: Disable mobile data at least once
* 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
2021-03-23 22:19:55 +01:00
Luca Stefani
bc224d5750 SetupWizard: Remove libphonenumber dep
* 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
2021-03-17 23:18:20 +01:00
Michael Bestas
f1b90986a8 Automatic translation import
Change-Id: I1d89185ee1a43a2894bf9f42d06dda43c808e5af
2021-02-28 02:40:42 +02:00
Michael W
2b90a7f7d8 SetupWizard: Add device specific hook page
* 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
2021-02-04 15:04:32 +01:00
Bruno Martins
da735e0ab3 SuW: Avoid showing exceptions if packages are not installed
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
2021-01-31 21:31:03 +00:00
Bruno Martins
21ae606b71 UpdateRecoveryActivity: Don't force recovery update by default
Change-Id: I0992bd257a3acc7ca6872744478121ba7f001ea0
2021-01-10 14:40:54 +00:00
Timi
e90cf31f27 SetupWizard: update recovery after setup
* Instead of doing it when going to next page

Change-Id: I65c5ca1bab1d79c8fd5906b36a02fd74547827ac
2020-12-31 18:18:24 +01:00
Timi
459dec482c SetupWizard: center text next to checkbox in recovery update -activity
Change-Id: I121c5ea0c39eef2d7eb87950432e5ec64b8edfa1
Signed-off-by: Timi <timi.rautamaki@gmail.com>
2020-12-13 15:06:31 +01:00
Alessandro Astone
d93e0e1bbd SetupWizard: Add activity to toggle recovery updates
Change-Id: I8157d812c1b616b10dd4204d12cc8fb21d4eee50
2020-11-19 01:26:28 +02:00
Michael Bestas
7423d88cd0 SetupWizard: Add seedvault restore page in GMS flow
Change-Id: I1ce86864b4a8d0477cd2db77a3820583e24c758a
2020-11-18 22:40:56 +01:00
Chirayu Desai
c61ad50de9 translations: Rename fingerprint setup string to biometric setup
For: I9ddd7b46548c8107239fdec457bbaae6b12876e6
Change-Id: Ic315f4ccf97edda45de000f41ba4cb456c249d29
2020-11-13 22:29:36 +01:00
Chirayu Desai
e372bc0542 Switch fingerprint setup to biometric setup instead
* Generic, handles both face and fingerprint
* Works the same as before for fingerprint
* Works the same as fingerprint for face
* What else could one ask for?

Change-Id: I9ddd7b46548c8107239fdec457bbaae6b12876e6
2020-11-13 22:29:36 +01:00
Torsten Grote
da1355a5c5 Hide activities when setup finishes, so they don't pop up at the end
Change-Id: Ica6b5babf7df7a7d8033ecd7694e3f45144b363a
2020-11-13 22:29:36 +01:00
Alessandro Astone
35eda3a50b SetupWizard: Distinguish interactive and wrapper subactivities
We were using the SubBaseActivity class for two different kind of
activities:
 (1) "Wrapper" activities, where we define an activity that on
     start simply launches another one
 (2) "Interactive" activities, where the user has to manually
     trigger the start of the subactivity, or skip the step.

When the subactivity ends, only in case (1) we want to finish our
activity as well, since we wouldn't have anything to show.

Change-Id: I1a3ae51f6146ac32b5e7542d9a18b0b032efe144
2020-11-13 22:29:36 +01:00
Christian Oder
cff638652a LSW: Properly set page transition and cleanup definitions on the way
Set slide animation by default and use it in all pages.
Fix wrong/missing slide animations on various transitions like WiFi
and the backup subpage.

Change-Id: I78c87f38eb615379d39c89b43a016ed2ffb98695
2020-11-13 22:29:36 +01:00
Christian Oder
b05350b920 LSW: Fix backtrack to LineageSettings fragment
The current handling results in the followup activity to ignore it for
backtracks which means when going from Location -> LineageSettings -> Fingerprint
the move backwards from Fingerprint leads up in Location and not the expected
LineageSettings.

The custom handling is necessary to process the result in the Google SUW,
so it has been fixed to properly work now.

Change-Id: Ifae5dc8fda07b61bd0271da1d1589059ab40cd39
2020-11-13 22:29:36 +01:00
Arne Coucheron
48f460889b Remove save/restore of button brightness timeouts
This is not really needed.

Change-Id: I826c31f484d745d6176105856fa9ddeb66673f1f
2020-11-12 01:08:35 +01:00
razorloves
64dd898409 suw: Update wizard scripts for R
The google suw flow has changed a little bit in Android 11, so
this change syncs our scripts to google's so that they match.

Change-Id: I59e9643fad8c48c22a090a29e621e2761ef7e0d0
2020-11-03 02:31:55 +02:00
Renlord
4027defd55 Update api usage for android 11
Change-Id: I50ff347c2c75afa43f462ce57329090ecf40a2dd
2020-11-03 02:31:55 +02:00
Daniel Micay
c2b6a18b9b Use system captive portal URL
The captive_portal_server setting is deprecated, and hard-wiring it as a
string is also probably a bad idea. Since it's deprecated, this code
will miss an override via the modern settings. This also hard-wired a
slightly different fallback than ConnectivityService, and simply
adjusting it here wouldn't stop that from happening again. It's best to
just use the privileged API for obtaining the proper value. The choice
of LOCAL_MAC_ADDRESS as the permission for this is a bit strange, but
that's what is required, probably because a better fit didn't exist.

Change-Id: I78d07d5ff96598cebf6d4ed032fe1516791836fe
2020-11-03 02:31:55 +02:00
LineageOS Builder
f1bfe7e2de Automatic translation import
Change-Id: I53493956b430e361439075d55bb1d73cd072ed9e
2020-11-01 11:28:17 +00:00
Torsten Grote
fc026fcadc Add an activity for launching a restore from backup
Change-Id: Ibd73f8549bb3ec9e829ad9082399dbbf0a6ca4f5
2020-10-26 18:20:34 +02:00
LineageOS Builder
a96ccce7b3 Automatic translation import
Change-Id: Ic89eb7cb05f0963234df509cf999a0532d92ecc7
2020-09-20 10:11:21 +00:00
LineageOS Builder
d63ae5e692 Automatic translation import
Change-Id: Ib26dafca8e3eed3fb88a8a5f177a2c73446b184c
2020-09-12 02:53:19 +00:00
Aaron Kling
5d1780f595 ATV: Disable custom SUW if GMS SetupWraith is available
This sets the partner customization flag to allow adding hooks
later if necessary.

Change-Id: Ie8dcb0f2eae8916ef00f812ea85661c020dce53b
(cherry picked from commit 68b11675e1)
2020-09-10 23:34:31 +02:00
Michael Bestas
0523274cc8 Automatic translation import
Change-Id: I71a33469e9df5ff49f187536d986546571479c22
2020-06-22 00:57:02 +03:00
Chirayu Desai
297b16f4bc tests: Add privapp permissions whitelist
Change-Id: I080784198bdc726e49ed8d2c3fd9874220548b0f
2020-06-01 20:37:44 +03:00
Michael Bestas
dd5da5e0e2 Automatic translation import
Change-Id: I93568bd54e0117dcf5d6cb5ba64c01a415b67b6f
2020-05-23 18:21:37 +03:00
Michael Bestas
7e295e98ed SetupWizard: Add privapp permissions xml
Change-Id: Ib4d54f12a40eda3a4d2f8811d804ac98f82b8850
2020-05-06 20:43:06 +03:00
Michael Bestas
222d58e56e Automatic translation import
Change-Id: I5d49cc8b2a645023521e236c5dd383ce79a613b4
2020-04-23 16:49:12 +03:00
Bruno Martins
92f16dc6ad LocationSettingsActivity: Account for deprecated location modes
LOCATION_MODE_HIGH_ACCURACY, LOCATION_MODE_SENSORS_ONLY and
LOCATION_MODE_BATTERY_SAVING are deprecated.

Take one further step and refactor the entire logic to call
LocationManager#setLocationEnabledForUser(boolean, int) instead
of setting location mode and LocationManager#isLocationEnabled()
to check if location is enabled.

Change-Id: Ibe1930902f6bfff99eb2c2d852ab600620e25f08
2020-04-19 01:10:04 +01:00
Michael Bestas
011b5e951a Automatic translation import
Change-Id: Ie5abf327b893a763d2f67e3d3317879c4396ec42
2020-03-30 20:29:56 +03:00
Luca Stefani
999d40eb5e Fix build warning
* Missing positional annoation

Change-Id: Ieb167491f28f94fad6a6472eb5ef256b7f2f485b
2020-02-22 14:51:36 +01:00
Michael Bestas
231bcbde0c Automatic translation import
Change-Id: I2e49007812d3178db86123740a15613e73fdca98
2020-02-01 23:17:19 +02:00
Chirayu Desai
ec3e5ccaaa Account for PhoneMonitor API change
* Needed after:
84a90870aa

Change-Id: Ie6c28388f28b97af273f7c93fc6b5b56b518370a
2020-01-22 23:25:50 +02:00
Bruno Martins
b0f5aa9540 SuW: Remove PG bits
Change-Id: Ic7297e0dcf1c9b438171e5ebe688e83e5cb121e9
2019-11-04 22:17:14 +00:00
Chirayu Desai
d463bce3c5 Add new method from ICaptivePortal
Change-Id: I13a5b4b5e2269ac53fd78862defe1ef5edeb1994
2019-10-04 08:51:50 +02:00
Chirayu Desai
0ebdabef3c Update for Q setup library changes
setupwizardlib,setupnavigationbar -> setupcompat,setupdesign

Change-Id: I8bf75028984dbf9fc2341990e93bd15ca0ad2af8
2019-10-04 08:51:08 +02:00
Bruno Martins
dc49637898 SetupWizard: Migrate to androidx
Change-Id: Iade6aeca1338c1e543d09aff83f8cf39d7c78e22
2019-09-11 16:03:45 +01:00
Michael Bestas
30b301f1fe Automatic translation import
Change-Id: I0028aa949499e4da41c449d6e9845767ec998b41
2019-08-25 19:27:54 +03:00
Bruno Martins
8b4804d822 SetupWizard: Add tablet specific strings for secure lock screen
Change-Id: Ib09e48953e1ec9af136a96a3715b998083489dd0
2019-08-18 14:29:17 +01:00
Michael Bestas
3a90e81eb2 Automatic translation import
Change-Id: I8321525c67f420f0ad326993bc008260514d40b7
2019-08-04 16:24:30 +03:00
Michael Bestas
9a75b2bd0a Automatic translation import
Change-Id: I4a5fac85dcc331d00d08356ed3af8f9c8cf94da0
2019-06-19 21:21:11 +03:00
Rashed Abdel-Tawab
97b6bc3efe suw: Disable ScreenLockActivity if a secure lockscreen is already set
Currently, devices that have a fingerprint prompt to add a fingerprint and
lockscreen via FingerprintActivity. However, since ScreenLockActivity is
always active, we end up with a second prompt for screen lock security.

This adds a check to see if a secure lockscreen has already been set, and
if so, just skip ScreenLockActivity.

Change-Id: I877835e8fa8628c01c96ab9732146720c1234f31
2019-06-15 21:22:31 -07:00
Michael Bestas
a3c24ddbbc Automatic translation import
Change-Id: I2a1c97c7febd4d305d6e0cc2b8e498248a849b54
2019-06-08 18:58:36 +03:00
Michael Bestas
1383018b2c Automatic translation import
Change-Id: I3df364f5789d4b6e6336e0896e39aa213a14adad
2019-04-07 21:58:59 +03:00
Michael W
03f1ab4f94 Automatic translation import
Change-Id: Icf6a0b3829ad1e648f4dd18f50931b184a1e1535
2019-03-11 00:22:04 +01:00
razorloves
2f9034668b SUW: Don't make google suw use material_light
The material_light theme causes gms to crash with "Error inflating
class TextView" when attempting to do a device to device restore in
google suw. This change allows it to use the default glif_light.

Also removed the "Partner SUW Strings" comment, as the theme_type
was the only one.

Change-Id: I287f201799aba81c19869000e3aadb47ef67299b
2019-03-08 05:18:31 +01:00
razorloves
c7f0c5496f SUW: Update wizard scripts for Pie
The google suw flow has changed a little bit and added some new flow
choices in Pie, so our scripts need to be updated to match it. This
fixes the restore choice screen being shown twice.

Also reorganized the order of the wizard action results to move the
resultcode from the beginning to the end. This is a noop change that's
just to bring it inline with google's suw scripts.

Change-Id: Ia3ac9d1fdae62132c377e8ac2f767a795790d092
2019-03-05 03:50:27 +01:00
Michael Bestas
a63e7dc9f7 Automatic translation import
Change-Id: Ie9d61aa612f6f600d300e0549c8aa6987d4e4faf
2019-02-26 19:01:28 +02:00
razorloves
85465bc433 SUW: Change WizardManager activity default state to disabled
Google's suw handles the LOAD and NEXT actions, so this creates
duplicate tasks and crashes google suw when finish() is attempted.

Change-Id: Ifdbd9365fba7f299dc041e42ae27a91da071aa99
2019-02-12 09:31:47 -06:00
Bruno Martins
6c2dd2f452 FinishActivity: Do not write the currently set FORCE_SHOW_NAVBAR value
* Check if the value for the setting is already applied and do not
   attempt to write it again. During the testing of SuW it was found out
   that there can be an edgecase where softkeys don't show up neither
   hardware keys work, even though the setting is applied (judging
   by the status of the KeyDisabler switch).

Change-Id: I902f26fe131e508974116f7607fd0b88921395d9
2019-01-18 23:15:44 +00:00
Bruno Martins
3872830620 FinishActivity: Remove useless call to LineageHardwareManager
* This is properly handled in fw/b once the setting is changed

Change-Id: I98acd00204b3f741e34069fbd9ba016fbc15c8dc
2019-01-18 14:18:53 +00:00
Bruno Martins
0277e73429 LineageSettingsActivity: Account for user stored KeyDisabler setting
* This ensures the proper switch status is set
   when migrating from older versions

Change-Id: Ie6b79a5269418ec7eae205e30558449098202e54
2019-01-18 10:57:16 +00:00
Michael Bestas
e159adc164 Automatic translation import
Change-Id: I3ad2754a45590cc4662e32c59b87667c2bf3577c
2019-01-12 20:04:20 +02:00
Bruno Martins
a8e278d031 SetupWizard: Update for moved force show navbar setting
Change-Id: I8b883dcc078b314bc209cb5186a49c0e762a47dd
2018-09-28 10:10:01 +02:00
Bruno Martins
33636d146a LineageSettingsActivity: Remove useless check for navbar toggle
* The only condition for "Use on screen navigation keys instead
   of hardware keys" option to be shown is the availability
   of KeyDisabler feature. There is really no need to check if the
   device "needs" a software navbar (because it has no hardware keys).

Change-Id: Id716d766927f440292a6d18d8fa77bed76ad90b3
2018-09-18 22:43:06 +01:00
Bruno Martins
9da385fc3d LocationSettingsActivity: Send broadcast as user
* Specify the user the broadcast will be sent to,
   in order to avoid the warnings as seen in the logs:

     W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1531 android.content.ContextWrapper.startService:664 org.lineageos.setupwizard.SetupWizardExitActivity.onCreate:53 android.app.Activity.performCreate:7136 android.app.Activity.performCreate:7127

Change-Id: I26a0b4ab2dc94bbe6eff065875901bf347aec85b
2018-09-03 17:46:22 +01:00
Bruno Martins
4b465ba426 SetupWizardTests: Properly depend on Lineage SDK
* Platform apps that depend on the SDK must only link
   against org.lineageos.platform.internal

Change-Id: Ibf63433f0961572d118361f984270f56accf8409
2018-08-22 22:48:34 +02:00
Bruno Martins
cd247e92b8 SetupWizard: Remove bogus Lineage SDK dependency
* Platform apps that depend on the SDK must only link
   against org.lineageos.platform.internal

Change-Id: I9d06246fbf0fbe076b9a884e2bf27fcba8bf5468
2018-08-22 12:30:51 +02:00
Bruno Martins
059ca6c729 SetupWizard: Build with AAPT2
* This is now mandatory, in order to use setup wizard lib

Change-Id: I9644eda4bc3f6bdea551480bcf373ca9563981b5
2018-08-22 01:03:20 +01:00
Anton Hansson
42c4cc3d5b SetupWizard: Set LOCAL_PRIVATE_PLATFORM_APIS
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.

Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.

Bug: 73535841
Change-Id: Iabb0556dc1c80c7fc7f6c76d61d5e441b03cdce0
2018-08-22 00:55:45 +01:00
Bruno Martins
beb04a1051 SetupWizard: Migrate to the currently maintained setup wizard lib
* Common platform variant is no longer maintained.
   Google advises to use common-gingerbread instead, so do it.

Change-Id: Icacb123c42a10f1813fc8189f3a6d01a86f0b0a1
2018-08-22 00:51:30 +01:00
Michael Bestas
6ef80d996b Automatic translation import
Change-Id: I23dcbb2d869cc76e98c2a464a610038f7468d808
2018-08-16 19:08:09 +03:00
Michael Bestas
7249cb548d Automatic translation import
Change-Id: I93c8661f63c5b9b26ceebf81abd31991c09bfee8
2018-08-05 17:33:09 +03:00
Michael W
2236d29199 SUW: (Not-really-)Spring Cleanup
* Remove unused imports
* Fix a few line length issues
* Convert a few anonymous classes to lambda expressions
* Convert a few global vars to locals
* Remove unused methods
* Add a small local method in MobileDataActivity to shorten repeated calls

Change-Id: Ia10be8b8c98ef3956949f913ddb6bddc185cf1a5
2018-07-25 13:34:51 +02:00
Michael Bestas
e5741b0e76 Automatic translation import
Change-Id: I831b3569c305782c6672bda686c83e69b3ccbc18
2018-07-09 22:03:28 +03:00
Michael Bestas
9d0b647909 Automatic translation import
Change-Id: I6cd3c70e06d026d892225dd6f9769ea762654d1f
2018-06-19 20:20:58 +02:00
Michael W
822928f090 SetupWizard: Fix Non-GMS upgrade
* Instead of resetting the wizard and relying on the call chain to disable
  the SUW properly, call the finishSetupWizard method directly and step out
* Fixes: Upgrade 14.1 -> 15.1 without gapps looping

Change-Id: I1498a86b3c407aa32faa60c542003a1d596ce031
2018-06-18 18:19:05 +02:00
Luca Stefani
e30af770bd SetupWizard: Pass proper value to wifi back text
* We are currently passing a Boolean value while the
  value should be a String ( null in our case )

Change-Id: I6bc69793485c44f2a65baeab62d7266934500038
2018-06-14 10:07:06 +02:00
Michael Bestas
d3b0cbf211 Automatic translation import
Change-Id: I6738f90f613f24b4ed4980e1c3fb95b4a6b83da3
2018-05-08 22:38:47 +03:00
Michael Bestas
9466d4ee8c Automatic translation import
Change-Id: I8da2dad24b5ca71df11d93a9e76de0d522c5c433
2018-04-01 22:32:28 +03:00
Rashed Abdel-Tawab
5364cce5ff SuW: Explicitly include java support packages
Change-Id: Ie80e18abb3b8d7b30734fbe6727c2978dbc30543
2018-03-21 22:51:28 +00:00
Aaron Kling
e7ec39571e Remove code to disable setupwraith
Setupwraith from 8.0 no longer needs to be platform signed

This reverts commit e0605c03f4.
This reverts commit 092d0fa892.

Change-Id: Ic9801ee52d931e87b6568a1faa4de39b32c3629d
2018-03-20 01:15:58 +00:00
Abhisek Devkota
3e80db1c16 SUW: Don't consume clicks on Finish Activity
Fixes ATV accessory navigation for 'start' action

Change-Id: Ia4fee80809490d235cf06f22a7371c05aa9d831c
2018-03-09 19:46:57 -08:00
Michael Bestas
4d3774d807 Automatic translation import
Change-Id: Ic1587c51db5430ca7907b081b3d4d5668848339e
2018-03-09 00:35:41 +02:00
Abhisek Devkota
7a315e894f ATV: Also set TV_USER_SETUP_COMPLETE
New provisioning flag was introduced in f/w/b
  0390fff82c37c705670a6c8937c11b52e2af4cb6

Change-Id: I342681927bd4f8d3f73dd8b0e0047eb8e1db6d2c
2018-03-04 20:09:13 -08:00
Michael Bestas
5d66190658 Automatic translation import
Change-Id: I53b8e9f364850b2a64341c6bfc806b50a64b8d45
2018-02-25 22:03:57 +02:00
Michael Bestas
422e8d5158 Automatic translation import
Change-Id: I66fdae0e2cd48ab737f0906ec23a75cacf4ef796
2018-02-22 03:49:32 +02:00
Michael Bestas
9ca7cf45f1 SUW: Fix keydisabler setting on non-gms case
* Fixes:
  W LineageSettings: Setting dev_force_show_navbar has moved from
  LineageSettings.Secure to LineageSettings.Global, value is unchanged.

Change-Id: Id22886ea5767c6adf254618ecec84b338e11979b
2018-02-05 15:55:44 -08:00
Michael Bestas
709054b0dd SUW: Fix crash on fingerprint capability check
* Check if the device supports the fingerprint feature before proceeding

Change-Id: I9cda52500c1e45499b5647fccff3d7d37c8311ef
2018-02-05 15:55:39 -08:00
Michael Bestas
c83309e963 SUW: rebrand step 2: update file contents
Change-Id: Ic04f03f82242608960bd6d9c4c2561c2bbdda1da
2018-02-05 15:55:31 -08:00
Michael Bestas
fbae0863a6 SUW: rebrand step 1: update paths
Change-Id: Ic63e83de56659750a9d75fe577187c0d9f25147f
2018-02-05 15:55:24 -08:00
Michael Bestas
adfbcbdeac SUW: Remove unused permissions
Change-Id: I54fed318ec65ab1982cf4dd2abca0fd9b3203ca5
2018-02-05 15:55:18 -08:00
Abhisek Devkota
cdff407f88 SUW: Don't export our WizardManager
Even though we disable this class when GMS is present, the
 intent-filters are still active and cause an activity resolver
 to be presented to the user. Disable export of this activity to
 work around this.

Change-Id: I5888c71b5fdb95e59e15366b66f56e7968e51f1a
2018-02-05 15:55:12 -08:00
Abhisek Devkota
fe68605330 SUW: Integrate with GMS flow
Change-Id: Ibb010da847deebec83520b752dacc9e743971878
2018-02-05 15:55:07 -08:00
Abhisek Devkota
aadbc730e4 SUW: Update Intent for Wifi connect
Change-Id: I22e52795cc408ea7093b788c31babb2d127a7f5b
2018-02-05 15:55:01 -08:00
Abhisek Devkota
cc839c9d87 SUW: Update for LineageOS platform & sdk
Change-Id: Idb765ea4808b4ba3c01414974e40ccf735f77f9d
2018-02-05 15:54:56 -08:00
Abhisek Devkota
e0605c03f4 Disable SetupWraith, if GMS not present
This reverts commit 092d0fa892.

Change-Id: I9b075ff1d4d91318920050c26b3fa6eb9130d5c9
2017-12-17 13:25:20 -08:00
Abhisek Devkota
5e6b2a571f Automatic translation import
Change-Id: I57712bc08d68e61c676d54d3236ec6a0fb22564e
2017-12-17 08:56:27 +00:00
Abhisek Devkota
9a86ff6a7b Automatic translation import
Change-Id: I1520d3d323bdbd7d861713a30e595fbc123af6ca
2017-12-12 20:16:02 +00:00
Abhisek Devkota
c347cee0d3 Fix result on skipping Fingerprint setup
Change-Id: I7534d2f95b4f846e2fd5d1ee096efef558cc368a
2017-11-18 06:46:59 +00:00
Aaron Kling
aba4f6f13e WifiSetup: If an ethernet connection is active, skip wifi setup
Change-Id: I6dc08e5e7d07c3650449fcf4374a375827eb3743
2017-10-25 04:38:15 +00:00
Abhisek Devkota
356dcde83f [Fugu] Fix bluetooth setup loop
As we launch a new activity, the results are auto-cancelled.

- ActivityManager: Activity is launching as a new task, so cancelling activity result.
- SubBaseActivity: subactivity result {(5), RESULT_CANCELED(0), null}

Change-Id: I724832fc0fea8930136fbf9878ae6e2f82b909b3
2017-10-23 20:00:37 +00:00
Abhisek Devkota
e7dce25fe8 Revert "The bluetooth pairing page cannot be exited, disable it for now."
This reverts commit d82d392226.

Change-Id: I844fad7da76cc18e8f1d7f1e9aed2ba36a46e107
2017-10-23 20:00:31 +00:00
Abhisek Devkota
74191b026e Automatic translation import
Change-Id: Ibd7690f6795c22337c5cbc76368da30ff10e8ef9
2017-10-21 11:11:23 -07:00
Michael W
c3b2008d56 SetupWizard: Set min date to build date
* Use "ro.build.date.utc" as a base
* Fallback to beginning of 2017 if the date can't be determined for
  whatever reason

Change-Id: I48cd9eb1928f5e3e3240a75508549712f5e53413
2017-10-12 12:49:47 +00:00
Michael Bestas
712fb3a25e Remove obsolete values-be translations
* values-be-rBY is used now

Change-Id: If8f3f6865b1560ab0f4b086745a58fcf536c02bc
2017-09-30 18:39:59 +03:00
Abhisek Devkota
2266ca7cff Automatic translation import
Change-Id: Iffd2a50f66c4b567b2ab7cc10cd877c8a3a59f71
2017-09-18 11:48:10 -07:00
Gabriele M
f7d9926b91 SetupWizard: Fix the accessibility services gesture
Returning false from onInterceptTouchEvent() or onTouchEvent() causes
getPointerCount() to never be greater than 1, therefore enabling the
accessibility services is currently impossible. Fix this and simplify
the code merging onInterceptTouchEvent() into onTouchEvent().

Change-Id: Ieadbb41f9f3f3fb62d11f5a29986630d35e7e8c4
2017-09-03 12:57:33 +00:00
Michael W
77ef7901a4 SetupWizard: Remove Themes related code
* CMTE is not coming back in 14.1 anyway
* Instead of fixing stuff around it, just remove remainders of it

Change-Id: Ib0e3261d970779aa6dd30db5c8869a0f5198d2d3
2017-09-01 22:55:07 +02:00
Abhisek Devkota
f79f8cfcff Automatic translation import
Change-Id: I93ae89a50152195c66bfbcc9ec1654d5846ea411
2017-08-19 15:34:42 -07:00
Abhisek Devkota
3deda346f1 Automatic translation import
Change-Id: I6454fe0d5581ee33c49766d1a67517067ef4043b
2017-08-03 22:47:36 -07:00
Michael W
d261c7a60e SetupWizard: Don't show ChooseDataSimActivity on single sim devices
* There is only once choice, no need to ask the user

Change-Id: I5bff265ae7f32679498b3fe9adc568807f12bf6f
2017-07-28 20:23:24 +02:00
TheScarastic
6971663571 SetupWizard: Fix crash when sims are absent
Change-Id: I3e37f78f1c96be1630ea9fde866ce978f9ecf1d8
2017-07-28 19:26:16 +02:00
Michael W
b1dd4299c4 SetupWizard: Fix a few possible NPEs
* Accessing SparseArrays with zero-based indexes can fail due to non-used
  indexes
* mCheckBoxes and mRows should always be accessed with the key they were
  added
-> use keyAt(index) when iterating the SparseArray
-> use the simSlotIndex when iterating the subInfoRecords

BUGBASH-318
BUGBASH-610 (partially)

Change-Id: Ib831c3623dafa5bd7d0c95acfa69f4a686644be6
2017-07-28 19:03:51 +02:00
Abhisek Devkota
fe4f010710 Automatic translation import
Change-Id: I6a0dc02678d693a0076551cdd653f8d6ef4481f2
2017-07-25 20:25:09 -07:00
Abhisek Devkota
32892fdb40 Automatic translation import
Change-Id: Ibd0ee384b5dd7954b71111534eb7d23c1c762e02
2017-07-22 12:42:02 -07:00
Abhisek Devkota
50da943b90 Automatic translation import
Change-Id: If8f6a8efae301dbbfe79c9d2f460d662693d383a
2017-07-07 21:20:12 -07:00
Abhisek Devkota
3ff607b91a Automatic translation import
Change-Id: I71e9acf069ffb424b59905fbd8e4814de1a97107
2017-06-30 22:06:43 -07:00
Aaron Kling
092d0fa892 Disable SetupWraith, the ATV SUW.
SetupWraith currently crashes after the finshed screen, causing
devices to remain unprovisioned.

Change-Id: I9f494158ea11210014eaec9faa48fddcedd968d4
2017-06-24 01:36:43 +00:00
Abhisek Devkota
33b449123d Automatic translation import
Change-Id: Iba0b8a45d54b3cf316f96c0f08d3679eb2e4f3ea
2017-06-22 20:56:23 -07:00
Aaron Kling
d82d392226 The bluetooth pairing page cannot be exited, disable it for now.
Change-Id: Ife3d13a77da7e40a1a5e1963eb164c44cb088f2d
2017-06-17 14:00:39 -05:00
Abhisek Devkota
0f1683789a Automatic translation import
Change-Id: I1a96e317a8085e36cfb7e566e1d15ce654f92324
2017-05-31 20:10:03 -07:00
Abhisek Devkota
4972a32e04 Automatic translation import
Change-Id: Ibd453397604fa6c0dfe52e91ffaad89f7f77102d
2017-05-17 22:22:48 -07:00
Abhisek Devkota
8518aa375c Automatic translation import
Change-Id: I2163e6c58a296b4fef97bc71d1fe3b5e165195da
2017-04-28 15:16:53 -07:00
Abhisek Devkota
e8e7a5475b Automatic translation import
Change-Id: I906f2016a644133073f46770b62268d509ac9734
2017-04-20 12:09:00 -07:00
Abhisek Devkota
cd33504245 Automatic translation import
Change-Id: I574a1fa4a2430de24b94fc826066924fde73509e
2017-03-29 14:25:52 -07:00
Abhisek Devkota
f834d213ea Automatic translation import
Change-Id: I00797f4cfb32b596311193a40201c2e22b13857b
2017-03-20 13:55:09 -07:00
Abhisek Devkota
27662e2ff4 Automatic translation import
Change-Id: I09d63b216c13bb51f7bdf6999182633245966fc3
2017-03-15 13:37:23 -07:00
Abhisek Devkota
281d2655be Automatic translation import
Change-Id: I29e91ae1b977976e028ca213bbfa93b1a1fab465
2017-03-08 14:05:08 -08:00
Michael W
be35cfc91b Automatic translation import
Change-Id: Ic3721132a38816d5e5b024a4101a95c8d67bcc62
2017-03-02 15:45:35 +01:00
cretin45
50cb6ac113 SetupWizard: Remove uneeded category
Change-Id: I1124721da3c6a4a7839ad8dd03aad09c7d595e15
2017-02-27 20:20:32 -08:00
cretin45
0c7b92ad7a SetupWizard: Fix landscape
Change-Id: Ia77596aa63d3efabcdbcde81d2b9c8b7e5f89b4f
2017-02-26 10:22:18 -08:00
Abhisek Devkota
66ac309842 Automatic translation import
Change-Id: I8d7346276e90279b0772558b0a817143c5706d49
2017-02-24 18:54:33 -08:00
Abhisek Devkota
9365fb1c53 Automatic translation import
Change-Id: Idbe2092234d521008d973025e77aa19954e83ce5
2017-02-23 19:17:21 -08:00
cretin45
ec3dcce5a6 SetupWizard: Increment version
Change-Id: I601d5f1d5711654601e03ecaa28a37fad785df42
2017-02-22 16:47:00 -08:00
Harry Youd
63aaa30ba1 SetupWizard: Don't crash when missing Google SUW
If com.google.android.gms is installed when
   com.google.android.setupwizard is not,
our setup wizard crashes.

Fix this by checking Google's setupwizard exists,
and if not, not attempting to launch it.

Change-Id: I6120304dd13dddf07c2769245765a3e98dec51fc
2017-02-22 15:08:02 +00:00
Abhisek Devkota
3ecb352c17 Automatic translation import
Change-Id: Id112ef19c0bef67082a9534925c66d2c37d88268
2017-02-19 15:05:33 -08:00
Luca Stefani
765f0e6249 SetupWizard: Include tests makefile
Change-Id: I37d52ea0789653a668ec514df47924f0280da12d
2017-02-18 16:03:59 +00:00
cretin45
fc2ca45177 SetupWizard: Allow skip of optional screens
Change-Id: I018d0d86a0aa711926c32f172a4d7ece6a095454
2017-02-16 23:03:36 -08:00
Abhisek Devkota
4161a57ccc Automatic translation import
Change-Id: I0a85a818d43cf1ea109119382df4d3efd18547f0
2017-02-16 10:42:22 -08:00
cretin45
d4cea55dd7 SetupWizard: Part 2: Implement new OOBE using custom wizard manager
Change-Id: Ie6beb6395c5a4936384e78d57c95262e302220f9
2017-02-13 19:47:36 -08:00
cretin45
3593f035fc SetupWizard: Part 1: Initial wizard manager conversion
Part 1 implements SetupWizard support if GMS is present.

Change-Id: I0d465a9d84f0c477acc8309511894e9b194762f7
2017-02-12 16:13:34 -08:00
Abhisek Devkota
167ac2cad8 Automatic translation import
Change-Id: Id472254edf099eba0a27901cd6eae161ab690499
2017-02-11 12:42:38 -08:00
Abhisek Devkota
3d3519ea7c Automatic translation import
Change-Id: I0ed7a1aafecc1a0c87c3dc2b184018b2230fa8a8
2017-02-09 14:33:44 -08:00
Abhisek Devkota
42a4e5530c Automatic translation import
Change-Id: Ida75d5275726f4289ed269908ff049024787e88c
2017-02-07 13:43:50 -08:00
Abhisek Devkota
54311c0f1e Automatic translation import
Change-Id: Ibd28d2c38bfd659210ae657b46eb381ef64fab8a
2017-02-04 16:20:46 -08:00
Abhisek Devkota
fdf1c879cd Automatic translation import
Change-Id: I25dfee0b517f5ee7ba8d35f4296556a5cd8cf63e
2017-02-02 02:00:29 +00:00
Luca Stefani
cd34a5865f Build org.cyanogenmod.platform.internal as static library
Change-Id: I5668aef0f1e396e373e92c8f1815ae359255f6bf
2017-02-01 16:25:04 +00:00
Marvin W
4e218b65f0 Remove Google Play Services dependency
PS2: inline hasGms usage, don't use addprefix for a single entry,
     remove unused imports

Change-Id: I1eb1fb76e4b80e26992599e3511d265abbfa1cd7
2017-02-01 02:04:08 +00:00
cretin45
a0cd24724e SetupWizard: Update test app icon
Change-Id: I359ad1c185f982d6ba564138547fadc8cb01d35f
2017-01-26 22:03:03 +00:00
Abhisek Devkota
70bfefd2f4 Automatic translation import
Change-Id: If10dae8f9665d1d232d5642238b91a011440c621
2017-01-25 13:47:38 -08:00
Abhisek Devkota
d86ccbe678 Temp: Always disable D2D since its broken atm
We are working towards a totally new SetupWizard model, so a temp fix
 here will get jettisoned when that merges

Change-Id: I01d5cde69515bb46b54e896a1005fe0ffcdb002c
2017-01-24 21:23:33 +00:00
Joey Rizzoli
52a78fd21c SetupWizard: rebrand to LineageOS
* Rebrand UI
* Add privacy guard to setup
* Disable Cyngn inc MOD platform and account setup
* Make privacy policy view-able again

Change-Id: Iacd60886992ca72d3f75bb21a905d612432751fc
Signed-off-by: Joey Rizzoli <joey@lineageos.it>
2017-01-09 14:21:08 +01:00
pinky@build01
b1933751ba Automatic translation import
Change-Id: I1797cf5e0aaee630466617a6f0119d6136c66d6c
Ticket: -
2016-12-24 18:45:22 -08:00
clyde@build01
a6daa27003 Automatic translation import
Change-Id: If4e64c10c125b8d7b1fea32ce3346c5ecd794a12
Ticket: -
2016-12-21 18:28:56 -08:00
pinky@build01
2e1593cfe6 Automatic translation import
Change-Id: I450fad76bd52dcc88b4d81cbc68d5d5afc27d8fc
Ticket: -
2016-12-17 18:36:35 -08:00
Joey Rizzoli
e89bc04ad7 SetupWizard: always prompt the user to setup a lockscreen
Change-Id: I1a7eaaa7646d04c167b99b7cf9cea3bf7c812d69
Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
2016-12-12 20:17:45 +01:00
pinky@build01
4ec9f97c34 Automatic translation import
Change-Id: I29d8db93962f1b64340d84aea92ee052fe45fcca
Ticket: -
2016-12-10 19:08:07 -08:00
inky@build01
dad38709ca Automatic translation import
Change-Id: Idb5503a0b9a4f722f736c0aa2d7ee97544980e2c
2016-12-08 22:51:54 -08:00
Ricardo Cerqueira
3408466848 GmsAccount: If there's no network and FRP isn't enforcing, skip GMS
The current version of GMS's SuW has the main activity return as
CANCELED when no network is available. This is the same result as
an actual cancellation (by pressing "Back"), and there's no extra
data to distinguish the two, so the user gets stuck in a loop between
the "no network" page and the one preceding it, unless connectivity
is somehow established. Making connectivity mandatory for OOBE isn't
acceptable, so skip GMS entirely if network is absent (and FRP
isn't enforcing). The only thing it was presenting was a "you
have no network" dialog anyway.

Change-Id: I2abadc79a0823e94da7d3a875ce6db8eae8f143b
(cherry picked from commit d82b2dc88a)
2016-11-02 14:30:41 -07:00
326 changed files with 13584 additions and 12929 deletions

52
Android.bp Normal file
View File

@@ -0,0 +1,52 @@
//
// Copyright (C) 2021 The LineageOS Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
android_app {
name: "LineageSetupWizard",
srcs: ["src/**/*.java"],
certificate: "platform",
privileged: true,
system_ext_specific: true,
platform_apis: true,
overrides: ["Provision"],
optimize: {
proguard_flags_files: ["proguard.flags"],
},
static_libs: [
"androidx.core_core",
"SettingsLib",
"setupcompat",
"setupdesign",
"org.lineageos.platform.internal",
],
libs: ["telephony-common"],
required: ["privapp_whitelist_org.lineageos.setupwizard"],
}
prebuilt_etc {
name: "privapp_whitelist_org.lineageos.setupwizard",
system_ext_specific: true,
src: "privapp_whitelist_org.lineageos.setupwizard.xml",
sub_dir: "permissions",
filename_from_src: true,
}

View File

@@ -1,33 +0,0 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := CyanogenSetupWizard
LOCAL_CERTIFICATE := platform
LOCAL_PRIVILEGED_MODULE := true
LOCAL_PROGUARD_FLAG_FILES := proguard.flags
LOCAL_STATIC_JAVA_LIBRARIES := \
android-support-v4 \
android-support-v13 \
play \
libphonenumber \
org.cyanogenmod.platform.sdk
LOCAL_JAVA_LIBRARIES := telephony-common
# Include res dir from chips
google_play_dir := ../../../external/google/google_play_services/libproject/google-play-services_lib/res
res_dir := $(google_play_dir) res
LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dir))
LOCAL_AAPT_FLAGS := --auto-add-overlay
LOCAL_AAPT_FLAGS += --extra-packages com.google.android.gms
include frameworks/opt/setupwizard/library/common.mk
include $(BUILD_PACKAGE)

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2013 The CyanogenMod Project
Copyright (C) 2017-2021 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -16,8 +17,8 @@
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
package="com.cyanogenmod.setupwizard"
android:versionCode="4"
package="org.lineageos.setupwizard"
android:versionCode="5"
android:sharedUserId="android.uid.system">
<uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
@@ -37,64 +38,305 @@
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
<uses-permission android:name="android.permission.MANAGE_USERS" />
<uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" />
<uses-permission android:name="cyanogenmod.permission.ACCESS_THEME_MANAGER"/>
<uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
<uses-permission android:name="cyanogenmod.permission.HARDWARE_ABSTRACTION_ACCESS" />
<uses-permission android:name="lineageos.permission.HARDWARE_ABSTRACTION_ACCESS" />
<uses-permission android:name="android.permission.BACKUP" />
<uses-permission android:name="cyanogenmod.permission.FINISH_SETUP" />
<uses-permission android:name="cyanogenmod.permission.LEGALESE" />
<uses-permission android:name="com.cyngn.stats.SEND_ANALYTICS" />
<uses-permission android:name="com.cyanogen.permission.REQUEST_KILL_SWITCH_OP" />
<uses-permission android:name="cyanogenmod.permission.WRITE_SETTINGS"/>
<uses-permission android:name="cyanogenmod.permission.WRITE_SECURE_SETTINGS"/>
<uses-permission android:name="android.permission.NETWORK_SETTINGS" />
<uses-permission android:name="lineageos.permission.FINISH_SETUP" />
<uses-permission android:name="lineageos.permission.WRITE_SETTINGS" />
<uses-permission android:name="lineageos.permission.WRITE_SECURE_SETTINGS" />
<permission
android:name="cyanogenmod.permission.PROTECTED_APP"
android:name="lineageos.permission.FINISH_SETUP"
android:protectionLevel="signatureOrSystem" />
<permission
android:name="cyanogenmod.permission.FINISH_SETUP"
android:protectionLevel="signatureOrSystem"
androidprv:allowViaWhitelist="true" />
<protected-broadcast android:name="org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE"
android:permission="lineageos.permission.FINISH_SETUP"/>
<protected-broadcast android:name="com.cyanogenmod.setupwizard.SETUP_FINISHED"
android:permission="cyanogenmod.permission.FINISH_SETUP"/>
<uses-sdk android:minSdkVersion="23" android:targetSdkVersion="23" />
<protected-broadcast android:name="org.lineageos.setupwizard.SETUP_FINISHED"
android:permission="lineageos.permission.FINISH_SETUP"/>
<application android:label="@string/app_name"
android:icon="@drawable/icon"
android:icon="@mipmap/ic_launcher"
android:theme="@style/Theme.Setup"
android:uiOptions="none"
android:taskAffinity="com.android.wizard"
android:name=".SetupWizardApp">
<meta-data android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<activity android:name=".ui.SetupWizardActivity"
android:label="@string/product_name"
android:launchMode="singleInstance"
<activity android:theme="@style/NoDisplay"
android:label="@string/activity_label_empty"
android:name=".wizardmanager.WizardManager"
android:enabled="false"
android:exported="false"
android:excludeFromRecents="true"
android:configChanges="mcc|mnc"
android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
android:immersive="true">
<intent-filter>
<action android:name="com.android.wizard.LOAD" />
<action android:name="com.android.wizard.NEXT" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".SetupWizardActivity"
android:label="@string/activity_label_empty"
android:lockTaskMode="normal"
android:launchMode="singleTask"
android:excludeFromRecents="true"
android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
android:immersive="true"
android:windowSoftInputMode="stateAlwaysHidden">
android:windowSoftInputMode="stateAlwaysHidden"
android:theme="@style/NoDisplay">
<intent-filter android:priority="9">
<action android:name="android.intent.action.MAIN" />
<action android:name="android.intent.action.DEVICE_INITIALIZATION_WIZARD" />
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<receiver android:name=".setup.FinishSetupReceiver"
android:exported="true">
<activity android:name=".BluetoothSetupActivity"
android:label="@string/activity_label_empty"
android:excludeFromRecents="true"
android:configChanges="mcc|mnc"
android:immersive="true"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="com.cyanogenmod.setupwizard.ACTION_FINISH_SETUPWIZARD" />
<action android:name="org.lineageos.setupwizard.LINEAGE_BLUETOOTH_SETUP" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".WelcomeActivity"
android:label="@string/activity_label_empty"
android:excludeFromRecents="true"
android:configChanges="mcc|mnc"
android:immersive="true"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_WELCOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".LocaleActivity"
android:label="@string/activity_label_empty"
android:excludeFromRecents="true"
android:configChanges="mcc|mnc"
android:immersive="true"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_LOCALE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".DateTimeActivity"
android:label="@string/activity_label_empty"
android:excludeFromRecents="true"
android:configChanges="mcc|mnc"
android:immersive="true"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_DATETIME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".WifiSetupActivity"
android:label="@string/activity_label_empty"
android:excludeFromRecents="true"
android:configChanges="mcc|mnc"
android:immersive="true"
android:exported="false"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_WIFI_SETUP" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".CaptivePortalSetupActivity"
android:label="@string/activity_label_empty"
android:excludeFromRecents="true"
android:configChanges="mcc|mnc"
android:immersive="true"
android:exported="false"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_CAPTIVE_PORTAL_SETUP" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".SimMissingActivity"
android:label="@string/activity_label_empty"
android:excludeFromRecents="true"
android:configChanges="mcc|mnc"
android:immersive="true"
android:exported="false"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_SIM_MISSING" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".ChooseDataSimActivity"
android:label="@string/activity_label_empty"
android:excludeFromRecents="true"
android:configChanges="mcc|mnc"
android:immersive="true"
android:exported="false"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_CHOOSE_DATA_SIM" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".MobileDataActivity"
android:label="@string/activity_label_empty"
android:excludeFromRecents="true"
android:configChanges="mcc|mnc"
android:immersive="true"
android:exported="false"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_ENABLE_MOBILE_DATA" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".LocationSettingsActivity"
android:label="@string/activity_label_empty"
android:excludeFromRecents="true"
android:configChanges="mcc|mnc"
android:immersive="true"
android:exported="false"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_LOCATION_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".UpdateRecoveryActivity"
android:label="@string/activity_label_empty"
android:excludeFromRecents="true"
android:configChanges="mcc|mnc"
android:immersive="true"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_RECOVERY_UPDATE"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
<activity android:name=".DeviceSpecificActivity"
android:label="@string/activity_label_empty"
android:excludeFromRecents="true"
android:immersive="true"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.DEVICE_SPECIFIC"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
<activity android:name=".LineageSettingsActivity"
android:label="@string/activity_label_empty"
android:excludeFromRecents="true"
android:configChanges="mcc|mnc"
android:immersive="true"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".BiometricActivity"
android:label="@string/activity_label_empty"
android:excludeFromRecents="true"
android:configChanges="mcc|mnc"
android:immersive="true"
android:exported="false"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_BIOMETRIC_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".ScreenLockActivity"
android:label="@string/activity_label_empty"
android:excludeFromRecents="true"
android:configChanges="mcc|mnc"
android:immersive="true"
android:exported="false"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".backup.RestoreIntroActivity"
android:label="@string/activity_label_empty"
android:excludeFromRecents="true"
android:configChanges="mcc|mnc"
android:immersive="true"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_RESTORE_BACKUP"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
<activity android:name=".FinishActivity"
android:label="@string/activity_label_empty"
android:excludeFromRecents="true"
android:configChanges="mcc|mnc"
android:immersive="true"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".SetupWizardExitActivity"
android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
android:excludeFromRecents="true"
android:immersive="true"
android:label="@@string/activity_label_empty"
android:theme="@style/NoDisplay">
<intent-filter>
<action android:name="org.lineageos.setupwizard.EXIT"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
<activity android:name=".SetupWizardTestActivity"
android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
android:exported="false"
android:immersive="true"
android:label="@string/activity_label_empty"
android:launchMode="singleInstance"
android:theme="@style/NoDisplay"/>
<receiver android:name=".PartnerReceiver">
<intent-filter>
<action android:name="com.android.setupwizard.action.PARTNER_CUSTOMIZATION" />
<action android:name="com.google.android.tvsetup.action.PARTNER_CUSTOMIZATION" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>
<service android:name=".SetupWizardExitService"
android:exported="false"/>
</application>
</manifest>

13
exit_wizard.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
adb root
wait ${!}
adb shell pm enable org.lineageos.setupwizard/org.lineageos.setupwizard.SetupWizardExitActivity || true
wait ${!}
adb shell pm enable com.google.android.setupwizard/com.google.android.setupwizard.SetupWizardExitActivity || true
wait ${!}
sleep 1
adb shell am start org.lineageos.setupwizard/org.lineageos.setupwizard.SetupWizardExitActivity || true
wait ${!}
sleep 1
adb shell am start com.google.android.setupwizard/com.google.android.setupwizard.SetupWizardExitActivity

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2017-2020 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<permissions>
<privapp-permissions package="org.lineageos.setupwizard">
<permission name="android.permission.BACKUP"/>
<permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
<permission name="android.permission.CHANGE_CONFIGURATION"/>
<permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
<permission name="android.permission.MANAGE_USERS"/>
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
<permission name="android.permission.SET_TIME"/>
<permission name="android.permission.SET_TIME_ZONE"/>
<permission name="android.permission.STATUS_BAR"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
</privapp-permissions>
</permissions>

View File

@@ -2,18 +2,6 @@
protected Object[][] getContents();
}
# Keep SafeParcelable value, needed for reflection. This is required to support backwards
# compatibility of some classes.
-keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
public static final *** NULL;
}
# Keep the names of classes/members we need for client functionality.
-keepnames @com.google.android.gms.common.annotation.KeepName class *
-keepclassmembernames class * {
@com.google.android.gms.common.annotation.KeepName *;
}
# Needed for Parcelable/SafeParcelable Creators to not get stripped
-keepnames class * implements android.os.Parcelable {
public static final ** CREATOR;
@@ -21,5 +9,4 @@
# Needed when building against the Marshmallow SDK
-dontwarn org.apache.http.**
-dontwarn android.support.**
-dontwarn com.google.android.gms.**
-dontwarn androidx.**

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<objectAnimator android:duration="@android:integer/config_mediumAnimTime"
android:interpolator="@android:anim/accelerate_interpolator"
android:propertyName="x"
android:valueFrom="1280"
android:valueTo="0"
android:valueType="floatType"/>
</set>

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<objectAnimator android:duration="@android:integer/config_mediumAnimTime"
android:interpolator="@android:anim/accelerate_interpolator"
android:propertyName="x"
android:valueFrom="0"
android:valueTo="-1280"
android:valueType="floatType"/>
</set>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 346 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 858 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 253 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 236 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 967 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 371 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 477 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 692 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 572 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

29
res/drawable/cross.xml Normal file
View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2017 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@color/black"
android:pathData="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59
19 19 17.59 13.41 12z" />
<path
android:pathData="M0 0h24v24H0z" />
</vector>

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2015 The CyanogenMod Project
Copyright (c) 2017 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -21,6 +22,6 @@
android:viewportHeight="24">
<path
android:fillColor="#7ED321"
android:fillColor="@color/accent"
android:pathData="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" />
</vector>

View File

@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@color/white"
android:pathData="M15.41,7.41L14,6l-6,6l6,6l1.41-1.41L10.83,12L15.41,7.41Z" />
</vector>

View File

@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@color/white"
android:pathData="M10,6L8.59,7.41L13.17,12l-4.58,4.59L10,18l6-6L10,6Z" />
</vector>

View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2017 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M0 0h24v24H0z" />
<path
android:fillColor="@color/black"
android:pathData="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99 .9 -1.99 2L3 19c0 1.1 .89 2 2 2h14c1.1 0
2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z" />
</vector>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2021 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@color/black"
android:pathData="M20,15.5C18.8,15.5 17.5,15.3 16.4,14.9C16.3,14.9 16.2,14.9 16.1,14.9C15.8,14.9 15.6,15 15.4,15.2L13.2,17.4C10.4,15.9 8,13.6 6.6,10.8L8.8,8.6C9.1,8.3 9.2,7.9 9,7.6C8.7,6.5 8.5,5.2 8.5,4C8.5,3.5 8,3 7.5,3H4C3.5,3 3,3.5 3,4C3,13.4 10.6,21 20,21C20.5,21 21,20.5 21,20V16.5C21,16 20.5,15.5 20,15.5M5,5H6.5C6.6,5.9 6.8,6.8 7,7.6L5.8,8.8C5.4,7.6 5.1,6.3 5,5M19,19C17.7,18.9 16.4,18.6 15.2,18.2L16.4,17C17.2,17.2 18.1,17.4 19,17.4V19Z" />
</vector>

26
res/drawable/ic_eye.xml Normal file
View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2021 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@color/black"
android:pathData="M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z" />
</vector>

29
res/drawable/ic_face.xml Normal file
View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2019 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@color/black"
android:pathData="M10.25,13c0,0.69-0.56,1.25-1.25,1.25S7.75,13.69,7.75,13S8.31,11.75,9,11.75S10.25,12.31,10.25,13z M15,11.75 c-0.69,0-1.25,0.56-1.25,1.25s0.56,1.25,1.25,1.25s1.25-0.56,1.25-1.25S15.69,11.75,15,11.75z M22,12c0,5.52-4.48,10-10,10 S2,17.52,2,12S6.48,2,12,2S22,6.48,22,12z M20,12c0-0.78-0.12-1.53-0.33-2.24C18.97,9.91,18.25,10,17.5,10 c-3.13,0-5.92-1.44-7.76-3.69c-1.05,2.56-3.14,4.57-5.74,5.55C4.01,11.9,4,11.95,4,12c0,4.41,3.59,8,8,8S20,16.41,20,12z" />
<path
android:pathData="M0,0h24v24H0V0z" />
</vector>

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2017 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M0 0h24v24H0V0z" />
<path
android:fillColor="@color/black"
android:pathData="M11.8 12.5v-1l1.1-.8c.1-.1 .1 -.2 .1 -.3l-1-1.7c-.1-.1-.2-.2-.3-.1l-1.3 .4
c-.3-.2-.6-.4-.9-.5l-.2-1.3c0-.1-.1-.2-.3-.2H7c-.1 0-.2 .1 -.3 .2 l-.2 1.3c-.3
.1 -.6 .3 -.9 .5 l-1.3-.5c-.1 0-.2 0-.3 .1 l-1 1.7c-.1 .1 0 .2 .1 .3l1.1 .8
v1l-1.1 .8 c-.1 .2 -.1 .3 -.1 .4 l1 1.7c.1 .1 .2 .2 .3 .1 l1.4-.4c.3 .2 .6 .4 .9
.5 l.2 1.3c-.1 .1 .1 .2 .2 .2 h2c.1 0 .2-.1 .3 -.2l.2-1.3c.3-.1 .6 -.3 .9
-.5l1.3 .5 c.1 0 .2 0 .3-.1l1-1.7c.1-.1 0-.2-.1-.3l-1.1-.9zM8 14c-1.1
0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM19 1H9c-1.1 0-2 .9-2
2v3h2V4h10v16H9v-2H7v3c0 1.1 .9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2z" />
</vector>

View File

@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2017 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@color/black"
android:pathData="M17.81 4.47c-.08 0-.16-.02-.23-.06C15.66 3.42 14 3 12.01 3c-1.98 0-3.86 .47
-5.57 1.41-.24 .13 -.54 .04 -.68-.2-.13-.24-.04-.55 .2 -.68C7.82 2.52 9.86 2
12.01 2c2.13 0 3.99 .47 6.03 1.52 .25 .13 .34 .43 .21 .67-.09 .18 -.26 .28 -.44
.28 zM3.5 9.72c-.1 0-.2-.03-.29-.09-.23-.16-.28-.47-.12-.7 .99 -1.4 2.25-2.5
3.75-3.27C9.98 4.04 14 4.03 17.15 5.65c1.5 .77 2.76 1.86 3.75 3.25 .16 .22 .11
.54-.12 .7 -.23 .16 -.54 .11
-.7-.12-.9-1.26-2.04-2.25-3.39-2.94-2.87-1.47-6.54-1.47-9.4 .01 -1.36 .7 -2.5
1.7-3.4 2.96-.08 .14 -.23 .21 -.39 .21 zm6.25 12.07c-.13
0-.26-.05-.35-.15-.87-.87-1.34-1.43-2.01-2.64-.69-1.23-1.05-2.73-1.05-4.34
0-2.97 2.54-5.39 5.66-5.39s5.66 2.42 5.66 5.39c0 .28-.22 .5 -.5 .5
s-.5-.22-.5-.5c0-2.42-2.09-4.39-4.66-4.39-2.57 0-4.66 1.97-4.66 4.39 0 1.44 .32
2.77 .93 3.85 .64 1.15 1.08 1.64 1.85 2.42 .19 .2 .19 .51 0 .71-.11 .1 -.24 .15
-.37 .15 zm7.17-1.85c-1.19 0-2.24-.3-3.1-.89-1.49-1.01-2.38-2.65-2.38-4.39 0-.28
.22 -.5 .5 -.5s.5 .22 .5 .5 c0 1.41 .72 2.74 1.94 3.56 .71 .48 1.54 .71 2.54 .71
.24 0 .64-.03 1.04-.1 .27 -.05 .53 .13 .58 .41 .05 .27-.13 .53 -.41 .58 -.57 .11
-1.07 .12 -1.21 .12 zM14.91 22c-.04
0-.09-.01-.13-.02-1.59-.44-2.63-1.03-3.72-2.1-1.4-1.39-2.17-3.24-2.17-5.22
0-1.62 1.38-2.94 3.08-2.94 1.7 0 3.08 1.32 3.08 2.94 0 1.07 .93 1.94 2.08
1.94s2.08-.87 2.08-1.94c0-3.77-3.25-6.83-7.25-6.83-2.84 0-5.44 1.58-6.61
4.03-.39 .81 -.59 1.76-.59 2.8 0 .78 .07 2.01 .67 3.61 .1 .26-.03 .55 -.29 .64
-.26 .1 -.55-.04-.64-.29-.49-1.31-.73-2.61-.73-3.96 0-1.2 .23 -2.29 .68 -3.24
1.33-2.79 4.28-4.6 7.51-4.6 4.55 0 8.25 3.51 8.25 7.83 0 1.62-1.38 2.94-3.08
2.94s-3.08-1.32-3.08-2.94c0-1.07-.93-1.94-2.08-1.94s-2.08 .87 -2.08 1.94c0 1.71
.66 3.31 1.87 4.51 .95 .94 1.86 1.46 3.27 1.85 .27 .07 .42 .35 .35 .61-.05 .23
-.26 .38 -.47 .38 z" />
<path
android:pathData="M0 0h24v24H0z" />
</vector>

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2017 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M0 0h24v24H0z" />
<path
android:fillColor="@color/black"
android:pathData="M12.87 15.07l-2.54-2.51 .03 -.03c1.74-1.94 2.98-4.17
3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3
9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11 .76
-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12
17h-3.24z" />
</vector>

View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2017 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@color/black"
android:pathData="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0
9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z" />
<path
android:pathData="M0 0h24v24H0z" />
</vector>

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2017 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M0 0h24v24H0z" />
<path
android:fillColor="@color/black"
android:pathData="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1 .9 2 2
2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9
2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z" />
</vector>

View File

@@ -1,50 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2016 Cyanogen, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="72dp"
android:height="16dp"
android:viewportWidth="72"
android:viewportHeight="16">
<path
android:name="ic_logo_mod_title"
android:fillColor="#000000"
android:pathData="M19.9097139,5.66053833 C19.9097139,2.54013671 17.3930434,4.53810596e-05
14.2986968,4.53810596e-05 L0,4.53810596e-05 L0,15.9999319 L2.53412329,15.9999319
L2.53412329,2.5567008 L8.68814203,2.5567008 L8.68814203,15.9999319
L11.221803,15.9999319 L11.221803,2.5567008 L14.2986968,2.5567008
C15.9954325,2.5567008 17.3755906,3.94933205 17.3755906,5.66053833
L17.3755906,15.9999319 L19.9097139,15.9999319 L19.9097139,5.66053833 Z
M44.8456489,7.26108291 L44.8456489,6.32158153 L44.8456489,5.66049295
C44.8456489,2.54020478 42.3287472,0 39.2346318,0 L31.9464123,0 C28.853106,0
26.3363199,2.54020478 26.3363199,5.66049295 L26.3363199,6.93388547
L26.3363199,7.26108291 L26.3363199,8.73891709 L26.3363199,9.19476983
L26.3363199,10.3393936 C26.3363199,13.4595683 28.853106,16 31.9464123,16
L39.2346318,16 C42.3287472,16 44.8456489,13.4595683 44.8456489,10.3393936
L44.8456489,9.71290807 L44.8456489,8.73891709 L44.8456489,7.26108291 Z
M42.3111788,10.3393936 C42.3111788,12.0508268 40.9310208,13.4432311
39.2346318,13.4432311 L31.9464123,13.4432311 C30.2502545,13.4432311
28.8700964,12.0508268 28.8700964,10.3393936 L28.8700964,5.66049295
C28.8700964,3.94928667 30.2502545,2.55676887 31.9464123,2.55676887
L39.2346318,2.55676887 C40.9315987,2.55676887 42.3111788,3.94928667
42.3111788,5.66049295 L42.3111788,10.3393936 Z M64.1708327,0 L51.2719428,0
L51.2719428,16 L64.1708327,16 C67.2652948,16 69.7817342,13.4595683
69.7817342,10.3393936 L69.7817342,5.66049295 C69.7817342,2.54020478 67.2652948,0
64.1708327,0 Z M67.2477265,10.3393936 C67.2477265,12.0508268
65.8674528,13.4432311 64.1708327,13.4432311 L53.8064129,13.4432311
L53.8064129,2.55676887 L64.1708327,2.55676887 C65.8674528,2.55676887
67.2477265,3.94928667 67.2477265,5.66049295 L67.2477265,10.3393936 Z" />
</vector>

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2017 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@color/black"
android:fillAlpha=".3"
android:pathData="M2 22h20V2z" />
<path
android:fillColor="@color/black"
android:pathData="M17 7L2 22h15z" />
</vector>

View File

@@ -0,0 +1,8 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:height="24dp"
android:width="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path android:fillColor="#000"
android:pathData="M17,13L12,18L7,13H10V9H14V13M19.35,10.03C18.67,6.59 15.64,4 12,4C9.11,4 6.6,5.64 5.35,8.03C2.34,8.36 0,10.9 0,14A6,6 0 0,0 6,20H19A5,5 0 0,0 24,15C24,12.36 21.95,10.22 19.35,10.03Z"/>
</vector>

View File

@@ -1,5 +1,6 @@
<!--
Copyright (C) 2014 The Android Open Source Project
Copyright (c) 2017 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -20,6 +21,6 @@ Copyright (C) 2014 The Android Open Source Project
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FFFFFF"
android:fillColor="#e0e0e0"
android:pathData="M2.000000,22.000000l20.000000,0.000000 0.000000,-20.000000z"/>
</vector>

View File

@@ -1,5 +1,6 @@
<!--
Copyright (C) 2014 The Android Open Source Project
Copyright (c) 2017 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -20,7 +21,7 @@ Copyright (C) 2014 The Android Open Source Project
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FFFFFF"
android:fillColor="#e0e0e0"
android:pathData="M2.000000,22.000000l20.000000,0.000000 0.000000,-20.000000z"/>
<path
android:fillColor="@color/accent"

View File

@@ -1,5 +1,6 @@
<!--
Copyright (C) 2014 The Android Open Source Project
Copyright (c) 2017 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -20,7 +21,7 @@ Copyright (C) 2014 The Android Open Source Project
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FFFFFF"
android:fillColor="#e0e0e0"
android:pathData="M2.000000,22.000000l20.000000,0.000000 0.000000,-20.000000z"/>
<path
android:fillColor="@color/accent"

View File

@@ -1,5 +1,6 @@
<!--
Copyright (C) 2014 The Android Open Source Project
Copyright (c) 2017 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -20,7 +21,7 @@ Copyright (C) 2014 The Android Open Source Project
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FFFFFF"
android:fillColor="#e0e0e0"
android:pathData="M2.000000,22.000000l20.000000,0.000000 0.000000,-20.000000z"/>
<path
android:fillColor="@color/accent"

View File

@@ -1,5 +1,6 @@
<!--
Copyright (C) 2014 The Android Open Source Project
Copyright (c) 2017 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,6 @@
<!--
Copyright (C) 2014 The Android Open Source Project
Copyright (c) 2017 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -20,6 +21,6 @@ Copyright (C) 2014 The Android Open Source Project
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FFFFFF"
android:fillColor="#e0e0e0"
android:pathData="M2.000000,22.000000l20.000000,0.000000L22.000000,2.000000L2.000000,22.000000zM20.000000,20.000000L6.800000,20.000000L20.000000,6.800000L20.000000,20.000000z"/>
</vector>

28
res/drawable/ic_sim.xml Normal file
View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2017 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@color/black"
android:pathData="M19.99 4c0-1.1-.89-2-1.99-2h-8L4 8v12c0 1.1 .9 2 2 2h12.01c1.1 0 1.99-.9
1.99-2l-.01-16zM9 19H7v-2h2v2zm8 0h-2v-2h2v2zm-8-4H7v-4h2v4zm4
4h-2v-4h2v4zm0-6h-2v-2h2v2zm4 2h-2v-4h2v4z" />
</vector>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2020 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="@color/black"
android:pathData="M17,1.01L7,1c-1.1,0 -2,0.9 -2,2v18c0,1.1 0.9,2 2,2h10c1.1,0 2,-0.9 2,-2L19,3c0,-1.1 -0.9,-1.99 -2,-1.99zM17,19L7,19L7,5h10v14zM16,13h-3L13,8h-2v5L8,13l4,4 4,-4z"/>
</vector>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 397 KiB

51
res/drawable/logo.xml Normal file
View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2017 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="512dp"
android:height="320dp"
android:viewportWidth="512"
android:viewportHeight="320">
<path
android:fillColor="@color/accent"
android:pathData="M157.89,271.64a1.83,1.83,0,0,1-1.89-1.89V248.42h4.65v19.32H171v3.9Z" />
<path
android:fillColor="@color/accent"
android:pathData="M185,271.64V248.42h4.68v23.22Z" />
<path
android:fillColor="@color/accent"
android:pathData="M221.17,248.42h4.26v22a1.23,1.23,0,0,1-.67,1.09,3.17,3.17,0,0,1-1.67 .41
,4,4,0,0,1-1.71-.29,3.11,3.11,0,0,1-1.12-1L210,256v15.61h-4.32v-21.5a1.56,1.56,0,0,1,.68-1.4,3.18,3.18,0,0,1,1.79-.46,3.59,3.59,0,0,1,1.9
.39 ,5.91,5.91,0,0,1,1.41,1.56l9.72,13.59Z" />
<path
android:fillColor="@color/accent"
android:pathData="M256.9,252.36H246.2v5.5h9.63v3.93H246.2v5.89H256.6v4H241.51V250.31a1.74,1.74,0,0,1,.59-1.37,2,2,0,0,1,1.4-.52h13.4Z" />
<path
android:fillColor="@color/accent"
android:pathData="M286.38,271.64l-2-5.76h-8.49l-2,5.76h-4.85l7.87-21.5q.68-1.85,3.15-1.85t3.19,1.89l7.87,21.46ZM277.27,262h5.82l-2.93-8.62Z" />
<path
android:fillColor="@color/accent"
android:pathData="M314.33,272a11,11,0,0,1-8.36-3.19,11.93,11.93,0,0,1-3.06-8.62,12.12,12.12,0,0,1,3.25-8.89,11.56,11.56,0,0,1,8.62-3.3,11.44,11.44,0,0,1,6,1.5,9,9,0,0,1,3.63,3.93l-3.74,2q-1.69-3.41-6-3.41a6.53,6.53,0,0,0-5.14,2.16,8.58,8.58,0,0,0-1.92,5.9,8.67,8.67,0,0,0,1.79,5.8,6.11,6.11,0,0,0,4.91,2.1,6.74,6.74,0,0,0,4.6-1.58,5.26,5.26,0,0,0,1.87-4h-5.89v-3.67h10.5v2.57a10.19,10.19,0,0,1-3.12,7.72A11.12,11.12,0,0,1,314.33,272Z" />
<path
android:fillColor="@color/accent"
android:pathData="M356,252.36H345.3v5.5h9.63v3.93H345.3v5.89h10.41v4H340.62V250.31a1.74,1.74,0,0,1,.59-1.37,2,2,0,0,1,1.4-.52H356Z" />
<path
android:fillColor="@color/accent"
android:pathData="M416,128a39.92,39.92,0,0,0-31.11,14.87l-1.5-.6A294.79,294.79,0,0,0,336,128.14s0-.09,0-.14a80,80,0,1,0-160,0s0,.09,0,.13l-1.72
.38 a293.48,293.48,0,0,0-45.67,13.76l-1.5 .6
a40,40,0,1,0,7.39,14.28h0a277.33,277.33,0,0,1,43.1-13,80,80,0,0,0,156.73,0,277.3,277.3,0,0,1,43.11,13h0A40,40,0,1,0,416,128ZM96,192a24,24,0,1,1,24-24A24,24,0,0,1,96,192Zm160,0a64,64,0,1,1,64-64A64.07,64.07,0,0,1,256,192Zm160,0a24,24,0,1,1,24-24A24,24,0,0,1,416,192ZM288,128a32,32,0,1,1-32-32A32,32,0,0,1,288,128Z" />
</vector>

View File

@@ -1,42 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2016 The CyanogenMod Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="256dp"
android:height="114dp"
android:viewportWidth="256"
android:viewportHeight="114">
<path android:fillColor="@color/white"
android:pathData="M40,113.7V77.1h14.3c7.5,0,12.3,4,12.3,11.1c0,6.2-3,9.4-8.6,10.6l8,14.9h-5.8l-7.7-14.5h-7.4v14.5H40z
M45.2,94.6h8.7 c4.6,0,7.5-1.9,7.5-6.3c0-4.2-2.5-6.4-7.5-6.4h-8.6v12.7H45.2z
M78.7,113.7V77.1h22.4V82H84v10.6h15.7v4.7H84V109h17.2v4.8
L78.7,113.7L78.7,113.7z
M136.5,113.7L134,107h-15.7l-2.4,6.7h-5.4l13.2-36.6h5l13.2,36.6H136.5z
M126.1,84.7l-6.2,17.8h12.6 l-6.2-17.8H126.1z
M152.7,113.7V77.1h11.7c8.1,0,15.9,5.6,15.9,18.3c0,13.6-7.6,18.4-16.2,18.4L152.7,113.7L152.7,113.7z
M158,108.9 h5.9c6.9,0,10.8-3.8,10.8-13.6c0-8.8-4-13.4-10.5-13.4H158V108.9z
M198.8,113.7V98.3l-12-21.2h5.7l8.8,16.4h0.1l8.9-16.4h5.7
l-12,21.2v15.4C204,113.7,198.8,113.7,198.8,113.7z
M73.1,20.8c0-11.3-9.2-20.5-20.6-20.5H0.2v58.1h9.3V9.5H32v48.8h9.3V9.5h11.3
c6.2,0,11.3,5.1,11.3,11.3v37.5h9.3L73.1,20.8L73.1,20.8z
M164.5,26.6v-3.4v-2.4c0-11.3-9.2-20.5-20.6-20.5h-26.7
c-11.3,0-20.5,9.2-20.5,20.5v4.6v1.2V32v1.7v4.2c0,11.3,9.2,20.5,20.5,20.5h26.7c11.3,0,20.6-9.2,20.6-20.5v-2.3V32V26.6z
M155.2,37.8c0,6.2-5.1,11.3-11.3,11.3h-26.7c-6.2,0-11.3-5.1-11.3-11.3v-17c0-6.2,5.1-11.3,11.3-11.3h26.7
c6.2,0,11.3,5.1,11.3,11.3V37.8z
M235.2,0.3H188v58.1h47.2c11.3,0,20.6-9.2,20.6-20.5v-17C255.8,9.5,246.6,0.3,235.2,0.3z
M246.5,37.8c0,6.2-5.1,11.3-11.3,11.3h-38V9.5h38c6.2,0,11.3,5.1,11.3,11.3V37.8z" />
</vector>

28
res/drawable/tick.xml Normal file
View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2017 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M0 0h24v24H0z" />
<path
android:fillColor="@color/black"
android:pathData="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" />
</vector>

View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2017 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@color/black"
android:pathData="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59
19 19 17.59 13.41 12z" />
<path
android:pathData="M0 0h24v24H0z" />
</vector>

View File

@@ -1,50 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The CyanogenMod Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/header"
android:layout_width="0px"
android:layout_height="match_parent"
android:layout_weight="1"
android:paddingTop="@dimen/header_logo_margin_top"
android:background="@color/primary"
style="@style/Header">
<ImageView
android:id="@+id/brand_logo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/brand"
android:paddingLeft="@dimen/header_logo_margin_left"
android:paddingBottom="@dimen/header_logo_margin_bottom"
android:layout_alignParentTop="true"/>
<ImageView
android:id="@+id/powered_by_logo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/powered_by"
android:visibility="gone"
android:paddingLeft="@dimen/header_logo_margin_left"
android:paddingBottom="@dimen/header_logo_margin_bottom"
android:layout_below="@+id/brand_logo"/>
<TextView
android:layout_width="match_parent"
android:layout_height="@dimen/page_title_height"
style="@style/PageTitle" />
</RelativeLayout>

View File

@@ -1,44 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2013 The CyanogenMod Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/logo_header" />
<RelativeLayout android:id="@+id/page"
android:layout_width="0px"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center"
android:paddingLeft="@dimen/content_margin_left"
android:paddingRight="@dimen/content_margin_left"
style="@style/PageContent">
<com.cyanogenmod.setupwizard.ui.LocalePicker
android:id="@+id/locale_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="@dimen/min_locale_picker_height"
android:focusable="true"
android:focusableInTouchMode="true"
android:layout_centerInParent="true"/>
</RelativeLayout>
</LinearLayout>

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The CyanogenMod Project
Copyright (C) 2017-2021 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -14,14 +15,20 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<com.google.android.setupdesign.GlifLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/setup_wizard_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/header" />
<FrameLayout android:id="@+id/page"
<FrameLayout
android:id="@+id/page"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
@@ -30,19 +37,15 @@
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/PageContent">
style="@style/SudContentFrame">
<TextView
android:layout_width="0px"
android:layout_height="match_parent"
android:layout_weight="1"
android:id="@+id/sim_missing"
style="@style/PageSummaryText"
android:textSize="15sp"
android:layout_marginBottom="@dimen/summary_margin_bottom"
android:paddingLeft="@dimen/content_margin_left"
android:paddingRight="@dimen/content_margin_right"
android:text="@string/sim_missing_summary" />
android:text="@string/sim_missing_summary"
style="@style/SudItemTitle.GlifDescription" />
<ImageView
android:id="@+id/sim_slot_image"
@@ -54,8 +57,11 @@
</LinearLayout>
</FrameLayout>
<org.lineageos.setupwizard.NavigationLayout
android:id="@+id/navigation_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</com.google.android.setupdesign.GlifLayout>

View File

@@ -0,0 +1,92 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2016 The CyanogenMod Project
Copyright (C) 2017-2021 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<com.google.android.setupdesign.GlifLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/setup_wizard_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/SudContentFrame">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_vertical"
android:weightSum="100"
android:orientation="vertical">
<ImageView
android:id="@+id/brand_logo"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="80"
android:layout_gravity="center"
android:src="@drawable/logo"
android:adjustViewBounds="true"
android:scaleType="fitCenter"
android:gravity="center"
android:padding="@dimen/content_margin_left" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="20"
android:gravity="center_vertical"
android:orientation="vertical">
<Button
android:id="@+id/start"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/start"
style="@style/SudGlifButton.Primary" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center"
android:visibility="gone">
<Button
android:id="@+id/emerg_dialer"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawableTop="@drawable/ic_dialer"
android:text="@string/emergency_call"
style="@style/SudGlifButton.Secondary" />
<Button
android:id="@+id/launch_accessibility"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawableTop="@drawable/ic_eye"
android:text="@string/accessibility_settings"
style="@style/SudGlifButton.Secondary" />
</LinearLayout>
</LinearLayout>
</com.google.android.setupdesign.GlifLayout>

View File

@@ -1,36 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The CyanogenMod Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/button_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:background="@color/button_bar_background">
<Button
style="@style/ButtonBar.Left"
android:id="@+id/prev_button"
android:layout_width="wrap_content"
android:layout_weight="1"/>
<Button
style="@style/ButtonBar.Right"
android:id="@+id/next_button"
android:layout_width="wrap_content"
android:text="@string/next" />
</LinearLayout>

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The CyanogenMod Project
Copyright (C) 2017-2021 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -14,19 +15,27 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
<com.google.android.setupdesign.GlifLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/setup_wizard_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/header" />
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/SudContentFrame">
<FrameLayout android:id="@+id/page"
<FrameLayout
android:id="@+id/page"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<ScrollView android:layout_width="match_parent"
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">
@@ -35,17 +44,12 @@
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/PageContent"
android:visibility="gone">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/PageSummaryText"
android:textSize="15sp"
android:paddingLeft="@dimen/content_margin_left"
android:paddingRight="@dimen/content_margin_right"
android:paddingBottom="@dimen/summary_margin_bottom"
style="@style/SudDescription.Glif"
android:text="@string/choose_data_sim_summary" />
<include layout="@layout/divider" />
@@ -62,6 +66,11 @@
android:layout_gravity="top"
android:visibility="gone" />
</FrameLayout>
<org.lineageos.setupwizard.NavigationLayout
android:id="@+id/navigation_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</com.google.android.setupdesign.GlifLayout>

View File

@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2016 The CyanogenMod Project
Copyright (C) 2017-2021 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<org.lineageos.setupwizard.widget.ScrimInsetsFrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/root"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
app:insetForeground="@android:color/transparent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
style="@style/SudContentFrame">
<ImageView
android:id="@+id/brand_logo"
android:layout_width="match_parent"
android:layout_height="0px"
android:layout_weight="1"
android:src="@drawable/logo"
android:adjustViewBounds="true"
android:scaleType="fitCenter"
android:gravity="center"
android:padding="@dimen/content_margin_left"/>
<org.lineageos.setupwizard.NavigationLayout
android:id="@+id/navigation_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
<ImageView
android:id="@+id/reveal"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/reveal"
android:visibility="invisible"/>
</org.lineageos.setupwizard.widget.ScrimInsetsFrameLayout>

View File

@@ -1,29 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The CyanogenMod Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="@dimen/header_height"
android:background="@color/header_bg"
style="@style/Header">
<TextView
android:layout_width="match_parent"
android:layout_height="@dimen/page_title_height"
style="@style/PageTitle" />
</RelativeLayout>

View File

@@ -1,29 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The CyanogenMod Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="@dimen/header_condensed_height"
android:background="@color/header_condensed_bg"
style="@style/Header">
<TextView
android:layout_width="match_parent"
android:layout_height="@dimen/page_title_height"
style="@style/PageTitle" />
</RelativeLayout>

View File

@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The CyanogenMod Project
Copyright (C) 2017-2021 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<com.google.android.setupdesign.GlifLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/setup_wizard_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/SudContentFrame">
<FrameLayout android:id="@+id/page"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<ScrollView android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/intro_restore_subtitle"
style="@style/SudItemTitle.GlifDescription" />
</LinearLayout>
</ScrollView>
</FrameLayout>
<org.lineageos.setupwizard.NavigationLayout
android:id="@+id/navigation_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:showSkipButton="true" />
</LinearLayout>
</com.google.android.setupdesign.GlifLayout>

View File

@@ -25,7 +25,7 @@
android:paddingTop="22dip"
android:paddingBottom="22dip"/>
<view class="com.cyanogenmod.setupwizard.ui.LocalePicker$CustomEditText"
<view class="org.lineageos.setupwizard.widget.LocalePicker$CustomEditText"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="?android:attr/textColorPrimary"
android:id="@+id/localepicker_input"

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2013 The CyanogenMod Project
Copyright (C) 2017-2021 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -14,36 +15,34 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
<com.google.android.setupdesign.GlifLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/setup_wizard_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/header_condensed" />
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/SudContentFrame">
<FrameLayout android:id="@+id/page"
<FrameLayout
android:id="@+id/page"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<ScrollView android:layout_width="match_parent"
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/PageContent">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="15sp"
android:layout_marginBottom="@dimen/summary_margin_bottom"
android:paddingLeft="@dimen/content_margin_left"
android:paddingRight="@dimen/content_margin_right"
style="@style/PageSummaryText" />
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/location"
@@ -60,98 +59,26 @@
android:id="@+id/location_checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:layout_marginTop="5dp"
android:duplicateParentState="true"
android:clickable="false" />
android:clickable="false"
style="@style/SudCheckBox.Multiline" />
<TextView
android:id="@+id/location_summary"
android:layout_width="0px"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="15sp"
android:lineSpacingExtra="@dimen/setup_line_spacing"
android:gravity="top"
android:layout_marginLeft="@dimen/location_text_margin_left"
android:layout_marginRight="@dimen/location_text_margin_right"
android:paddingBottom="@dimen/content_margin_bottom"
android:text="@string/location_access_summary"
android:maxLines="5" />
</LinearLayout>
<LinearLayout
android:id="@+id/battery_saving"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="@dimen/location_margin_left"
android:paddingRight="@dimen/content_margin_right"
android:background="?android:attr/selectableItemBackground"
android:clickable="true">
<CheckBox
android:id="@+id/battery_saving_checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:layout_marginTop="5dp"
android:duplicateParentState="true"
android:clickable="false" />
<TextView
android:id="@+id/battery_saving_summary"
android:layout_width="0px"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="15sp"
android:lineSpacingExtra="@dimen/setup_line_spacing"
android:gravity="top"
android:layout_marginLeft="@dimen/location_text_margin_left"
android:layout_marginRight="@dimen/location_text_margin_right"
android:paddingBottom="@dimen/content_margin_bottom"
android:text="@string/location_battery_saving"
android:maxLines="5" />
</LinearLayout>
<LinearLayout
android:id="@+id/network"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="@dimen/location_margin_left"
android:paddingRight="@dimen/content_margin_right"
android:background="?android:attr/selectableItemBackground"
android:clickable="true">
<CheckBox
android:id="@+id/network_checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:layout_marginTop="5dp"
android:duplicateParentState="true"
android:clickable="false" />
<TextView
android:id="@+id/network_summary"
android:layout_width="0px"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="15sp"
android:lineSpacingExtra="@dimen/setup_line_spacing"
android:gravity="top"
android:layout_marginLeft="@dimen/location_text_margin_left"
android:layout_marginRight="@dimen/location_text_margin_right"
android:paddingBottom="@dimen/content_margin_bottom"
android:text="@string/location_network"
android:maxLines="5" />
style="@style/SudCheckBox.Multiline" />
</LinearLayout>
</LinearLayout>
</ScrollView>
</FrameLayout>
<org.lineageos.setupwizard.NavigationLayout
android:id="@+id/navigation_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</com.google.android.setupdesign.GlifLayout>

View File

@@ -1,48 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The CyanogenMod Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="@dimen/logo_header_height"
android:background="@color/primary"
style="@style/Header">
<ImageView
android:id="@+id/brand_logo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/brand"
android:paddingLeft="@dimen/header_logo_margin_left"
android:paddingBottom="@dimen/header_logo_margin_bottom"
android:layout_above="@+id/powered_by_logo"/>
<ImageView
android:id="@+id/powered_by_logo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/powered_by"
android:visibility="gone"
android:paddingLeft="@dimen/header_logo_margin_left"
android:paddingBottom="@dimen/header_logo_margin_bottom"
android:layout_above="@android:id/title"/>
<TextView
android:layout_width="match_parent"
android:layout_height="@dimen/page_title_height"
style="@style/PageTitle" />
</RelativeLayout>

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2013 The CyanogenMod Project
Copyright (C) 2017-2021 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -14,26 +15,35 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
<com.google.android.setupdesign.GlifLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/setup_wizard_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/header" />
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/SudContentFrame">
<ProgressBar
android:id="@+id/progress"
style="?android:attr/progressBarStyleHorizontal"
style="@style/SudFourColorIndeterminateProgressBar"
android:indeterminateOnly="true"
android:layout_width="match_parent"
android:layout_height="8dp" />
android:layout_height="8dp"
android:visibility="gone" />
<FrameLayout android:id="@+id/page"
<FrameLayout
android:id="@+id/page"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<ScrollView android:layout_width="match_parent"
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">
@@ -41,20 +51,14 @@
android:id="@+id/page_view"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/PageContent"
android:visibility="gone">
android:layout_height="wrap_content">
<TextView
android:id="@+id/mobile_data_summary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/PageSummaryText"
android:textSize="15sp"
android:paddingLeft="@dimen/content_margin_left"
android:paddingRight="@dimen/content_margin_right"
android:paddingBottom="@dimen/summary_margin_bottom"
android:text="@string/enable_mobile_data_summary" />
android:text="@string/enable_mobile_data_summary"
style="@style/SudDescription.Glif" />
<include layout="@layout/divider" />
@@ -93,7 +97,8 @@
android:duplicateParentState="true"
android:clickable="false"
android:textOff="@string/no"
android:textOn="@string/yes"/>
android:textOn="@string/yes"
style="@style/SudSwitchStyle" />
</LinearLayout>
<include layout="@layout/divider" />
@@ -101,5 +106,11 @@
</LinearLayout>
</ScrollView>
</FrameLayout>
</LinearLayout>
<org.lineageos.setupwizard.NavigationLayout
android:id="@+id/navigation_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</com.google.android.setupdesign.GlifLayout>

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2021 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<Button
android:id="@+id/navbar_skip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:text="@string/skip"
android:visibility="gone"
style="@style/SudGlifButton.Secondary" />
<Button
android:id="@+id/navbar_next"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:text="@string/next"
style="@style/SudGlifButton.Primary" />
</RelativeLayout>

View File

@@ -0,0 +1,89 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The CyanogenMod Project
Copyright (C) 2017-2021 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<com.google.android.setupdesign.GlifLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/setup_wizard_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/SudContentFrame">
<FrameLayout android:id="@+id/page"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/setup_biometric_summary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/SudItemContainer.Verbose"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="24dp"
android:paddingLeft="@dimen/content_margin_left"
android:paddingRight="@dimen/location_text_margin_right"
android:drawableStart="@drawable/ic_check_mark"
android:drawablePadding="24dp"
android:gravity="center_vertical"
android:textSize="16sp"
android:textStyle="bold"
android:text="@string/biometric_setup_backup_lock_method"/>
<TextView
android:id="@+id/setup_add_biometric"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="24dp"
android:paddingLeft="@dimen/content_margin_left"
android:paddingRight="@dimen/location_text_margin_right"
android:drawableStart="@drawable/ic_check_mark"
android:drawablePadding="24dp"
android:gravity="center_vertical"
android:textSize="16sp"
android:textStyle="bold"/>
</LinearLayout>
</ScrollView>
</FrameLayout>
<org.lineageos.setupwizard.NavigationLayout
android:id="@+id/navigation_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:showSkipButton="true" />
</LinearLayout>
</com.google.android.setupdesign.GlifLayout>

View File

@@ -1,215 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The CyanogenMod Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/header_condensed" />
<FrameLayout android:id="@+id/page"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<ScrollView android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/PageContent">
<!-- The caption about privacy policy -->
<TextView
android:id="@+id/privacy_policy"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="15sp"
android:layout_marginBottom="@dimen/summary_margin_bottom"
android:paddingLeft="@dimen/content_margin_left"
android:paddingRight="@dimen/content_margin_right"
style="@style/PageSummaryText"
android:text="@string/services_explanation"
android:clickable="true"/>
<LinearLayout
android:id="@+id/killswitch"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="@dimen/location_margin_left"
android:paddingRight="@dimen/content_margin_right"
android:background="?android:attr/selectableItemBackground">
<ImageView
android:id="@+id/killswitch_check"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:paddingLeft="8dp"
android:paddingRight="@dimen/location_text_margin_left"
android:layout_gravity="center|top"
android:src="@drawable/tick"/>
<RelativeLayout
android:layout_width="0px"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="top"
android:layout_marginLeft="@dimen/location_text_margin_left"
android:layout_marginRight="@dimen/location_text_margin_right"
android:paddingBottom="@dimen/content_margin_bottom">
<TextView
android:id="@+id/killswitch_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="15sp"
android:lineSpacingExtra="@dimen/setup_line_spacing"
android:fadingEdge="horizontal"
android:text="@string/setup_require_cyanogen_label"/>
<TextView
android:id="@+id/killswitch_summary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/killswitch_title"
android:layout_alignStart="@+id/killswitch_title"
android:textSize="15sp"
android:lineSpacingExtra="@dimen/setup_line_spacing"
android:textColor="?android:attr/textColorSecondary"
android:text="@string/setup_device_locked_instructions"/>
</RelativeLayout>
</LinearLayout>
<!-- Whether or not to enable metrics -->
<LinearLayout
android:id="@+id/metrics"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="@dimen/location_margin_left"
android:paddingRight="@dimen/content_margin_right"
android:background="?android:attr/selectableItemBackground"
android:clickable="true">
<CheckBox
android:id="@+id/enable_metrics_checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:layout_marginTop="5dp"
android:duplicateParentState="true"
android:clickable="false"/>
<TextView
android:id="@+id/enable_metrics_summary"
android:layout_width="0px"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="15sp"
android:lineSpacingExtra="@dimen/setup_line_spacing"
android:gravity="top"
android:layout_marginLeft="@dimen/location_text_margin_left"
android:layout_marginRight="@dimen/location_text_margin_right"
android:paddingBottom="@dimen/content_margin_bottom"
android:text="@string/services_metrics_label"/>
</LinearLayout>
<!-- Whether or not to enable default theme -->
<LinearLayout
android:id="@+id/theme"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="@dimen/location_margin_left"
android:paddingRight="@dimen/content_margin_right"
android:background="?android:attr/selectableItemBackground"
android:clickable="true">
<CheckBox
android:id="@+id/enable_theme_checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:layout_marginTop="5dp"
android:duplicateParentState="true"
android:clickable="false"/>
<TextView
android:id="@+id/enable_theme_summary"
android:layout_width="0px"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="15sp"
android:lineSpacingExtra="@dimen/setup_line_spacing"
android:gravity="top"
android:layout_marginLeft="@dimen/location_text_margin_left"
android:layout_marginRight="@dimen/location_text_margin_right"
android:paddingBottom="@dimen/content_margin_bottom"
android:text="@string/services_metrics_label"/>
</LinearLayout>
<!-- Checkbox for using on-screen nav keys -->
<LinearLayout
android:id="@+id/nav_keys"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="@dimen/location_margin_left"
android:paddingRight="@dimen/content_margin_right"
android:background="?android:attr/selectableItemBackground"
android:clickable="true">
<CheckBox
android:id="@+id/nav_keys_checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:layout_marginTop="5dp"
android:duplicateParentState="true"
android:clickable="false" />
<TextView
android:id="@+id/nav_keys_summary"
android:layout_width="0px"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="15sp"
android:lineSpacingExtra="@dimen/setup_line_spacing"
android:gravity="top"
android:layout_marginLeft="@dimen/location_text_margin_left"
android:layout_marginRight="@dimen/location_text_margin_right"
android:paddingBottom="@dimen/content_margin_bottom"
android:text="@string/services_os_nav_keys_label"/>
</LinearLayout>
</LinearLayout>
</ScrollView>
</FrameLayout>
</LinearLayout>

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2013 The CyanogenMod Project
Copyright (C) 2017-2021 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -14,42 +15,46 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
<com.google.android.setupdesign.GlifLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/setup_wizard_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/header" />
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/SudContentFrame">
<FrameLayout android:id="@+id/page"
<FrameLayout
android:id="@+id/page"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<ScrollView android:layout_width="match_parent"
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/PageContent">
android:layout_height="wrap_content">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/PageSummaryText"
android:textSize="16sp"
android:paddingLeft="@dimen/content_margin_left"
android:layout_marginBottom="@dimen/summary_margin_bottom"
android:paddingRight="@dimen/location_text_margin_right"
android:text="@string/date_time_summary" />
android:text="@string/date_time_summary"
style="@style/SudItemTitle.GlifDescription" />
<Spinner
android:id="@+id/timezone_list"
android:layout_width="290dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:saveEnabled="false"/>
<TwoLineListItem
@@ -109,4 +114,11 @@
</LinearLayout>
</ScrollView>
</FrameLayout>
<org.lineageos.setupwizard.NavigationLayout
android:id="@+id/navigation_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</com.google.android.setupdesign.GlifLayout>

View File

@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Generated by crowdin.com-->
<!--
Copyright (C) 2013-2015 The CyanogenMod Project
Copyright (C) 2021 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -15,7 +14,9 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Fingerprint setup -->
<!-- MOD stuff -->
</resources>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" />

View File

@@ -1,90 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The CyanogenMod Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/header" />
<FrameLayout android:id="@+id/page"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<ScrollView android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/PageContent">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/PageSummaryText"
android:textSize="16sp"
android:paddingLeft="@dimen/content_margin_left"
android:layout_marginBottom="@dimen/summary_margin_bottom"
android:paddingRight="@dimen/location_text_margin_right"
android:text="@string/fingerprint_setup_summary" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="24dp"
android:paddingLeft="@dimen/content_margin_left"
android:paddingRight="@dimen/location_text_margin_right"
android:drawableStart="@drawable/ic_check_mark"
android:drawablePadding="24dp"
android:gravity="center_vertical"
android:textSize="16sp"
android:textStyle="bold"
android:text="@string/fingerprint_setup_backup_lock_method"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="24dp"
android:paddingLeft="@dimen/content_margin_left"
android:paddingRight="@dimen/location_text_margin_right"
android:drawableStart="@drawable/ic_check_mark"
android:drawablePadding="24dp"
android:gravity="center_vertical"
android:textSize="16sp"
android:textStyle="bold"
android:text="@string/fingerprint_setup_add_fingerprint"/>
<TextView
android:id="@+id/setup_fingerprint"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="@dimen/content_margin_left"
android:paddingRight="@dimen/location_text_margin_right"
android:gravity="center_vertical"
android:textSize="16sp"
android:textAllCaps="true"
android:textColor="@color/fingerprint_setup_text_color"
android:text="@string/fingerprint_setup_screen_lock_setup"/>
</LinearLayout>
</ScrollView>
</FrameLayout>
</LinearLayout>

View File

@@ -1,65 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2013 The CyanogenMod Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/primary">
<Space android:layout_width="match_parent"
android:layout_height="0px"
android:layout_weight="1"/>
<ImageView
android:id="@+id/brand_logo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:src="@drawable/brand_finish"
android:scaleType="centerInside"
android:padding="@dimen/content_margin_left"/>
<TextView android:id="@+id/mod_welcome"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="20sp"
android:layout_marginTop="105dp"
android:paddingLeft="@dimen/content_margin_left"
android:paddingRight="@dimen/content_margin_right"
android:text="@string/mod_welcome"
android:fontFamily="sans-serif-medium"
android:textColor="@color/white"
android:visibility="gone"/>
<TextView android:id="@+id/mod_desc"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="16sp"
android:layout_marginTop="16dp"
android:paddingLeft="@dimen/content_margin_left"
android:paddingRight="@dimen/content_margin_right"
android:text="@string/mod_description"
android:textColor="@color/white"
android:visibility="gone"/>
<Space android:layout_width="match_parent"
android:layout_height="0px"
android:layout_weight="1"/>
</LinearLayout>

View File

@@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The CyanogenMod Project
Copyright (C) 2017-2021 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<com.google.android.setupdesign.GlifLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/setup_wizard_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/SudContentFrame">
<FrameLayout
android:id="@+id/page"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<!-- The caption about privacy policy -->
<TextView
android:id="@+id/privacy_policy"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/SudItemTitle.GlifDescription"
android:text="@string/services_pp_explanation" />
<TextView
android:id="@+id/find_privacy_policy"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/SudItemTitle.GlifDescription"
android:text="@string/services_find_privacy_policy" />
<!-- Whether or not to enable metrics -->
<LinearLayout
android:id="@+id/metrics"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="@dimen/location_margin_left"
android:paddingRight="@dimen/content_margin_right"
android:background="?android:attr/selectableItemBackground"
android:clickable="true">
<CheckBox
android:id="@+id/enable_metrics_checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:duplicateParentState="true"
android:clickable="false"
style="@style/SudCheckBox.Multiline" />
<TextView
android:id="@+id/enable_metrics_summary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/services_metrics_label"
style="@style/SudCheckBox.Multiline" />
</LinearLayout>
<!-- Checkbox for using on-screen nav keys -->
<LinearLayout
android:id="@+id/nav_keys"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="@dimen/location_margin_left"
android:paddingRight="@dimen/content_margin_right"
android:background="?android:attr/selectableItemBackground"
android:clickable="true">
<CheckBox
android:id="@+id/nav_keys_checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:duplicateParentState="true"
android:clickable="false"
style="@style/SudCheckBox.Multiline" />
<TextView
android:id="@+id/nav_keys_summary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/services_os_nav_keys_label"
style="@style/SudCheckBox.Multiline" />
</LinearLayout>
</LinearLayout>
</ScrollView>
</FrameLayout>
<org.lineageos.setupwizard.NavigationLayout
android:id="@+id/navigation_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</com.google.android.setupdesign.GlifLayout>

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The CyanogenMod Project
Copyright (C) 2017-2021 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -14,27 +15,39 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
<com.google.android.setupdesign.GlifLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/setup_wizard_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/header" />
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ProgressBar
android:id="@+id/progressBar1"
style="?android:attr/progressBarStyleHorizontal"
android:indeterminateOnly="true"
android:layout_width="match_parent"
android:layout_height="8dp" />
android:layout_height="8dp"
android:paddingStart="0dp"
android:paddingEnd="0dp" />
<FrameLayout android:id="@+id/page"
<FrameLayout
android:id="@+id/page"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
style="@style/PageContent"/>
style="@style/SudContentFrame"/>
<com.google.android.setupdesign.view.NavigationBar
android:id="@+id/navigation_bar"
style="@style/SudNavBarTheme"
android:layout_width="match_parent"
android:layout_height="@dimen/sud_navbar_height" />
</LinearLayout>
</com.google.android.setupdesign.GlifLayout>

View File

@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2013 The CyanogenMod Project
Copyright (C) 2017-2021 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<com.google.android.setupdesign.GlifLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/setup_wizard_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
style="@style/SudContentFrame">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:gravity="center">
<org.lineageos.setupwizard.widget.LocalePicker
android:id="@+id/locale_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:focusable="true"
android:focusableInTouchMode="true"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
style="@style/LocaleWidget.Material.LocalePicker" />
</RelativeLayout>
<org.lineageos.setupwizard.NavigationLayout
android:id="@+id/navigation_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</com.google.android.setupdesign.GlifLayout>

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The CyanogenMod Project
Copyright (C) 2017-2021 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -14,12 +15,18 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
<com.google.android.setupdesign.GlifLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/setup_wizard_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/header" />
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/SudContentFrame">
<FrameLayout android:id="@+id/page"
android:layout_width="match_parent"
@@ -34,31 +41,24 @@
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/PageContent">
android:paddingStart="@dimen/content_margin_left"
android:paddingEnd="@dimen/content_margin_left">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/PageSummaryText"
android:textSize="16sp"
android:paddingLeft="@dimen/content_margin_left"
android:layout_marginBottom="@dimen/summary_margin_bottom"
android:paddingRight="@dimen/location_text_margin_right"
android:text="@string/lockscreen_setup_summary" />
<TextView
android:id="@+id/setup_lockscreen"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="@dimen/content_margin_left"
android:paddingRight="@dimen/location_text_margin_right"
android:gravity="center_vertical"
android:textSize="16sp"
android:textAllCaps="true"
android:textColor="@color/accent"
android:text="@string/lockscreen_setup_screen_lock_setup"/>
android:text="@string/lockscreen_setup_summary"
style="@style/SudItemTitle.GlifDescription" />
</LinearLayout>
</ScrollView>
</FrameLayout>
<org.lineageos.setupwizard.NavigationLayout
android:id="@+id/navigation_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:showSkipButton="true" />
</LinearLayout>
</com.google.android.setupdesign.GlifLayout>

Some files were not shown because too many files have changed in this diff Show More