OSDN Git Service

am bd704c74: BT connection notification in not updated in status bar for second user...
authorZhihai Xu <zhihaixu@google.com>
Wed, 17 Oct 2012 20:18:13 +0000 (13:18 -0700)
committerAndroid Git Automerger <android-git-automerger@android.com>
Wed, 17 Oct 2012 20:18:13 +0000 (13:18 -0700)
* commit 'bd704c741b8c523ad747214f6f0520ac3e2caf8f':
  BT connection notification in not updated in status bar for second user It is due to the system UI is always running as the first user. It can't receive broadcast intent ACTION_CONNECTION_STATE_CHANGED and ACTION_BOND_STATE_CHANGED from bluetooth service when We switch to second user. Also the system UI also is running as uid 10055, which will also call function isEnabled, getState, getBondedDevices, getAdapterConnectionState and getBondState in bluetooth service. I allow these functions to be called by all the users. I forget remove check for getBondState in my first patch set


Trivial merge