Remove "platform_slice" attribute from Settings.
Bug: 126222433 Test: robo Change-Id: I05beec7d3e3ec713c40740a1adbcacaee88237b5
This commit is contained in:
@@ -71,8 +71,6 @@ public class SliceData {
|
||||
@SliceType
|
||||
private final int mSliceType;
|
||||
|
||||
private final boolean mIsPlatformDefined;
|
||||
|
||||
private final String mUnavailableSliceSubtitle;
|
||||
|
||||
public String getKey() {
|
||||
@@ -115,10 +113,6 @@ public class SliceData {
|
||||
return mSliceType;
|
||||
}
|
||||
|
||||
public boolean isPlatformDefined() {
|
||||
return mIsPlatformDefined;
|
||||
}
|
||||
|
||||
public String getUnavailableSliceSubtitle() {
|
||||
return mUnavailableSliceSubtitle;
|
||||
}
|
||||
@@ -134,7 +128,6 @@ public class SliceData {
|
||||
mUri = builder.mUri;
|
||||
mPreferenceController = builder.mPrefControllerClassName;
|
||||
mSliceType = builder.mSliceType;
|
||||
mIsPlatformDefined = builder.mIsPlatformDefined;
|
||||
mUnavailableSliceSubtitle = builder.mUnavailableSliceSubtitle;
|
||||
}
|
||||
|
||||
@@ -173,8 +166,6 @@ public class SliceData {
|
||||
|
||||
private int mSliceType;
|
||||
|
||||
private boolean mIsPlatformDefined;
|
||||
|
||||
private String mUnavailableSliceSubtitle;
|
||||
|
||||
public Builder setKey(String key) {
|
||||
@@ -227,11 +218,6 @@ public class SliceData {
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder setPlatformDefined(boolean isPlatformDefined) {
|
||||
mIsPlatformDefined = isPlatformDefined;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder setUnavailableSliceSubtitle(
|
||||
String unavailableSliceSubtitle) {
|
||||
mUnavailableSliceSubtitle = unavailableSliceSubtitle;
|
||||
|
||||
Reference in New Issue
Block a user