Make Rating.RATING_UNSET
package-private
This value is only needed by subclasses of `Rating`, all of which are in this package (the `Rating` constructor is already package-private to ensure this). PiperOrigin-RevId: 450886872
This commit is contained in:
parent
cb04297420
commit
c6ed7c4bcb
@ -32,7 +32,7 @@ import java.lang.annotation.Target;
|
||||
public abstract class Rating implements Bundleable {
|
||||
|
||||
/** A float value that denotes the rating is unset. */
|
||||
public static final float RATING_UNSET = -1.0f;
|
||||
/* package */ static final float RATING_UNSET = -1.0f;
|
||||
|
||||
// Default package-private constructor to prevent extending Rating class outside this package.
|
||||
/* package */ Rating() {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user