From 7fea2e264e2e793586bb999ee80897d488e62141 Mon Sep 17 00:00:00 2001 From: Clara Bayarri Date: Thu, 20 Apr 2017 11:31:15 +0100 Subject: [PATCH] Api Council: hide FontsContract.Columns constructor Bug: 37515256 Test: none Change-Id: I2a9de7ea30ffa39af5104977f6604ce3bda220fb --- api/current.txt | 1 - api/system-current.txt | 1 - api/test-current.txt | 1 - core/java/android/provider/FontsContract.java | 4 ++++ 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/api/current.txt b/api/current.txt index 20d249dabe687..bf6d780ef81ac 100644 --- a/api/current.txt +++ b/api/current.txt @@ -34499,7 +34499,6 @@ package android.provider { } public static final class FontsContract.Columns implements android.provider.BaseColumns { - ctor public FontsContract.Columns(); field public static final java.lang.String FILE_ID = "file_id"; field public static final java.lang.String ITALIC = "font_italic"; field public static final java.lang.String RESULT_CODE = "result_code"; diff --git a/api/system-current.txt b/api/system-current.txt index 035d80ac36f16..fab32b97e0e06 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -37486,7 +37486,6 @@ package android.provider { } public static final class FontsContract.Columns implements android.provider.BaseColumns { - ctor public FontsContract.Columns(); field public static final java.lang.String FILE_ID = "file_id"; field public static final java.lang.String ITALIC = "font_italic"; field public static final java.lang.String RESULT_CODE = "result_code"; diff --git a/api/test-current.txt b/api/test-current.txt index f37ef916efe37..c4ca79796e268 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -34634,7 +34634,6 @@ package android.provider { } public static final class FontsContract.Columns implements android.provider.BaseColumns { - ctor public FontsContract.Columns(); field public static final java.lang.String FILE_ID = "file_id"; field public static final java.lang.String ITALIC = "font_italic"; field public static final java.lang.String RESULT_CODE = "result_code"; diff --git a/core/java/android/provider/FontsContract.java b/core/java/android/provider/FontsContract.java index e9ef770212c87..2c6f7fc4e36b4 100644 --- a/core/java/android/provider/FontsContract.java +++ b/core/java/android/provider/FontsContract.java @@ -78,6 +78,10 @@ public class FontsContract { * client application. */ public static final class Columns implements BaseColumns { + + // Do not instantiate. + private Columns() {} + /** * Constant used to request data from a font provider. The cursor returned from the query * may populate this column with a long for the font file ID. The client will request a file