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 unnecessary public keyword #49062

Closed
wants to merge 1 commit into from
Closed
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 @@ -14,7 +14,7 @@ internal object DevSupportSoLoader {

@JvmStatic
@Synchronized
public fun staticInit() {
fun staticInit() {
if (didInit) {
return
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import java.util.concurrent.Executor
* threads.
*/
internal object Executors {
@JvmField public val UI_THREAD: Executor = UIThreadExecutor()
@JvmField public val IMMEDIATE: Executor = ImmediateExecutor()
@JvmField val UI_THREAD: Executor = UIThreadExecutor()
@JvmField val IMMEDIATE: Executor = ImmediateExecutor()

private class UIThreadExecutor : Executor {
override fun execute(command: Runnable) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal object BlendModeHelper {

/** @see https://www.w3.org/TR/compositing-1/#mix-blend-mode */
@JvmStatic
public fun parseMixBlendMode(mixBlendMode: String?): BlendMode? {
fun parseMixBlendMode(mixBlendMode: String?): BlendMode? {
if (mixBlendMode == null || Build.VERSION.SDK_INT < Build.VERSION_CODES.Q) {
return null
}
Expand All @@ -46,6 +46,6 @@ internal object BlendModeHelper {
}

@JvmStatic
public fun needsIsolatedLayer(view: ViewGroup): Boolean =
fun needsIsolatedLayer(view: ViewGroup): Boolean =
view.children.any { it.getTag(R.id.mix_blend_mode) != null }
}
Loading