Move some common functionality to AbstractResolverComparator.
Uri http/https intents bump default browser to front, and also
apps that are specific to the uri.
We also move the usage stats reporting to the abstract class.
Updates methods to be package-private.
Test:atest frameworks/base/core/tests/coretests/src/com/android/internal/app -- passes except previous failures https://paste.googleplex.com/6680684066242560
Test:adb shell am start -d "http://developer.android.com" -- Chrome is bumped to front, checked logs to confirm this was not just coincidental.
Bug:129014961
Change-Id: I203e8bc86d6321a5f124f3c19210c44a1065f072
2 files changed