diff options
author | Dianne Hackborn <hackbod@google.com> | 2014-10-10 15:03:13 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2014-10-10 15:05:33 -0700 |
commit | 5d9ea3f257b9c28e5bcf066d0448f47effed6cbf (patch) | |
tree | e99521b41b6ae624a5708950284fa13040e1c9b3 /framework/java/android/bluetooth/BluetoothServerSocket.java | |
parent | 645b737cbb14933c4ab3da4017559362225c7a93 (diff) |
Fix issue #17829949: Don't kill Bluetooth service...
...even in extreme low memory condition
Bind to Bluetooth with BIND_IMPORTANT, so that it is allowed to
go to a higher oom adj level.
Fix some problems when this is done from a system or persistent
process, where this would go to a level that is *too* high. Instead,
introduce a new oom adj level for it that is right below persistent.
Change-Id: I002bcc4accc36c8579c4cda161be7d2fba21ba17
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothServerSocket.java')
0 files changed, 0 insertions, 0 deletions