title: EventLog.readEvents() not working
body: <p>I use following code in Android app to read event logs</p>
  
  <pre><code>    final Collection&lt;Event&gt; events = new ArrayList&lt;Event&gt;();
      try {
          final int tag = EventLog.getTagCode("am_proc_start");
          EventLog.readEvents(new int[] { tag }, events);
          System.out.println(events);
      } catch (final IOException e) {
          e.printStackTrace();
      }
  </code></pre>
  
  <p>But what I got is an empty events list. Still I can get all these events by running command <code>adb logcat events -v</code>.</p>