OSDN Git Service

android-x86/packages-apps-Bluetooth.git
10 years agoam 335b2b8f: Fixed a Bluetooth MAP bug.
PauloftheWest [Wed, 1 Oct 2014 14:58:40 +0000 (14:58 +0000)]
am 335b2b8f: Fixed a Bluetooth MAP bug.

* commit '335b2b8f6f17c93a4c2b192c8e1b629e48b230b3':
  Fixed a Bluetooth MAP bug.

10 years agoam 20326a32: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Mon, 29 Sep 2014 20:47:15 +0000 (20:47 +0000)]
am 20326a32: (-s ours) Import translations. DO NOT MERGE

* commit '20326a3263b8bd71ea98d5ea88e53cf0f6715d33':
  Import translations. DO NOT MERGE

10 years agoFixed a Bluetooth MAP bug.
PauloftheWest [Mon, 29 Sep 2014 17:37:29 +0000 (10:37 -0700)]
Fixed a Bluetooth MAP bug.

+ Beforehand, if a user disabled MAP and then unpaired the device, then
Settings would automatically deny future MAP requests from the device.

Bug: 17391677
Change-Id: I068f37426ed6a044ed2b5e9391cd9dd00908f867

10 years agoam acb400b0: Merge "BT MAP: fix problem with fetching CDMA messages" into lmp-dev
Matthew Xie [Mon, 29 Sep 2014 02:57:53 +0000 (02:57 +0000)]
am acb400b0: Merge "BT MAP: fix problem with fetching CDMA messages" into lmp-dev

* commit 'acb400b0598107c0427e3fb07b0a4a8fade5481e':
  BT MAP: fix problem with fetching CDMA messages

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 29 Sep 2014 02:37:49 +0000 (19:37 -0700)]
Import translations. DO NOT MERGE

Change-Id: I19b08d7d4dc62fcc770506724b8bf05262f2d861
Auto-generated-cl: translation import

10 years agoMerge "BT MAP: fix problem with fetching CDMA messages" into lmp-dev
Matthew Xie [Sun, 28 Sep 2014 21:38:41 +0000 (21:38 +0000)]
Merge "BT MAP: fix problem with fetching CDMA messages" into lmp-dev

10 years agoam 26a590e9: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Sat, 27 Sep 2014 07:38:17 +0000 (07:38 +0000)]
am 26a590e9: (-s ours) Import translations. DO NOT MERGE

* commit '26a590e91f84c75c58df691c0a57bad223cf7390':
  Import translations. DO NOT MERGE

10 years agoBT MAP: fix problem with fetching CDMA messages
kschulz [Thu, 25 Sep 2014 07:41:39 +0000 (09:41 +0200)]
BT MAP: fix problem with fetching CDMA messages

A bug in Java makes the Long.parse() function throw and exception when message
handles start to become negative (which happens for CDMA SMS messages).
Fix simply shifts the handle masks on byte down in order to get around
the bug.

Bug: 17627572
Change-Id: Ie41aef589dc9d3ecb8bc7167472218e57a52fa33

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 25 Sep 2014 05:05:11 +0000 (22:05 -0700)]
Import translations. DO NOT MERGE

Change-Id: Id2c39716c73d364b334c955c34d0122848dc3c88
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 25 Sep 2014 05:03:37 +0000 (22:03 -0700)]
Import translations. DO NOT MERGE

Change-Id: I32bce34d0754b5896ba88a1981a4917a1dbdd25a
Auto-generated-cl: translation import

10 years agoam b5b51ca8: Merge "Defer callbacks if the transport is congested" into lmp-dev
Andre Eisenbach [Wed, 24 Sep 2014 22:22:52 +0000 (22:22 +0000)]
am b5b51ca8: Merge "Defer callbacks if the transport is congested" into lmp-dev

* commit 'b5b51ca82e3db31705e54687f998b1ea1787396a':
  Defer callbacks if the transport is congested

10 years agoMerge "Defer callbacks if the transport is congested" into lmp-dev
Andre Eisenbach [Wed, 24 Sep 2014 22:06:23 +0000 (22:06 +0000)]
Merge "Defer callbacks if the transport is congested" into lmp-dev

