Defining the list of predefined device profiles in xml.

This allows the profiles to be easily customized by derivatives.

Change-Id: Iaec2b7a0eda34581c8e48b7dc44817013632dabe
This commit is contained in:
Sunny Goyal
2016-07-07 16:43:58 -07:00
parent e49a97aba0
commit 819e1936bb
4 changed files with 265 additions and 33 deletions

View File

@@ -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