Skip to content
Closed
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 @@ -137,6 +137,9 @@ constructor(
public const val NAME: String = NativeAppearanceSpec.NAME
private const val APPEARANCE_CHANGED_EVENT_NAME = "appearanceChanged"

// Must remain `var` (not `val`) — this field is set from JNI in
// configurePlatformColorCacheInvalidationHook.cpp. Android 17+ crashes
// if JNI modifies a static final field (which `val` compiles to).
@DoNotStrip private var invalidatePlatformColorCache: Runnable? = null
}
}
Loading