Loading packages/Shell/res/values/strings.xml +2 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,8 @@ <!-- Toast message sent when the bugreport file could be read. --> <string name="bugreport_unreadable_text">Bug report file could not be read</string> <!-- Toast message sent when the bugreport details could not be added to the zip file. --> <string name="bugreport_add_details_to_zip_failed">Couldn\'t add bug report details to zip file</string> <!-- Title for bug reports received from dumpstate without a name. [CHAR LIMIT=30]--> <string name="bugreport_unnamed">unnamed</string> Loading packages/Shell/src/com/android/shell/BugreportProgressService.java +2 −0 Original line number Diff line number Diff line Loading @@ -1134,6 +1134,8 @@ public class BugreportProgressService extends Service { addEntry(zos, "description.txt", info.description); } catch (IOException e) { Log.e(TAG, "exception zipping file " + tmpZip, e); Toast.makeText(mContext, R.string.bugreport_add_details_to_zip_failed, Toast.LENGTH_LONG).show(); return; } finally { // Make sure it only tries to add details once, even it fails the first time. Loading Loading
packages/Shell/res/values/strings.xml +2 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,8 @@ <!-- Toast message sent when the bugreport file could be read. --> <string name="bugreport_unreadable_text">Bug report file could not be read</string> <!-- Toast message sent when the bugreport details could not be added to the zip file. --> <string name="bugreport_add_details_to_zip_failed">Couldn\'t add bug report details to zip file</string> <!-- Title for bug reports received from dumpstate without a name. [CHAR LIMIT=30]--> <string name="bugreport_unnamed">unnamed</string> Loading
packages/Shell/src/com/android/shell/BugreportProgressService.java +2 −0 Original line number Diff line number Diff line Loading @@ -1134,6 +1134,8 @@ public class BugreportProgressService extends Service { addEntry(zos, "description.txt", info.description); } catch (IOException e) { Log.e(TAG, "exception zipping file " + tmpZip, e); Toast.makeText(mContext, R.string.bugreport_add_details_to_zip_failed, Toast.LENGTH_LONG).show(); return; } finally { // Make sure it only tries to add details once, even it fails the first time. Loading