[go: nahoru, domu]

Remove SupportAppNavigation.

This app has not been touched since 2012 when it was
added and is not really serving a purpose now with the new
navigation library as the suggested flow.

Test: None
Change-Id: I57d694566ad7efa52231c74705fea806cdb0750d
diff --git a/samples/SupportAppNavigation/build.gradle b/samples/SupportAppNavigation/build.gradle
deleted file mode 100644
index 35bb05a..0000000
--- a/samples/SupportAppNavigation/build.gradle
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Copyright (C) 2017 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.
- */
-
-plugins {
-    id("AndroidXPlugin")
-    id("com.android.application")
-}
-
-dependencies {
-    implementation("androidx.core:core:1.1.0-rc01")
-}
diff --git a/samples/SupportAppNavigation/lint-baseline.xml b/samples/SupportAppNavigation/lint-baseline.xml
deleted file mode 100644
index 1896a5ca..0000000
--- a/samples/SupportAppNavigation/lint-baseline.xml
+++ /dev/null
@@ -1,95 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="4" by="lint 3.0.0">
-
-    <issue
-        id="AllowBackup"
-        message="On SDK version 23 and up, your app data will be automatically backed up and restored on app install. Consider adding the attribute `android:fullBackupContent` to specify an `@xml` resource which configures which files to backup. More info: https://developer.android.com/training/backup/autosyncapi.html"
-        errorLine1="    &lt;application android:label=&quot;@string/app_name&quot;>"
-        errorLine2="    ^">
-        <location
-            file="src/main/AndroidManifest.xml"
-            line="21"
-            column="5"/>
-    </issue>
-
-    <issue
-        id="AllowBackup"
-        message="Should explicitly set `android:allowBackup` to `true` or `false` (it&apos;s `true` by default, and that can have some security implications for the application&apos;s data)"
-        errorLine1="    &lt;application android:label=&quot;@string/app_name&quot;>"
-        errorLine2="    ^">
-        <location
-            file="src/main/AndroidManifest.xml"
-            line="21"
-            column="5"/>
-    </issue>
-
-    <issue
-        id="ObsoleteSdkInt"
-        message="Unnecessary; SDK_INT is always >= 14"
-        errorLine1="        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {"
-        errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
-        <location
-            file="src/main/java/com/example/android/support/appnavigation/app/ActionBarCompat.java"
-            line="38"
-            column="13"/>
-    </issue>
-
-    <issue
-        id="ObsoleteSdkInt"
-        message="This folder configuration (`v11`) is unnecessary; `minSdkVersion` is 14. Merge all the resources in this folder into `values`.">
-        <location
-            file="src/main/res/values-v11"/>
-    </issue>
-
-    <issue
-        id="ObsoleteSdkInt"
-        message="This folder configuration (`v14`) is unnecessary; `minSdkVersion` is 14. Merge all the resources in this folder into `values`.">
-        <location
-            file="src/main/res/values-v14"/>
-    </issue>
-
-    <issue
-        id="MissingApplicationIcon"
-        message="Should explicitly set `android:icon`, there is no default"
-        errorLine1="    &lt;application android:label=&quot;@string/app_name&quot;>"
-        errorLine2="    ^">
-        <location
-            file="src/main/AndroidManifest.xml"
-            line="21"
-            column="5"/>
-    </issue>
-
-    <issue
-        id="AppLinkUrlError"
-        message="Missing URL"
-        errorLine1="            &lt;intent-filter>"
-        errorLine2="            ^">
-        <location
-            file="src/main/AndroidManifest.xml"
-            line="72"
-            column="13"/>
-    </issue>
-
-    <issue
-        id="SetTextI18n"
-        message="String literal in `setText` can not be translated. Use Android resources instead."
-        errorLine1="            tv.setText(&quot;Viewing content from ACTION_VIEW&quot;);"
-        errorLine2="                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
-        <location
-            file="src/main/java/com/example/android/support/appnavigation/app/ContentViewActivity.java"
-            line="44"
-            column="24"/>
-    </issue>
-
-    <issue
-        id="SetTextI18n"
-        message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
-        errorLine1="        tv.setText(getResources().getText(R.string.peer_count).toString() + mPeerCount);"
-        errorLine2="                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
-        <location
-            file="src/main/java/com/example/android/support/appnavigation/app/PeerActivity.java"
-            line="45"
-            column="20"/>
-    </issue>
-
-</issues>
diff --git a/samples/SupportAppNavigation/src/main/AndroidManifest.xml b/samples/SupportAppNavigation/src/main/AndroidManifest.xml
deleted file mode 100644
index 4681b33..0000000
--- a/samples/SupportAppNavigation/src/main/AndroidManifest.xml
+++ /dev/null
@@ -1,113 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 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.
--->
-
-<manifest android:versionCode="1"
-        android:versionName="1"
-        xmlns:android="http://schemas.android.com/apk/res/android"
-        package="com.example.android.support.appnavigation">
-    <application android:label="@string/app_name">
-        <activity android:name=".app.AppNavHomeActivity"
-                android:label="@string/app_nav_home_label">
-            <intent-filter>
-                <action android:name="android.intent.action.MAIN" />
-                <category android:name="android.intent.category.LAUNCHER" />
-            </intent-filter>
-        </activity>
-
-        <activity android:name=".app.SimpleUpActivity"
-                  android:label="@string/simple_up_label">
-            <intent-filter>
-                <action android:name="android.intent.action.MAIN" />
-                <category android:name="android.intent.category.SAMPLE_CODE" />
-            </intent-filter>
-            <meta-data android:name="android.support.PARENT_ACTIVITY"
-                       android:value=".app.AppNavHomeActivity" />
-        </activity>
-
-        <activity android:name=".app.PeerActivity"
-                  android:label="@string/peer_label">
-            <intent-filter>
-                <action android:name="android.intent.action.MAIN" />
-                <category android:name="android.intent.category.SAMPLE_CODE" />
-            </intent-filter>
-            <meta-data android:name="android.support.PARENT_ACTIVITY"
-                       android:value=".app.AppNavHomeActivity" />
-        </activity>
-
-        <activity android:name=".app.ViewFromOtherTaskActivity"
-                  android:label="@string/view_from_other_task_label">
-            <intent-filter>
-                <action android:name="android.intent.action.MAIN" />
-                <category android:name="android.intent.category.SAMPLE_CODE" />
-            </intent-filter>
-            <meta-data android:name="android.support.PARENT_ACTIVITY"
-                       android:value=".app.AppNavHomeActivity" />
-        </activity>
-
-        <activity android:name=".app.OutsideTaskActivity"
-                  android:label="@string/outside_task_label"
-                  android:theme="@style/Theme.Light"
-                  android:taskAffinity="com.example.android.appnavigation.outsidetask">
-            <intent-filter>
-                <action android:name="android.intent.action.MAIN" />
-                <category android:name="android.intent.category.DEFAULT" />
-            </intent-filter>
-        </activity>
-
-        <activity android:name=".app.ContentViewActivity"
-                  android:label="@string/content_view_label">
-            <intent-filter>
-                <action android:name="android.intent.action.MAIN" />
-                <action android:name="android.intent.action.VIEW" />
-                <data android:mimeType="application/x-example" />
-                <category android:name="android.intent.category.DEFAULT" />
-            </intent-filter>
-            <meta-data android:name="android.support.PARENT_ACTIVITY"
-                       android:value=".app.ContentCategoryActivity" />
-        </activity>
-
-        <activity android:name=".app.ContentCategoryActivity"
-                  android:label="@string/content_category_label">
-            <intent-filter>
-                <action android:name="android.intent.action.MAIN" />
-                <category android:name="android.intent.category.SAMPLE_CODE" />
-            </intent-filter>
-            <meta-data android:name="android.support.PARENT_ACTIVITY"
-                       android:value=".app.AppNavHomeActivity" />
-        </activity>
-
-        <activity android:name=".app.NotificationsActivity"
-                  android:label="@string/notifications_label">
-            <intent-filter>
-                <action android:name="android.intent.action.MAIN" />
-                <category android:name="android.intent.category.SAMPLE_CODE" />
-            </intent-filter>
-            <meta-data android:name="android.support.PARENT_ACTIVITY"
-                       android:value=".app.AppNavHomeActivity" />
-        </activity>
-
-        <activity android:name=".app.InterstitialMessageActivity"
-                  android:label="@string/interstitial_label"
-                  android:theme="@style/Theme.Dialog"
-                  android:launchMode="singleTask"
-                  android:excludeFromRecents="true"
-                  android:taskAffinity="">
-            <intent-filter>
-                <action android:name="android.intent.action.MAIN" />
-            </intent-filter>
-        </activity>
-    </application>
-</manifest>
diff --git a/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/AppNavHomeActivity.java b/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/AppNavHomeActivity.java
deleted file mode 100644
index 17f4d5b..0000000
--- a/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/AppNavHomeActivity.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/*
- * Copyright (C) 2012 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.example.android.support.appnavigation.app;
-
-import android.app.ListActivity;
-import android.content.Intent;
-import android.content.pm.PackageManager;
-import android.content.pm.ResolveInfo;
-import android.os.Bundle;
-import android.view.View;
-import android.view.ViewGroup;
-import android.widget.BaseAdapter;
-import android.widget.ListView;
-import android.widget.TextView;
-
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * Home activity for app navigation code samples.
- */
-public class AppNavHomeActivity extends ListActivity {
-    @Override
-    protected void onCreate(Bundle savedInstanceState) {
-        super.onCreate(savedInstanceState);
-
-        setListAdapter(new SampleAdapter(querySampleActivities()));
-    }
-
-    @Override
-    protected void onListItemClick(ListView lv, View v, int pos, long id) {
-        SampleInfo info = (SampleInfo) getListAdapter().getItem(pos);
-        startActivity(info.intent);
-    }
-
-    protected List<SampleInfo> querySampleActivities() {
-        Intent intent = new Intent(Intent.ACTION_MAIN, null);
-        intent.setPackage(getPackageName());
-        intent.addCategory(Intent.CATEGORY_SAMPLE_CODE);
-
-        PackageManager pm = getPackageManager();
-        List<ResolveInfo> infos = pm.queryIntentActivities(intent, 0);
-
-        ArrayList<SampleInfo> samples = new ArrayList<SampleInfo>();
-
-        final int count = infos.size();
-        for (int i = 0; i < count; i++) {
-            final ResolveInfo info = infos.get(i);
-            final CharSequence labelSeq = info.loadLabel(pm);
-            String label = labelSeq != null ? labelSeq.toString() : info.activityInfo.name;
-
-            Intent target = new Intent();
-            target.setClassName(info.activityInfo.applicationInfo.packageName,
-                    info.activityInfo.name);
-            SampleInfo sample = new SampleInfo(label, target);
-            samples.add(sample);
-        }
-
-        return samples;
-    }
-
-    static class SampleInfo {
-        String name;
-        Intent intent;
-
-        SampleInfo(String name, Intent intent) {
-            this.name = name;
-            this.intent = intent;
-        }
-    }
-
-    class SampleAdapter extends BaseAdapter {
-        private List<SampleInfo> mItems;
-
-        public SampleAdapter(List<SampleInfo> items) {
-            mItems = items;
-        }
-
-        @Override
-        public int getCount() {
-            return mItems.size();
-        }
-
-        @Override
-        public Object getItem(int position) {
-            return mItems.get(position);
-        }
-
-        @Override
-        public long getItemId(int position) {
-            return position;
-        }
-
-        @Override
-        public View getView(int position, View convertView, ViewGroup parent) {
-            if (convertView == null) {
-                convertView = getLayoutInflater().inflate(android.R.layout.simple_list_item_1,
-                        parent, false);
-                convertView.setTag(convertView.findViewById(android.R.id.text1));
-            }
-            TextView tv = (TextView) convertView.getTag();
-            tv.setText(mItems.get(position).name);
-            return convertView;
-        }
-
-    }
-}
diff --git a/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/ContentCategoryActivity.java b/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/ContentCategoryActivity.java
deleted file mode 100644
index 61d2a5b..0000000
--- a/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/ContentCategoryActivity.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Copyright (C) 2012 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.example.android.support.appnavigation.app;
-
-import android.app.Activity;
-import android.content.Intent;
-import android.os.Bundle;
-import android.view.MenuItem;
-import android.view.View;
-
-import androidx.core.app.NavUtils;
-
-import com.example.android.support.appnavigation.R;
-
-public class ContentCategoryActivity extends Activity {
-    @Override
-    protected void onCreate(Bundle savedInstanceState) {
-        super.onCreate(savedInstanceState);
-        setContentView(R.layout.content_category);
-
-        getActionBar().setDisplayHomeAsUpEnabled(true);
-    }
-
-    @Override
-    public boolean onOptionsItemSelected(MenuItem item) {
-        if (item.getItemId() == android.R.id.home) {
-            NavUtils.navigateUpFromSameTask(this);
-            return true;
-        }
-        return super.onOptionsItemSelected(item);
-    }
-
-    public void onViewContent(View v) {
-        Intent target = new Intent(this, ContentViewActivity.class);
-        startActivity(target);
-    }
-}
diff --git a/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/ContentViewActivity.java b/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/ContentViewActivity.java
deleted file mode 100644
index 499ce7e..0000000
--- a/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/ContentViewActivity.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Copyright (C) 2012 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.example.android.support.appnavigation.app;
-
-import android.app.Activity;
-import android.content.Intent;
-import android.os.Bundle;
-import android.view.MenuItem;
-import android.widget.TextView;
-
-import androidx.core.app.NavUtils;
-import androidx.core.app.TaskStackBuilder;
-
-import com.example.android.support.appnavigation.R;
-
-public class ContentViewActivity extends Activity {
-    public static final String EXTRA_TEXT = "com.example.android.appnavigation.EXTRA_TEXT";
-
-    @Override
-    protected void onCreate(Bundle savedInstanceState) {
-        super.onCreate(savedInstanceState);
-        setContentView(R.layout.content_view);
-
-        getActionBar().setDisplayHomeAsUpEnabled(true);
-
-        Intent intent = getIntent();
-        if (Intent.ACTION_VIEW.equals(intent.getAction())) {
-            TextView tv = findViewById(R.id.status_text);
-            tv.setText("Viewing content from ACTION_VIEW");
-        } else if (intent.hasExtra(EXTRA_TEXT)) {
-            TextView tv = findViewById(R.id.status_text);
-            tv.setText(intent.getStringExtra(EXTRA_TEXT));
-        }
-    }
-
-    @Override
-    public boolean onOptionsItemSelected(MenuItem item) {
-        if (item.getItemId() == android.R.id.home) {
-            Intent upIntent = NavUtils.getParentActivityIntent(this);
-            if (NavUtils.shouldUpRecreateTask(this, upIntent)) {
-                TaskStackBuilder.from(this)
-                        .addParentStack(this)
-                        .startActivities();
-                finish();
-            } else {
-                NavUtils.navigateUpTo(this, upIntent);
-            }
-            return true;
-        }
-        return super.onOptionsItemSelected(item);
-    }
-}
diff --git a/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/InterstitialMessageActivity.java b/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/InterstitialMessageActivity.java
deleted file mode 100644
index e7ae6f2..0000000
--- a/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/InterstitialMessageActivity.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2012 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.example.android.support.appnavigation.app;
-
-import android.app.Activity;
-import android.content.Intent;
-import android.os.Bundle;
-import android.view.View;
-
-import androidx.core.app.TaskStackBuilder;
-
-import com.example.android.support.appnavigation.R;
-
-public class InterstitialMessageActivity extends Activity {
-    @Override
-    protected void onCreate(Bundle savedInstanceState) {
-        super.onCreate(savedInstanceState);
-        setContentView(R.layout.interstitial_message);
-    }
-
-    public void onViewContent(View v) {
-        TaskStackBuilder.from(this)
-                .addParentStack(ContentViewActivity.class)
-                .addNextIntent(new Intent(this, ContentViewActivity.class)
-                        .putExtra(ContentViewActivity.EXTRA_TEXT, "From Interstitial Notification"))
-                .startActivities();
-        finish();
-    }
-}
diff --git a/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/NotificationsActivity.java b/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/NotificationsActivity.java
deleted file mode 100644
index 7329e60..0000000
--- a/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/NotificationsActivity.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- * Copyright (C) 2012 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.example.android.support.appnavigation.app;
-
-import android.app.Activity;
-import android.app.NotificationManager;
-import android.app.PendingIntent;
-import android.content.Intent;
-import android.os.Bundle;
-import android.view.MenuItem;
-import android.view.View;
-
-import androidx.core.app.NavUtils;
-import androidx.core.app.NotificationCompat;
-import androidx.core.app.TaskStackBuilder;
-
-import com.example.android.support.appnavigation.R;
-
-public class NotificationsActivity extends Activity {
-    @Override
-    protected void onCreate(Bundle savedInstanceState) {
-        super.onCreate(savedInstanceState);
-        setContentView(R.layout.notifications);
-
-        getActionBar().setDisplayHomeAsUpEnabled(true);
-    }
-
-    @Override
-    public boolean onOptionsItemSelected(MenuItem item) {
-        if (item.getItemId() == android.R.id.home) {
-            NavUtils.navigateUpFromSameTask(this);
-            return true;
-        }
-        return super.onOptionsItemSelected(item);
-    }
-
-    public void onPostDirect(View v) {
-        NotificationCompat.Builder builder = new NotificationCompat.Builder(this)
-                .setTicker("Direct Notification")
-                .setSmallIcon(android.R.drawable.stat_notify_chat)
-                .setContentTitle("Direct Notification")
-                .setContentText("This will open the content viewer")
-                .setAutoCancel(true)
-                .setContentIntent(TaskStackBuilder.from(this)
-                        .addParentStack(ContentViewActivity.class)
-                        .addNextIntent(new Intent(this, ContentViewActivity.class)
-                                .putExtra(ContentViewActivity.EXTRA_TEXT, "From Notification"))
-                        .getPendingIntent(0, 0));
-        NotificationManager nm = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
-        nm.notify("direct_tag", R.id.direct_notification, builder.getNotification());
-    }
-
-    public void onPostInterstitial(View v) {
-        NotificationCompat.Builder builder = new NotificationCompat.Builder(this)
-                .setTicker("Interstitial Notification")
-                .setSmallIcon(android.R.drawable.stat_notify_chat)
-                .setContentTitle("Interstitial Notification")
-                .setContentText("This will show a detail page")
-                .setAutoCancel(true)
-                .setContentIntent(PendingIntent.getActivity(this, 0,
-                        new Intent(this, InterstitialMessageActivity.class)
-                                .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK |
-                                        Intent.FLAG_ACTIVITY_CLEAR_TASK), 0));
-        NotificationManager nm = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
-        nm.notify("interstitial_tag", R.id.interstitial_notification, builder.getNotification());
-    }
-}
diff --git a/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/OutsideTaskActivity.java b/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/OutsideTaskActivity.java
deleted file mode 100644
index 22ff1bf..0000000
--- a/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/OutsideTaskActivity.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2012 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.example.android.support.appnavigation.app;
-
-import android.app.Activity;
-import android.content.Intent;
-import android.os.Bundle;
-import android.view.View;
-
-import com.example.android.support.appnavigation.R;
-
-public class OutsideTaskActivity extends Activity {
-    @Override
-    protected void onCreate(Bundle savedInstanceState) {
-        super.onCreate(savedInstanceState);
-        setContentView(R.layout.outside_task);
-    }
-
-    public void onViewContent(View v) {
-        Intent intent = new Intent(Intent.ACTION_VIEW)
-                .setType("application/x-example")
-                .addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
-        startActivity(intent);
-    }
-}
diff --git a/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/PeerActivity.java b/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/PeerActivity.java
deleted file mode 100644
index ef10fec..0000000
--- a/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/PeerActivity.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Copyright (C) 2012 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.example.android.support.appnavigation.app;
-
-import android.app.Activity;
-import android.content.Intent;
-import android.os.Bundle;
-import android.view.MenuItem;
-import android.view.View;
-import android.widget.TextView;
-
-import androidx.core.app.NavUtils;
-
-import com.example.android.support.appnavigation.R;
-
-public class PeerActivity extends Activity {
-    private static final String EXTRA_PEER_COUNT =
-            "com.example.android.appnavigation.EXTRA_PEER_COUNT";
-
-    private int mPeerCount;
-
-    @Override
-    protected void onCreate(Bundle savedInstanceState) {
-        super.onCreate(savedInstanceState);
-        setContentView(R.layout.peer);
-
-        getActionBar().setDisplayHomeAsUpEnabled(true);
-
-        mPeerCount = getIntent().getIntExtra(EXTRA_PEER_COUNT, 0) + 1;
-        TextView tv = findViewById(R.id.peer_counter);
-        tv.setText(getResources().getText(R.string.peer_count).toString() + mPeerCount);
-    }
-
-    @Override
-    public boolean onOptionsItemSelected(MenuItem item) {
-        if (item.getItemId() == android.R.id.home) {
-            NavUtils.navigateUpFromSameTask(this);
-            return true;
-        }
-        return super.onOptionsItemSelected(item);
-    }
-
-    public void onLaunchPeer(View v) {
-        Intent target = new Intent(this, PeerActivity.class);
-        target.putExtra(EXTRA_PEER_COUNT, mPeerCount);
-        startActivity(target);
-    }
-}
diff --git a/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/SimpleUpActivity.java b/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/SimpleUpActivity.java
deleted file mode 100644
index f43deb5..0000000
--- a/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/SimpleUpActivity.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2012 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.example.android.support.appnavigation.app;
-
-import android.app.Activity;
-import android.os.Bundle;
-import android.view.MenuItem;
-
-import androidx.core.app.NavUtils;
-
-import com.example.android.support.appnavigation.R;
-
-public class SimpleUpActivity extends Activity {
-    @Override
-    protected void onCreate(Bundle savedInstanceState) {
-        super.onCreate(savedInstanceState);
-        setContentView(R.layout.simple_up);
-
-        getActionBar().setDisplayHomeAsUpEnabled(true);
-    }
-
-    @Override
-    public boolean onOptionsItemSelected(MenuItem item) {
-        if (item.getItemId() == android.R.id.home) {
-            NavUtils.navigateUpFromSameTask(this);
-            return true;
-        }
-        return super.onOptionsItemSelected(item);
-    }
-}
diff --git a/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/ViewFromOtherTaskActivity.java b/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/ViewFromOtherTaskActivity.java
deleted file mode 100644
index ffb91d5..0000000
--- a/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/ViewFromOtherTaskActivity.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Copyright (C) 2012 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.example.android.support.appnavigation.app;
-
-import android.app.Activity;
-import android.content.Intent;
-import android.os.Bundle;
-import android.view.MenuItem;
-import android.view.View;
-
-import androidx.core.app.NavUtils;
-
-import com.example.android.support.appnavigation.R;
-
-public class ViewFromOtherTaskActivity extends Activity {
-    @Override
-    protected void onCreate(Bundle savedInstanceState) {
-        super.onCreate(savedInstanceState);
-        setContentView(R.layout.view_from_other_task);
-
-        getActionBar().setDisplayHomeAsUpEnabled(true);
-    }
-
-    @Override
-    public boolean onOptionsItemSelected(MenuItem item) {
-        if (item.getItemId() == android.R.id.home) {
-            NavUtils.navigateUpFromSameTask(this);
-            return true;
-        }
-        return false;
-    }
-
-    public void onLaunchOtherTask(View v) {
-        Intent target = new Intent(this, OutsideTaskActivity.class)
-                .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK |
-                        Intent.FLAG_ACTIVITY_TASK_ON_HOME);
-        startActivity(target);
-    }
-}
diff --git a/samples/SupportAppNavigation/src/main/res/layout/content_category.xml b/samples/SupportAppNavigation/src/main/res/layout/content_category.xml
deleted file mode 100644
index 2727260..0000000
--- a/samples/SupportAppNavigation/src/main/res/layout/content_category.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 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.
--->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-              android:layout_width="match_parent"
-              android:layout_height="match_parent"
-              android:padding="16dp"
-              android:orientation="vertical">
-    <TextView android:layout_width="match_parent"
-              android:layout_height="wrap_content"
-              android:text="@string/intermediate_description" />
-    <Button android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:layout_marginTop="8dp"
-            android:text="@string/launch_content_view"
-            android: />
-</LinearLayout>
diff --git a/samples/SupportAppNavigation/src/main/res/layout/content_view.xml b/samples/SupportAppNavigation/src/main/res/layout/content_view.xml
deleted file mode 100644
index eabd2eb..0000000
--- a/samples/SupportAppNavigation/src/main/res/layout/content_view.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 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.
--->
-
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-              android:layout_width="match_parent"
-              android:layout_height="match_parent"
-              android:padding="16dp"
-              android:orientation="vertical">
-    <TextView android:layout_width="match_parent"
-              android:layout_height="wrap_content"
-              android:text="@string/content_view_description" />
-    <TextView android:id="@+id/status_text"
-              android:layout_width="match_parent"
-              android:layout_height="wrap_content"
-              android:layout_marginTop="8dp"
-              android:text="@string/default_status_text" />
-</LinearLayout>
\ No newline at end of file
diff --git a/samples/SupportAppNavigation/src/main/res/layout/interstitial_message.xml b/samples/SupportAppNavigation/src/main/res/layout/interstitial_message.xml
deleted file mode 100644
index d957ecd..0000000
--- a/samples/SupportAppNavigation/src/main/res/layout/interstitial_message.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 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.
--->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-              android:layout_width="match_parent"
-              android:layout_height="match_parent"
-              android:orientation="vertical"
-              style="@style/InterstitialDialogLayout">
-    <TextView android:layout_width="match_parent"
-              android:layout_height="wrap_content"
-              android:text="@string/interstitial_description"
-              android:layout_marginTop="16dp"
-              android:layout_marginBottom="16dp"
-              android:layout_marginLeft="16dp"
-              android:layout_marginRight="16dp"/>
-    <LinearLayout android:layout_width="match_parent"
-                  android:layout_height="wrap_content"
-                  style="@style/ButtonBar">
-        <Button android:layout_width="match_parent"
-                android:layout_height="wrap_content"
-                android:text="@string/launch_content_view"
-                android:>
-                style="@style/ButtonBarButton"/>
-    </LinearLayout>
-</LinearLayout>
diff --git a/samples/SupportAppNavigation/src/main/res/layout/notifications.xml b/samples/SupportAppNavigation/src/main/res/layout/notifications.xml
deleted file mode 100644
index 10112f3..0000000
--- a/samples/SupportAppNavigation/src/main/res/layout/notifications.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 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.
--->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-              android:layout_width="match_parent"
-              android:layout_height="match_parent"
-              android:padding="16dp"
-              android:orientation="vertical">
-    <TextView android:layout_width="match_parent"
-              android:layout_height="wrap_content"
-              android:text="@string/notifications_description" />
-    <Button android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:layout_marginTop="8dp"
-            android:text="@string/post_direct_notification"
-            android: />
-    <Button android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:layout_marginTop="8dp"
-            android:text="@string/post_interstitial_notification"
-            android: />
-</LinearLayout>
diff --git a/samples/SupportAppNavigation/src/main/res/layout/outside_task.xml b/samples/SupportAppNavigation/src/main/res/layout/outside_task.xml
deleted file mode 100644
index 00c78aa..0000000
--- a/samples/SupportAppNavigation/src/main/res/layout/outside_task.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 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.
--->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-              android:layout_width="match_parent"
-              android:layout_height="match_parent"
-              android:padding="16dp"
-              android:orientation="vertical">
-    <TextView android:layout_width="match_parent"
-              android:layout_height="wrap_content"
-              android:text="@string/outside_task_description" />
-    <Button android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:layout_marginTop="8dp"
-            android:text="@string/launch_content_view"
-            android: />
-</LinearLayout>
diff --git a/samples/SupportAppNavigation/src/main/res/layout/peer.xml b/samples/SupportAppNavigation/src/main/res/layout/peer.xml
deleted file mode 100644
index ee706b3..0000000
--- a/samples/SupportAppNavigation/src/main/res/layout/peer.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 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.
--->
-
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-              android:layout_width="match_parent"
-              android:layout_height="match_parent"
-              android:padding="16dp"
-              android:orientation="vertical">
-    <TextView android:layout_width="match_parent"
-              android:layout_height="wrap_content"
-              android:text="@string/peer_description" />
-    <TextView android:id="@+id/peer_counter"
-              android:layout_width="match_parent"
-              android:layout_height="wrap_content"
-              android:layout_marginTop="8dp"
-              android:text="@string/peer_count" />
-    <Button android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:layout_marginTop="8dp"
-            android:text="@string/launch_peer"
-            android: />
-</LinearLayout>
\ No newline at end of file
diff --git a/samples/SupportAppNavigation/src/main/res/layout/simple_up.xml b/samples/SupportAppNavigation/src/main/res/layout/simple_up.xml
deleted file mode 100644
index 2897d84..0000000
--- a/samples/SupportAppNavigation/src/main/res/layout/simple_up.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 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.
--->
-<TextView xmlns:android="http://schemas.android.com/apk/res/android"
-          android:layout_width="match_parent"
-          android:layout_height="match_parent"
-          android:text="@string/simple_up_description"
-          android:padding="16dp" />
diff --git a/samples/SupportAppNavigation/src/main/res/layout/view_from_other_task.xml b/samples/SupportAppNavigation/src/main/res/layout/view_from_other_task.xml
deleted file mode 100644
index 941d74c..0000000
--- a/samples/SupportAppNavigation/src/main/res/layout/view_from_other_task.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 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.
--->
-
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-              android:layout_width="match_parent"
-              android:layout_height="match_parent"
-              android:padding="16dp"
-              android:orientation="vertical">
-    <TextView android:layout_width="match_parent"
-              android:layout_height="wrap_content"
-              android:text="@string/view_from_other_task_description" />
-    <Button android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:layout_marginTop="8dp"
-            android:text="@string/launch_other_task"
-            android: />
-</LinearLayout>
\ No newline at end of file
diff --git a/samples/SupportAppNavigation/src/main/res/values-v11/styles.xml b/samples/SupportAppNavigation/src/main/res/values-v11/styles.xml
deleted file mode 100644
index e61e9d4..0000000
--- a/samples/SupportAppNavigation/src/main/res/values-v11/styles.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 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.
--->
-<resources>
-    <style name="InterstitialDialogLayout">
-        <item name="android:divider">?android:attr/dividerHorizontal</item>
-        <item name="android:showDividers">middle</item>
-    </style>
-
-    <style name="ButtonBar" parent="@android:style/Holo.ButtonBar.AlertDialog" />
-    <style name="ButtonBarButton" parent="@android:style/Widget.Holo.Button.Borderless" />
-
-</resources>
diff --git a/samples/SupportAppNavigation/src/main/res/values-v11/themes.xml b/samples/SupportAppNavigation/src/main/res/values-v11/themes.xml
deleted file mode 100644
index b9f7fdb..0000000
--- a/samples/SupportAppNavigation/src/main/res/values-v11/themes.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 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.
--->
-<resources>
-    <style name="Theme.Light" parent="@android:style/Theme.Holo.Light" />
-    <style name="Theme.Dialog" parent="@android:style/Theme.Holo.Dialog" />
-</resources>
diff --git a/samples/SupportAppNavigation/src/main/res/values-v14/themes.xml b/samples/SupportAppNavigation/src/main/res/values-v14/themes.xml
deleted file mode 100644
index 79fabda..0000000
--- a/samples/SupportAppNavigation/src/main/res/values-v14/themes.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 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.
--->
-<resources>
-    <style name="Theme.Light" parent="@android:style/Theme.DeviceDefault.Light" />
-</resources>
diff --git a/samples/SupportAppNavigation/src/main/res/values/ids.xml b/samples/SupportAppNavigation/src/main/res/values/ids.xml
deleted file mode 100644
index c143cf7..0000000
--- a/samples/SupportAppNavigation/src/main/res/values/ids.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 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.
--->
-<resources>
-    <item type="id" name="direct_notification" />
-    <item type="id" name="interstitial_notification" />
-</resources>
diff --git a/samples/SupportAppNavigation/src/main/res/values/strings.xml b/samples/SupportAppNavigation/src/main/res/values/strings.xml
deleted file mode 100644
index e939b3f..0000000
--- a/samples/SupportAppNavigation/src/main/res/values/strings.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 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.
--->
-<resources>
-    <string name="app_name">Support App Navigation Sample</string>
-    <string name="app_nav_home_label">Support App Navigation</string>
-
-    <string name="simple_up_label">Simple Up Navigation</string>
-    <string name="simple_up_description">This demo shows the simple case of up navigation that does not ever need to cross across different tasks. Press the up button on the action bar to return to the demo list. For simple drill-down navigation, the application up and system back buttons will navigate to the same location, leaving the task\'s back stack in the same state.</string>
-
-    <string name="peer_label">Peer Activities</string>
-    <string name="peer_description">This is an activity that shows content with many navigation peers. Think of a content browser that offers links to related content items. Pressing back from this activity will return to the previously viewed content item if you reached this point through a related link. If you reached it from the app nav example home activity, back will return there. Navigating up from this activity will always return to the app nav example home activity and clean up the back stack along the way.</string>
-    <string name="launch_peer">Link to another peer activity</string>
-    <string name="peer_count">Peer count: </string>
-
-    <string name="view_from_other_task_label">View from other task</string>
-    <string name="view_from_other_task_description">This combined demo shows how to handle up navigation when another task has launched your app\'s activity on its own task stack. Navigating up in this scenario should synthesize a task stack representing the most common or direct navigation path to the parent activity. The code example shows how to handle this using helper code from the support library. Press the button below to launch a separate task and begin the demo.</string>
-    <string name="launch_other_task">Launch new task</string>
-
-    <string name="outside_task_label">Outside Task</string>
-    <string name="outside_task_description">This activity has been launched in a new task. You can confirm this by pressing the Recents button now and switching back to the app navigation example task. This activity will view content with the fake mimetype \"application/x-example\" which will be received by another code example activity to continue the demo. Press the View button below.</string>
-
-    <string name="content_view_label">Content Viewer</string>
-    <string name="content_view_description">This activity can receive ACTION_VIEW intents with the mimetype \"application/x-example\", sent by the outside task component of this demo. If you launched the activity this way then it will be on the viewing activity\'s task stack. Press the back button to finish this activity and return to the activity that wanted to view the content. Press the up button in the action bar to jump back into the main demo task with a synthesized back stack. This matches the pattern for content viewers such as a photo gallery or video player.</string>
-    <string name="default_status_text">Navigated here from category</string>
-
-    <string name="content_category_label">Content Category</string>
-    <string name="intermediate_description">This activity is a parent for the example content viewer activity. Navigating up from the content viewer will lead here. Navigating up from here will lead back to the app navigation home activity. Note that if you reached this activity by navigating up from the example content viewer activity, you are back on the main app navigation example task. Press the button below to navigate to the content viewer activity.</string>
-    <string name="launch_content_view">Launch content view activity</string>
-
-    <string name="notifications_label">Notifications</string>
-    <string name="notifications_description">There are two classes of notifications: notifications that deep-link into an app directly, (e.g. an incoming SMS) and notifications that present an interstitial/summary of multiple collapsed notifications before linking into the app itself. (e.g. Calendar event notifications.) The buttons below will create notifications of each type.</string>
-    <string name="post_direct_notification">Post direct notification</string>
-    <string name="post_interstitial_notification">Post interstitial notification</string>
-
-    <string name="interstitial_label">Interstitial</string>
-    <string name="interstitial_description">This is an interstitial activity running in response to a notification. It presents a summary of info in a lightweight manner that does not exist as a task in Recents. Tap the button below to jump to the primary content.</string>
-
-</resources>
diff --git a/samples/SupportAppNavigation/src/main/res/values/styles.xml b/samples/SupportAppNavigation/src/main/res/values/styles.xml
deleted file mode 100644
index d869170..0000000
--- a/samples/SupportAppNavigation/src/main/res/values/styles.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 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.
--->
-<resources>
-    <style name="InterstitialDialogLayout" />
-
-    <style name="ButtonBar" parent="@android:style/ButtonBar" />
-    <style name="ButtonBarButton" parent="@android:style/Widget.Button" />
-
-</resources>
diff --git a/samples/SupportAppNavigation/src/main/res/values/themes.xml b/samples/SupportAppNavigation/src/main/res/values/themes.xml
deleted file mode 100644
index beebacf..0000000
--- a/samples/SupportAppNavigation/src/main/res/values/themes.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 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.
--->
-<resources>
-    <style name="Theme.Light" parent="@android:style/Theme.Light" />
-    <style name="Theme.Dialog" parent="@android:style/Theme.Dialog" />
-</resources>
diff --git a/settings.gradle b/settings.gradle
index 17a961b..0b473d9 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -239,7 +239,6 @@
 // Note: don't add new samples/ apps. Instead, Create
 // <module>/integration-tests/testapp in the "Libraries" section above.
 includeProject(":support-animation-demos", new File(samplesRoot, "SupportAnimationDemos"))
-includeProject(":support-app-navigation", new File(samplesRoot, "SupportAppNavigation"))
 includeProject(":support-biometric-demos", new File(samplesRoot, "BiometricDemos"))
 includeProject(":support-car-demos", new File(samplesRoot, "SupportCarDemos"))
 includeProject(":support-content-demos", new File(samplesRoot, "SupportContentDemos"))