Commit Graph

300 Commits

Author SHA1 Message Date
Michael Bestas
8c472fc564 Automatic translation import
Change-Id: I1f5120b5affa555a034c43060b3dc300e2a144ad
2015-12-25 19:36:45 +02:00
Matt Mower
7ab7f3c6d9 SetupWizard: Conditionally run account setup
If the package defined by cm_account_type (which can be overlayed)
exists, then add CyanogenSettingsPage. Otherwise, omit.

PS3: On the cyngn side, the account type and package name don't match. Added a new string to overlay.

Change-Id: I15e032e21281aaf51ca32ac9cc0861e033201f19
2015-12-21 14:07:11 -08:00
d34d
68d2ba7728 Fingerprint: Use M fingerprint setup action
Change-Id: I2af048649aed4e8c81e2e31e1ad42612ad9dc6a4
2015-12-03 16:54:16 -08:00
d34d
a2f4c5812e Revert "Fingerprint: Use AOSP fingerprint setup"
This reverts commit 070fbeaf5d.

We still need to show the fingerprint setup screen which allows
the user to skip setting up a fingerprint if they choose to do so.

Change-Id: Ifa49ad1ac0e5cf113290b973ac5e9cd8abdbed9a
2015-12-03 16:53:37 -08:00
d34d
070fbeaf5d Fingerprint: Use AOSP fingerprint setup
Switch to AOSP fingerprint setup now that Marshmallow supports it.

Change-Id: I55ef80671c758034be324027f168af03dda66aef
2015-11-29 17:16:31 -08:00
Matt Mower
ea2d42d654 SetupWizard: Update Location services page
* Remove usage of deprecated setLocationProviderEnabled and
  isLocationProviderEnabled
* Use BroadcastReceiver to listen for changes to mode
* Replace GPS option with Battery Saving option (there is no longer a
  mode available in Android which disables GPS)

TODO: Create CMStats entry for ENABLE_BATTERY_SAVING_LOCATION

Change-Id: I2efe69125518637ae9b7d0dce285c39dae654d4c
2015-11-14 23:43:55 -06:00
cretin45
b64d5e7676 SetupWizard: Fix locale picker styling
Change-Id: If336a8321b09513ec8b22f8138a47fb4d94e5913
2015-10-27 12:44:11 -07:00
cretin45
41801b0ca2 SetupWizard: Update proguard for play services 8115000
Change-Id: Ia3dfa3190b08fac70de2fe088da419d96b0ffa9e
2015-10-23 15:23:38 -07:00
Adnan Begovic
307e587a3a SetupWizard: Temporary compile fixes.
Change-Id: Iffdbb3b38aef75f14dcb0957df8dda13f844159b
2015-10-15 15:18:58 -07:00
Yvonne Wong
f29f92dcac Switch SetupWizard to use CMSettings for settings unrelated to bootclasspath
Issue-Id: CYNGNOS-831
Change-Id: Iba8ab05f327360332383c6e93f6a0401e57e846e
2015-10-14 12:40:40 -07:00
Adnan Begovic
56ccf8676f SetupWizard: Remove themechange config change for now.
Change-Id: I4ccaab30a6719723e2d3e92edb5eaa0977e51d1b
2015-10-09 12:36:16 -07:00
Roman Birg
5780dade7e SetupWizard: fix stats permission
Ref: CYNGNOS-1144

Change-Id: I3c9ed01b883134c2c10b1be64ae7e1d319c3df9e
Signed-off-by: Roman Birg <roman@cyngn.com>
2015-09-28 16:50:11 -07:00
Michael Bestas
14bb4e512f Automatic translation import
Change-Id: I6a030395a7027ca91bffcb5bb2fcc6a93b6225ac
2015-09-24 22:00:55 +03:00
cretin45
edaab88f13 SetupWizard: Tweak logic for showing/hiding sim missing page
CYNGNOS-1021

Change-Id: I6139ca4368eb1bf49b07a95ac60ca28831e2cd3a
2015-09-17 13:48:55 -07:00
Danesh M
fa1be773ce Revert "Bump HOME intent priority"
Breaks sim unlock

This reverts commit 4fb57dc022.

Change-Id: I0e90a471b508b9c0c4bc692ff5ca4508cbe5862b
2015-09-15 09:15:46 -07:00
Michael Bestas
aa2af7154c Automatic translation import
Change-Id: Id71fb96b7e72b372d5e0e2d0f525f6d84ac46cc5
2015-09-12 06:18:07 -07:00
Raj Yengisetty
4fb57dc022 Bump HOME intent priority
Other applications have a higher priority causing some poor
behavior during OOBE (e.g. CryptKeeper). Bumping this to get rid of
some jank during first boot.

