Commit Graph

647 Commits

Author SHA1 Message Date
Michael Bestas
ec63fcccc1 SetupWizard: Set package name for com.android.wizard.LOAD intent
https://developer.android.com/about/versions/14/behavior-changes-14#safer-intents

Fixes:
java.lang.RuntimeException: Unable to start activity ComponentInfo{
org.lineageos.setupwizard/org.lineageos.setupwizard.SetupWizardActivity}:
android.content.ActivityNotFoundException: No Activity found to handle Intent
{ act=com.android.wizard.LOAD flg=0x10000001 (has extras) }

Change-Id: Ia15bc000011acb05b2db06299d142cabdf4e30c8
2023-10-28 23:50:20 +03:00
LuK1337
c98b8c2c11 SetupWizard: Update wizard scripts for 14
Change-Id: Ic82c0c955e7b26f1a13b54e40d1685afc61e9de0
2023-10-24 17:03:39 +02:00
Michael Bestas
0ace5b6bd4 SetupWizard: Fix build after getDefaultDataPhoneId removal
40dfa97392

Change-Id: Ie853c7e789023814c83fed5f318c4910a1169a04
2023-10-22 12:33:26 +00:00
LineageOS Infra
2e8785ecb9 Automatic translation import
Change-Id: Ic702daf6f872e711e844522ac92bf769315a0549
2023-10-15 20:43:21 +00:00
Bruno Martins
cb5f357b1c SuW: Remove obsolete dimension resources
These are no longer used.

Change-Id: I139b1fe80c597ae88d28a78fbab741210375ac4b
2023-10-13 10:04:47 +00:00
Bruno Martins
0a77fdb0e9 WelcomeActivity: Only show emergency call button if supported
Change-Id: I569af46dfd3a026439817bb43ee55fdc855c6298
2023-10-09 23:46:40 +01:00
Bruno Martins
0e05ffc9d0 SuW: Make restore apps and data subtitle generic
Change-Id: Ie8fd2e5105154bebda5cc01cf07030ac7f1ebcd0
2023-10-08 11:09:05 +00:00
Bruno Martins
a40c802d0c SuW: Add lockscreen setup title string for "device" product type
Change-Id: I8d5cc849b12adb1041a123d4ab348317942b716a
2023-10-08 11:09:05 +00:00
LineageOS Infra
cfa23a111a Automatic translation import
Change-Id: I110a82f0f851a639950754893c3750b7cf5f73ba
2023-10-01 16:32:58 +00:00
LineageOS Infra
faf57f3609 Automatic translation import
Change-Id: I0181153d9a047de01c15eba4f863398a28b2120c
2023-09-01 14:42:23 +00:00
LineageOS Infra
6ab8d24231 Automatic translation import
Change-Id: I2d16787034f486620cd1561aa3fbd8901b75e818
2023-08-15 17:53:07 +00:00
LineageOS Infra
ec40f087f0 Automatic translation import
Change-Id: I6ee95dec3879ae1fab17f41e70635e0ee22220a1
2023-08-01 15:48:59 +00:00
Michael Bestas
0456a86d80 Remove landscape layout for missing SIM page
It's missing the EUICC toggle and makes SUW crash. Just remove it since
it's the only landscape layout and not really required.

Change-Id: Ie6c8485a91a1b428d83cbb086be1bf19ec8411e2
2023-07-25 19:23:20 +03:00
Michael Bestas
a5ba5dfaad Hide navigation hint checkbox when taskbar is enabled
Change-Id: Idb29572be5f5b070f71d90889a5ad150a222206b
2023-07-17 14:49:57 +02:00
Michael Bestas
eecf4a91ad Fix PhoneMonitor crash on WiFi only devices
This prevented SetupWizardExitActivity from running,
leaving the tablet in non provisioned state.

