Remove ToastController.
Wasn't meant to be submitted.
Change-Id: Icc94daaf47ed85cefb59f20928241ef38d5ee2ca
(cherry picked from commit 17047d1939
)
This commit is contained in:
@@ -16,20 +16,8 @@
|
||||
|
||||
package com.android.settings.overlay;
|
||||
|
||||
import android.content.Context;
|
||||
import android.widget.Toast;
|
||||
|
||||
/**
|
||||
* {@link FeatureFactory} implementation for AOSP Settings.
|
||||
*/
|
||||
public class FeatureFactoryImpl extends FeatureFactory {
|
||||
@Override
|
||||
public ToastController createToastController() {
|
||||
return new ToastController() {
|
||||
@Override
|
||||
public void makeToast(Context context) {
|
||||
Toast.makeText(context, "Here's a piece of AOSP toast", Toast.LENGTH_LONG).show();
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user