Commit Graph

511 Commits

Author SHA1 Message Date
Michael Bestas
78eed39482 Automatic translation import
Change-Id: Iea9fbb38110128318e9b413881e08925b4211c1a
2023-01-10 04:42:09 +02:00
Michael Bestas
036461b523 Automatic translation import
Change-Id: I5e93ecfc61ac45980bb7d2702b80e8cdc0750396
2022-12-16 20:58:07 +02:00
Michael Bestas
ef8c57e62b Automatic translation import
Change-Id: I4f6efa38f5775abc91a405d905ddb1ef8f393286
2022-11-25 15:03:59 +02:00
Alexander Martinz
60324847fe Move privacy policy uri to strings resource
Instead of hardcoding the privacy policy uri, move it to a strings resource
which allows overlaying it.

Change-Id: Iff83ba6a7654f5c5e3f7fc8366f96fcec3517390
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2022-10-17 16:30:25 +02:00
Michael Bestas
b9f0caf940 Automatic translation import
Change-Id: Id47e30a0bc91275d6dc4a400b468cf00488a6bc3
2022-10-05 20:08:44 +03:00
Michael Bestas
fb30f3d270 Automatic translation import
Change-Id: Iea864d28a8cec7c835b73c4e09465500b7fa90c4
2022-09-22 15:30:21 +03:00
Aaron Kling
086a2c804d fixup! Changes for new network setup flow
Original did not account for atv wizard script

Change-Id: I9988481e4e951e129ca7e7248d893e2aae1b04d6
2022-09-15 18:18:28 -05:00
Aaron Kling
fee1c7fc94 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-09-14 05:45:15 +02:00
Michael W
6501266331 Automatic translation import
Change-Id: I2f69fd83ec9ddccda0333115ddd0f51a7a50cd83
2022-08-15 15:49:59 +02:00
Michael Bestas
bc1e390b15 Automatic translation import
Change-Id: Ic655024f10e37947416e3965c178415960f19723
2022-08-04 20:42:34 +03:00
Michael Bestas
a67a713e81 Automatic translation import
Change-Id: I5a5df9b0a87a8b35bad60a6a0eee0cb8ac2032d6
2022-06-20 23:59:01 +03:00
Nicholas Lim
2af9f05f0d SuW: Disable BluetoothSetupActivity component with prop
* Checks if config.disable_bluetooth=true is set
* Some leanback devices do not have bluetooth chips

Change-Id: Id4d3445e24d9888e186b69a959dbaf54fc9bf31e
2022-06-08 20:51:32 +08:00
Michael Bestas
c5d773b3b5 Automatic translation import
Change-Id: Ie2d1f7dabf309d69411a650570aece1fa9211250
2022-05-10 21:58:48 +03:00
Michael Bestas
a44598827a SUW: Fix divider color for dark theme
Change-Id: I5d173da85e739c68535850b53e5f94aabe45caa9
2022-05-05 14:12:51 +03:00
Michael Bestas
bbd1630e76 SUW: Remove unused drawables
Change-Id: Ibb2f80586201defb730fd012abb69f790115c44e
2022-05-05 13:50:30 +03:00
Michael Bestas
b16ecaf00c SUW: Set EXTRA_IS_SETUP_FLOW for accessibility settings
* Fixes theming of accessibility page

Change-Id: I9739753b8b609772e42a55231bcd878d8d5dbae1
2022-05-05 13:50:26 +03:00
Timi Rautamäki
3484c40778 Revert "SUW: fix setting USER_SETUP_COMPLETE"
This reverts commit 7ffdf8d12c.

Reason for revert: 
The code change was not changing the behaviour after all.

Change-Id: Ibe335a2b94d5120b9c3f1a247d8153a0d791b796
2022-04-27 17:42:29 +02:00
Michael W
cf12c85d82 SetupWizard: Don't overlap logo and text
* Instead of using a fixed padding, use weights to align the logo

