Merge "Add complications supportability to DreamInfo." into tm-qpr-dev
This commit is contained in:
@@ -55,6 +55,7 @@ public class DreamBackend {
|
|||||||
public ComponentName settingsComponentName;
|
public ComponentName settingsComponentName;
|
||||||
public CharSequence description;
|
public CharSequence description;
|
||||||
public Drawable previewImage;
|
public Drawable previewImage;
|
||||||
|
public boolean supportsComplications = false;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
@@ -175,6 +176,7 @@ public class DreamBackend {
|
|||||||
if (dreamMetadata != null) {
|
if (dreamMetadata != null) {
|
||||||
dreamInfo.settingsComponentName = dreamMetadata.settingsActivity;
|
dreamInfo.settingsComponentName = dreamMetadata.settingsActivity;
|
||||||
dreamInfo.previewImage = dreamMetadata.previewImage;
|
dreamInfo.previewImage = dreamMetadata.previewImage;
|
||||||
|
dreamInfo.supportsComplications = dreamMetadata.showComplications;
|
||||||
}
|
}
|
||||||
dreamInfos.add(dreamInfo);
|
dreamInfos.add(dreamInfo);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user