issue-id: CYNGNOS-983

Change-Id: I272d1541e22933aa3abd86d2e73c7140eaa4df91
2015-09-11 12:56:06 -07:00
martincz
6c1d791534 SetupWizard: Allow SetupWizard to use CMHW
Change-Id: Ic47824e7219bbf214bd388ad888e2af67ff62f39
2015-09-10 10:13:25 -07:00
cretin45
97af685bbd SetupWizard: Handle xfinity captival portal
CYNGNOS-691

Change-Id: I62ef349da48ffd3e9b148e68e946fe550cea2ff7
2015-09-01 16:44:53 -07:00
cretin45
97c37bef11 SetupWizard: Check for frp in finish receiver
CYNGNOS-886

Change-Id: I97af3285d9321f2f153676eaac081e5408300661
2015-09-01 16:32:48 -07:00
Michael Bestas
9ce4c4f0d6 Automatic translation import
Change-Id: If2f9f1e7f813e675382a712c62bcc6737b9fa4f0
2015-09-01 01:33:04 +03:00
Tom Powell
837f27e6c2 Automatic translation import
Change-Id: Ibdd3f4c2b7fcd45add1d855f72f61f67de93ea6f
2015-08-21 11:20:19 -07:00
Tom Powell
c407a527cc Automatic translation import
Change-Id: Id4e0ec397f0fb74bc7adf0490ab43be933cd3830
2015-08-20 14:34:51 -07:00
Ricardo Cerqueira
7e1a0aaffa SetupWizard: Don't wait for data connection to present the data toggle
We can proceed to the data enablement screen as soon as the device
confirms the requested slot is active. Waiting for an actual data
connection kinda breaks the point of that screen :)

Addresses CYNGNOS-660 and CRACKLING-503

Change-Id: I975508852b37c0e4b112612ac10aacb71ded97b3
2015-08-20 09:25:15 -07:00
cretin45
4ef509ac48 SetupWizard: Improve wait for data sim change logic
Invalid sims and bad connections causes huge delays when switching. This disallows switching to invalid sims. It also fixes a bug were the next button would get enabled while waiting on a switch.

CRACKLING-503

Change-Id: I6cf7391910cc23554bb418c3083e736a3f06e037
2015-08-19 12:01:08 -07:00
Steve Kondik
c924af3b33 setupwizard: Move CMHW to CMSDK
Change-Id: Icc898a22c17486c9e2cc7f2d9d54ca025c134b0d
2015-08-19 05:31:14 -07:00
cretin45
62db452188 SetupWizard: Wait for data sim change
When changing the default data sim for msim, disable the next action until the operation completes.
This PS also refactors how the wait for radio logic a bit.

CRACKLING-503

Change-Id: I38ba3ea00f63d3e42c260e5b0e8558c3bc9d347f
2015-08-18 16:43:34 -07:00
Michael Bestas
ca721f949c Automatic translation import
Change-Id: Ia4c3c61a0f9e3d5741319ba5d8451283f7ec0089
2015-08-17 20:01:39 +03:00
Tom Powell
11225341d4 Automatic translation import
Change-Id: I6067047c137f92974969558373e25356ee1e5996
2015-08-12 11:02:34 -07:00
Tom Powell
91d0a935a6 Automatic translation import
Change-Id: Ie68bf98b4eac46b5584b34fd117712d51524f7c8
2015-08-11 15:49:18 -07:00
Tom Powell
76840ea9fe Automatic translation import
Change-Id: I8d9db21a4c4287b8da9c9d247fa949469c9b52fb
2015-08-11 14:20:10 -07:00
Brint E. Kriebel
4ea986255f SetupWizard: remove crash-inducing debug line
Introduced in Ia1a81c4443cfd5bc3c3e5fd84758ff0ba2a2a140, this causes
an NPE in some situations.

Change-Id: I13239eb92b69087fe2c91b46482ff76748ab1c19
Ticket: CYNGNOS-707
2015-08-10 16:57:03 -07:00
Ricardo Cerqueira
649a5ec162 SetupWizard: Adjust FRP-enforcing logic
* Always pass ALLOW_SKIP to GMS, it's smart enough to know when it
   can't be applied.
 * Don't bring up the authentication screen if no-network and canSkip

Still CYNGNOS-707

