Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa068885 authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

chore: update notification text and remove useless commented code

parent 8336465c
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -31,7 +31,6 @@ class BootCompletedReceiver: BroadcastReceiver() {
    override fun onReceive(context: Context, intent: Intent) {
        Logger.log.info("Device has been rebooted; checking sync intervals etc.")

//        val isOpenIdAvailable = isOpenIdAvailable()
        val eAccountType = context.getString(R.string.eelo_account_type)

        val accountManager = AccountManager.get(context)
@@ -47,10 +46,6 @@ class BootCompletedReceiver: BroadcastReceiver() {
                }
            }
    }
    //TODO will I need it ?
//    private fun isOpenIdAvailable(): Boolean {
//        return false
//    }

    private fun isLoggedWithOpenId(account: Account, accountManager: AccountManager): Boolean {
        val hasAuthStateData = accountManager.getUserData(account, AccountSettings.KEY_AUTH_STATE) != null
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@
    <string name="notification_channel_sync_io_errors">Network and I/O errors</string>
    <string name="notification_channel_sync_io_errors_desc">Timeouts, connection problems, etc. (often temporary)</string>
    <string name="notification_account_title">Your account %1$s</string>
    <string name="notification_switch_to_openId_text">A new login service for a better experience is available. Tap the notification to start using it.</string>
    <string name="notification_switch_to_openId_text">A new login service for a better experience is available. Tap the notification to start using it: you'll be logged out and will simply have to log in again.</string>

    <!-- IntroActivity -->
    <string name="intro_slogan1">Your data. Your choice.</string>