Skip to content

Commit

Permalink
Reduce visibility of ModuleDataCleaner
Browse files Browse the repository at this point in the history
Summary:
As part of sustainability week effort for switching to internal here:

https://fb.workplace.com/groups/251759413609061/permalink/872342228217440/

Reducing visibility of ModuleDataCleaner from public to internal

Changelog:
[Android] [Breaking] - Stable API - Make ModuleDataCleaner internal

Differential Revision: D65558278
  • Loading branch information
arushikesarwani94 authored and facebook-github-bot committed Nov 6, 2024
1 parent 147e6c3 commit fa8571b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions packages/react-native/ReactAndroid/api/ReactAndroid.api
Original file line number Diff line number Diff line change
Expand Up @@ -3048,15 +3048,6 @@ public final class com/facebook/react/modules/camera/ImageStoreManager : com/fac
public final class com/facebook/react/modules/camera/ImageStoreManager$Companion {
}

public final class com/facebook/react/modules/common/ModuleDataCleaner {
public static final field INSTANCE Lcom/facebook/react/modules/common/ModuleDataCleaner;
public static final fun cleanDataFromModules (Lcom/facebook/react/bridge/ReactContext;)V
}

public abstract interface class com/facebook/react/modules/common/ModuleDataCleaner$Cleanable {
public abstract fun clearSensitiveData ()V
}

public class com/facebook/react/modules/core/ChoreographerCompat {
public fun <init> ()V
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import com.facebook.react.common.ReactConstants
* Cleans sensitive user data from native modules that implement the [Cleanable] interface. This is
* useful e.g. when a user logs out from an app.
*/
public object ModuleDataCleaner {
internal object ModuleDataCleaner {

@JvmStatic
public fun cleanDataFromModules(reactContext: ReactContext) {
Expand Down

0 comments on commit fa8571b

Please sign in to comment.