Change-Id: Ia1a81c4443cfd5bc3c3e5fd84758ff0ba2a2a140
2015-08-10 13:21:01 +01:00
Roman Birg
d587f56e2e SetupWizard: don't allow skipping FRP
Change-Id: I7532c0c68418458b921a98e556ee3172b2cf1af3
Signed-off-by: Roman Birg <roman@cyngn.com>
2015-08-07 15:57:58 -07:00
Michael Bestas
48115dde4c Automatic translation import
Change-Id: Ie00039c8ccea2c1aecdcef5f4fb1a9d37ca78b02
2015-08-05 20:19:39 +03:00
Roman Birg
1d26db14eb SetupWizard: add Kiev timezone to match Settings
Ref: CYNGNOS-453

Change-Id: Ide11d2be1c97806a674035a322cf32b1014fd8ac
Signed-off-by: Roman Birg <roman@cyngn.com>
2015-07-29 16:26:45 -07:00
Michael Bestas
c7a58bcc60 Automatic translation import
Change-Id: I736deda8d6c87196050022ac0e7b6bf8b56dbba2
2015-07-27 22:05:19 +03:00
emancebo
c92c4b6a3a SetupWizard: check if mobile data is enabled from telephony API
System property ro.com.android.mobiledata is no longer used

issue-id: JALEBI-135
Change-Id: Iac088d50dc50227e805b58b537c38082b6797291
2015-07-21 10:12:44 -07:00
Michael Bestas
c10e45a55c Automatic translation import
Change-Id: Id3f47c59d6fa731a38b9459096aedfffc1433091
2015-07-19 15:49:03 +03:00
d34d
c78801e2e7 Reword strings on FingerprintSetupPage
Change-Id: Iacfeb3f4c7324df825ab9c3a67d5bfa225fbdf1c
2015-07-13 15:52:13 -07:00
d34d
6d93813829 Move fingerprint setup to end of OOBE
Fingerprint setup should occur after the user has setup any accounts
and before the customization page.

Change-Id: I1305d89e17da1f8d405c8bd5b8b8b5268a2ba38c
2015-07-13 12:36:39 -07:00
Brandon McAnsh
eff742708f WifiSetup: Pass the correct componentName and data for captivePortal
* CaptivePortal expects the networkid, which was not being passed on via the intent
* Also use the correct componentName to bring up the sign in page

Change-Id: I83d80dc3ec026d7a5a5d4b8bf4cf577214a13da4
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
2015-07-13 13:52:21 -04:00
Michael Bestas
79f63d23c1 Automatic translation import
Change-Id: I557f278a00d76536615ee4b6fbc0ff006c5be140
2015-07-13 01:02:02 +03:00
black
1125b8dd34 SetupWizard: Fix translatability
In case that there are 2 or more "%s" strings within a line, the order can't be changed.

Change-Id: I8f68d0ed6b6e5b9ac07316e7c6295df0fa1c4e74
2015-07-11 05:37:20 -07:00
d34d
b28f9c0a76 Enroll fingerprint via SetupWizard [2/2]
Change-Id: Ieabfb0f3b789b02ddd1e17aba1eadfda52b21384
2015-07-10 10:34:48 -07:00
Michael Bestas
a1c8217e77 Automatic translation import
Change-Id: I6ac0b00fea1c482c3f87ae10600a1c913afcc8af
2015-07-02 00:20:33 +03:00
Ethan Chen
ee89d29fb4 Clarify touch event consumption logic
* Make it clear that both onInterceptTouchEvent and onTouchEvent need to
  occur.

Change-Id: I951a470ad073f85a9a006c7f440872839d26cd26
2015-06-30 09:41:22 -07:00
Michael Bestas
e8ae2d7cdf Automatic translation import
Change-Id: I0b037995358cde955daf940e5f0bfaf9beec5431
2015-06-23 01:02:02 +03:00
Matt Garnes
b31cb54361 Fix incorrect retrieval of SIM Network Operator.
We were incorrectly passing the phone ID to TelephonyManager instead of
the subscription ID. Pass the correct identifier to retrieve the network
operator name.

Change-Id: I266d2ce39c72db6e97eff5a36c5fec6242d516cc
2015-06-19 15:43:58 +00:00
Raj Yengisetty
b72e820a96 SetupWizard: protect against IllegalStateExceptions in telephony
Telephony throws this exception in some cases when retrieving SIM state

Change-Id: I87e14aaa328d46ebba4990559f6531de4e961d68
2015-06-18 16:21:08 -07:00