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

Commit

Permalink
Rename LauncherActivity to MainActivity.
Browse files Browse the repository at this point in the history
Like this the old intent/activity name is still around, in case people have
created shortcuts to it.

Signed-off-by: Philipp Kern <[email protected]>
  • Loading branch information
pkern committed Oct 7, 2012
1 parent c53428e commit 3148bb6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</intent-filter>
</activity>
<activity
android:name=".LauncherActivity"
android:name=".MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand All @@ -45,4 +45,4 @@
</activity>
</application>

</manifest>
</manifest>
2 changes: 1 addition & 1 deletion res/layout/activity_launcher.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
android:paddingRight="6sp"
android:paddingTop="12sp"
android:text="@string/touch_device_help_text"
tools:context=".LauncherActivity" />
tools:context=".MainActivity" />

</RelativeLayout>
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

// TODO: foreground NFC dispatch to LauncherActivity

public class LauncherActivity extends Activity {
public class MainActivity extends Activity {
private NfcAdapter adapter;
private PendingIntent pendingIntent;
private IntentFilter[] intentFiltersArray;
Expand Down

0 comments on commit 3148bb6

Please sign in to comment.