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)
committerThe Android Automerger <android-build@google.com>
Tue, 16 Feb 2016 20:28:30 +0000 (12:28 -0800)
commitbea20d574e7c94ff4664a5d2ada5dc1f70614e2c
tree09f27868e64637d8d1bbcd4c1a14c21b46484275
parent2d78c23e4bdee812679b6de1ec45db879ff268fe
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
(cherry picked from commit 5b294b45d0d7afbed71fd2e59342c5ad7b8b7d76)
core/java/android/net/NetworkScorerAppManager.java