Change-Id: Ibb3f271dea7c19db3876b82aa1f013b1566e4173
2022-04-25 23:28:43 +02:00
Timi Rautamäki
7ffdf8d12c SUW: fix setting USER_SETUP_COMPLETE
This setting needs to be set per user.

Change-Id: I5a312fab472d4d5f5bbe8424ddff6f34148ce69f
2022-04-13 10:31:56 +00:00
Asher Simonds
36fc88f9d2 SetupWizard: Bring in the new icon
* Part of the new iconset made by Asher Simonds

Co-authored-by: Michael W <baddaemon87@gmail.com>
Change-Id: If38285b09a79a0eceffda0cac83dcabfe22435c2
2022-04-06 23:14:45 +02:00
Michael Bestas
91dbfcb4e5 Automatic translation import
Change-Id: I73c74e36c98a77891a9c5c11950d9fb0e87db424
2022-04-05 23:20:53 +02:00
Alessandro Astone
0fa841744c NavigationSettings: Show the checkbox if requested during the hide animation
Change-Id: I17529b1db1aa7a59218828a31a36de0da1d884a9
2022-04-04 17:33:29 +02:00
Bruno Martins
2c963229ec SetupWizardUtils: Remove unused isMobileDataEnabled method
Last usage was before commit 334cd1b.

Change-Id: Ic59a47a62bb439db5d7859ea136c3334ae5257fa
2022-03-30 21:22:07 +01:00
Bruno Martins
7055198597 NavigationSettings: Make use of SetupWizardUtils#isPackageInstalled
No need to have duplicated code.

Change-Id: Ib03a2591fc5d5f7a10f5891c9e86738d58832a0f
2022-03-22 22:27:08 +01:00
Erfan Abdi
618dfb2c8a SUW: Redesign Welcome page based on Pixel
Change-Id: I2080c4d22fd5d0af1b1060f86ce1be0b7469757c
2022-03-20 14:07:30 +01:00
Erfan Abdi
c0f54a310d SUW: Set button themes
Change-Id: I7309e1e469f5c12e100e360e3e8414564a177af6
2022-03-20 14:07:30 +01:00
Erfan Abdi
ce45ea1208 SUW: Enable partner resources and switch to DayNight
Change-Id: I6c6b018a50bb987cdf1d8bf5c0f398723f2ad057
2022-03-20 14:07:30 +01:00
Timi Rautamäki
e83f9e12a1 SUW: add page for navigation mode
Skip the page if device has HW-keys and does not enable software keys.

Change-Id: I9efb49ddb1c2a101e6395c9034eacbeb0cfec6b6
2022-03-20 14:07:30 +01:00
Michael W
563a38c121 SetupWizard: exit_wizard.sh: Don't throw errors
* Instead of showing an exception when exiting the SuW via the script,
  check if we have to enable and run the Google SuW stuff and only do
  it then

Change-Id: I628e1ee40a97db9af1975825f059227446a9ee18
2022-03-20 14:06:46 +01:00
Timi Rautamäki
08d08bed26 SUW: use Lineage accent on logo
Don't use dynamic coloring on the LineageOS logo.

Change-Id: I51b6150e2c914bf7bcba7cc895ea9075a141e3b2
2022-03-16 18:40:31 +00:00
RKBDI
970967836b SUW: Drop SIM card tray illustration hint all together
* Hard to view on dark mode and it's redundant as
   another SIM icon exists on the page. We can't really
   have an "illustration" for a generic ROM as every
   device is different and doesn't have SIM in the same
   place.

Change-Id: I443360e5b75aded8645e83365cc64641e6c5638e
2022-03-10 18:12:58 +01:00
Alexander Koskovich
9eaa10c4a9 SUW: Support dark mode by default
Change-Id: Id176eb246c0b9b92456a39f295cc8251033ea987
2022-03-08 09:25:22 -07:00
Sean McCreary
9959594af9 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-13 02:56:17 +01:00
Timi Rautamäki
c893e61bc9 SUW: proceed on click in language selector on TV
Change-Id: Idd4512283c18521c061dc6022fb7f2bfb5c96d7d
2022-01-27 15:41:52 +00:00
Timi Rautamäki
daef80ecaf SUW: improve navigation on D-pad devices
* Set the initial focus on a usable view instead of a whole layout.
* Set the next focus of the locale selector to next-button.

