emoji/core/src/main/java/androidx/emoji/text/EmojiCompat.java
@SuppressWarnings("GuardedBy")
    @RestrictTo(LIBRARY_GROUP)
    @VisibleForTesting
    public static EmojiCompat reset(@NonNull final Config config) {
        synchronized (sInstanceLock) {
            sInstance = new EmojiCompat(config);
        }
        return sInstance;
    }
/**
     * Used by the tests to reset EmojiCompat with a new configuration. Every time it is called a
     * new instance is created with the new configuration.
     *
     * @hide
     */
Used by the tests to reset EmojiCompat with a new configuration. Every time it is called a
new instance is created with the new configuration.

@hide
Used by the tests to reset EmojiCompat with a new configuration . Every time it is called a new instance is created with the new configuration . @hide
@SuppressWarnings("GuardedBy")
    @RestrictTo(LIBRARY_GROUP)
    @VisibleForTesting
    public static EmojiCompat reset(@NonNull final Config config) {
        synchronized (sInstanceLock) {
            sInstance = new EmojiCompat(config);
        }
        return sInstance;
    }
@ SuppressWarnings ( "GuardedBy" ) @ RestrictTo ( LIBRARY_GROUP ) @ VisibleForTesting public static EmojiCompat reset ( @ NonNull final Config config ) { synchronized ( sInstanceLock ) { sInstance = new EmojiCompat ( config ) ; } return sInstance ; }
Used by the tests to reset EmojiCompat with a new configuration.
Used by the tests to reset EmojiCompat with a new configuration .