10 years agoam a51c13ae: Set FLAG_RECEIVER_FOREGROUND when broadcasting ACTION_PAIRING_REQUEST.
Ariel Gertzenstein [Wed, 24 Sep 2014 14:53:22 +0000 (14:53 +0000)]
am a51c13ae: Set FLAG_RECEIVER_FOREGROUND when broadcasting   ACTION_PAIRING_REQUEST.

* commit 'a51c13ae7e6ce56922316a979aef570abafc9f3f':
  Set FLAG_RECEIVER_FOREGROUND when broadcasting   ACTION_PAIRING_REQUEST.

10 years agoDefer callbacks if the transport is congested
Prerepa Viswanadham [Fri, 19 Sep 2014 19:54:04 +0000 (12:54 -0700)]
Defer callbacks if the transport is congested

Hold client characteristic write callbacks and server notification
callbacks if the transport is congested. When the congestion clears up,
all queued callbacks are sent to the application.

Bug: 17289507
Change-Id: Ib22d7857ac3990fd3cc922aedd4258013e1af54c

10 years agoSet FLAG_RECEIVER_FOREGROUND when broadcasting
Ariel Gertzenstein [Tue, 23 Sep 2014 18:34:04 +0000 (14:34 -0400)]
Set FLAG_RECEIVER_FOREGROUND when broadcasting
  ACTION_PAIRING_REQUEST.

Bug: 17590080

Change-Id: I0a7cde5953f706a2b41b02878f0fdbd2d9e8ae35

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-sprout-dev
Baligh Uddin [Sun, 21 Sep 2014 17:37:04 +0000 (17:37 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-sprout-dev

10 years agoam 7532f1cd: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Sun, 21 Sep 2014 03:46:53 +0000 (03:46 +0000)]
am 7532f1cd: (-s ours) Import translations. DO NOT MERGE

* commit '7532f1cdeca345db5a959c6f570bec0f19f0b820':
  Import translations. DO NOT MERGE

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 20 Sep 2014 18:06:41 +0000 (11:06 -0700)]
Import translations. DO NOT MERGE

Change-Id: I6b9cc949094c5cf55d7fa5d7431501ecceac4689
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 20 Sep 2014 18:04:26 +0000 (11:04 -0700)]
Import translations. DO NOT MERGE

Change-Id: I4a80e21aff0f05f77f37f48a042125fb642d71f9
Auto-generated-cl: translation import

10 years agoam 94023bd8: Merge "Save alias in RemoteDevice property before passing it to native...
Matthew Xie [Fri, 19 Sep 2014 06:20:26 +0000 (06:20 +0000)]
am 94023bd8: Merge "Save alias in RemoteDevice property before passing it to native layer" into lmp-dev

* commit '94023bd851cb80966d8f8006702d318057c83f09':
  Save alias in RemoteDevice property before passing it to native layer

10 years agoMerge "Save alias in RemoteDevice property before passing it to native layer" into...
Matthew Xie [Fri, 19 Sep 2014 04:42:05 +0000 (04:42 +0000)]
Merge "Save alias in RemoteDevice property before passing it to native layer" into lmp-dev

10 years agoSave alias in RemoteDevice property before passing it to native layer
Matthew Xie [Thu, 18 Sep 2014 21:32:57 +0000 (14:32 -0700)]
Save alias in RemoteDevice property before passing it to native layer

bug 17287682

Change-Id: Id7da194f66cf44d41e60f35665dfb1b279cac28f

10 years agoam d876e29e: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Thu, 18 Sep 2014 18:33:43 +0000 (18:33 +0000)]
am d876e29e: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev

