Mike Lockwood
c239379c0c
AudioService: remove logging from adjustMasterVolume that was left in by mistake
...
Change-Id: I75c430d2c50c4cab3b6207efab5a6f11aed728d2
Signed-off-by: Mike Lockwood <lockwood@google.com>
2011-12-16 11:26:37 -05:00
Mike Lockwood
f9113d311b
Defer persisting master data to avoid excessive database writes
...
Bug: 5705192
Change-Id: I252bd72ff72ef4a40174d4597059e89691acb34f
Signed-off-by: Mike Lockwood <lockwood@google.com>
2011-12-15 17:26:17 -05:00
Glenn Kasten
25adf47477
Merge "Fix indentation and whitespace"
2011-12-14 17:35:36 -08:00
Glenn Kasten
fb2ab9efc3
Fix indentation and whitespace
...
Use git diff -w to verify.
Change-Id: Ib65be0a1ecf65d6cad516110604e3855bf68a638
2011-12-14 16:54:05 -08:00
Glenn Kasten
5bb8f80fc4
Fix typo in error message, missing space
...
Change-Id: Icdddbf2fddb81a1db538dd94fb25cf859e44bfbd
2011-12-14 13:13:13 -08:00
Joe Onorato
b782e8d71e
logging
...
Change-Id: I6fde5617365f479884937615e0d3f0f4ecc2dc14
2011-12-13 22:17:04 -08:00
Glenn Kasten
ba195ebc76
Fix race conditions related to ringer mode
...
Consistently protect all reads and writes of mRingerMode by mSettingsLock.
Change-Id: I72675ff9009880cc212616f0f79f809a28eb6bff
2011-12-13 10:04:56 -08:00
Mike Lockwood
a8f4e83595
Remove reference counting and client death notification for master mute
...
The use case for master mute is to toggle it on and off from a
KEYCODE_VOLUME_MUTE event, so this was unnecessary and prevented unmuting
in certain cases
Bug: 5724755
Change-Id: I041a112cd39e1c00dcae27e2266a95ce225e9b64
Signed-off-by: Mike Lockwood <lockwood@google.com>
2011-12-07 12:34:31 -08:00
Amith Yamasani
52cb1da2c6
am f3364080: Merge "New and improved silent mode on lockscreen." into ics-mr1
...
* commit 'f336408000c4be36045401fb4df89528249e7383':
New and improved silent mode on lockscreen.
2011-12-07 11:02:51 -08:00
James Dong
ca402cdcac
Update onVideoSizeChanged() callback method Java doc to explicitly specify the conditions under which the width/height passed
...
to the callback could be 0.
Change-Id: Ie921f0af8284eccfd02c4a5826ed41fe19f9676f
related-to-bug: 5613451
2011-12-06 17:58:22 -08:00
Amith Yamasani
9c316f3c6a
am d49ec62c: am f3364080: Merge "New and improved silent mode on lockscreen." into ics-mr1
...
* commit 'd49ec62cfb0469c39f2b5d79cbf2a6f69cceb7d7':
New and improved silent mode on lockscreen.
2011-12-06 16:59:44 -08:00
Amith Yamasani
6243edd818
New and improved silent mode on lockscreen.
...
3-state item to toggle between Silent/Vibrate/Ringer in long-press power menu.
No volume dialog on lockscreen, unless Power menu is up.
Set VIBRATE_IN_SILENT=1 when upgrading device.
Change-Id: I097d216f96c4abdbd83420e0c477106951b3607d
2011-12-06 14:48:38 -08:00
Mike Lockwood
3309386a1b
AudioService: Send broadcasts when master volume and mute state change
...
Change-Id: I7eb5041f0c14f419317e29ea6fa7faa9159cf165
Signed-off-by: Mike Lockwood <lockwood@google.com>
2011-12-05 18:47:38 -08:00
Amith Yamasani
89972657bd
am f8dad0b3: am afd01086: Merge "Further volume improvements." into ics-mr1
...
* commit 'f8dad0b37d9aa2476ef3ab84b9f4a7a9f4c960e4':
Further volume improvements.
2011-12-02 17:49:31 -08:00
Hong Teng
29f1c32eea
am 5126f1d4: am 613ed4c6: Merge "Fixd for 5490443 Native crash while exporting a video - Add new onError callback to PreviewProgressListener, which is used to indicate video editor application for the error that has occurred during priviewing. With this modification,
...
* commit '5126f1d413b4fcb0aff5b364e1e5a41c89ca665c':
Fixd for 5490443 Native crash while exporting a video - Add new onError callback to PreviewProgressListener, which is used to indicate video editor application for the error that has occurred during priviewing. With this modification, the application must implement the onError method, and then VideoEditorPreviewTest.java is changed accordingly.
2011-12-02 13:44:10 -08:00
Mike Lockwood
15cf022c70
am 1a3ece9f: Merge "MTP: Add support for restricting PTP to only certain subdirectories of the storage DO NOT MERGE" into ics-mr1
...
* commit '1a3ece9f871c94eb524543ae618a2a1c88cab2cd':
MTP: Add support for restricting PTP to only certain subdirectories of the storage DO NOT MERGE
2011-12-02 13:22:28 -08:00
Mike Lockwood
7944c1b19f
MTP: Add support for restricting PTP to only certain subdirectories of the storage DO NOT MERGE
...
Bug: 5527220
Change-Id: I81d6de590ea3002118ba46eb4b6d5fe9061c998c
Signed-off-by: Mike Lockwood <lockwood@google.com>
2011-12-02 15:12:47 -05:00
Amith Yamasani
54a7962590
am afd01086: Merge "Further volume improvements." into ics-mr1
...
* commit 'afd01086795c7c1f6950a709180b2361625b8b6a':
Further volume improvements.
2011-12-02 11:23:50 -08:00
Amith Yamasani
afd0108679
Merge "Further volume improvements." into ics-mr1
2011-12-02 11:22:32 -08:00
Jean-Michel Trivi
d62da2d0da
Remove unused variable and imports in AudioManager
...
Remove unused imports.
Remove private mHandler variable: it was assigned a new Handler
object but was never accessed.
Change-Id: I63cd08aa38701ea157fef7d3185a58a6e2a95822
2011-12-02 09:54:16 -08:00
Hong Teng
1109fe9d81
am 613ed4c6: Merge "Fixd for 5490443 Native crash while exporting a video - Add new onError callback to PreviewProgressListener, which is used to indicate video editor application for the error that has occurred during priviewing. With this modification, the applicati
...
* commit '613ed4c69a53e6ffb1f104c7d45a0c6dd41c8eb0':
Fixd for 5490443 Native crash while exporting a video - Add new onError callback to PreviewProgressListener, which is used to indicate video editor application for the error that has occurred during priviewing. With this modification, the application must implement the onError method, and then VideoEditorPreviewTest.java is changed accordingly.
2011-12-02 09:33:47 -08:00
Hong Teng
613ed4c69a
Merge "Fixd for 5490443 Native crash while exporting a video - Add new onError callback to PreviewProgressListener, which is used to indicate video editor application for the error that has occurred during priviewing. With this modification, the application must implement the onError method, and then VideoEditorPreviewTest.java is changed accordingly." into ics-mr1
2011-12-02 09:32:02 -08:00
Mike Lockwood
6a5c1a9574
Merge "MTP: Add support for restricting PTP to only certain subdirectories of the storage"
2011-12-02 08:17:33 -08:00
Mike Lockwood
73e56d935e
MTP: Add support for restricting PTP to only certain subdirectories of the storage
...
Bug: 5527220
Change-Id: If68e7481617ecb62abd24e2d89e6b7dfdf95ba2b
Signed-off-by: Mike Lockwood <lockwood@google.com>
2011-12-02 11:08:39 -05:00
Eric Laurent
ee07e110d9
am 6cfa9e6c: am 0d3a2e93: Merge "AudioService: strengthen A2DP device detection" into ics-mr1
...
* commit '6cfa9e6c507a721f647518569c89db9560056079':
AudioService: strengthen A2DP device detection
2011-12-01 20:38:15 -08:00
Eric Laurent
c1f069bb40
am 0d3a2e93: Merge "AudioService: strengthen A2DP device detection" into ics-mr1
...
* commit '0d3a2e93394efa4729e5c29ff4515f9f2644b8c3':
AudioService: strengthen A2DP device detection
2011-12-01 20:35:32 -08:00
Amith Yamasani
2ef6f1bb56
Further volume improvements.
...
- Remove silent mode from Power menu
- Show volume dialog on lockscreen
- Allow beeps when adjusting volume in lockscreen
Bug: 5586083
Change-Id: I93052a8ec5004c784f20e04488af9382d495e711
2011-12-01 15:05:54 -08:00
Hong Teng
63149c81ad
Fixd for 5490443 Native crash while exporting a video
...
- Add new onError callback to PreviewProgressListener, which is
used to indicate video editor application for the error that has occurred during
priviewing.
With this modification, the application must implement the onError method,
and then VideoEditorPreviewTest.java is changed accordingly.
Change-Id: I15610b8907fcf8bd35a3c69ad7c07b5175a6e309
2011-12-01 09:43:42 -08:00
Eric Laurent
6bc7f2cd30
AudioService: strengthen A2DP device detection
...
If the intent BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED is broadcast
before AudioService is started, The A2DP device connection is never detected
by the audio framework resulting in audio not being routed to A2DP unless the device
is rebooted or the A2DP headset reconnected.
Make sure that A2DP device connection state is sampled when
boot completed event is received.
Issue 5665159
Change-Id: I04d82020afc00af28c5ea0bb9879ed55bcc9b6f3
2011-11-30 17:08:44 -08:00
dujin.cha
55cadf7eca
am 4d592c59: am eabde3d4: am fe464a76: [Prime K] Fix gabage character issue
...
* commit '4d592c59e684ed3e6f0db4b05c37ba8774b8d410':
[Prime K] Fix gabage character issue
2011-11-22 13:22:00 -08:00
dujin.cha
b31783b142
am eabde3d4: am fe464a76: [Prime K] Fix gabage character issue
...
* commit 'eabde3d4a9027a19443a31c7c7cda3d44fb0ffe0':
[Prime K] Fix gabage character issue
2011-11-22 13:20:21 -08:00
dujin.cha
eabde3d4a9
am fe464a76: [Prime K] Fix gabage character issue
...
* commit 'fe464a76d8fc858be971dbb5e67b1d22fd925347':
[Prime K] Fix gabage character issue
2011-11-22 13:18:27 -08:00
dujin.cha
fe464a76d8
[Prime K] Fix gabage character issue
...
Korean characters show up as gabage characters in Music player.
Reason : MTP service does not set the locale for the MediaScanner
Solution : Set locale when MtpDatabase creates MediaScanner.
Bug ID : 5567433
Signed-off-by: dujin.cha <dujin.cha@samsung.com>
Change-Id: I4bfe5f603c113170d45bd57a8709c21c665e260b
2011-11-22 10:28:21 -08:00
Mike Lockwood
b0e6d4f87f
Merge "AudioManager: Add wrapper methods for master volume support" into ics-aah
2011-11-16 11:35:23 -08:00
Mike Lockwood
c614df9650
AudioManager: Add wrapper methods for master volume support
...
Change-Id: Ibfc24f052d05824175f71c2138ba041c94c3def7
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-11-16 11:30:47 -08:00
Mike Lockwood
47a0a8832f
Merge "AudioManager: Add support for master mute" into ics-aah
2011-11-16 07:41:21 -08:00
James Dong
0e7d85fa93
am 4e72e2bf: am 4fdc36e6: Merge "Document that release() should be called with onPause() and onStop() for media objects" into ics-mr1
...
* commit '4e72e2bfc24afe053ca98c6de2591a4057cfd9fa':
Document that release() should be called with onPause() and onStop() for media objects
2011-11-15 20:19:55 -08:00
James Dong
541e2e6695
am 4fdc36e6: Merge "Document that release() should be called with onPause() and onStop() for media objects" into ics-mr1
...
* commit '4fdc36e6d6003cdce911678f0b233697554f8dbf':
Document that release() should be called with onPause() and onStop() for media objects
2011-11-15 20:16:45 -08:00
James Dong
4fdc36e6d6
Merge "Document that release() should be called with onPause() and onStop() for media objects" into ics-mr1
2011-11-15 20:13:03 -08:00
Jean-Michel Trivi
29270da5f7
am 4978c1a5: am 0ddb0143: Merge "Fix 5623252 unlink to death of audio focus client early" into ics-mr1
...
* commit '4978c1a5b07782d622ca9e3eedd649a5927d226f':
Fix 5623252 unlink to death of audio focus client early
2011-11-15 18:28:39 -08:00
Jean-Michel Trivi
08b2d32628
am 0ddb0143: Merge "Fix 5623252 unlink to death of audio focus client early" into ics-mr1
...
* commit '0ddb0143895b816d4ff5c174b346390e07f26556':
Fix 5623252 unlink to death of audio focus client early
2011-11-15 18:21:43 -08:00
James Dong
89ca6983eb
Document that release() should be called with onPause() and onStop() for media objects
...
Change-Id: I12dd734b4314df4f0573ad56a1714348e50da05e
related-to-bug: 5616833
2011-11-15 18:08:06 -08:00
Jean-Michel Trivi
e7edc86853
Fix 5623252 unlink to death of audio focus client early
...
When removing an entry in the audio focus stack, don't wait for
this object's finalizer to unlink to the death of the associated
client, and unlink right away.
The FocusStackEntry.unlinkToDeath() method is made safe to call
by catching the exception it can throw inside its body.
Change-Id: Id347a933d72dcb41531adff2854fb00277032cc9
2011-11-15 17:41:05 -08:00
Jean-Michel Trivi
eb80b31b55
am 87597d9c: am 538dc6ac: Merge "Fix 5615747 Don\'t leak remote control client death handlers" into ics-mr1
...
* commit '87597d9ce00691f05703f728c17548df2bbc9cc2':
Fix 5615747 Don't leak remote control client death handlers
2011-11-15 13:06:57 -08:00
Mike Lockwood
cfbcd3bf21
AudioManager: Add support for master mute
...
Change-Id: I98e87d1e266e0523c4aacb23cc5c4b3fdc7a1eac
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-11-15 09:57:33 -08:00
Jean-Michel Trivi
0dba46f9b2
am 538dc6ac: Merge "Fix 5615747 Don\'t leak remote control client death handlers" into ics-mr1
...
* commit '538dc6acfd14ea59f0b294531f9417ca04ca621f':
Fix 5615747 Don't leak remote control client death handlers
2011-11-15 09:26:02 -08:00
Jean-Michel Trivi
a9509736c8
Fix 5615747 Don't leak remote control client death handlers
...
Whenever a remote control stack entry is GC'd or removed from
the stack, unlink its death handler.
Change-Id: Ia4ed6667351849fd388272591e24ffc16959beaf
2011-11-14 17:30:23 -08:00
Jean-Michel Trivi
f1ec32db68
am 9d36a995: am 258576a8: Merge "Fix 5607938 AudioFocusDeathHandler leaks GREF" into ics-mr1
...
* commit '9d36a99582518ed1a7fb005382e0128479b43e18':
Fix 5607938 AudioFocusDeathHandler leaks GREF
2011-11-14 14:38:30 -08:00
Jean-Michel Trivi
09d936feb8
am 258576a8: Merge "Fix 5607938 AudioFocusDeathHandler leaks GREF" into ics-mr1
...
* commit '258576a82c2293c3a988bf2dc6744fd8082421f9':
Fix 5607938 AudioFocusDeathHandler leaks GREF
2011-11-14 14:36:11 -08:00
Glenn Kasten
527c44e8a4
Merge "Don't check return value of new for being == null"
2011-11-14 10:50:33 -08:00