Name Description Size
DeprecatedTelemetryHolder.kt Allows us to use the now deprecated [TelemetryHolder] without deprecation annotations. This is required because the only way to suppress deprecation errors in import statements is to suppress them file-wide, which could cover up future deprecation problems. 845
MenuInteractionMonitor.kt Generates a basic heuristic for whether or not a user is having difficulty understanding the menu overlay. If a user opens a menu and then closes it without performing any action (represented here by clicking select), it is assumed that they were unable to find what they were looking for. This is used as a heuristic for confusion. 977
SentryIntegration.kt An interface to the Sentry crash reporting SDK. All code that touches the Sentry APIs directly should go in here (like TelemetryWrapper). With the current implementation, to enable Sentry on Release builds, add a <project-dir>/.sentry_dsn_release file with your key. To enable Sentry on Debug builds, add a .sentry_dsn_debug key and in this file replace check for [isEnabled] value with true (upload is disabled by default in dev builds). These keys are available in the APT Google Drive -> Fire TV -> Engineering -> Secrets dir. The gradle output is the only way to verify if adding the key was successful (but it won't indicate if the key is valid: #747). You will see a message in the gradle output indicating the key was added: "Sentry DSN (amazonWebviewRelease): Added from /Users/mcomella/dev/moz/firefox-tv/.sentry_dsn_release" As opposed to: "Sentry DSN (amazonWebviewRelease): X_X" 3653
TelemetryFactory.kt Constructs objects related to telemetry 3422
TelemetryIntegration.kt 22316
TelemetrySettingsProvider.kt A SettingsProvider that provides custom value getters when settings values can't just be retrieved from SharedPreferences. 2076
TestClient.kt [TestClient] for [TelemetryClient] to intercept fetch() and send request JSON payload to Log.d() 1202