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

Commit 171befee authored by Pawan Wagh's avatar Pawan Wagh
Browse files

Fix strings for 16 KB mode

Page size warning dialog now adds list of libraries.
Update strings to mention libraries

Test: atest FileSystemUtilsTests
Bug: 427471791
Flag: EXEMPT bug_fix
Change-Id: Ief7a69348d7bdcb5c564a56cd5a824d3e3b7d90c
parent 31dd0cf5
Loading
Loading
Loading
Loading
+18 −6
Original line number Diff line number Diff line
@@ -202,17 +202,29 @@
    <!-- Message displayed in dialog when APK is not 16 KB aligned on 16 KB device. [CHAR LIMIT=NONE] -->
    <string name="page_size_compat_apk_warning">This app isn’t 16 KB compatible. APK alignment check failed.
        This app will be run using page size compatible mode. For best compatibility, please recompile the application with 16 KB support.
        For more information, see &lt;a href=\"https://developer.android.com/16kb-page-size\"&gt;https://developer.android.com/16kb-page-size&lt;/a&gt; </string>
        For more information, see &lt;a href=\"https://developer.android.com/16kb-page-size\"&gt;https://developer.android.com/16kb-page-size&lt;/a&gt;
        &lt;br&gt;&lt;br&gt;
        The following libraries are not 16 KB aligned:
        &lt;br&gt;&lt;br&gt;
    </string>
    <!-- Message displayed in dialog when ELF is not 16 KB aligned on 16 KB device . [CHAR LIMIT=NONE] -->
    <string name="page_size_compat_elf_warning">This app isn’t 16 KB compatible. ELF alignment check failed.
        This app will be run using page size compatible mode. For best compatibility, please recompile the application with 16 KB support.
        For more information, see &lt;a href=\"https://developer.android.com/16kb-page-size\"&gt;https://developer.android.com/16kb-page-size&lt;/a&gt;</string>
        For more information, see &lt;a href=\"https://developer.android.com/16kb-page-size\"&gt;https://developer.android.com/16kb-page-size&lt;/a&gt;
        &lt;br&gt;&lt;br&gt;
        The following libraries are not 16 KB aligned:
        &lt;br&gt;&lt;br&gt;
    </string>
    <!-- Message displayed in dialog when APK and ELF are not 16 KB aligned on 16 KB device. [CHAR LIMIT=NONE] -->
    <string name="page_size_compat_apk_and_elf_warning">This app isn’t 16 KB compatible. APK and ELF alignment checks failed.
        This app will be run using page size compatible mode. For best compatibility, please recompile the application with 16 KB support.
        For more information, see &lt;a href=\"https://developer.android.com/16kb-page-size\"&gt;https://developer.android.com/16kb-page-size&lt;/a&gt;</string>
        For more information, see &lt;a href=\"https://developer.android.com/16kb-page-size\"&gt;https://developer.android.com/16kb-page-size&lt;/a&gt;
        &lt;br&gt;&lt;br&gt;
        The following libraries are not 16 KB aligned:
        &lt;br&gt;&lt;br&gt;
    </string>
    <!-- Message displayed in dialog when APK is not 16 KB aligned on 4 KB device. [CHAR LIMIT=NONE] -->
@@ -222,7 +234,7 @@
        This app isn\’t 16 KB compatible. APK alignment check failed.
        Please follow the steps on &lt;a href=\"https://developer.android.com/16kb-page-size\"&gt;https://developer.android.com/16kb-page-size&lt;/a&gt;
        &lt;br&gt;&lt;br&gt;
        Following libraries are not 16 KB aligned:
        The following libraries are not 16 KB aligned:
        &lt;br&gt;&lt;br&gt;
    </string>
@@ -233,7 +245,7 @@
        This app isn\’t 16 KB compatible. ELF alignment check failed.
        Please follow the steps on &lt;a href=\"https://developer.android.com/16kb-page-size\"&gt;https://developer.android.com/16kb-page-size&lt;/a&gt;
        &lt;br&gt;&lt;br&gt;
        Following libraries are not 16 KB aligned:
        The following libraries are not 16 KB aligned:
        &lt;br&gt;&lt;br&gt;
    </string>
@@ -244,7 +256,7 @@
        This app isn\’t 16 KB compatible. APK and ELF alignment checks failed.
        Please follow the steps on &lt;a href=\"https://developer.android.com/16kb-page-size\"&gt;https://developer.android.com/16kb-page-size&lt;/a&gt;.
        &lt;br&gt;&lt;br&gt;
        Following libraries are not 16 KB aligned:
        The following libraries are not 16 KB aligned:
        &lt;br&gt;&lt;br&gt;
    </string>
    <!--Confirmation text for page size mismatch dialog to never show-->