log visibility of views
Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
This commit is contained in:
@@ -21,6 +21,7 @@ import android.content.Context;
|
||||
import android.content.pm.ActivityInfo;
|
||||
import android.os.AsyncTask;
|
||||
import android.service.persistentdata.PersistentDataBlockManager;
|
||||
import com.android.internal.logging.MetricsLogger;
|
||||
import com.android.internal.os.storage.ExternalStorageFormatter;
|
||||
|
||||
import android.app.Fragment;
|
||||
@@ -42,7 +43,7 @@ import android.widget.Button;
|
||||
*
|
||||
* This is the confirmation screen.
|
||||
*/
|
||||
public class MasterClearConfirm extends Fragment {
|
||||
public class MasterClearConfirm extends InstrumentedFragment {
|
||||
|
||||
private View mContentView;
|
||||
private boolean mEraseSdCard;
|
||||
@@ -144,4 +145,9 @@ public class MasterClearConfirm extends Fragment {
|
||||
Bundle args = getArguments();
|
||||
mEraseSdCard = args != null && args.getBoolean(MasterClear.ERASE_EXTERNAL_EXTRA);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getMetricsCategory() {
|
||||
return MetricsLogger.MASTER_CLEAR_CONFIRM;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user