Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 58204be5 authored by Alan Viverette's avatar Alan Viverette
Browse files

Remove incorrect ColorInt annotations

These methods return [0,255], not a packed color.

Change-Id: I5bad2948a6bc7188d9521098fc030c8905714c48
parent c91edfaf
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -54,7 +54,6 @@ public class Color {
     * Return the alpha component of a color int. This is the same as saying
     * color >>> 24
     */
    @ColorInt
    public static int alpha(int color) {
        return color >>> 24;
    }
@@ -63,7 +62,6 @@ public class Color {
     * Return the red component of a color int. This is the same as saying
     * (color >> 16) & 0xFF
     */
    @ColorInt
    public static int red(int color) {
        return (color >> 16) & 0xFF;
    }
@@ -72,7 +70,6 @@ public class Color {
     * Return the green component of a color int. This is the same as saying
     * (color >> 8) & 0xFF
     */
    @ColorInt
    public static int green(int color) {
        return (color >> 8) & 0xFF;
    }
@@ -81,7 +78,6 @@ public class Color {
     * Return the blue component of a color int. This is the same as saying
     * color & 0xFF
     */
    @ColorInt
    public static int blue(int color) {
        return color & 0xFF;
    }