Rename RestoreActivity to RestoreFragment as it is a Fragment

Change-Id: I8a4f413c0dfa94101487268ea47245177049ae86
diff --git a/app/src/main/java/com/google/reviewit/DetailedChangeFragment.java b/app/src/main/java/com/google/reviewit/DetailedChangeFragment.java
index bc5e54b..f99d812 100644
--- a/app/src/main/java/com/google/reviewit/DetailedChangeFragment.java
+++ b/app/src/main/java/com/google/reviewit/DetailedChangeFragment.java
@@ -253,7 +253,7 @@
         startActivity(new Intent(getActivity(), MainActivity.class));
         return true;
       case R.id.action_restore:
-        display(RestoreActivity.create(getClass()));
+        display(RestoreFragment.create(getClass()));
         return true;
       case R.id.action_skip:
         actionHandler.skip();
diff --git a/app/src/main/java/com/google/reviewit/RestoreActivity.java b/app/src/main/java/com/google/reviewit/RestoreFragment.java
similarity index 93%
rename from app/src/main/java/com/google/reviewit/RestoreActivity.java
rename to app/src/main/java/com/google/reviewit/RestoreFragment.java
index ba729de..b586d55 100644
--- a/app/src/main/java/com/google/reviewit/RestoreActivity.java
+++ b/app/src/main/java/com/google/reviewit/RestoreFragment.java
@@ -27,13 +27,13 @@
 /**
  * Fragment to restore a change.
  */
-public class RestoreActivity extends BaseFragment
+public class RestoreFragment extends BaseFragment
     implements OnBackPressedAware {
   private static final String ORIGIN =
-      "com.google.reviewit.RestoreActivity.ORIGIN";
+      "com.google.reviewit.RestoreFragment.ORIGIN";
 
-  public static RestoreActivity create(Class<? extends Fragment> origin) {
-    RestoreActivity fragment = new RestoreActivity();
+  public static RestoreFragment create(Class<? extends Fragment> origin) {
+    RestoreFragment fragment = new RestoreFragment();
     Bundle bundle = new Bundle();
     bundle.putSerializable(ORIGIN, origin);
     fragment.setArguments(bundle);
diff --git a/app/src/main/java/com/google/reviewit/SortChangesFragment.java b/app/src/main/java/com/google/reviewit/SortChangesFragment.java
index da93229..df116a0 100644
--- a/app/src/main/java/com/google/reviewit/SortChangesFragment.java
+++ b/app/src/main/java/com/google/reviewit/SortChangesFragment.java
@@ -563,7 +563,7 @@
         reloadQuery();
         return true;
       case R.id.action_restore:
-        display(RestoreActivity.create(getClass()));
+        display(RestoreFragment.create(getClass()));
         return true;
       case R.id.action_undo:
         undo();
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index f6707ec..68e7525 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -222,7 +222,7 @@
   <string name="abandon_error">Abandon failed with %1$d %2$s</string>
   <string name="reason">Reason:</string>
 
-  <!-- RestoreActivity -->
+  <!-- RestoreFragment -->
   <string name="title_activity_restore">Restore Change</string>
   <string name="restore_change_title">Restore Change %1$d</string>
   <string name="restore">Restore</string>