Skip to content

Commit

Permalink
Kotlinify MemoryPressure* (facebook#43961)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#43961

## Changelog:
[Internal] -

As in the title.

Differential Revision: https://internalfb.com/D55866117
  • Loading branch information
rshest authored and facebook-github-bot committed Apr 8, 2024
1 parent 40710d5 commit a9d0a0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
* LICENSE file in the root directory of this source tree.
*/

package com.facebook.react.bridge;
package com.facebook.react.bridge

public enum MemoryPressure {
public enum class MemoryPressure {
UI_HIDDEN,
MODERATE,
CRITICAL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
* LICENSE file in the root directory of this source tree.
*/

package com.facebook.react.bridge;
package com.facebook.react.bridge

/** Listener interface for memory pressure events. */
public interface MemoryPressureListener {

/** Called when the system generates a memory warning. */
void handleMemoryPressure(int level);
public fun handleMemoryPressure(level: Int)
}

0 comments on commit a9d0a0c

Please sign in to comment.