summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Font.java
diff options
context:
space:
mode:
authorXusong Wang <xusongw@google.com>2021-01-05 10:09:52 -0800
committerXusong Wang <xusongw@google.com>2021-03-01 10:20:09 -0800
commit8b4548c43a06290b5d9446c0235e65f21e9bfe5d (patch)
tree9ece9eded5cc01b1c5caf496dfbf9212913c0268 /rs/java/android/renderscript/Font.java
parent99051f249a809c856f5ded170bb2bdd8b9fd43d1 (diff)
Deprecate RS Java APIs.
This CL marks RenderScript Java APIs as deprecated. Bug: 168711199 Test: m Test: CtsRenderscriptTestCases Test: CtsRsCppTestCases Test: CtsRsBlasTestCases Change-Id: Id271a794679d445c480d62c87ae6c8150f6901f8
Diffstat (limited to 'rs/java/android/renderscript/Font.java')
-rw-r--r--rs/java/android/renderscript/Font.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/rs/java/android/renderscript/Font.java b/rs/java/android/renderscript/Font.java
index e47ec4b31700..6f6f341d78a6 100644
--- a/rs/java/android/renderscript/Font.java
+++ b/rs/java/android/renderscript/Font.java
@@ -45,6 +45,7 @@ import java.util.Map;
* them in the script to suit the user's rendering needs. Font colors work as a state machine.
* Every new call to draw text uses the last color set in the script.</p>
**/
+@Deprecated
public class Font extends BaseObj {
//These help us create a font by family name