Loading core/java/com/android/internal/widget/DigitalClock.java +10 −2 Original line number Original line Diff line number Diff line Loading @@ -80,7 +80,11 @@ public class DigitalClock extends LinearLayout { } } }); }); } else { } else { try { mContext.unregisterReceiver(this); mContext.unregisterReceiver(this); } catch (RuntimeException e) { // Shouldn't happen } } } } } }; }; Loading Loading @@ -124,7 +128,11 @@ public class DigitalClock extends LinearLayout { digitalClock.setDateFormat(); digitalClock.setDateFormat(); digitalClock.updateTime(); digitalClock.updateTime(); } else { } else { try { mContext.getContentResolver().unregisterContentObserver(this); mContext.getContentResolver().unregisterContentObserver(this); } catch (RuntimeException e) { // Shouldn't happen } } } } } } } Loading Loading
core/java/com/android/internal/widget/DigitalClock.java +10 −2 Original line number Original line Diff line number Diff line Loading @@ -80,7 +80,11 @@ public class DigitalClock extends LinearLayout { } } }); }); } else { } else { try { mContext.unregisterReceiver(this); mContext.unregisterReceiver(this); } catch (RuntimeException e) { // Shouldn't happen } } } } } }; }; Loading Loading @@ -124,7 +128,11 @@ public class DigitalClock extends LinearLayout { digitalClock.setDateFormat(); digitalClock.setDateFormat(); digitalClock.updateTime(); digitalClock.updateTime(); } else { } else { try { mContext.getContentResolver().unregisterContentObserver(this); mContext.getContentResolver().unregisterContentObserver(this); } catch (RuntimeException e) { // Shouldn't happen } } } } } } } Loading