Merge "Update testcases which failed due to the SupportLibrary changed"

This commit is contained in:
TreeHugger Robot
2019-06-14 03:11:33 +00:00
committed by Android (Google) Code Review
14 changed files with 87 additions and 27 deletions

View File

@@ -16,6 +16,8 @@
package com.android.settings.testutils.shadow;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import org.robolectric.annotation.Implementation;
@@ -26,6 +28,11 @@ public class ShadowFragment {
private Fragment mTargetFragment;
@Implementation
public void onCreate(Bundle icicle) {
// do nothing
}
@Implementation
protected void setTargetFragment(Fragment fragment, int requestCode) {
mTargetFragment = fragment;