* commit 'd876e29eadbee94fe9933b961e6363ac6e337d90':
  Import translations. DO NOT MERGE

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Thu, 18 Sep 2014 17:56:01 +0000 (17:56 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-sprout-dev
Baligh Uddin [Thu, 18 Sep 2014 17:55:59 +0000 (17:55 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-sprout-dev

10 years agoam 00ab61e2: Merge "Use unified Tethering Permission Check" into lmp-dev
Robert Greenwalt [Thu, 18 Sep 2014 00:11:52 +0000 (00:11 +0000)]
am 00ab61e2: Merge "Use unified Tethering Permission Check" into lmp-dev

* commit '00ab61e21fd553620a466389907cb4dc089bb221':
  Use unified Tethering Permission Check

10 years agoMerge "Use unified Tethering Permission Check" into lmp-dev
Robert Greenwalt [Thu, 18 Sep 2014 00:03:38 +0000 (00:03 +0000)]
Merge "Use unified Tethering Permission Check" into lmp-dev

10 years agoam e08a0eeb: Fix a typo that compares scanMode with callback types.
Wei Wang [Wed, 17 Sep 2014 21:08:19 +0000 (21:08 +0000)]
am e08a0eeb: Fix a typo that compares scanMode with callback types.

* commit 'e08a0eeb9cbf0ee732171d1c1d353aecdad0a7d2':
  Fix a typo that compares scanMode with callback types.

10 years agoFix a typo that compares scanMode with callback types.
Wei Wang [Wed, 17 Sep 2014 19:30:07 +0000 (12:30 -0700)]
Fix a typo that compares scanMode with callback types.

Bug: 17187159
Change-Id: Ieca583e7cf02d63b9eceda7872511c9db280c04a

10 years agoam 620ff342: Merge "Don\'t leak PII into the logs." into lmp-dev
Rakesh Iyer [Wed, 17 Sep 2014 17:24:33 +0000 (17:24 +0000)]
am 620ff342: Merge "Don\'t leak PII into the logs." into lmp-dev

* commit '620ff342d30c30306d1aa73ec65e209dd3141ff0':
  Don't leak PII into the logs.

10 years agoMerge "Don't leak PII into the logs." into lmp-dev
Rakesh Iyer [Wed, 17 Sep 2014 17:14:36 +0000 (17:14 +0000)]
Merge "Don't leak PII into the logs." into lmp-dev

10 years agoam 33a06059: Merge "Enforce permissions for BLE hidden APIs." into lmp-dev
Wei Wang [Wed, 17 Sep 2014 07:31:28 +0000 (07:31 +0000)]
am 33a06059: Merge "Enforce permissions for BLE hidden APIs." into lmp-dev

* commit '33a06059be8506003003e41ec020bdce273da1a1':
  Enforce permissions for BLE hidden APIs.

10 years agoMerge "Enforce permissions for BLE hidden APIs." into lmp-dev
Wei Wang [Wed, 17 Sep 2014 07:23:42 +0000 (07:23 +0000)]
Merge "Enforce permissions for BLE hidden APIs." into lmp-dev

10 years agoUse unified Tethering Permission Check
Robert Greenwalt [Wed, 17 Sep 2014 00:47:34 +0000 (17:47 -0700)]
Use unified Tethering Permission Check

The BT and Wifi mechanisms for enabling Tethering did their own
permission checks.  This set of changes unifies the check into
a ConnectivityManager function so they can be kept in sync.

bug:17435527
Change-Id: I8c157a5acf56ffbddd349cb6a45160ae7be8541b

10 years agoDon't leak PII into the logs.
Rakesh Iyer [Tue, 16 Sep 2014 22:23:04 +0000 (15:23 -0700)]
Don't leak PII into the logs.

Guard a couple of the Log.v statements with the if (V) guard that
is used everywhere else in the file.

Bug: 17531755
Change-Id: I7ea06333132c400fca225d0c92cfca0d6c3024ab

10 years agoMerge topic 'ksd-to-lmp-sprout-dev' into lmp-sprout-dev
Stuart Scott [Tue, 16 Sep 2014 23:11:42 +0000 (23:11 +0000)]
Merge topic 'ksd-to-lmp-sprout-dev' into lmp-sprout-dev

* changes:
  [DS] Response fail instead of not response at all
  Bluetooth sub selection

10 years agoMerge "[DS] Call cannot call out from Car kit" into lmp-sprout-dev
Stuart Scott [Tue, 16 Sep 2014 23:11:38 +0000 (23:11 +0000)]
Merge "[DS] Call cannot call out from Car kit" into lmp-sprout-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 16 Sep 2014 16:01:23 +0000 (09:01 -0700)]
Import translations. DO NOT MERGE

Change-Id: I8993928ab86e1b1337ebf8f6cb7260d1672f67d0
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 16 Sep 2014 16:00:56 +0000 (09:00 -0700)]
Import translations. DO NOT MERGE

Change-Id: I7a5f2128cf036e9e60bf6d37198748e80d6a380c
Auto-generated-cl: translation import

10 years agoam 699bc55e: Merge "Migrates PBAP and MAP access permission data from Settings to...
Edward Jee [Tue, 16 Sep 2014 08:45:16 +0000 (08:45 +0000)]
am 699bc55e: Merge "Migrates PBAP and MAP access permission data from Settings to Bluetooth." into lmp-dev

* commit '699bc55e42eddd29889ab0e45d795c9a91a67662':
  Migrates PBAP and MAP access permission data from Settings to Bluetooth.

10 years agoam 901fc26a: Bluetooth now properly saves A2DP status.
PauloftheWest [Tue, 16 Sep 2014 08:45:16 +0000 (08:45 +0000)]
am 901fc26a: Bluetooth now properly saves A2DP status.

* commit '901fc26af77bd2d0a82fe7b8e47a2fafb622811e':
  Bluetooth now properly saves A2DP status.

10 years agoMerge "Migrates PBAP and MAP access permission data from Settings to Bluetooth."...
Edward Jee [Tue, 16 Sep 2014 01:19:23 +0000 (01:19 +0000)]
Merge "Migrates PBAP and MAP access permission data from Settings to Bluetooth." into lmp-dev

10 years agoBluetooth now properly saves A2DP status.
PauloftheWest [Mon, 15 Sep 2014 19:20:25 +0000 (12:20 -0700)]
Bluetooth now properly saves A2DP status.

Bug: 17115629
Change-Id: I5e9bc4d492a9714a87b15d131b25cf9a5a0aeecd

10 years agoMigrates PBAP and MAP access permission data from Settings to Bluetooth.
Edward Jee [Fri, 5 Sep 2014 07:30:41 +0000 (00:30 -0700)]
Migrates PBAP and MAP access permission data from Settings to Bluetooth.

Currently, users' preference in phonebook and call history or message
access per each Bluetooth-paired device is stored in Settings application's
shared preferences.

However, some privileged applications other than Settings need to access
such data. So we decided to migrate the data from Settings application's
shared preferences to Bluetooth application's.

Bug: 17158953
Change-Id: I3808891cdcce84aa0d4df31f998c9f1240159d95

10 years agoam 7d196f26: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Mon, 15 Sep 2014 02:59:18 +0000 (02:59 +0000)]
am 7d196f26: (-s ours) Import translations. DO NOT MERGE

