OSDN Git Service

Only bind to RESOLVE_EPHEMERAL_PACKAGE once.
authorJeff Sharkey <jsharkey@android.com>
Wed, 26 Oct 2016 22:58:49 +0000 (16:58 -0600)
committerJeff Sharkey <jsharkey@google.com>
Wed, 26 Oct 2016 23:01:53 +0000 (23:01 +0000)
commit7765d7320d8435a0e814d9f10039c7866f9d76a2
treee6cd279adb762bc50a7d3c6cd9ae7d51210b9efb
parente9db00e39fb58db2380ec3f9fba11f006a4b4185
Only bind to RESOLVE_EPHEMERAL_PACKAGE once.

We never unbind, so we only ever need one bind request; creating more
bind requests just wastes resources.

Test: builds
Bug: 32446301
Change-Id: I7d6c4a93b8f5bb8d9aed7a5041b193e19a2d65fc
services/core/java/com/android/server/pm/EphemeralResolverConnection.java