diff options
| author | Dianne Hackborn <hackbod@google.com> | 2011-06-16 13:31:57 -0700 |
|---|---|---|
| committer | Dianne Hackborn <hackbod@google.com> | 2011-06-16 14:52:00 -0700 |
| commit | 2f04883ff880966d63d1aa4a1c7b05e497cfcc58 (patch) | |
| tree | 27f0845ad19db223c02c13f02dfacd680026240a /core/java/android/app/ActivityGroup.java | |
| parent | abd4dffc86202d48e50bd21807574fa861854dca (diff) | |
SDK only: integrate new sample code, deprecating along the way.
The new support library features and sample code for switching
between fragments using a TabHost now eliminates the utility of
the TabActivity class, so deprecate it. This also means there is
no longer any use in ActivityGroup or LocalActivityManager. Yay.
Also fix up things so the new support API demos are included in
the documentation.
Change-Id: I4f073b82787f32560ba1fa5b6a23746ecc8aecdc
Diffstat (limited to 'core/java/android/app/ActivityGroup.java')
| -rw-r--r-- | core/java/android/app/ActivityGroup.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/java/android/app/ActivityGroup.java b/core/java/android/app/ActivityGroup.java index f1216f95e7df..944411330b78 100644 --- a/core/java/android/app/ActivityGroup.java +++ b/core/java/android/app/ActivityGroup.java @@ -23,8 +23,13 @@ import android.os.Bundle; import android.util.Log; /** + * @deprecated Use the new {@link Fragment} and {@link FragmentManager} APIs + * instead; these are also + * available on older platforms through the Android compatibility package. + * * A screen that contains and runs multiple embedded activities. */ +@Deprecated public class ActivityGroup extends Activity { private static final String TAG = "ActivityGroup"; private static final String STATES_KEY = "android:states"; |
