OSDN Git Service

Exit getAllValidScorers early if not the primary.
authorJeremy Joslin <jjoslin@google.com>
Fri, 18 Dec 2015 01:38:04 +0000 (17:38 -0800)
committerJeremy Joslin <jjoslin@google.com>
Wed, 6 Jan 2016 01:44:05 +0000 (17:44 -0800)
commit5b294b45d0d7afbed71fd2e59342c5ad7b8b7d76
tree3e0335a5d3ac7b62053d83a3e09cfe36943d47fb
parentb805bb8b660c5897e7a379fb2d79815269039271
Exit getAllValidScorers early if not the primary.

This fixes the crash that occurs when getAllValidScorers() is invoked by
a non-primary user when a scorer is active.

BUG: 23040221
Change-Id: I42c9e18d74389be3191258ca5626f2c433ca7cc7
core/java/android/net/NetworkScorerAppManager.java