OSDN Git Service

Fix logic error in CarrierService.
authorJonathan Basseri <misterikkit@google.com>
Wed, 3 Jun 2015 17:11:47 +0000 (10:11 -0700)
committerJonathan Basseri <misterikkit@google.com>
Wed, 3 Jun 2015 17:29:39 +0000 (10:29 -0700)
commitc0e7a0416d8de2cb0c1d3715f4b7504edde29dff
tree2f7c640e348dc65120da955c35ac347fff7ad2a6
parentf0742bdf0665810cc64d22c0c275bc8c8b7463f0
Fix logic error in CarrierService.

CarrierService is supposed to filter intents in onBind and only accept
valid actions. The logic was off so that it rejected all bind attempts.

This was tricky to track down because clients get no clear signal that
onBind is returning null.

Bug: 21571360
Change-Id: If37a52e30d0c7fd0205f23595f39be3d55db69d4
core/java/android/service/carrier/CarrierService.java