Move native registries to their own inner classes
Having native methods called in the static initalization of the class that defines them is problematic for the native registration on host JVM. This moves the registries into their own inner classes to avoid this issue. Bug: 337329128 Test: N/A Change-Id: Id767661d4da38f53c112bb1376798141b38d2c6c
Showing
- graphics/java/android/graphics/FontFamily.java 14 additions, 10 deletionsgraphics/java/android/graphics/FontFamily.java
- graphics/java/android/graphics/fonts/Font.java 11 additions, 9 deletionsgraphics/java/android/graphics/fonts/Font.java
- graphics/java/android/graphics/fonts/FontFamily.java 6 additions, 4 deletionsgraphics/java/android/graphics/fonts/FontFamily.java
- graphics/java/android/graphics/text/LineBreaker.java 6 additions, 4 deletionsgraphics/java/android/graphics/text/LineBreaker.java
- graphics/java/android/graphics/text/PositionedGlyphs.java 6 additions, 4 deletionsgraphics/java/android/graphics/text/PositionedGlyphs.java
Please register or sign in to comment