summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2016-07-07 16:43:58 -0700
committerSunny Goyal <sunnygoyal@google.com>2016-07-07 16:57:49 -0700
commit819e1936bba39219a8fb2ceef5d172ca667e6658 (patch)
treeedcba764dd55cf94b765604a3937fd42c01d8818 /tests
parente49a97aba08ac5a5a3de2c09cc2ae027a13f7d75 (diff)
downloadandroid_packages_apps_Trebuchet-819e1936bba39219a8fb2ceef5d172ca667e6658.tar.gz
android_packages_apps_Trebuchet-819e1936bba39219a8fb2ceef5d172ca667e6658.tar.bz2
android_packages_apps_Trebuchet-819e1936bba39219a8fb2ceef5d172ca667e6658.zip
Defining the list of predefined device profiles in xml.
This allows the profiles to be easily customized by derivatives. Change-Id: Iaec2b7a0eda34581c8e48b7dc44817013632dabe
Diffstat (limited to 'tests')
-rw-r--r--tests/src/com/android/launcher3/InvariantDeviceProfileTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/com/android/launcher3/InvariantDeviceProfileTest.java b/tests/src/com/android/launcher3/InvariantDeviceProfileTest.java
index 35f686f55..230d623e9 100644
--- a/tests/src/com/android/launcher3/InvariantDeviceProfileTest.java
+++ b/tests/src/com/android/launcher3/InvariantDeviceProfileTest.java
@@ -41,7 +41,7 @@ public class InvariantDeviceProfileTest extends AndroidTestCase {
protected void setUp() throws Exception {
super.setUp();
mInvariantProfile = new InvariantDeviceProfile(getContext());
- mPredefinedDeviceProfiles = mInvariantProfile.getPredefinedDeviceProfiles();
+ mPredefinedDeviceProfiles = mInvariantProfile.getPredefinedDeviceProfiles(getContext());
}
@Override