1. 07 Mar, 2022 1 commit
  2. 01 Mar, 2022 1 commit
  3. 14 Feb, 2022 2 commits
    • Chirayu Desai's avatar
      SimMissing: Don't show eSIM button when the UI isn't enabled · c97a1d34
      Chirayu Desai authored and Chirayu Desai's avatar Chirayu Desai committed
      * This is set to false on wahoo since it only supports Google Fi eSIM,
        which is provisioned through their app and not via QR code.
      
      Change-Id: Ife7219337fb96f6d999797ab6b8e0843ed39707b
      c97a1d34
    • Uldiniad's avatar
      Switch network setup and missing SIM activity order · b3ceb081
      Uldiniad authored and Chirayu Desai's avatar Chirayu Desai committed
      Missing SIM activity offers to setup an eSIM which can only be done if connected to a network.
      Therefore, show network setup activity first and, if a SIM is still missing after it, show the missing SIM activity. If connected to a network, show the option to setup an eSIM. Otherwise, hide it.
      
      Change-Id: Ieaa51940d916489212a35ee95cc81a33c6cabe9a
      b3ceb081
  4. 11 Feb, 2022 4 commits
    • Uldiniad's avatar
      Detect gestures on welcome activity more reliably · bb5dc1f1
      Uldiniad authored
      * Extend WelcomeActivity's dispatchTouchEvent instead of relying on touch listeners in its Views
      * Use Google's setupdesign consecutive taps detector for the gesture to skip the setup wizard
      
      Change-Id: Ic5ed085d5f5e62a1537c6a2011b39847ba8a2569
      bb5dc1f1
    • Chirayu Desai's avatar
      Add some pages to the user wizard script · 07889c52
      Chirayu Desai authored and Uldiniad's avatar Uldiniad committed
      Change-Id: Ib555ea6fa97c8542bf65b80aefcaf6cb4f4a489d
      07889c52
    • Uldiniad's avatar
      Enable "install from unknown sources" for Aurora Services · bcfdecfe
      Uldiniad authored
      * We ship with Aurora Services / Privileged Extension but only let it
        silently update apps. It does not have package install perms, instead
        relying on the usual unknown source flow
      * Enable "unknown sources" by default for Aurora Services since this isn't
        that intuitive, to provide a better out of the box UX.
      * Code basically calls the same function as the Settings toggle for this.
      
      Change-Id: Icae40307ce33c27000bd2dc094dbba9a21e6c3bc
      bcfdecfe
    • Uldiniad's avatar
      Enable status bar from setup wizard finish function · 015f7a18
      Uldiniad authored and Chirayu Desai's avatar Chirayu Desai committed
      There are different paths to setup wizard's exit. The status bar must be enabled in all of them.
      
      Change-Id: If9e41d6724ad1ce289754faeb27b3126dabb4a84
      015f7a18
  5. 08 Feb, 2022 1 commit
  6. 07 Feb, 2022 1 commit
  7. 17 Jan, 2022 1 commit
    • Michael Bestas's avatar
      Merge remote-tracking branch 'lineage/lineage-19.0' into android12 · 2ade47dd
      Michael Bestas authored
      * lineage/lineage-19.0:
        Update wizard scripts for 12
        SUW: remove EXTRA_THEME flags
        SUW: use accent_device_default_light as accent
        SUW: update theming for 12
        Automatic translation import
        tests: Add uses-library information
        Temporarily remove broken captive portal code
        Changes for new network setup flow
        SUW: remove restore page on TV for now
        SUW: use https for privacy policy link
        SUW: show the link to privacy policy
        SUW: remove privacy policy link on large-notouch
      
       Conflicts:
      	res/layout/microg_activity.xml
      	res/layout/setup_lineage_settings.xml
      	res/layout/wait_install_apps_activity.xml
      	res/values/colors.xml
      	src/org/lineageos/setupwizard/LineageSettingsActivity.java
      	src/org/lineageos/setupwizard/SetupWizardApp.java
      	src/org/lineageos/setupwizard/SimMissingActivity.java
      
      Change-Id: I5cc80d66b39a3274e695d640095f17baf88e2886
      2ade47dd
  8. 15 Jan, 2022 1 commit
    • Chirayu Desai's avatar
      fixup! Set original-package · 1454069a
      Chirayu Desai authored
      * Add privapp permissions for old package name too
      * Fixes upgrades from 11 - they'd have the old package name,
        and without this missing privapp perms breaks boot.
      
      Change-Id: Ib2f41520f214806ad782bc50d5cc6fab1651bdd8
      1454069a
  9. 13 Jan, 2022 4 commits
  10. 12 Jan, 2022 1 commit
  11. 11 Jan, 2022 1 commit
    • Chirayu Desai's avatar
      Set original-package · 610c2a3a
      Chirayu Desai authored and Uldiniad's avatar Uldiniad committed
      * We renamed it in previous versions
      * Stopping that now since there's no point really
      * Why did we ever do that? :D
      * Anyways, let's hope this handles upgrades for existing devices
      
      Issue: calyxos#820
      Change-Id: Iff74a3dae513b068c1063985cc0d4d1c779b662f
      610c2a3a
  12. 04 Jan, 2022 9 commits
    • Uldiniad's avatar
      Add button to setup eSIM on missing SIM page · 46ae69d0
      Uldiniad authored and Michael Bestas's avatar Michael Bestas committed
      Change-Id: I61072d392a4eff5e5223782c2bda8c0d3ca45d1f
      (cherry picked from commit 8d65f959db099502d601cfe48d046059d9abe74f)
      46ae69d0
    • Uldiniad's avatar
      Create managed profile setup flow · 4b887e12
      Uldiniad authored and Michael Bestas's avatar Michael Bestas committed
      Change-Id: I42f8255bea3c7126526430b28c384538fa204c28
      (cherry picked from commit 731d5e18)
      4b887e12
    • Uldiniad's avatar
      Turn off OEM unlocking during initial setup if bootloader is locked · 3ffad69e
      Uldiniad authored and Michael Bestas's avatar Michael Bestas committed
      * CalyxOS is meant to be used with a locked bootloader, and OEM unlocking
        set to off
      * Does what Settings -> Developer Options -> OEM unlocking off does but silently,
        wihout having to enable Developer Options.
      * If you've locked the bootloader, and the device has booted into SetupWizard,
        it should be safe to run this since at that point you can most definitely
        get into Settings and run this yourself as well, and we do have the same
        kinds of checks here.
      
      Change-Id: I739d0808fc5c66656128f755451441de96764a90
      (cherry picked from commit 23fb0230)
      3ffad69e
    • Chirayu Desai's avatar
      WelcomeActivity: Optionally show additional details · 17c3c766
      Chirayu Desai authored and Michael Bestas's avatar Michael Bestas committed
      * Long press of brand logo (CalyxOS logo in the middle)
        shows you
        * Bootloader lock status
        * OEM unlocking toggle status
      * It also lets you hit a button to factory reset and power off,
        which does exactly what the name implies
      
      Change-Id: I6ec9ec98dffe1be3e7c516b31fa4612edd079add
      (cherry picked from commit 5fc74855)
      17c3c766
    • Uldiniad's avatar
      Add gesture to skip setup wizard, only on debug builds · a6dc039f
      Uldiniad authored and Michael Bestas's avatar Michael Bestas committed
      
      
      * Show a toast on skipping. Not translatable since
        this would be shown before locale selection
      Co-authored-by: Chirayu Desai's avatarChirayu Desai <chirayudesai1@gmail.com>
      Change-Id: I91226946103dd7c8f9076ed8e026bceee498a458
      (cherry picked from commit b7f30722)
      a6dc039f
    • Torsten Grote's avatar
      Send MicroG Check-in broadcast after provisioning is complete · 3208a753
      Torsten Grote authored and Michael Bestas's avatar Michael Bestas committed
      This is required because we prevent from MicroG from making a check-in while not provisioned to ensure that it doesn't make check-in connections to Google when the user has not yet enabled it.
      
      Even without the other MicroG fixes submitted to upstream, this might already help with the issue of apps thinking that push message support is not available after first install.
      
      Change-Id: Iefbb8b0f3fcabe940114f33afd78c34d9cb5fce7
      (cherry picked from commit 63a5f1a6)
      3208a753
    • Uldiniad's avatar
      Schedule F-Droid index update on initialization and network connection · 2994fcff
      Uldiniad authored and Michael Bestas's avatar Michael Bestas committed
      Change-Id: Idb2300885cb2d249d0d495b9700cd13661a649a1
      (cherry picked from commit e9169a94)
      2994fcff
    • Torsten Grote's avatar
      Add step for installing apps from local F-Droid repo · 5e341372
      Torsten Grote authored and Michael Bestas's avatar Michael Bestas committed
      Squashed commit of the following:
      
      Author: Torsten Grote <t@grobox.de>
      Date:   Mon Mar 11 15:23:19 2019 -0300
      
          Add step for installing apps from local F-Droid repo
      
      Author: Torsten Grote <t@grobox.de>
      Date:   Fri Mar 15 15:22:29 2019 -0300
      
          Remove unnecessary casts
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Sat Mar 16 14:59:53 2019 +0530
      
          Make the app install UI fit better with the rest of SetupWizard
      
      Author: Torsten Grote <t@grobox.de>
      Date:   Fri Mar 29 12:29:40 2019 -0300
      
          Fix scrolling and force scrolling when pressing Next
      
          This removes the nested scrolling and thus improves scrolling
          performance and restores the possibility to fling the list.
      
          Also, it simplifies the complicated deep layout hierachy which is
          generally bad for performance as well.
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Fri Aug 9 18:21:01 2019 +0530
      
          Improve the app installation process
      
          * Install microG providers only if microG is enabled.
          * Grant permissions to the microG providers.
          * Get app details from the F-Droid index.
          * Show summary for apps.
          * Localize name and summary for apps.
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Mon Aug 19 19:03:00 2019 +0530
      
          Wait for all apps to be installed, and timeout after a minute
      
          * Wait for all of the selected apps to get installed
          * If they aren't installed within a minute, let the user
            continue anyway.
          * Also disallow going back from the microG and app install
            screens, so that no mixups happen.
      
      Author: Torsten Grote <t@grobox.de>
      Date:   Wed Sep 4 12:08:42 2019 -0300
      
          Allow user to proceed when not installing any apps
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Tue Sep 10 18:55:33 2019 +0530
      
          Fix the app install wait for real this time
      
          * Wait for apps if selected
          * Don't install any apps not selected
          * Don't wait if no apps are selected
      
          With this:
          * If all apps are selected, it waits for them to be installed
          * If no apps are selected, you can proceed right away
          * If some apps are selected, it waits for just those to be installed,
            and any other unselected apps don't get installed.
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Sat Sep 14 02:23:24 2019 +0530
      
          Move Calyx F-Droid repo to /product
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Sat Sep 14 03:02:12 2019 +0530
      
          [HAX] Try to deal with broken F-Droid repo
      
          * The directory may exist but not contain the index.
          * The index may exist but be corrupt.
      
          This code is horrible.
          It's ugly, it's hacky.
          And the reason is that it's 3AM, and the rest of the code
          to handle app install waiting has never been clean, and this is
          showing badly now - it just can't handle failure gracefully.
      
          Let's rewrite that some other day, soon, but till then this does work,
          and let's use it till bringup is done
      
      Author: Torsten Grote <t@grobox.de>
      Date:   Wed Sep 4 15:58:07 2019 -0300
      
          Add a (disabled) activity for launching a restore from backup
      
          This was added after installing apps, so it also introduces a dedicated
          activity for waiting until all apps have been installed
          to give us a chance to restore more data as more apps will be pre-installed.
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Wed Oct 2 01:14:43 2019 +0530
      
          Make the microG UnifiedNlp backends system apps
      
      Author: Torsten Grote <t@grobox.de>
      Date:   Fri Dec 6 10:41:39 2019 -0300
      
          Fix bug where selected apps to install would get unselected
      
          When views are recycled, a listener for checked state changes is already
          set. When setting the view to the item's checked state this listener
          would get called, messing with the item's checked state.
      
          The fix is to remove the listener before changing the view's state to
          match the item state.
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Tue Jan 7 18:22:11 2020 +0530
      
          Enable Seedvault restore activity
      
          * Allows restoring backups made using Seedvault,
            which isn't enabled by default yet but will be shortly.
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Wed Jul 1 19:35:33 2020 +0530
      
          calyx_strings: Additional Apps -> Additional apps
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Thu Dec 10 07:13:11 2020 +0530
      
          Fix icon sizes for app install page
      
          * centerInside made them too small,
            fitCenter makes it look like it should have
          * Keep using icons-640 since while they're the biggest,
            the max size there is only 192x192
      
          Change-Id: I44def6a942bbde485281dd819e28366c10dd367f
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Wed May 12 02:31:54 2021 +0530
      
          FDroidRepo: Use fallback icon if app icon isn't available
      
          Change-Id: Iff0eae73dc2603377a0af271767ce616ec2a0f3d
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Wed Jun 9 09:04:48 2021 +0530
      
          FDroidRepo: Handle names being present only in localized form
      
          Change-Id: I44c1dba7f6c217cbed6477d5fcdaf4ee9d08c75c
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Wed Jul 14 00:32:32 2021 +0530
      
          WaitInstallApps: Enable next button after a delay
      
          * We do have code to enable it after all selected apps
            are installed, even if that's a mess and needs to be cleaned up,
            although that's a story for another day.
          * Anyway, this is done so that the user never gets stuck in
            SetupWizard. The flow goes either
            1. Apps installed fine, usually takes <60s
            2. Apps failed, 60s timeout, button enabled
          * This way, the Launcher layout is always as expected, and not
            messed up when the user hits next before waiting for apps to be
            installed.
      
          Change-Id: I006d72a51176b30ca7f3324b898fdc7aa3d509cf
          (cherry picked from commit 4d259b2b)
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Fri Jul 16 18:29:01 2021 +0530
      
          FDroidRepo: Support localized icons
      
          Issue: calyxos#578
          Change-Id: I96397db24e57672853e842cf8b7d4d4ed81d81c8
          (cherry picked from commit a6087cfe)
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Thu May 6 21:05:05 2021 +0530
      
          apps: Always set duckduckgo as default browser
      
          * Do it in onNextPressed() so that it gets set even if the user
            doesn't wait and hits next right away.
      
          Change-Id: I866f9aa66297d9d465ccff205382fafb72b82406
          (cherry picked from commit e37d8cc0)
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Tue Dec 21 01:09:03 2021 +0530
      
          PackageInstaller28 is now PackageInstaller31
      
          * Account for API 31 changes, sync up with AOSP
            PackageInstaller
      
          References:
          * https://cs.android.com/android/_/android/platform/frameworks/base/+/f9f526f29678c550edc264bc508bb13d95a8373a
          * https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-12.0.0_r1/packages/PackageInstaller/src/com/android/packageinstaller/InstallInstalling.java
      
      
      
          Change-Id: I83d2d27c9fd6d622ca3f9dfdecf65fc94224a670
      Co-authored-by: Chirayu Desai's avatarChirayu Desai <chirayudesai1@gmail.com>
      Change-Id: I70cf6523188431fe1745971f103a61950a69a11d
      (cherry picked from commit e012566c)
      5e341372
    • Torsten Grote's avatar
      Add step for enabling/disabling microG · 175b3453
      Torsten Grote authored and Michael Bestas's avatar Michael Bestas committed
      Squashed commit of the following:
      
      Author: Torsten Grote <t@grobox.de>
      Date:   Fri Mar 15 15:30:48 2019 -0300
      
          Add step for enabling/disabling microG
      
          Change-Id: I44130cd02fb0781ddb565a448085c035754b5e8d
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Sat Mar 16 15:00:31 2019 +0530
      
          Make the microG UI fit better with the rest of the SetupWizard
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Fri Aug 9 18:21:01 2019 +0530
      
          Improve the app installation process
      
          * Install microG providers only if microG is enabled.
          * Grant permissions to the microG providers.
          * Get app details from the F-Droid index.
          * Show summary for apps.
          * Localize name and summary for apps.
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Sat Sep 14 03:02:12 2019 +0530
      
          [HAX] Try to deal with broken F-Droid repo
      
          * The directory may exist but not contain the index.
          * The index may exist but be corrupt.
      
          This code is horrible.
          It's ugly, it's hacky.
          And the reason is that it's 3AM, and the rest of the code
          to handle app install waiting has never been clean, and this is
          showing badly now - it just can't handle failure gracefully.
      
          Let's rewrite that some other day, soon, but till then this does work,
          and let's use it till bringup is done
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Wed Oct 2 01:14:43 2019 +0530
      
          Make the microG UnifiedNlp backends system apps
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Wed Apr 21 22:35:04 2021 +0530
      
          MicroGActivity: Disable GsfProxy as well
      
          * It doesn't really do much, but given that we do ship it,
            disable this as well for completeness
      
          Change-Id: I0e00da403ed86d9d37a7ddea5db8f2544c46ad8c
      
      Change-Id: I44130cd02fb0781ddb565a448085c035754b5e8d
      (cherry picked from commit 4c348b18)
      175b3453
  13. 28 Dec, 2021 12 commits
    • Chirayu Desai's avatar
      tests: Add uses-library information · ef59e075
      Chirayu Desai authored and Michael Bestas's avatar Michael Bestas committed
      Change-Id: Ice5f0a2cd0a52ec2f088da50c62993e2d56d1ee9
      ef59e075
    • Michael Bestas's avatar
      Temporarily remove broken captive portal code · 9c4edc08
      Michael Bestas authored
      Change-Id: I8afce8bbc5b504e1376c62aec9e8c2aa39eedc00
      9c4edc08
    • Michael Bestas's avatar
      Changes for new network setup flow · 334cd1bc
      Michael Bestas authored
      * 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
      334cd1bc
    • Chirayu Desai's avatar
      Add empty calyx_strings file · 3506a511
      Chirayu Desai authored
      * This will be used to put any string additions / changes we make.
      * Makes it easier to translate and update (avoids conflicts)
      * Separate commit so that any commits adding strings can be freely
        re-ordered as needed without major conflicts.
      
      Change-Id: Ia4b34c3ed37feed321adb21be308d949da04b9ad
      (cherry picked from commit 1ab84ff7)
      3506a511
    • Chirayu Desai's avatar
      Update accent colors · 1fffdb5a
      Chirayu Desai authored
      * Matches AccentColorCalyxOverlay
      
      Change-Id: Ib4fd7bcd87127e5c6016847d2fa0758290209c6d
      1fffdb5a
    • Chirayu Desai's avatar
      Use our logo · d09b6126
      Chirayu Desai authored
      Squashed commit of the following:
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Fri Dec 14 22:02:04 2018 +0530
      
          Use our logo
      
          * To be replaced with a better version later
      
      Author: Torsten Grote <t@grobox.de>
      Date:   Wed Mar 13 14:26:21 2019 -0300
      
          Replace Calyx' raster PNG logo with vector logo
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Sat Mar 16 14:58:42 2019 +0530
      
          Resize brand logo
      
          * Make it a little bit smaller by adding more padding on the welcome
            and finish screens.
          * This makes it about the same size as seen towards the end of the
            bootanimation.
          * Should be updated when the bootanimation changes
      
      Author: Chirayu Desai <chirayudesai1@gmail.com>
      Date:   Sun Oct 27 22:41:18 2019 +0530
      
          Update CalyxOS logo
      
      Change-Id: I9d93f9a6dfe22f2c679e5d3b5ed0fd4699ff0a4e
      d09b6126
    • Michael Bestas's avatar
      Change os_name to CalyxOS · 2eb84d96
      Michael Bestas authored and Chirayu Desai's avatar Chirayu Desai committed
      Change-Id: I898475419db83f9482d46812e0c51306273c7169
      2eb84d96
    • Michael Bestas's avatar
      Change module name for CalyxOS · b6b67b48
      Michael Bestas authored and Chirayu Desai's avatar Chirayu Desai committed
      Change-Id: I2fcc10af9d2f5bfab3d359efe6ad2096a6536383
      b6b67b48
    • Chirayu Desai's avatar
      Remove Lineage specific settings · ad275d39
      Chirayu Desai authored
      
      
      Remove unneeded Lineage specific pages in order to
      remove Lineage SDK dependency
      Co-authored-by: Michael Bestas's avatarMichael Bestas <mkbestas@gmail.com>
      Change-Id: Iaea961fa1e01d597935783cd470e34bc662f2333
      ad275d39
    • Chirayu Desai's avatar
      tests: Add uses-library information · 3f3fd5d5
      Chirayu Desai authored
      Change-Id: Ice5f0a2cd0a52ec2f088da50c62993e2d56d1ee9
      3f3fd5d5
    • Michael Bestas's avatar
      Temporarily remove broken captive portal code · 4eab58fe
      Michael Bestas authored and Chirayu Desai's avatar Chirayu Desai committed
      Change-Id: I8afce8bbc5b504e1376c62aec9e8c2aa39eedc00
      4eab58fe
    • Michael Bestas's avatar
      Changes for new network setup flow · afe35152
      Michael Bestas authored and Chirayu Desai's avatar Chirayu Desai committed
      * 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
      afe35152
  14. 16 Dec, 2021 1 commit