コード例 #1
0
 public final boolean onError(MediaPlayer paramMediaPlayer, int paramInt1, int paramInt2) {
   Timber.f(
       ano.e(),
       "SNAP-VIEW: onError: %s extra=%d snap=%s",
       new Object[] {ann.a(paramInt1), Integer.valueOf(paramInt2), ano.b(a)});
   if ((paramInt1 == 1) && (!ano.f(a)) && (ano.g(a) != null)) {
     Timber.c(
         ano.e(),
         "SNAP-VIEW: onError resetting media player and retrying, snap=%s",
         new Object[] {ano.b(a)});
     ano.h(a);
     ano.a(a, null);
     ano.i(a).setVideoPath(ano.g(a));
     if (ano.j(a)) {
       ano.i(a).start();
     }
     return true;
   }
   ano.e(a).a(SnapMediaRenderer.ErrorCode.PLAYBACK_ERROR);
   AnalyticsEvents.b(paramInt1, paramInt2);
   return true;
 }
 public final void onClick(DialogInterface paramDialogInterface, int paramInt)
 {
   AnalyticsEvents.h(true);
   atq.a(a.a.getActivity());
 }