Navigation Menu

Skip to content
This repository has been archived by the owner on Apr 19, 2018. It is now read-only.

Commit

Permalink
Spell startActivity correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton committed Jul 7, 2012
1 parent 79c545d commit ed2116b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
@@ -1,6 +1,12 @@
Change Log
==========

Version 1.0.1 *(2012-07-07)*
----------------------------

* Fix: Spell `startActivity` correctly.


Version 1.0.0 *(2012-07-06)*
----------------------------

Expand Down
2 changes: 1 addition & 1 deletion build.sh
Expand Up @@ -8,5 +8,5 @@ fi
rm -rf out *.jar
mkdir out
javac -d out -cp "$ANDROID_HOME/platforms/android-16/android.jar:libs/android-support-v4.jar" src/main/java/com/jakewharton/activitycompat2/*
$(cd out && jar cf ../ActivityCompat2-1.0.0.jar *)
$(cd out && jar cf ../ActivityCompat2-1.0.1.jar *)
rm -rf out
Expand Up @@ -22,7 +22,7 @@ public class ActivityCompat2 extends ActivityCompat {
* {@link ActivityOptionsCompat2} for how to build the Bundle supplied here; there are no supported
* definitions for building it manually.
*/
public static void startActiviy(Activity activity, Intent intent, Bundle options) {
public static void startActivity(Activity activity, Intent intent, Bundle options) {
if (YOU_JELLY) {
JellyBeanImpl.startActivity(activity, intent, options);
} else {
Expand Down
Expand Up @@ -10,7 +10,7 @@

/**
* Helper class for building an options Bundle that can be used with
* {@link ActivityCompat2#startActiviy(android.app.Activity, android.content.Intent, android.os.Bundle)}.
* {@link ActivityCompat2#startActivity(android.app.Activity, android.content.Intent, android.os.Bundle)}.
*/
public class ActivityOptionsCompat2 {
/**
Expand Down Expand Up @@ -86,7 +86,7 @@ private ActivityOptionsCompat2() {

/**
* Returns the created options as a Bundle, which can be passed to
* {@link ActivityCompat2#startActiviy(android.app.Activity, android.content.Intent, android.os.Bundle)}. Note that
* {@link ActivityCompat2#startActivity(android.app.Activity, android.content.Intent, android.os.Bundle)}. Note that
* the returned Bundle is still owned by the ActivityOptions object; you must not modify it, but can supply it to the
* startActivity methods that take an options Bundle.
*/
Expand Down

0 comments on commit ed2116b

Please sign in to comment.