Commit fd4f9adc authored by bttk's avatar bttk Committed by Commit Bot

Add partner_customization_config to Android crash keys

This will help identify crashes related to partner customization.
Customization includes the default homepage url and default bookmarks.

Bug: 1063948
Change-Id: I62ceb297f0fcfda7e322c97a6476454d147bc0a1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2150011Reviewed-by: default avatarBrandon Wylie <wylieb@chromium.org>
Reviewed-by: default avatarIlya Sherman <isherman@chromium.org>
Commit-Queue: bttk <bttk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#763505}
parent 18077ff5
......@@ -22,6 +22,7 @@ JavaCrashKey& GetCrashKey(int index) {
{"installed_modules", JavaCrashKey::Tag::kArray},
{"emulated_modules", JavaCrashKey::Tag::kArray},
{"dynamic_module_dex_name", JavaCrashKey::Tag::kArray},
{"partner_customization_config", JavaCrashKey::Tag::kArray},
};
static_assert(
base::size(crash_keys) == static_cast<size_t>(CrashKeyIndex::NUM_ENTRIES),
......
......@@ -17,6 +17,7 @@ enum class CrashKeyIndex {
INSTALLED_MODULES,
EMULATED_MODULES,
DYNAMIC_MODULE_DEX_NAME,
PARTNER_CUSTOMIZATION_CONFIG,
NUM_ENTRIES
};
......
......@@ -23,9 +23,9 @@ import java.util.concurrent.atomic.AtomicReferenceArray;
* The crash keys will only be included in browser process crash reports.
*/
public class CrashKeys {
private static final String[] KEYS =
new String[] {"loaded_dynamic_module", "active_dynamic_module", "application_status",
"installed_modules", "emulated_modules", "dynamic_module_dex_name"};
private static final String[] KEYS = new String[] {"loaded_dynamic_module",
"active_dynamic_module", "application_status", "installed_modules", "emulated_modules",
"dynamic_module_dex_name", "partner_customization_config"};
private final AtomicReferenceArray<String> mValues = new AtomicReferenceArray<>(KEYS.length);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment