Perform partial update for gauge metric

Creates a new metric producer if either the metric definition or any of
its dependencies changed. Appropriately updates all indices both within
the producer and for MetricsManager if the metric will be preserved.

Test: atest statsd_test
Bug: 162323123
Bug: 176249205
Bug: 176248686
Merged-In: I751e2c7c8bbbd819f216821cbf4f0ec315c4563b
Change-Id: I414668c81dd71073285cc82b8f567d201344c5cd
7 files changed
tree: 99434a9276d7ac7640a832f3dfe8d2eb1e50068b
  1. aidl/
  2. apex/
  3. bin/
  4. framework/
  5. lib/
  6. service/
  7. tests/
  8. OWNERS