diff options
| author | 2024-05-16 20:10:54 +0000 | |
|---|---|---|
| committer | 2024-05-16 20:10:54 +0000 | |
| commit | 443ac02ec044ed8864570d1e8db794bc0ddae079 (patch) | |
| tree | 26280080b17b42697e98c6fca8dca2f24680e16c | |
| parent | bdb7f9bca9417a40775f3c76def070e2c4db4800 (diff) | |
| parent | d93ecf3a05703cc82cb80dee4bb43378dae6905b (diff) | |
Merge "Better comment for ExtraNative" into main
| -rw-r--r-- | graphics/java/android/graphics/ColorSpace.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/java/android/graphics/ColorSpace.java b/graphics/java/android/graphics/ColorSpace.java index 9284c0e5b928..4bc3ecebb067 100644 --- a/graphics/java/android/graphics/ColorSpace.java +++ b/graphics/java/android/graphics/ColorSpace.java @@ -2493,7 +2493,11 @@ public abstract class ColorSpace { return mNativePtr; } - /** Need a nested class due to b/337329128. */ + /** + * These methods can't be put in the Rgb class directly, because ColorSpace's + * static initializer instantiates Rgb, whose constructor needs them, which is a variation + * of b/337329128. + */ static class Native { static native long nativeGetNativeFinalizer(); static native long nativeCreate(float a, float b, float c, float d, |