Merge "Deprecate AliasActivity"

This commit is contained in:
Treehugger Robot
2019-11-15 18:38:35 +00:00
committed by Gerrit Code Review
2 changed files with 5 additions and 2 deletions

View File

@@ -4244,8 +4244,8 @@ package android.app {
method public android.app.AlertDialog show();
}
public class AliasActivity extends android.app.Activity {
ctor public AliasActivity();
@Deprecated public class AliasActivity extends android.app.Activity {
ctor @Deprecated public AliasActivity();
}
public class AppComponentFactory {

View File

@@ -39,7 +39,10 @@ import java.io.IOException;
* To use this activity, you should include in the manifest for the associated
* component an entry named "android.app.alias". It is a reference to an XML
* resource describing an intent that launches the real application.
*
* @deprecated Use {@code <activity-alias>} or subclass Activity directly.
*/
@Deprecated
public class AliasActivity extends Activity {
/**
* This is the name under which you should store in your component the