* commit '7d196f2611947cabe40f753e1484384a814d5aea':
  Import translations. DO NOT MERGE

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 15 Sep 2014 01:31:49 +0000 (18:31 -0700)]
Import translations. DO NOT MERGE

Change-Id: I336ef7e2b1d86dedf448c471725e421363bd444c
Auto-generated-cl: translation import

10 years agoMerge "Do not reuse all pass filter index." into lmp-dev
Wei Wang [Fri, 12 Sep 2014 22:15:37 +0000 (22:15 +0000)]
Merge "Do not reuse all pass filter index." into lmp-dev

10 years agoEnforce permissions for BLE hidden APIs.
Wei Wang [Fri, 12 Sep 2014 18:50:09 +0000 (11:50 -0700)]
Enforce permissions for BLE hidden APIs.

Bug:17187159
Change-Id: Ibe467fa52fdead036a80922947cc295257221530

10 years agoMAP: Workaround for missing size values in message data base
Casper Bonde [Wed, 10 Sep 2014 09:02:38 +0000 (11:02 +0200)]
MAP: Workaround for missing size values in message data base

Not all messages in the MMS/Email message data bases have
the size/attachment size attribute set.

This causes MAP clients to behave wrongly, e.g. they
request to exclude attachments if the attachments size
is 0. Even for messages which actually have attachments.

The attachment size is the only way for MAP clients to
know if attachments are present, hence the behavior of
the client is not wrong.
bug 17389452

