summaryrefslogtreecommitdiff
path: root/tests/Internal/src
diff options
context:
space:
mode:
authorLucas Dupin <dupin@google.com>2018-07-27 16:47:45 +0800
committerLucas Dupin <dupin@google.com>2018-07-30 10:42:06 +0800
commit8f09a5057eac1d3fe328fbfcfa7442984270fb69 (patch)
tree67cfb8f8ad7ce6a02476fe6ce2f26020058ba8d7 /tests/Internal/src
parent9016f92178c1128a9439cb3242316c84f2362b07 (diff)
Expose Ambient Wallpaper API
In P we introduced a private concept of AOD wallpapers, in Q we're making it a public surface. Bug: 111395593 Test: make Change-Id: I4c406386f0ee15dc8734a24b040482b6cb807126
Diffstat (limited to 'tests/Internal/src')
-rw-r--r--tests/Internal/src/android/app/WallpaperInfoTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Internal/src/android/app/WallpaperInfoTest.java b/tests/Internal/src/android/app/WallpaperInfoTest.java
index 9d26270fb96a..98045ae98541 100644
--- a/tests/Internal/src/android/app/WallpaperInfoTest.java
+++ b/tests/Internal/src/android/app/WallpaperInfoTest.java
@@ -55,13 +55,13 @@ public class WallpaperInfoTest {
// Defined as true in the XML
assertTrue("supportsAmbientMode should be true, as defined in the XML.",
- wallpaperInfo.getSupportsAmbientMode());
+ wallpaperInfo.supportsAmbientMode());
Parcel parcel = Parcel.obtain();
wallpaperInfo.writeToParcel(parcel, 0 /* flags */);
parcel.setDataPosition(0);
WallpaperInfo fromParcel = WallpaperInfo.CREATOR.createFromParcel(parcel);
assertTrue("supportsAmbientMode should have been restored from parcelable",
- fromParcel.getSupportsAmbientMode());
+ fromParcel.supportsAmbientMode());
parcel.recycle();
}
}