History log of /frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/WorkName.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5ba5d0e21cd8e60e8adb360dd62fac6c11779a4f 15-Mar-2018 Sumir Kataria <sumir@google.com> Remove getters/setters from Dependency, WorkName, and WorkTag.

Further reducing method count in our entities.

Test: Ran tests.
Change-Id: Idc13517b3ba73dc1fc5b382eba83aee43e7ed541
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/WorkName.java
3665b829af9706f7f85c53e4ef5a0825228f4d7a 13-Mar-2018 Sumir Kataria <sumir@google.com> Switch beginWithUniqueTag to beginWithName.

Names are totally separated from tags: they are stored
in their own database table and they have nothing to do
with tags. This provides a firm separation between the
two and will prevent the user from shooting themselves
in the foot by being able to separately add work with
"unique" tags and screwing up their internal state.
Now, everything goes through the beginWithName methods.

In doing this work, I also cleaned up CancelWorkRunnable
so that it doesn't have an uber-constructor.

Future CLs will add cancelByName(Sync) and
getStatusesByName(Sync).

Bug: 74406787
Test: Updated and ran tests.
Change-Id: I36a284de36c87262dfbdad96236daa4a99b3abb4
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/WorkName.java