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

Commit 256734a4 authored by Abhishek Aggarwal's avatar Abhishek Aggarwal Committed by Mohammed Althaf T
Browse files

Settings: Change updater summary for /e/OS version

parent 8758d29e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -242,4 +242,7 @@
    <!-- Factory Reset -->
    <string name="main_clear_desc_e" product="tablet">This will erase all data from your tablet\u2019s <b>internal storage</b>, including:\n\n<li>All your account</li>\n<li>System and app data and settings</li>\n<li>Downloaded apps</li></string>
    <string name="main_clear_desc_e" product="default">This will erase all data from your phone\u2019s <b>internal storage</b>, including:\n\n<li>All your account</li>\n<li>System and app data and settings</li>\n<li>Downloaded apps</li></string>

    <!-- Summary of /e/ version info [CHAR LIMIT=NONE] -->
    <string name="e_version_summary">Updated to /e/OS v<xliff:g id="version" example="6.0">%1$s</xliff:g></string>
</resources>
+3 −2
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package com.android.settings.system

import android.content.Context
import android.os.Build
import android.os.SystemProperties
import android.os.SystemUpdateManager
import android.os.UserManager
import android.util.Log
@@ -100,8 +101,8 @@ open class SystemUpdatePreferenceController(context: Context, preferenceKey: Str
    }

    private fun getReleaseVersionSummary(): String = mContext.getString(
        R.string.android_version_summary,
        Build.VERSION.RELEASE_OR_PREVIEW_DISPLAY,
        R.string.e_version_summary,
        SystemProperties.get("ro.lineage.build.version"),
    )

    companion object {