title: Trying to get next alarm time with "getNextAlarmClock()" but doesn't get the right answer
body: <p>I would like to show the next alarm set in a widget, so I am trying to get the next alarm time of an alarm I just have set on my phone at 15:30h</p>
  
  <p>I am using the code:</p>
  
  <pre><code>    String nextAlarm = "";
      if(android.os.Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.LOLLIPOP) {
          AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);
          try {
              assert alarmManager != null;
              AlarmManager.AlarmClockInfo aci = alarmManager.getNextAlarmClock();
              nextAlarm = aci.toString();
               Log.w("nextAlarm ", aci.toString());
  
          } catch (Exception e) {
              e.printStackTrace();
          }
      }  else {
          nextAlarm = Settings.System.NEXT_ALARM_FORMATTED;
      }
  </code></pre>
  
  <p>This returns the nextAlarm string<br> in logcat: <code>W/nextAlarm: android.app.AlarmManager$AlarmClockInfo@4e0bf32</code><br>
  running on SdkVersion 29</p>
  
  <p>What do I do wrong?</p>