Loading opentasks/src/main/java/org/dmfs/tasks/model/Sources.java +3 −3 Original line number Diff line number Diff line Loading @@ -152,14 +152,14 @@ public final class Sources extends BroadcastReceiver implements OnAccountsUpdate Model model; try { // try to load the XML model model = new XmlModel(mContext, authenticator); model = new DefaultModel(mContext, authenticator.type); model.inflate(); Log.i(TAG, "inflated model for " + authenticator.type); } catch (ModelInflaterException e) { Log.e(TAG, "error inflating model for " + authenticator.packageName, e); model = new DefaultModel(mContext, authenticator.type); try { // try to load the XML model model = new XmlModel(mContext, authenticator); model.inflate(); } catch (ModelInflaterException e1) { continue; Loading Loading
opentasks/src/main/java/org/dmfs/tasks/model/Sources.java +3 −3 Original line number Diff line number Diff line Loading @@ -152,14 +152,14 @@ public final class Sources extends BroadcastReceiver implements OnAccountsUpdate Model model; try { // try to load the XML model model = new XmlModel(mContext, authenticator); model = new DefaultModel(mContext, authenticator.type); model.inflate(); Log.i(TAG, "inflated model for " + authenticator.type); } catch (ModelInflaterException e) { Log.e(TAG, "error inflating model for " + authenticator.packageName, e); model = new DefaultModel(mContext, authenticator.type); try { // try to load the XML model model = new XmlModel(mContext, authenticator); model.inflate(); } catch (ModelInflaterException e1) { continue; Loading