<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "//www.w3.org/TR/html4/strict.dtd">
<HTML style="overflow:auto;">
<HEAD>
<meta name="generator" content="JDiff v1.1.0">
<!-- Generated by the JDiff Javadoc doclet -->
<!-- (http://www.jdiff.org) -->
<meta name="description" content="JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors, methods, and fields which have been removed, added or changed in any way, including their documentation, when two APIs are compared.">
<meta name="keywords" content="diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet">
<TITLE>
android.app.Activity
</TITLE>
<link href="../../../../assets/android-developer-docs.css" rel="stylesheet" type="text/css" />
<link href="../stylesheet-jdiff.css" rel="stylesheet" type="text/css" />
<noscript>
<style type="text/css">
body{overflow:auto;}
#body-content{position:relative; top:0;}
#doc-content{overflow:visible;border-left:3px solid #666;}
#side-nav{padding:0;}
#side-nav .toggle-list ul {display:block;}
#resize-packages-nav{border-bottom:3px solid #666;}
</style>
</noscript>
<style type="text/css">
</style>
</HEAD>
<BODY>
<!-- Start of nav bar -->
<a name="top"></a>
<div id="header" style="margin-bottom:0;padding-bottom:0;">
<div id="headerLeft">
<a href="../../../../index.html" tabindex="-1" target="_top"><img src="../../../../assets/images/bg_logo.png" alt="Android Developers" /></a>
</div>
  <div id="headerRight">
  <div id="headerLinks">
<!-- <img src="/assets/images/icon_world.jpg" alt="" /> -->
<span class="text">
<!-- &nbsp;<a href="#">English</a> | -->
<nobr><a href="//developer.android.com" target="_top">Android Developers</a> | <a href="//www.android.com" target="_top">Android.com</a></nobr>
</span>
</div>
  <div class="and-diff-id" style="margin-top:6px;margin-right:8px;">
    <table class="diffspectable">
      <tr>
        <td colspan="2" class="diffspechead">API Diff Specification</td>
      </tr>
      <tr>
        <td class="diffspec" style="padding-top:.25em">To Level:</td>
        <td class="diffvaluenew" style="padding-top:.25em">21</td>
      </tr>
      <tr>
        <td class="diffspec">From Level:</td>
        <td class="diffvalueold">20</td>
      </tr>
      <tr>
        <td class="diffspec">Generated</td>
        <td class="diffvalue">2014.10.15 15:01</td>
      </tr>
    </table>
    </div><!-- End and-diff-id -->
  <div class="and-diff-id" style="margin-right:8px;">
    <table class="diffspectable">
      <tr>
        <td class="diffspec" colspan="2"><a href="jdiff_statistics.html">Statistics</a>
      </tr>
    </table>
  </div> <!-- End and-diff-id -->
  </div> <!-- End headerRight -->
  </div> <!-- End header -->
<div id="body-content" xstyle="padding:12px;padding-right:18px;">
<div id="doc-content" style="position:relative;">
<div id="mainBodyFluid">
<H2>
Class android.app.<A HREF="../../../../reference/android/app/Activity.html" target="_top"><font size="+2"><code>Activity</code></font></A>
</H2>
<a NAME="constructors"></a>
<a NAME="methods"></a>
<p>
<a NAME="Added"></a>
<TABLE summary="Added Methods" WIDTH="100%">
<TR>
  <TH VALIGN="TOP" COLSPAN=2>Added Methods</FONT></TD>
</TH>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.finishAfterTransition_added()"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#finishAfterTransition()" target="_top"><code>finishAfterTransition</code></A>()</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.finishAndRemoveTask_added()"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#finishAndRemoveTask()" target="_top"><code>finishAndRemoveTask</code></A>()</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.getContentScene_added()"></A>
  <nobr><code>Scene</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#getContentScene()" target="_top"><code>getContentScene</code></A>()</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.getContentTransitionManager_added()"></A>
  <nobr><code>TransitionManager</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#getContentTransitionManager()" target="_top"><code>getContentTransitionManager</code></A>()</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.getMediaController_added()"></A>
  <nobr><code>MediaController</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#getMediaController()" target="_top"><code>getMediaController</code></A>()</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.onActivityReenter_added(int, android.content.Intent)"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#onActivityReenter(int, android.content.Intent)" target="_top"><code>onActivityReenter</code></A>(<code>int,</nobr> Intent<nobr><nobr></code>)</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.onCreate_added(android.os.Bundle, android.os.PersistableBundle)"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#onCreate(android.os.Bundle, android.os.PersistableBundle)" target="_top"><code>onCreate</code></A>(<code>Bundle,</nobr> PersistableBundle<nobr><nobr></code>)</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.onEnterAnimationComplete_added()"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#onEnterAnimationComplete()" target="_top"><code>onEnterAnimationComplete</code></A>()</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.onPostCreate_added(android.os.Bundle, android.os.PersistableBundle)"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#onPostCreate(android.os.Bundle, android.os.PersistableBundle)" target="_top"><code>onPostCreate</code></A>(<code>Bundle,</nobr> PersistableBundle<nobr><nobr></code>)</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.onRestoreInstanceState_added(android.os.Bundle, android.os.PersistableBundle)"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#onRestoreInstanceState(android.os.Bundle, android.os.PersistableBundle)" target="_top"><code>onRestoreInstanceState</code></A>(<code>Bundle,</nobr> PersistableBundle<nobr><nobr></code>)</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.onSaveInstanceState_added(android.os.Bundle, android.os.PersistableBundle)"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#onSaveInstanceState(android.os.Bundle, android.os.PersistableBundle)" target="_top"><code>onSaveInstanceState</code></A>(<code>Bundle,</nobr> PersistableBundle<nobr><nobr></code>)</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.onVisibleBehindCanceled_added()"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#onVisibleBehindCanceled()" target="_top"><code>onVisibleBehindCanceled</code></A>()</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.postponeEnterTransition_added()"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#postponeEnterTransition()" target="_top"><code>postponeEnterTransition</code></A>()</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.releaseInstance_added()"></A>
  <nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#releaseInstance()" target="_top"><code>releaseInstance</code></A>()</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.requestVisibleBehind_added(boolean)"></A>
  <nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#requestVisibleBehind(boolean)" target="_top"><code>requestVisibleBehind</code></A>(<code>boolean</code>)</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.setActionBar_added(android.widget.Toolbar)"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#setActionBar(android.widget.Toolbar)" target="_top"><code>setActionBar</code></A>(<code>Toolbar</code>)</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.setContentTransitionManager_added(android.transition.TransitionManager)"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#setContentTransitionManager(android.transition.TransitionManager)" target="_top"><code>setContentTransitionManager</code></A>(<code>TransitionManager</code>)</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.setEnterSharedElementCallback_added(android.app.SharedElementCallback)"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#setEnterSharedElementCallback(android.app.SharedElementCallback)" target="_top"><code>setEnterSharedElementCallback</code></A>(<code>SharedElementCallback</code>)</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.setExitSharedElementCallback_added(android.app.SharedElementCallback)"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#setExitSharedElementCallback(android.app.SharedElementCallback)" target="_top"><code>setExitSharedElementCallback</code></A>(<code>SharedElementCallback</code>)</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.setMediaController_added(android.media.session.MediaController)"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#setMediaController(android.media.session.MediaController)" target="_top"><code>setMediaController</code></A>(<code>MediaController</code>)</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.setTaskDescription_added(android.app.ActivityManager.TaskDescription)"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#setTaskDescription(android.app.ActivityManager.TaskDescription)" target="_top"><code>setTaskDescription</code></A>(<code>TaskDescription</code>)</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.startLockTask_added()"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#startLockTask()" target="_top"><code>startLockTask</code></A>()</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.startPostponedEnterTransition_added()"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#startPostponedEnterTransition()" target="_top"><code>startPostponedEnterTransition</code></A>()</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.stopLockTask_added()"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#stopLockTask()" target="_top"><code>stopLockTask</code></A>()</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<p>
<a NAME="Changed"></a>
<TABLE summary="Changed Methods" WIDTH="100%">
<TR>
  <TH VALIGN="TOP" COLSPAN=3>Changed Methods</FONT></TD>
</TH>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.setTitleColor_changed(int)"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#setTitleColor(int)" target="_top"><code>setTitleColor</code></A>(<code>int</code>)  </nobr>
  </TD>
  <TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
  </TD>
  <TD>&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<a NAME="fields"></a>
      </div>	
      <div id="footer">
        <div id="copyright">
        Except as noted, this content is licensed under 
        <a href="//creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>.
        For details and restrictions, see the <a href="/license.html">Content License</a>.
        </div>
      <div id="footerlinks">
      <p>
        <a href="//www.android.com/terms.html">Site Terms of Service</a> -
        <a href="//www.android.com/privacy.html">Privacy Policy</a> -
        <a href="//www.android.com/branding.html">Brand Guidelines</a>
      </p>
    </div>
    </div> <!-- end footer -->
    </div><!-- end doc-content -->
    </div> <!-- end body-content --> 
<script src="//www.google-analytics.com/ga.js" type="text/javascript">
</script>
<script type="text/javascript">
  try {
    var pageTracker = _gat._getTracker("UA-5831155-1");
    pageTracker._setAllowAnchor(true);
    pageTracker._initData();
    pageTracker._trackPageview();
  } catch(e) {}
</script>
</BODY>
</HTML>