Change-Id: I82cd76bc044601eb6e8b190d0c6fc41b51410a93
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
10 years ago[DS] Response fail instead of not response at all
Legler Wu [Thu, 26 Jun 2014 01:50:35 +0000 (09:50 +0800)]
[DS] Response fail instead of not response at all

when not able to get subscriber number (return null),
HFP shall response to remote devie with Error instead of
not responding at all.

Change-Id: I4dd90071b72d33de14c69f98a1360a4f53a8bb3f

Conflicts:
src/com/android/bluetooth/hfp/HeadsetStateMachine.java

10 years agoBluetooth sub selection
Stuart Scott [Thu, 26 Jun 2014 21:09:19 +0000 (14:09 -0700)]
Bluetooth sub selection

Change-Id: I181d4f8b206a4a46f1ae2305e22277f70eb24e69

10 years ago[DS] Call cannot call out from Car kit
Legler Wu [Thu, 12 Jun 2014 04:30:01 +0000 (12:30 +0800)]
[DS] Call cannot call out from Car kit

The original code can not work since the subscription is wrong.
So BT can not correctly get the service / signal strength and update
to remote device. Thus some IOT issue happened.

Using the new interface to correctly register.

Change-Id: I2976eb12e44f78d896a04ef01a1a6ebb848f62f0

Conflicts:
src/com/android/bluetooth/hfp/HeadsetPhoneState.java

10 years agoMerge "Applied Material theme to Bluetooth file acceptance dialog." into lmp-dev
PauloftheWest [Thu, 11 Sep 2014 14:22:44 +0000 (14:22 +0000)]
Merge "Applied Material theme to Bluetooth file acceptance dialog." into lmp-dev

10 years agoMerge "Change broadcast ACTION_CONNECTION_ACCESS_REQUEST to be ordered." into lmp-dev
Ang Li [Thu, 11 Sep 2014 01:29:11 +0000 (01:29 +0000)]
Merge "Change broadcast ACTION_CONNECTION_ACCESS_REQUEST to be ordered." into lmp-dev

10 years agoApplied Material theme to Bluetooth file acceptance dialog.
PauloftheWest [Wed, 10 Sep 2014 17:18:30 +0000 (10:18 -0700)]
Applied Material theme to Bluetooth file acceptance dialog.

Bug: 17334507
Change-Id: I36d3ef5575ad84a27cda415c1d0e262f097e98a7

10 years agoMerge "Pairing failed after 50 attempts" into lmp-dev
Andre Eisenbach [Wed, 10 Sep 2014 17:27:55 +0000 (17:27 +0000)]
Merge "Pairing failed after 50 attempts" into lmp-dev

10 years agoMerge "BT-HF: Disable Multi HF feature." into lmp-dev
Prem Kumar [Wed, 10 Sep 2014 01:36:21 +0000 (01:36 +0000)]
Merge "BT-HF: Disable Multi HF feature." into lmp-dev

10 years agoBT-HF: Disable Multi HF feature.
Nitin Arora [Fri, 5 Sep 2014 21:12:09 +0000 (14:12 -0700)]
BT-HF: Disable Multi HF feature.

Disable Multi HF feature by allowing max hf connections = 1
in HeadsetStateMachine.
bug 17321509

Change-Id: Ia477c728bfb1457def7f302d5533ce63446dffc7

10 years agoPairing failed after 50 attempts
Mudumba Ananth [Tue, 29 Jul 2014 13:19:43 +0000 (06:19 -0700)]
Pairing failed after 50 attempts

-> The issue was caused due to delayed message sent for
   bond_state_changed_callback in BondStateMachine and RemoteDevices
   was sending the pairing request(sspRequestcallback) intent to the Settings APP
   before even the bond state is changed.
-> Moved the SSPRequestCallback and PinRequestCallback to BondStateMachine
   to synchronize the above two callbacks using a single message
   queue in the BondStateMachine message handler.
-> Changed the pending command state to accept the SSP_REQUEST
   and PIN_REQUEST messages and send the intents.

Bug: 16560957
Change-Id: I8372bdd2e96aa09215f2f1e98d6eed4e892637e6

10 years agoMerge "Make directory structure + Java packages consistent." into lmp-dev
Jeff Davidson [Tue, 9 Sep 2014 17:59:08 +0000 (17:59 +0000)]
Merge "Make directory structure + Java packages consistent." into lmp-dev

