From 28d28bc0854724ef1ef34efc99c8d326bc681fd8 Mon Sep 17 00:00:00 2001 From: Neil Fuller Date: Wed, 24 Nov 2021 14:30:33 +0000 Subject: [PATCH] Add field to record state of telephony fallback Add a metrics field to record the state of telephony fallback support on a device. Test: build only Bug: 197624972 Bug: 200279201 Bug: 208789974 Change-Id: I0f7bd9f087e87dc4f0c92f9ad7bff9db88f9f8e3 --- .../com/android/server/stats/pull/StatsPullAtomService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/core/java/com/android/server/stats/pull/StatsPullAtomService.java b/services/core/java/com/android/server/stats/pull/StatsPullAtomService.java index 7f50cd6ddb4fa..f0bf86fe0628a 100644 --- a/services/core/java/com/android/server/stats/pull/StatsPullAtomService.java +++ b/services/core/java/com/android/server/stats/pull/StatsPullAtomService.java @@ -3435,7 +3435,8 @@ public class StatsPullAtomService extends SystemService { convertTimeZoneSuggestionToProtoBytes( metricsState.getLatestTelephonySuggestion()), convertTimeZoneSuggestionToProtoBytes( - metricsState.getLatestGeolocationSuggestion()) + metricsState.getLatestGeolocationSuggestion()), + metricsState.isTelephonyTimeZoneFallbackSupported() )); } catch (RuntimeException e) { Slog.e(TAG, "Getting time zone detection state failed: ", e);