summaryrefslogtreecommitdiff
path: root/android/content/pm/FeatureInfo.java
diff options
context:
space:
mode:
Diffstat (limited to 'android/content/pm/FeatureInfo.java')
-rw-r--r--android/content/pm/FeatureInfo.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/android/content/pm/FeatureInfo.java b/android/content/pm/FeatureInfo.java
index ff9fd8ec..9ee6fa24 100644
--- a/android/content/pm/FeatureInfo.java
+++ b/android/content/pm/FeatureInfo.java
@@ -18,7 +18,6 @@ package android.content.pm;
import android.os.Parcel;
import android.os.Parcelable;
-import android.util.proto.ProtoOutputStream;
/**
* Definition of a single optional hardware or software feature of an Android
@@ -114,18 +113,6 @@ public class FeatureInfo implements Parcelable {
dest.writeInt(flags);
}
- /** @hide */
- public void writeToProto(ProtoOutputStream proto, long fieldId) {
- long token = proto.start(fieldId);
- if (name != null) {
- proto.write(FeatureInfoProto.NAME, name);
- }
- proto.write(FeatureInfoProto.VERSION, version);
- proto.write(FeatureInfoProto.GLES_VERSION, getGlEsVersion());
- proto.write(FeatureInfoProto.FLAGS, flags);
- proto.end(token);
- }
-
public static final Creator<FeatureInfo> CREATOR = new Creator<FeatureInfo>() {
@Override
public FeatureInfo createFromParcel(Parcel source) {