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

Commit 9d569d32 authored by Neil Fuller's avatar Neil Fuller
Browse files

Add field to record state of background geotz

Add a metrics field to record the state of "run geolocation time zone
detection in the background" behavior.

Test: build / manual testing
Bug: 200279201
Bug: 208789974
Change-Id: I79bee351df71ffb81f5f0a8fdd07609f6a5b2e6a
parent 4dd34c1f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3438,7 +3438,8 @@ public class StatsPullAtomService extends SystemService {
                            metricsState.getLatestGeolocationSuggestion()),
                    metricsState.isTelephonyTimeZoneFallbackSupported(),
                    metricsState.getDeviceTimeZoneId(),
                    metricsState.isEnhancedMetricsCollectionEnabled()
                    metricsState.isEnhancedMetricsCollectionEnabled(),
                    metricsState.getGeoDetectionRunInBackgroundEnabled()
            ));
        } catch (RuntimeException e) {
            Slog.e(TAG, "Getting time zone detection state failed: ", e);