Merge "Add complications supportability to DreamInfo." into tm-qpr-dev am: c809831de6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21452928 Change-Id: Id5e590d834dd8026094ea3ca2690964ad6a08abf Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -55,6 +55,7 @@ public class DreamBackend {
|
||||
public ComponentName settingsComponentName;
|
||||
public CharSequence description;
|
||||
public Drawable previewImage;
|
||||
public boolean supportsComplications = false;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
@@ -175,6 +176,7 @@ public class DreamBackend {
|
||||
if (dreamMetadata != null) {
|
||||
dreamInfo.settingsComponentName = dreamMetadata.settingsActivity;
|
||||
dreamInfo.previewImage = dreamMetadata.previewImage;
|
||||
dreamInfo.supportsComplications = dreamMetadata.showComplications;
|
||||
}
|
||||
dreamInfos.add(dreamInfo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user