Fixing the failing tests

1. For AppDataUsageFragment getBundleForNetworkStats() was being called twice from the tests. once from onCreate and then manually from the tests. This was resetting the iterator.
2. Q uses the RestrictedLockUtilsInternal instead of RestrictedLockUtils

Bug: 132072038
Bug: 131928249
Test: Robolectric
Change-Id: I73fc524d3c4b0ecf2a43e343be59f72c74cb4582
Signed-off-by: Priyank Singh <priyanksingh@google.com>
4 files changed
tree: 0a4766216ecfb41d5a49d466642ffd9feeb68ade
  1. res/
  2. src/
  3. tests/
  4. Android.mk
  5. AndroidManifest.xml
  6. PREUPLOAD.cfg