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

Commit 86da75b3 authored by Kweku Adams's avatar Kweku Adams
Browse files

Adding strings for user-initiated heap dumps.

This is taken from http://ag/6795760.

Bug: 77490269
Test: N/A
Change-Id: I8ee281788046a86657decf3d1660d20b4b575bbc
parent 4a7bb6e1
Loading
Loading
Loading
Loading
+21 −3
Original line number Diff line number Diff line
@@ -3283,18 +3283,36 @@
    <string name="dump_heap_notification"><xliff:g id="proc">%1$s</xliff:g> exceeded memory
        limit</string>

    <!-- Notification text to tell the user that a heap dump that they initiated for a process is ready [CHAR LIMIT=NONE] -->
    <string name="dump_heap_ready_notification">
        <xliff:g id="proc" example="com.android.example">%1$s</xliff:g> heap dump ready</string>

    <!-- Notification details to tell the user that a process has exceeded its memory limit. -->
    <string name="dump_heap_notification_detail">Heap dump collected. Tap to share.</string>

    <!-- Title of dialog prompting the user to share a heap dump. -->
    <string name="dump_heap_title">Share heap dump?</string>

    <!-- Text of dialog prompting the user to share a heap dump. -->
    <string name="dump_heap_text">The process <xliff:g id="proc">%1$s</xliff:g> has exceeded
        its process memory limit of <xliff:g id="size">%2$s</xliff:g>.  A heap dump is available
    <!-- Text of dialog prompting the user to share a heap dump for an application [CHAR LIMIT=NONE] -->
    <string name="dump_heap_text">The
        <xliff:g id="proc" example="com.android.example">%1$s</xliff:g> process has exceeded
        its memory limit of <xliff:g id="size" example="350MB">%2$s</xliff:g>. A heap dump is available
        for you to share with its developer.  Be careful: this heap dump can contain any
        of your personal information that the application has access to.</string>

    <!-- Text of dialog prompting the user to share a heap dump for a system process [CHAR LIMIT=NONE] -->
    <string name="dump_heap_system_text">The
        <xliff:g id="proc" example="Android System">%1$s</xliff:g> process has exceeded
        its memory limit of <xliff:g id="size" example="350MB">%2$s</xliff:g>. A heap dump is available
        for you to share. Be careful: this heap dump can contain any sensitive personal information
        that the process has access to.</string>

    <!-- Text of dialog prompting the user to share a heap dump that they initiated [CHAR LIMIT=NONE] -->
    <string name="dump_heap_ready_text">A heap dump of
        <xliff:g id="proc" example="com.android.example">%1$s</xliff:g>\u2019s process is available
        for you to share. Be careful: this heap dump may contain any sensitive personal information
        that the process has access to.</string>

    <!-- Displayed in the title of the chooser for things to do with text that
         is to be sent to another application. For example, I can send
         text through SMS or IM.  A dialog with those choices would be shown,
+3 −0
Original line number Diff line number Diff line
@@ -2114,8 +2114,11 @@
  <java-symbol type="string" name="device_storage_monitor_notification_channel" />
  <java-symbol type="string" name="dlg_ok" />
  <java-symbol type="string" name="dump_heap_notification" />
  <java-symbol type="string" name="dump_heap_ready_notification" />
  <java-symbol type="string" name="dump_heap_notification_detail" />
  <java-symbol type="string" name="dump_heap_text" />
  <java-symbol type="string" name="dump_heap_ready_text" />
  <java-symbol type="string" name="dump_heap_system_text" />
  <java-symbol type="string" name="dump_heap_title" />
  <java-symbol type="string" name="factorytest_failed" />
  <java-symbol type="string" name="factorytest_no_action" />