Create an overlay to add a photo and video deletion helper service.
This overlay defines a checkbox preference in the deletion helper for facilitating the deletion of photos and videos. The service which provides deletion clearing can be overridden and used to create a custom photo and video deletion helper. Bug: 28554187 Bug: 28560856 Change-Id: Id5d9671a307aaac0d1331f055b8f2ab7aa67977c
This commit is contained in:
@@ -61,6 +61,11 @@ public abstract class FeatureFactory {
|
||||
|
||||
public abstract SupportFeatureProvider getSupportFeatureProvider(Context context);
|
||||
|
||||
/**
|
||||
* Return a provider which adds additional deletion services to the Deletion Helper.
|
||||
*/
|
||||
public abstract DeletionHelperFeatureProvider getDeletionHelperFeatureProvider();
|
||||
|
||||
public static final class FactoryNotFoundException extends RuntimeException {
|
||||
public FactoryNotFoundException(Throwable throwable) {
|
||||
super("Unable to create factory. Did you misconfigure Proguard?", throwable);
|
||||
|
Reference in New Issue
Block a user