Change-Id: I4a16127c24e87b52e38892882e44b3a8d24b779b
2022-01-15 22:24:59 +00:00
Timi Rautamäki
b416c33ab6 SUW: update TV theming for 12
* setupdesign now uses a layout-land
* Rearrange welcome activity
* Add a padding of 56dp for each activity based on
  external/setupdesign/main/res/values/dimens.xml
  ´sud_glif_icon_margin_top´

Change-Id: I77ec3d1c3d62a66aeb76233eccafbea96804e701
2022-01-15 22:24:59 +00:00
Timi Rautamäki
3ca81566d1 SUW: use Gliflayout descriptions
Set description via getGlifLayout().setDescriptionText instead of
writing it in layout to display it properly in two columns when
in landscape. No visual change in portrait.

Change-Id: I7465a7fbc5819d429bb886a5582fb1f1d4db9a47
2022-01-15 22:24:58 +00:00
Michael Bestas
3d7c828448 Update wizard scripts for 12
Change-Id: I712c8bab09392ef51d334b04907d399d0841a5c8
2022-01-13 21:19:59 +01:00
Timi Rautamäki
86e4dc4861 SUW: remove EXTRA_THEME flags
Let Settings return the default theme.

Change-Id: Ifbd0e85e8ec8317d1a6b834cbe377943ffd8a0aa
2022-01-13 13:49:59 +01:00
Timi Rautamäki
0def1c4d18 SUW: use accent_device_default_light as accent
Use accent_device_default_light as accent instead of hardcoded accent.

Change-Id: I625786dc2fd1b407624f19b7e212fe687bbabd50
2022-01-13 12:32:45 +01:00
Timi Rautamäki
fead20a238 SUW: update theming for 12
Change-Id: I9ae3849f0cba92018a6f2b436a429f595ba307a6
2022-01-13 12:32:45 +01:00
Michael Bestas
7ad9eea889 Automatic translation import
Change-Id: I5e918d38e0f932f65d1b06a883f9f317b07d9ae8
2022-01-12 15:46:52 +02:00
Chirayu Desai
ef59e075f8 tests: Add uses-library information
Change-Id: Ice5f0a2cd0a52ec2f088da50c62993e2d56d1ee9
2021-12-29 01:05:25 +02:00
Michael Bestas
9c4edc08b4 Temporarily remove broken captive portal code
Change-Id: I8afce8bbc5b504e1376c62aec9e8c2aa39eedc00
2021-12-29 01:05:24 +02:00
Michael Bestas
334cd1bce7 Changes for new network setup flow
* Remove mobile data/choose data sim pages
* Rename Wi-Fi setup to network setup
* Switch to the new NetworkProviderSettings which contains
  both Wi-Fi and mobile data setup.

Change-Id: I1c618d629628740e39dbed313d468d1efe971ed7
2021-12-29 01:05:24 +02:00
Timi Rautamäki
0e9b6ebcbf 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 19:40:16 -05:00
Timi Rautamäki
7560c3b0b6 SUW: use https for privacy policy link
Change-Id: I6cbdb30f08c16233cf75af6bb407974411002dcf
2021-12-01 19:40:09 -05:00
Timi Rautamäki
9b2f137fb6 SUW: show the link to privacy policy
Change-Id: Icd1d193b74db963a12262deca0e6fbb028d4d504
2021-12-01 19:40:01 -05:00
Timi Rautamäki
829c0d85c9 SUW: remove privacy policy link on large-notouch
TV's don't have any way to open links.

Change-Id: Ia7123e37668199b76e1e12803223b1cef4e25175
2021-12-01 19:28:35 -05:00
Timi Rautamäki
161a3a68a6 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-19 12:31:17 -05:00