From 87b1d0d099c4c5eefd120a76e1ea55559ddede9c Mon Sep 17 00:00:00 2001 From: Scott Rowe Date: Fri, 17 Oct 2014 10:46:04 -0700 Subject: docs: update location of sample apps Change-Id: I5079d5578c29cde387d087ec8767ae03aaa7ebe2 --- docs/html/guide/components/recents.jd | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/html/guide/components/recents.jd b/docs/html/guide/components/recents.jd index b44c682578e9..78cc6ac34a60 100644 --- a/docs/html/guide/components/recents.jd +++ b/docs/html/guide/components/recents.jd @@ -30,7 +30,7 @@ page.tags="recents","overview"

Sample code

    -
  1. Document-centric Apps
  2. +
  3. Document-centric Apps
@@ -84,7 +84,7 @@ the new document, the system always creates a new task with the target activity This setting allows the same document to be opened in more than one task. The following code demonstrates how the main activity does this:

-

+

DocumentCentricActivity.java

 public void createNewDocument(View view) {
@@ -122,7 +122,7 @@ to the front and passes the new intent to {@link android.app.Activity#onNewInten
 The new activity gets the intent and creates a new document in the overview screen, as in the
 following example:

-

+

NewDocumentActivity.java

 @Override
@@ -209,7 +209,7 @@ is 50 (25 on low memory devices); values less than 1 are not valid.

specify when to remove the task and finish all activities associated with it by calling the {@link android.app.ActivityManager.AppTask#finishAndRemoveTask() finishAndRemoveTask()} method.

-

+

NewDocumentActivity.java

 public void onRemoveFromRecents(View view) {
@@ -229,7 +229,7 @@ discussed below.

the {@link android.content.Intent#FLAG_ACTIVITY_RETAIN_IN_RECENTS} flag in the {@link android.content.Intent#addFlags(int) addFlags()} method of the Intent that launches the activity.

-

+

DocumentCentricActivity.java

 private Intent newDocumentIntent() {
-- 
cgit v1.2.3-59-g8ed1b