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

Commit 27e06cc2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Use new UnsupportedAppUsage annotation."

parents 1cde0795 6783dfb3
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -91,8 +91,8 @@ fi
rm src/*.class

# Add UnsupportedAppUsage.java to known sources.
mkdir -p out/android/annotation
cp ../../../../base/core/java/android/annotation/UnsupportedAppUsage.java out/android/annotation
mkdir -p out/android/compat/annotation
cp ../../../../../tools/platform-compat/annotation/src/java/android/compat/annotation/UnsupportedAppUsage.java out/android/compat/annotation

pushd out > /dev/null
mkdir classes
@@ -114,7 +114,7 @@ javac -d classes android/opengl/EGL14.java \
                    android/opengl/GLES31.java \
                    android/opengl/GLES31Ext.java \
                    android/opengl/GLES32.java \
                    android/annotation/UnsupportedAppUsage.java
                    android/compat/annotation/UnsupportedAppUsage.java
popd > /dev/null
JAVA_RESULT=$?
if [ $JAVA_RESULT -ne 0 ]; then
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@

package android.opengl;

import android.annotation.UnsupportedAppUsage;
import android.compat.annotation.UnsupportedAppUsage;
import android.graphics.SurfaceTexture;
import android.view.Surface;
import android.view.SurfaceView;
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@

package android.opengl;

import android.annotation.UnsupportedAppUsage;
import android.compat.annotation.UnsupportedAppUsage;

/** OpenGL ES 2.0
 */