Remove SUW activity
Change-Id: I3213a1141356c74a2d645184f9274f93006884a6
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 086d9c4..7c8bc12 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -40,23 +40,6 @@
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
- <!-- TODO: Change the icon to the app's icon once ready -->
- <activity
- android:name=".SetupWizardEditInfoActivity"
- android:icon="@drawable/ic_menu_add_dark"
- android:theme="@style/AppTheme">
- <intent-filter android:priority="10">
- <action android:name="android.intent.action.MAIN" />
- <category android:name="com.android.settings.suggested.category.EMERGENCY_INFO" />
- </intent-filter>
-
- <meta-data
- android:name="com.android.settings.title"
- android:resource="@string/emergency_info_title" />
- <meta-data
- android:name="com.android.settings.summary"
- android:resource="@string/emergency_info_summary" />
- </activity>
</application>
</manifest>
diff --git a/res/drawable-hdpi/ic_arrow_forward_white_24dp.png b/res/drawable-hdpi/ic_arrow_forward_white_24dp.png
deleted file mode 100644
index b8c16a3..0000000
--- a/res/drawable-hdpi/ic_arrow_forward_white_24dp.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-mdpi/ic_arrow_forward_white_24dp.png b/res/drawable-mdpi/ic_arrow_forward_white_24dp.png
deleted file mode 100644
index 552d40d..0000000
--- a/res/drawable-mdpi/ic_arrow_forward_white_24dp.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-xhdpi/ic_arrow_forward_white_24dp.png b/res/drawable-xhdpi/ic_arrow_forward_white_24dp.png
deleted file mode 100644
index 878b6e5..0000000
--- a/res/drawable-xhdpi/ic_arrow_forward_white_24dp.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-xxhdpi/ic_arrow_forward_white_24dp.png b/res/drawable-xxhdpi/ic_arrow_forward_white_24dp.png
deleted file mode 100644
index 8c4c394..0000000
--- a/res/drawable-xxhdpi/ic_arrow_forward_white_24dp.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-xxxhdpi/ic_arrow_forward_white_24dp.png b/res/drawable-xxxhdpi/ic_arrow_forward_white_24dp.png
deleted file mode 100644
index 5e93f88..0000000
--- a/res/drawable-xxxhdpi/ic_arrow_forward_white_24dp.png
+++ /dev/null
Binary files differ
diff --git a/res/menu/menu.xml b/res/menu/menu.xml
deleted file mode 100644
index 016f33a..0000000
--- a/res/menu/menu.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2014 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<menu xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto">
- <item
- android:id="@+id/action_next"
- android:icon="@drawable/ic_arrow_forward_white_24dp"
- android:contentDescription="@string/next"
- app:showAsAction="always" />
-</menu>
\ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 368f6d7..fc5dbad 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -36,11 +36,9 @@
<item>H/H</item>
<item>@string/default_summary_none</item>
</string-array>
-
<string name="allergies">Allergies</string>
<string name="allergies_hint">For example, peanuts, pollen</string>
- <string name="default_summary_none">None specified</string>
-
+ <string name="default_summary_none">Unknown</string>
<string name="medications">Medications</string>
<string name="medications_hint">For example, lisinopril, aspirin</string>
<string name="medical_conditions">Medical conditions and notes</string>
@@ -51,8 +49,6 @@
<item>No</item>
<item>@string/default_summary_none</item>
</string-array>
- <string name="readonly_title">Lockscreen view</string>
-
<string name="emergency_contacts_title">Emergency contacts</string>
<string name="add_emergency_contact">Add emergency contact</string>
<string-array name="choose_create_contact_values">
@@ -71,7 +67,4 @@
</string>
<string name="phone_number_error">No phone number available for this contact</string>
<string name="edit_emergency_info">Edit emergency information</string>
- <string name="next">Next</string>
- <string name="emergency_info_title">In case of emergency</string>
- <string name="emergency_info_summary">Emergency information for first responders</string>
</resources>
diff --git a/src/com/android/emergency/SetupWizardEditInfoActivity.java b/src/com/android/emergency/SetupWizardEditInfoActivity.java
deleted file mode 100644
index 463e2cf..0000000
--- a/src/com/android/emergency/SetupWizardEditInfoActivity.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Copyright (C) 2016 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.android.emergency;
-
-import android.app.Activity;
-import android.os.Bundle;
-import android.view.Menu;
-import android.view.MenuInflater;
-import android.view.MenuItem;
-
-
-/**
- * Extends the {@link EditInfoActivity} with an extra navigation button to go to the next screen in
- * the setup wizard.
- */
-public class SetupWizardEditInfoActivity extends EditInfoActivity {
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- }
-
- @Override
- public boolean onCreateOptionsMenu(Menu menu) {
- MenuInflater inflater = getMenuInflater();
- inflater.inflate(R.menu.menu, menu);
- return true;
- }
-
- @Override
- public boolean onOptionsItemSelected(MenuItem item) {
- switch (item.getItemId()) {
- case R.id.action_next:
- setResult(Activity.RESULT_OK);
- finish();
- return true;
- }
- return super.onOptionsItemSelected(item);
- }
-}