title: How to show notification content on lockscreen - Android
body: <p>I am using NotificationCompat.Builder to create a notification:</p>
  
  <pre><code>Intent activityIntent = new Intent( this,
                                      MyActivity.class );
  PendingIntent resultingActivityPendingIntent = getPendingIntent( activityIntent );
  
  // create notification for foreground service
  m_notificationBuilder = new NotificationCompat.Builder( this );
  m_notificationBuilder.setSmallIcon( R.mipmap.ic_launcher );
  m_notificationBuilder.setTicker( "some text" );
  m_notificationBuilder.setContentTitle( "some text" ) );
  m_notificationBuilder.setContentIntent( resultingActivityPendingIntent );
  startForeground( ONGOING_NOTIFICATION_ID,
                   m_notificationBuilder.build() );
  </code></pre>
  
  <p>The notification functions as expected in the status bar and notification dropdown, but for the lockscreen, it shows this:</p>
  
  <pre><code>com.myname.mypackage 
  Contents hidden
  </code></pre>
  
  <p>How do I change the line where my package name is?</p>
  
  <p>I have tried setting content text and content info in the notification builder, but it doesn't change anything.</p>
  
  <p>There must be something obvious I'm missing because other apps, even if their content is hidden, will have that line say something relevant, like:</p>
  
  <pre><code>USB connectivity
  Contents hidden
  </code></pre>
  
  <p>I am using SDK 19, build tools 19, targeting 19, min SDK 11.</p>