updates the state of metricsservice to account for the user 's preferences . concode_field_sep ComponentCallbacks mComponentCallbacks concode_elem_sep TabModelSelectorTabObserver mTabModelSelectorTabObserver concode_elem_sep long sNativeUmaSessionStats concode_elem_sep String SAMSUNG_MULTWINDOW_PACKAGE concode_elem_sep TabModelSelector mTabModelSelector concode_elem_sep String LAST_USED_TIME_PREF concode_elem_sep boolean mIsMultiWindowCapable concode_elem_sep boolean mKeyboardConnected concode_elem_sep Context mContext concode_field_sep void ensureNativeInitialized concode_elem_sep void nativeUpdateMetricsServiceState concode_elem_sep void updatePreferences concode_elem_sep void nativeRecordPageLoaded concode_elem_sep void logAndEndSession concode_elem_sep int getTabCountFromModel concode_elem_sep void nativeRecordPageLoadedWithKeyboard concode_elem_sep long nativeInit concode_elem_sep void nativeUmaEndSession concode_elem_sep void recordPageLoadStats concode_elem_sep void nativeLogRendererCrash concode_elem_sep void logMultiWindowStats concode_elem_sep void registerExternalExperiment concode_elem_sep void nativeUmaResumeSession concode_elem_sep void changeMetricsReportingConsent concode_elem_sep void nativeRegisterSyntheticFieldTrial concode_elem_sep void logRendererCrash concode_elem_sep void registerSyntheticFieldTrial concode_elem_sep void nativeRegisterExternalExperiment concode_elem_sep void nativeRecordMultiWindowSession concode_elem_sep void nativeChangeMetricsReportingConsent concode_elem_sep void nativeRecordTabCountPerLoad concode_elem_sep void startNewSession
void function ( ) { PrivacyPreferencesManager loc0 = PrivacyPreferencesManager . getInstance ( ) ; loc0 . syncUsageAndCrashReportingPrefs ( ) ; boolean loc1 = loc0 . isMetricsUploadPermitted ( ) ; nativeUpdateMetricsServiceState ( loc1 ) ; }