title: android: Activity won't start
body: <p>So, I have a menu with a few pictures and an <code>onClick</code> method which opens a new page. That works for all menu items except one. That one is written in exactly the same way as the rest, but when the menu item is clicked, a blank new page appears, with correct title, but - apparently - without calling <code>onCreate</code> method of the new activity. </p>
  
  <p>There are no error messages either.</p>
  
  <p>The code, where the Activitys are started:</p>
  
  <pre><code>public void onClick(View v) {
  
      Intent intent = null;
      Context context = v.getContext();
  
      switch(position) {
          case 0:
              intent = new Intent(context, BooksActivity.class);                     
              break;
          case 1:
              intent = new Intent(context, GamesActivity.class);
              break;
          case 2:
              intent = new Intent(context, MusicActivity.class);
              break;
          case 3:
              intent = new Intent(context, FilesActivity.class);
              break;
          case 4:
              intent = new Intent(context, VideosActivity.class);
              break;
      }
      context.startActivity(intent);            
  }
  </code></pre>
  
  <p>Works like a charm for every activity but FilesActivity. In the FilesActivity.onCreate method, I print a log:</p>
  
  <pre><code>Log.d(TAG, "initialized");
  </code></pre>
  
  <p>but that log is never shown.</p>
  
  <p>Any idea what is going on here?</p>
  
  <p><em>Edit:</em>
  All activities are added to the manifest in the same way:</p>
  
  <pre><code>&lt;activity
      android:name=".MusicActivity"
      android:configChanges="orientation|keyboardHidden|screenSize"
      android:label="@string/title_activity_music"
      android:parentActivityName=".MainActivity"
      android:theme="@style/FullscreenTheme"&gt;
      &lt;meta-data
          android:name="android.support.PARENT_ACTIVITY"
          android:value="com.example.wilzek.hoerstift.MainActivity" /&gt;
  &lt;/activity&gt;
  &lt;activity
      android:name=".FilesActivity"
      android:configChanges="orientation|keyboardHidden|screenSize"
      android:label="@string/title_activity_files"
      android:parentActivityName=".MainActivity"
      android:theme="@style/FullscreenTheme"&gt;
      &lt;meta-data
          android:name="android.support.PARENT_ACTIVITY"
          android:value="com.example.wilzek.hoerstift.MainActivity" /&gt;
  &lt;/activity&gt;
  </code></pre>
  
  <p><em>Edit:</em> Files.Activity onCreate:</p>
  
  <pre><code>public void onCreate(@Nullable Bundle savedInstanceState, @Nullable PersistableBundle persistentState) {
      super.onCreate(savedInstanceState, persistentState);
      setContentView(R.layout.activity_files);
      Log.e(TAG, "INITIALIZED");
  
      listView = (ListView)findViewById(R.id.files_list);
      listView.setOnItemClickListener(onItemClickListener);
  
      try {
          files = Arrays.asList(USBCommunicationManager.getRootDir().listFiles());
          Log.e(TAG, "Root Dateien: " + files.size());
      } catch (Exception e) {
          Log.e(TAG, "Root Dateien konnten nicht gefetcht werden. Yay denglish.");
      }
  
      filesAdapter = new FilesAdapter(this, files);
      listView.setAdapter(filesAdapter);
  }
  </code></pre>