10 years agoChange broadcast ACTION_CONNECTION_ACCESS_REQUEST to be ordered.
Ang Li [Mon, 8 Sep 2014 22:35:14 +0000 (15:35 -0700)]
Change broadcast ACTION_CONNECTION_ACCESS_REQUEST to be ordered.

Making this broadcast ordered makes it possible to be intercepted
before Settings get it. This is cruicial to Android Audo's use case
and test automation.

The previous change we put in:
https://googleplex-android-review.git.corp.google.com/#/c/499135
was accidentally overwritten by
https://googleplex-android-review.git.corp.google.com/#/c/503267

We are putting this change back in, and making similar changes for
PBAP and HFP.

Change-Id: Ia9b4c22a05d0c9beb1485b53ddf04c45fa210526

10 years agoDo not reuse all pass filter index.
Wei Wang [Fri, 5 Sep 2014 18:03:46 +0000 (11:03 -0700)]
Do not reuse all pass filter index.

Bug:17425379
Change-Id: Iba4c40f8822b182718db060c3f2eeff7aabdb286

10 years agoMerge "Fixed batch scan returning status 12 when restarted." into lmp-dev
Wei Wang [Fri, 5 Sep 2014 18:49:28 +0000 (18:49 +0000)]
Merge "Fixed batch scan returning status 12 when restarted." into lmp-dev

10 years agoFixed batch scan returning status 12 when restarted.
Wei Wang [Wed, 3 Sep 2014 00:46:47 +0000 (17:46 -0700)]
Fixed batch scan returning status 12 when restarted.

Also fixed no batch scan results when both truncated and
full batch are enabled.

Added a BatchScanParams to hold parameters for batch scan.

Bug:16850169
Bug:17213118
Change-Id: Ib3bb7442aa2657912ef4377f825388ac8e1010bb

10 years agoReturn right connection status when connection failed
Prerepa Viswanadham [Fri, 5 Sep 2014 17:49:45 +0000 (10:49 -0700)]
Return right connection status when connection failed

bug: 17326529
Change-Id: I57abf2f6a98c469248613ea386f0fa2ffaf5eac4

10 years agoProtect against Bluetooth share crash because of invalid timer callback
Andre Eisenbach [Fri, 29 Aug 2014 01:36:28 +0000 (18:36 -0700)]
Protect against Bluetooth share crash because of invalid timer callback

If the timer callback is not set when fired, a SIGSEGV will ensue. This
patch checks to make sure the callback is set before invoking the
function.

Bug: 17307367
Change-Id: I2ee284bdbd3b54a368e373d9ac9e6e47205dcff6

10 years agoMerge "redirect the ff/rw key event to ff/rw enabled player" into lmp-dev
Andre Eisenbach [Fri, 29 Aug 2014 17:06:41 +0000 (17:06 +0000)]
Merge "redirect the ff/rw key event to ff/rw enabled player" into lmp-dev

10 years agoMerge "More precise control of batch alarm." into lmp-dev
Wei Wang [Fri, 29 Aug 2014 07:18:32 +0000 (07:18 +0000)]
Merge "More precise control of batch alarm." into lmp-dev

10 years agoMerge "Colored notifications" into lmp-dev
Selim Cinek [Thu, 28 Aug 2014 09:36:04 +0000 (09:36 +0000)]
Merge "Colored notifications" into lmp-dev

10 years agoMerge "Listen for phone state on connect instead of SLC" into lmp-dev
Matthew Xie [Thu, 28 Aug 2014 05:40:59 +0000 (05:40 +0000)]
Merge "Listen for phone state on connect instead of SLC" into lmp-dev

10 years agoMore precise control of batch alarm.
Wei Wang [Thu, 21 Aug 2014 17:27:45 +0000 (10:27 -0700)]
More precise control of batch alarm.

Use setWindow instead of setRepeating for alarms.
SetRepeating is inexact and the alarm can be triggered quite randomly,
while setWindow gives more precise control of trigger time.

Also unregister alarmReceiver during cleanup to avoid leak of
IntentReceiver.

