Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove SuppressLint annotation #1988

Merged
merged 1 commit into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.google.android.horologist.data

import android.annotation.SuppressLint
import android.content.Context
import android.net.Uri
import androidx.datastore.core.DataStore
Expand All @@ -42,8 +41,6 @@ import kotlinx.coroutines.flow.flow
import kotlinx.coroutines.runBlocking
import kotlin.reflect.KClass

// Workaround https://issuetracker.google.com/issues/239451111
@SuppressLint("VisibleForTests")
@ExperimentalHorologistApi
/**
* Implementation of Androidx Datastore for Proto and Preferences on top of the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.google.android.horologist.data.store.impl

import android.annotation.SuppressLint
import android.net.Uri
import androidx.datastore.core.Serializer
import com.google.android.gms.wearable.DataClient
Expand All @@ -30,8 +29,6 @@ import kotlinx.coroutines.flow.map
import kotlinx.coroutines.tasks.await
import java.io.ByteArrayInputStream

// Workaround https://issuetracker.google.com/issues/239451111
@SuppressLint("VisibleForTests")
public fun <T> DataClient.dataItemFlow(
nodeId: String,
path: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

package com.google.android.horologist.data.store.impl

import android.annotation.SuppressLint
import android.net.Uri
import android.util.Log
import androidx.datastore.core.DataStore
Expand All @@ -44,8 +43,6 @@ import kotlinx.coroutines.tasks.await
import java.io.ByteArrayInputStream
import java.io.ByteArrayOutputStream

// Workaround https://issuetracker.google.com/issues/239451111
@SuppressLint("VisibleForTests")
@ExperimentalHorologistApi
public class WearLocalDataStore<T>(
private val wearDataLayerRegistry: WearDataLayerRegistry,
Expand Down