title: Trouble understanding how to set my login activity to the launcher activity in the Android manifest
body: <p>I want to change my manifest so that the Login Activity is the first activity to start on the phone. The login activity checks the sharedpreferences to see if a user has login info saved. If they do it logs them in. Im pretty sure I need an intent-filter in login activity with <code>&lt;category android:name="android.intent.category.LAUNCHER" /&gt;</code> but I dont get what I should put for the action. 
  <br> Heres my manifest</p>
  
  <pre><code>   &lt;application
          android:allowBackup="true"
          android:icon="@mipmap/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;activity
              android:name=".MainActivity"
              android:label="@string/app_name" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;activity
              android:name=".DisplayMessageActivity"
              android:label="@string/title_activity_display_message"
              android:parentActivityName=".MainActivity" &gt;
              &lt;meta-data
                  android:name="android.support.PARENT_ACTIVITY"
                  android:value="com.incubatorcle.dinahealth.MainActivity" /&gt;
          &lt;/activity&gt;
          &lt;activity
              android:name=".UserOnboardActivity"
              android:label="@string/title_activity_user_onboard" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name=".LoginActivity"
              android:label="@string/title_activity_login" &gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  </code></pre>