Testing deliverOnProgressChangedHaptics in VolumeRow

The method now returns true if it can deliver haptics when there is a
progress change and false otherwise. This simplifies the tests related
to the method and avoids flakiness introduced from animator rules and
complicated handling of the dialog's runnables.

Test: SystemUITests:VolumeDialogImplTest
Flag: NONE
Bug: 329099861
Bug: 338979732
Change-Id: I7f07c5f240c9e374509309753a94ede92fb6f330
2 files changed