Bug: 16689485, Bug:16826684
Change-Id: I5245e1424aad3c11ab5ce8a7393031e9d4f1dd03

10 years agoredirect the ff/rw key event to ff/rw enabled player
Zhenye Zhu [Tue, 26 Aug 2014 22:16:30 +0000 (15:16 -0700)]
redirect the ff/rw key event to ff/rw enabled player

Added code to cleanup the forward/rewind
event queue and redirect the key event to
the ff/rw enabled player
Bug 16890205

Change-Id: If09c0693621d9f36fb7dc14177597e30450b87b6

10 years agoColored notifications
Selim Cinek [Wed, 27 Aug 2014 13:51:25 +0000 (15:51 +0200)]
Colored notifications

Bug: 17128331
Change-Id: Ic1a4d9803790cc0f3e8003ede4da8cc8f26729cf

10 years agoSet batch scan params based on scan settings.
Prerepa Viswanadham [Mon, 25 Aug 2014 21:27:15 +0000 (14:27 -0700)]
Set batch scan params based on scan settings.

bug 17134263

Change-Id: Id0d314ad1c14ad20e32830ae2c8ad5f80765b28b

10 years agoListen for phone state on connect instead of SLC
Ravi Nagarajan [Fri, 19 Apr 2013 10:03:54 +0000 (03:03 -0700)]
Listen for phone state on connect instead of SLC

Phone state listener changed to start on connect. This gaurantees
that the CIND response as part of SLC reflects the right indicator
values
bug 17020870

Change-Id: I47989643600edfa4d4e422998c3a644a7f7556b9

10 years agoam 28d13bff: (-s ours) am bbea2cec: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Mon, 25 Aug 2014 22:07:17 +0000 (22:07 +0000)]
am 28d13bff: (-s ours) am bbea2cec: (-s ours) Import translations. DO NOT MERGE

* commit '28d13bff5306fa45e41d7ea675aafe9e8a1113f4':
  Import translations. DO NOT MERGE

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Mon, 25 Aug 2014 16:11:05 +0000 (16:11 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

10 years agoMerge "Fix API council review comments. Also hide certain APIs(2/3)." into lmp-dev
Wei Wang [Sun, 24 Aug 2014 23:00:39 +0000 (23:00 +0000)]
Merge "Fix API council review comments. Also hide certain APIs(2/3)." into lmp-dev

10 years agoMerge "Fix race condition when advertising app dies." into lmp-dev
Wei Wang [Sun, 24 Aug 2014 19:00:08 +0000 (19:00 +0000)]
Merge "Fix race condition when advertising app dies." into lmp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 24 Aug 2014 15:42:20 +0000 (08:42 -0700)]
Import translations. DO NOT MERGE

Change-Id: I6029a797339c39be20b2f31c59fcfac91d1fbb4b
Auto-generated-cl: translation import

10 years agoam bbea2cec: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Fri, 22 Aug 2014 17:16:24 +0000 (17:16 +0000)]
am bbea2cec: (-s ours) Import translations. DO NOT MERGE

* commit 'bbea2cec7b27babcd06dc8ade731978d19e79e7b':
  Import translations. DO NOT MERGE

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 22 Aug 2014 16:30:17 +0000 (09:30 -0700)]
Import translations. DO NOT MERGE

Change-Id: I8d26c9d88113963727edee77423cfbcd50742ce6
Auto-generated-cl: translation import

10 years agoMerge "LE: Rename new MTU and connection paramter update APIs" into lmp-dev
Andre Eisenbach [Thu, 21 Aug 2014 17:56:41 +0000 (17:56 +0000)]
Merge "LE: Rename new MTU and connection paramter update APIs" into lmp-dev

10 years agoFix race condition when advertising app dies.
Wei Wang [Tue, 12 Aug 2014 21:48:18 +0000 (14:48 -0700)]
Fix race condition when advertising app dies.

Bug: 16565960
Change-Id: Ica801a1186e62fcba666deabe5989dd47d404b68

10 years agoLE: Rename new MTU and connection paramter update APIs
Andre Eisenbach [Wed, 20 Aug 2014 01:01:08 +0000 (18:01 -0700)]
LE: Rename new MTU and connection paramter update APIs

