Display setting and support in a tab layout - DO NOT MERGE
Bug: 28269035 Bug: 28139604
This commit is contained in:
@@ -59,6 +59,8 @@ public abstract class FeatureFactory {
|
||||
return sFactory;
|
||||
}
|
||||
|
||||
public abstract SupportFeatureProvider getSupportFeatureProvider();
|
||||
|
||||
public static final class FactoryNotFoundException extends RuntimeException {
|
||||
public FactoryNotFoundException(Throwable throwable) {
|
||||
super("Unable to create factory. Did you misconfigure Proguard?", throwable);
|
||||
|
@@ -19,5 +19,11 @@ package com.android.settings.overlay;
|
||||
/**
|
||||
* {@link FeatureFactory} implementation for AOSP Settings.
|
||||
*/
|
||||
public class FeatureFactoryImpl extends FeatureFactory {
|
||||
public final class FeatureFactoryImpl extends FeatureFactory {
|
||||
|
||||
@Override
|
||||
public SupportFeatureProvider getSupportFeatureProvider() {
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1,8 @@
|
||||
package com.android.settings.overlay;
|
||||
|
||||
/**
|
||||
* Feature provider for support tab.
|
||||
*/
|
||||
public interface SupportFeatureProvider {
|
||||
|
||||
}
|
Reference in New Issue
Block a user