OSDN Git Service

Optimize Opp Notification
authorLiejun Tao <L.J.Tao@motorola.com>
Mon, 2 Aug 2010 22:37:23 +0000 (17:37 -0500)
committerJaikumar Ganesh <jaikumar@google.com>
Wed, 11 Aug 2010 18:14:59 +0000 (11:14 -0700)
commiteb77c4b1d9aa71d7dd8dd934e9d1971583f9c0e2
tree0d9f232f964927eec8a200f6926de99af341c606
parent6c75d2f16e09a66927aad03423ce191f860369d3
Optimize Opp Notification

Current Opp notification is running too frequently. When file transfer
speed is fast, it could update notification 7-8 times in 1 second.
Use a timer to limit the notification to once per second.

Change-Id: I162033d9e12148260515c8ed318928e4de9a4392
src/com/android/bluetooth/opp/BluetoothOppNotification.java
src/com/android/bluetooth/opp/BluetoothOppService.java
src/com/android/bluetooth/opp/BluetoothOppTransferHistory.java