bug 17005342
Change-Id: Ic773b5c4bb3da9777613c8094ad21ea6f720110d

10 years agoStop using LinkProperties for static configuration.
Lorenzo Colitti [Tue, 12 Aug 2014 01:44:31 +0000 (10:44 +0900)]
Stop using LinkProperties for static configuration.

Bug: 16114392
Bug: 16893413
Change-Id: Ib33f35c004e30b6067bb20235ffa43c247d174df

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Sun, 17 Aug 2014 13:42:47 +0000 (13:42 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

10 years agoam b35d0599: (-s ours) am 2396c919: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Sat, 16 Aug 2014 04:00:17 +0000 (04:00 +0000)]
am b35d0599: (-s ours) am 2396c919: (-s ours) Import translations. DO NOT MERGE

* commit 'b35d0599bc5846886913147aff52ddd8ee6b05ff':
  Import translations. DO NOT MERGE

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 16 Aug 2014 02:39:30 +0000 (19:39 -0700)]
Import translations. DO NOT MERGE

Change-Id: Icaaa618e7c4b13fda5ff936aebfe02ee1e4f277c
Auto-generated-cl: translation import

10 years agoam 2396c919: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Fri, 15 Aug 2014 22:20:00 +0000 (22:20 +0000)]
am 2396c919: (-s ours) Import translations. DO NOT MERGE

* commit '2396c919e3eba633feb37a84bd195bfde5f48629':
  Import translations. DO NOT MERGE

10 years agoFix API council review comments. Also hide certain APIs(2/3).
Wei Wang [Fri, 15 Aug 2014 21:02:45 +0000 (14:02 -0700)]
Fix API council review comments. Also hide certain APIs(2/3).

b/17006825

Change-Id: I6c0e739e44f8a9d26f3f2b03937b38d4dec893e7

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 15 Aug 2014 19:20:32 +0000 (12:20 -0700)]
Import translations. DO NOT MERGE

Change-Id: I3ca5afbffa0ddc43dde3bd614bb8e099550c086a
Auto-generated-cl: translation import

10 years agoAdd protection before cleaning up adv and scan manager.
Wei Wang [Wed, 13 Aug 2014 05:41:28 +0000 (22:41 -0700)]
Add protection before cleaning up adv and scan manager.

b/16845251

Apparently for GattService stop and cleanup could be called before start
is even called.

Change-Id: Id0ac2e68da504f79160264012a0cdf5127eccfc7

10 years agoMerge "Use nanos instead of micros in BLE scan." into lmp-dev
Wei Wang [Wed, 13 Aug 2014 05:03:34 +0000 (05:03 +0000)]
Merge "Use nanos instead of micros in BLE scan." into lmp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 11 Aug 2014 17:59:37 +0000 (10:59 -0700)]
Import translations. DO NOT MERGE

Change-Id: I534010963a83e71abf460bdf8771c38dce895d8c
Auto-generated-cl: translation import

10 years agoUse nanos instead of micros in BLE scan.
Wei Wang [Mon, 11 Aug 2014 17:42:10 +0000 (10:42 -0700)]
Use nanos instead of micros in BLE scan.

Change-Id: Ifdaf101f92ae4c8d2bcecf62a1942961d6610151

10 years agoMake directory structure + Java packages consistent.
Jeff Davidson [Fri, 8 Aug 2014 20:59:52 +0000 (13:59 -0700)]
Make directory structure + Java packages consistent.

Fixes Eclipse compilation errors.

Change-Id: I2898a2aaf2b19b4c64fd523f792bb224c79b5d75

10 years agoMerge "fix build." into lmp-dev
Wei Wang [Fri, 8 Aug 2014 02:32:04 +0000 (02:32 +0000)]
Merge "fix build." into lmp-dev

10 years agofix build.
Wei Wang [Fri, 8 Aug 2014 01:28:52 +0000 (18:28 -0700)]
fix build.

Change-Id: I034cc118ea4dca67ed6240b700d4ac504562ddfc

10 years agoFix build.
Wei Wang [Thu, 7 Aug 2014 21:01:18 +0000 (14:01 -0700)]
Fix build.

Change-Id: Ied3bd289b662cd342ba05f5038175007d3211a63