Bartosz Fabianowski 3d83300deb Extract counting of installed apps into helper class
This CL extracts the code that counts the number of installed apps
for a set of users from ManageApplications to a helper class,
InstalledAppCounter. The new helper is designed to be unit-testable
(PackageManager dependencies are injected via a new PackageManagerWrapper
abstraction) and customizable (the set of users for which to count is
specified by subclasses).

The CL adds a unit test for the InstalledAppCounter as well.

Test: make RunSettingsRoboTests
Bug: 32692748
Change-Id: Ie7fbd40d9dd998b27f1f9de227b6a187b5c9d315
2016-11-17 21:04:34 +01:00
2016-11-15 20:56:50 -08:00
2016-08-17 10:19:00 -07:00
2015-04-13 09:21:39 -07:00
2016-10-20 17:22:33 -07:00
Description
No description provided
3.1 GiB
Languages
Java 89.8%
Kotlin 10.2%