OSDN Git Service

Fix a crash when an app requests Bluetooth to be discoverable
authorJack He <siyuanh@google.com>
Tue, 4 Apr 2017 01:06:06 +0000 (18:06 -0700)
committerJack He <siyuanh@google.com>
Tue, 4 Apr 2017 01:53:20 +0000 (01:53 +0000)
commitebbfce0bf1cebf74525c9cceeeedcd1fe6012b60
tree7ccfa15634a986f3543f17f6ed6c887e9995a142
parentb59337c0eb5dcf52b9074e8fbbde2802ffb51d50
Fix a crash when an app requests Bluetooth to be discoverable

* When an app requests Bluetooth to be discoverable with a timeout and a
  non null EXTRA_PACKAGE_NAME, Settings app should put in the correct
  timeout values in the dialog string

Bug: 36870303
Test: make, try making Bluetooth discoverable via
      ACTION_REQUEST_DISCOVERABLE intent

Change-Id: I0cebc2f20371c9de5f28feb26425422c0777aa45
src/com/android/settings/bluetooth/RequestPermissionActivity.java