Merge "Disable substitution of android.support to androidx project." into pi-preview1-androidx-dev
diff --git a/work/workmanager/src/main/java/androidx/work/impl/model/DependencyDao.java b/work/workmanager/src/main/java/androidx/work/impl/model/DependencyDao.java
index 34ed149..602aba9 100644
--- a/work/workmanager/src/main/java/androidx/work/impl/model/DependencyDao.java
+++ b/work/workmanager/src/main/java/androidx/work/impl/model/DependencyDao.java
@@ -16,7 +16,7 @@
package androidx.work.impl.model;
-import static android.arch.persistence.room.OnConflictStrategy.FAIL;
+import static android.arch.persistence.room.OnConflictStrategy.IGNORE;
import android.arch.persistence.room.Dao;
import android.arch.persistence.room.Insert;
@@ -34,7 +34,7 @@
*
* @param dependency The {@link Dependency}s to insert
*/
- @Insert(onConflict = FAIL)
+ @Insert(onConflict = IGNORE)
void insertDependency(Dependency dependency);
/**