Commit e40bdf1c authored by David Trainor's avatar David Trainor Committed by Commit Bot

Add the UI locale to collected feedback

Add the Chromium string representation of Locale.getDefault() to the
collected feedback.

BUG=773416

Change-Id: If3d0af50d8a8fbba81671a5866994b03d9d88daa
Reviewed-on: https://chromium-review.googlesource.com/804661Reviewed-by: default avatarTommy Nyquist <nyquist@chromium.org>
Commit-Queue: David Trainor <dtrainor@chromium.org>
Cr-Commit-Position: refs/heads/master@{#521154}
parent b66bfc64
...@@ -12,6 +12,7 @@ import android.util.Pair; ...@@ -12,6 +12,7 @@ import android.util.Pair;
import org.chromium.base.ApiCompatibilityUtils; import org.chromium.base.ApiCompatibilityUtils;
import org.chromium.base.CollectionUtil; import org.chromium.base.CollectionUtil;
import org.chromium.base.LocaleUtils;
import org.chromium.base.annotations.JNINamespace; import org.chromium.base.annotations.JNINamespace;
import java.io.File; import java.io.File;
...@@ -96,7 +97,8 @@ public class SystemInfoFeedbackSource implements AsyncFeedbackSource { ...@@ -96,7 +97,8 @@ public class SystemInfoFeedbackSource implements AsyncFeedbackSource {
"Available Memory (MB)", Integer.toString(nativeGetAvailableMemoryMB())), "Available Memory (MB)", Integer.toString(nativeGetAvailableMemoryMB())),
Pair.create("Total Memory (MB)", Integer.toString(nativeGetTotalMemoryMB())), Pair.create("Total Memory (MB)", Integer.toString(nativeGetTotalMemoryMB())),
Pair.create("GPU Vendor", nativeGetGpuVendor()), Pair.create("GPU Vendor", nativeGetGpuVendor()),
Pair.create("GPU Model", nativeGetGpuModel())); Pair.create("GPU Model", nativeGetGpuModel()),
Pair.create("UI Locale", LocaleUtils.getDefaultLocaleString()));
if (isReady()) { if (isReady()) {
Long availSpace = mStorageTask.getAvailableSpaceMB(); Long availSpace = mStorageTask.getAvailableSpaceMB();
......
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