Change-Id: Ic3224b348b8ad4ec4c5f11d37f0bfc41b4249cd8
2023-07-17 14:49:57 +02:00
LineageOS Infra
66c117f2c2 Automatic translation import
Change-Id: Ie9def6ae7e7178353e7859f206b924aaf21e4598
2023-07-15 18:08:08 +00:00
Tommy Webb
344e6b8aea Add navigation settings step for secondary users
Change-Id: Idae1fefe81aafb6a70b86dff60beb67852fe55c5
2023-07-13 15:07:08 +02:00
Oliver Scott
7ad1585886 Enable biometric and lockscreen steps for secondary users
Change-Id: I9972cfab77038a8ba13ec064fce6f719bd2cad3d
2023-07-13 15:07:08 +02:00
Oliver Scott
d4425ac708 Match Google wizard script flow
Change-Id: I9b2cb9bf1240897835de9fd7931a18fd5fe2bd8f
2023-07-13 15:07:08 +02:00
LineageOS Infra
aff7773c4d Automatic translation import
Change-Id: I43a27876e2c336e4d44185bfe509fb2024e1464d
2023-07-01 16:12:31 +00:00
LineageOS Infra
11f7a3408a Automatic translation import
Change-Id: I93794cbee3bac77d612d46ddc4776dbb24a80279
2023-06-20 16:28:28 +00:00
Michael Bestas
b37d7e52ae Enable AGPS by default when google SUW is present
The user won't see our location page, which ends up disabling AGPS
by default with no way to toggle it and without the user knowing,
leading to poor GPS performance.

Change-Id: I90de4a061a244c9da9eaca020e3b411c62da0e3e
2023-06-07 00:09:09 +03:00
Oliver Scott
31769160ec Add checkbox for AGPS
Issue: calyxos#1490
Change-Id: I68770035040846088c0d468e7e82ac53c00ce55b
2023-06-06 22:10:37 +02:00
Oliver Scott
963195cd88 Apply location settings on Next button press
Change-Id: I330aefc2ba3b4cfed5a5cc753fed11f6881e3ca0
2023-06-06 22:10:00 +02:00
Oliver Scott
4c8cc2f348 Do not exit if setup complete for managed profiles
Previously a call to mark user setup as completed for managed profiles
was removed from the device policy manager service to avoid exiting the
setup wizard while launching it after successfully provisioning.
If a the setup wizard did not finish correctly it had side effects
(e.g. work profile apps would not remain in recent activities).

Allow managed profiles to launch the setup wizard even if user setup
is marked as completed.

Issue: calyxos#1024
Issue: calyxos#1123
Change-Id: I940937dd02f2d4991677da886bb3a4f522661210
2023-06-06 22:10:00 +02:00
Oliver Scott
fb6285a35e Add API to query managed profiles
Replace mIsPrimaryUser and UserManager calls with API

Change-Id: I4c9661c6daf3dcb714db01d5229bf4cee37648c2
2023-06-06 22:10:00 +02:00
Oliver Scott
0002daed48 Only modify network settings on system user
Captive portal, wi-fi and mobile data should not be modified for secondary users without user intervention

Issue: calyxos#1025
Change-Id: Ic24d18268d05b5a1535b3993bdd0a614055847f6
2023-06-06 22:10:00 +02:00
Chirayu Desai
8e8329a05c Show location settings for managed profiles
Location settings for managed profiles are managed by user restriction DISALLOW_SHARE_LOCATION

Change-Id: I76a64def18de7502ee118e03a699d1a05d9a6ce9
2023-06-06 22:10:00 +02:00
Chirayu Desai
6059326b6d Add some pages to the user wizard script
Change-Id: Ib555ea6fa97c8542bf65b80aefcaf6cb4f4a489d
2023-06-06 22:10:00 +02:00
Oliver Scott
c9359bfe37 Create managed profile setup flow
Change-Id: I42f8255bea3c7126526430b28c384538fa204c28
2023-06-06 22:10:00 +02:00
LineageOS Infra
8813787d3f Automatic translation import
Change-Id: I0057a0cf73e9c8724a3dc53c387641d3897fdc7c
2023-06-01 12:49:40 +00:00
LineageOS Infra
94710707e5 Automatic translation import
Change-Id: I8b5313494430cc399007252c2415f7a0e5dacb7c
2023-05-01 10:23:56 +00:00
LineageOS Infra
278e83d12a Automatic translation import
Change-Id: Icf0c2217b2f30eac34d0824e2c7846ec2cf92378
2023-04-24 08:41:47 +00:00
Alexander Martinz
f85129e80b FinishActivity: prevent jumping layout when finishing
When setting up the finishing sequence, the navigation bar gets
hidden, resulting in the layout adjusting and moving.

Once the start button is pressed, pressing back on the navigation
bar is ignored.

Change-Id: Ibb961ab059c2b8be38e88db691d4293e180f3b1c
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2023-04-14 01:56:33 +02:00
Michael Bestas
78b01d53c8 Automatic translation import
Change-Id: I575a84e775df3b1754134bd6fcc4f5696a017cdf
2023-03-23 16:38:57 +02:00
Michael Bestas
6a4d8ba53e Automatic translation import
Change-Id: Ib4d15a09c39ed1a6d0c1f3a1143f283d4237e042
2023-02-13 16:05:51 +02:00
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