(final Context ctx)
| 145 | } |
| 146 | |
| 147 | @Override |
| 148 | public final boolean updating(final Context ctx) { |
| 149 | try { |
| 150 | init(ctx); |
| 151 | return qp.updating; |
| 152 | } catch(final QueryException | JobException ex) { |
| 153 | Util.debug(ex); |
| 154 | qp.close(); |
| 155 | exception = ex; |
| 156 | return false; |
| 157 | } catch(final RuntimeException ex) { |
| 158 | Util.debug(ex); |
| 159 | qp.close(); |
| 160 | exception = ex; |
| 161 | throw ex; |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | @Override |
| 166 | public final boolean updated(final Context ctx) { |