Add ramdisk detection
This commit is contained in:
parent
d51d549a28
commit
3b8d2fe8b7
@ -15,6 +15,8 @@
|
||||
|
||||
<import type="com.topjohnwu.magisk.model.events.RebootEvent" />
|
||||
|
||||
<import type="com.topjohnwu.magisk.core.Info" />
|
||||
|
||||
<variable
|
||||
name="viewModel"
|
||||
type="com.topjohnwu.magisk.ui.home.HomeViewModel" />
|
||||
@ -214,7 +216,7 @@
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
style="@style/W.Home.ItemContent"
|
||||
android:text="@string/home_device_build_style" />
|
||||
android:text="A/B" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
style="@style/W.Home.ItemContent.Right"
|
||||
@ -225,13 +227,13 @@
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/home_device_details_sar"
|
||||
style="@style/W.Home.Item.Bottom"
|
||||
style="@style/W.Home.Item"
|
||||
app:layout_constraintStart_toStartOf="@+id/home_device_details_ab"
|
||||
app:layout_constraintTop_toBottomOf="@+id/home_device_details_ab">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
style="@style/W.Home.ItemContent"
|
||||
android:text="@string/home_device_build_type" />
|
||||
android:text="SAR" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
style="@style/W.Home.ItemContent.Right"
|
||||
@ -240,6 +242,23 @@
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/home_device_details_recovery"
|
||||
style="@style/W.Home.Item.Bottom"
|
||||
app:layout_constraintStart_toStartOf="@+id/home_device_details_sar"
|
||||
app:layout_constraintTop_toBottomOf="@+id/home_device_details_sar">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
style="@style/W.Home.ItemContent"
|
||||
android:text="Ramdisk" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
style="@style/W.Home.ItemContent.Right"
|
||||
android:text="@{Info.recovery ? @string/no : @string/yes }"
|
||||
tools:text="Yes" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
|
@ -24,8 +24,6 @@
|
||||
<string name="home_support_content">Magisk és, i sempre serà, gratis i codi lliure. De totes maneres, pot mostrar el seu interès fent una petita donació.</string>
|
||||
|
||||
<string name="home_device_system">Sistema</string>
|
||||
<string name="home_device_build_style">A/B</string>
|
||||
<string name="home_device_build_type">SAR</string>
|
||||
|
||||
<string name="home_package">Paquet</string>
|
||||
|
||||
|
@ -26,9 +26,7 @@
|
||||
<string name="home_device_extra_model">Modelo:</string>
|
||||
<string name="home_device_extra_board">Placa:</string>
|
||||
<string name="home_device_system">Sistema:</string>
|
||||
<string name="home_device_build_style">A/B:</string>
|
||||
<string name="home_device_build_type">SAR:</string>
|
||||
<string name="home_package">Paquete</string>
|
||||
<string name="home_package">Paquete</string>
|
||||
<string name="home_status_normal">Normal</string>
|
||||
<string name="details">Detalles</string>
|
||||
<string name="invalid_update_channel">Canal de actualización inválido</string>
|
||||
|
@ -23,8 +23,6 @@
|
||||
<string name="home_support_content">Magisk est, et sera toujours, libre et open‑source. Vous pouvez cependant nous témoigner de votre soutien en envoyant un petit don.</string>
|
||||
|
||||
<string name="home_device_system">Système</string>
|
||||
<string name="home_device_build_style">A/B</string>
|
||||
<string name="home_device_build_type">SAR</string>
|
||||
|
||||
<string name="home_package">Paquet</string>
|
||||
|
||||
|
@ -24,8 +24,6 @@
|
||||
<string name="home_support_content">Magisk è e sempre sarà gratuto ed open source. Puoi comunque mostrarci il tuo appezzamento inviando una piccola donazione.</string>
|
||||
|
||||
<string name="home_device_system">Sistema</string>
|
||||
<string name="home_device_build_style">A/B</string>
|
||||
<string name="home_device_build_type">SAR</string>
|
||||
|
||||
<string name="home_package">Pacchetto</string>
|
||||
|
||||
|
@ -24,8 +24,6 @@
|
||||
<string name="home_support_content">Magisk-ი არის და ყოველთვის იქნება უფასო და წყარო-გახსნილი. მაგრამ თქვენ შეგიძლიათ დახმარება გაგვიწიოთ პატარა დონაციით.</string>
|
||||
|
||||
<string name="home_device_system">სისტემა</string>
|
||||
<string name="home_device_build_style">A/B</string>
|
||||
<string name="home_device_build_type">SAR</string>
|
||||
|
||||
<string name="home_package">პაკეტი</string>
|
||||
|
||||
|
@ -30,8 +30,6 @@
|
||||
<string name="home_device_extra_board">Platforma</string>
|
||||
|
||||
<string name="home_device_system">System</string>
|
||||
<string name="home_device_build_style">A/B</string>
|
||||
<string name="home_device_build_type">SAR</string>
|
||||
|
||||
<string name="home_package">Pakiet</string>
|
||||
|
||||
|
@ -22,8 +22,6 @@
|
||||
<string name="home_item_source">Origem</string>
|
||||
<string name="home_support_content">Magisk é, e sempre será, gratuito e de código aberto. No entanto, você pode nos mostrar que se importa enviando uma pequena doação.</string>
|
||||
<string name="home_device_system">Sistema</string>
|
||||
<string name="home_device_build_style">A/B</string>
|
||||
<string name="home_device_build_type">SAR</string>
|
||||
<string name="home_package">Pacote</string>
|
||||
<string name="home_status_normal">Normal</string>
|
||||
<string name="invalid_update_channel">Canal de atualização inválido</string>
|
||||
|
@ -24,8 +24,6 @@
|
||||
<string name="home_support_content">Magisk este și va fi întotdeauna gratuit și open-source. Cu toate acestea, ne poți arăta că îți pasă trimițând o mică donație.</string>
|
||||
|
||||
<string name="home_device_system">Sistem</string>
|
||||
<string name="home_device_build_style">A/B</string>
|
||||
<string name="home_device_build_type">SAR</string>
|
||||
|
||||
<string name="home_package">Pachet</string>
|
||||
|
||||
|
@ -31,8 +31,8 @@
|
||||
|
||||
<!--ro.build.version.security_patch-->
|
||||
<string name="home_device_system">Android</string> <!--Do not translate-->
|
||||
<string name="home_device_build_style">A/B</string> <!--Do not translate-->
|
||||
<string name="home_device_build_type">SAR</string> <!--Do not translate-->
|
||||
<!--Do not translate-->
|
||||
<!--Do not translate-->
|
||||
|
||||
<!--ro.build.version.security_patch-->
|
||||
<!--ro.build.version.security_patch-->
|
||||
|
@ -24,8 +24,6 @@
|
||||
<string name="home_support_content">Magisk je a vždy bude slobodný a s otvoreným kódom. Môžete nám však ukázať, že vám na tom záleží zaslaním malého daru.</string>
|
||||
|
||||
<string name="home_device_system">Systém</string>
|
||||
<string name="home_device_build_style">A/B</string>
|
||||
<string name="home_device_build_type">SAR</string>
|
||||
|
||||
<string name="home_package">Balíček</string>
|
||||
|
||||
|
@ -23,8 +23,6 @@
|
||||
<string name="home_support_content">Magisk özgür ve açık kaynaklıdır ve her zaman öyle olacaktır. Ancak küçük bir bağış göndererek bize önem verdiğinizi gösterebilirsiniz.</string>
|
||||
|
||||
<string name="home_device_system">Sistem</string>
|
||||
<string name="home_device_build_style">A/B</string>
|
||||
<string name="home_device_build_type">SAR</string>
|
||||
|
||||
<string name="home_package">Paket</string>
|
||||
|
||||
|
@ -30,8 +30,6 @@
|
||||
<string name="home_device_extra_board">Платформа</string>
|
||||
|
||||
<string name="home_device_system">Система</string>
|
||||
<string name="home_device_build_style">A/B</string>
|
||||
<string name="home_device_build_type">SAR</string>
|
||||
|
||||
<string name="home_package">Пакунок</string>
|
||||
|
||||
|
@ -24,8 +24,6 @@
|
||||
<string name="home_support_content">Magisk 现在是,将来也永远是免费且开源的。但您可以向我们小额捐赠表示支持。</string>
|
||||
|
||||
<string name="home_device_system">系统版本</string>
|
||||
<string name="home_device_build_style">A/B</string>
|
||||
<string name="home_device_build_type">SAR</string>
|
||||
|
||||
<string name="home_package">包名</string>
|
||||
|
||||
|
@ -23,8 +23,6 @@
|
||||
<string name="home_support_content">Magisk 現在是,未來也永遠是免費且開源。但您可以透過發送小額的抖內來彰顯對我們的支持。</string>
|
||||
|
||||
<string name="home_device_system">系統版本</string>
|
||||
<string name="home_device_build_style">A/B 系統</string>
|
||||
<string name="home_device_build_type">SaR 分割區</string>
|
||||
|
||||
<string name="home_package">包裝名稱</string>
|
||||
|
||||
|
@ -35,8 +35,6 @@
|
||||
<string name="home_device_extra_model">Model</string>
|
||||
<string name="home_device_extra_board">Board</string>
|
||||
<string name="home_device_system">System</string>
|
||||
<string name="home_device_build_style">A/B</string>
|
||||
<string name="home_device_build_type">SAR</string>
|
||||
<string name="home_status_normal">Normal</string>
|
||||
<string name="home_status_safe">Safe Mode</string>
|
||||
<string name="home_status_stub">Stub</string>
|
||||
|
Loading…
Reference in New Issue
Block a user