OSDN Git Service

android-x86/frameworks-base.git
12 years agoMerge "Clean up Surface Texture on Java side"
Teng-Hui Zhu [Thu, 1 Mar 2012 19:32:59 +0000 (11:32 -0800)]
Merge "Clean up Surface Texture on Java side"

12 years agoClean up Surface Texture on Java side
Teng-Hui Zhu [Thu, 1 Mar 2012 01:21:35 +0000 (17:21 -0800)]
Clean up Surface Texture on Java side

bug:6079959

Change-Id: I5869d4fe4dc6eb12a117937b95a8277897d71ebb

12 years agoMerge "[maguro] Add Cheers' MCCMNC in SIMRecords.java"
John Wang [Thu, 1 Mar 2012 18:52:47 +0000 (10:52 -0800)]
Merge "[maguro] Add Cheers' MCCMNC in SIMRecords.java"

12 years ago[maguro] Add Cheers' MCCMNC in SIMRecords.java
Sangcheol Lee [Sat, 4 Feb 2012 09:02:06 +0000 (18:02 +0900)]
[maguro] Add Cheers' MCCMNC in SIMRecords.java

[issue 5963659]
Result:
There is no APN information for Cheers

Expected Result:
Mobile internet APN name for Cheers should be displayed

Change-Id: Iab29cfbd06ab15559048ced23136abae1fcab8f3

12 years agoMerge "If no NITZ information use Country Code to set TimeZone."
Wink Saville [Thu, 1 Mar 2012 18:28:56 +0000 (10:28 -0800)]
Merge "If no NITZ information use Country Code to set TimeZone."

12 years agoIf no NITZ information use Country Code to set TimeZone.
Wink Saville [Thu, 1 Mar 2012 18:25:48 +0000 (10:25 -0800)]
If no NITZ information use Country Code to set TimeZone.

This is not perfect and only works if the CC is known via
the GSM radio and is only accurate if there is one time zone
per country. This does nothing to resolve time zone problems
for wifi only devices.

So this is a partial fix for bug 2896745

Bug: 2896745
Change-Id: I78f013836c4e4870b8b1016a8312f5adbe0d31c9

12 years agoMerge "Improve documentation of SQLite debugging options."
Jeff Brown [Thu, 1 Mar 2012 18:23:51 +0000 (10:23 -0800)]
Merge "Improve documentation of SQLite debugging options."

12 years agoImprove documentation of SQLite debugging options.
Jeff Brown [Thu, 1 Mar 2012 18:21:29 +0000 (10:21 -0800)]
Improve documentation of SQLite debugging options.

Change-Id: Id3b4d9e4e9dd62d2a1e6188477225af7717788f4

12 years agoMerge "renamed audio policy output flag."
Eric Laurent [Thu, 1 Mar 2012 18:17:21 +0000 (10:17 -0800)]
Merge "renamed audio policy output flag."

12 years agoMerge "Allocation sampling api prototypes."
Alex Sakhartchouk [Thu, 1 Mar 2012 17:43:43 +0000 (09:43 -0800)]
Merge "Allocation sampling api prototypes."

12 years agorenamed audio policy output flag.
Eric Laurent [Thu, 1 Mar 2012 17:38:00 +0000 (09:38 -0800)]
renamed audio policy output flag.

Renamed AUDIO_POLICY_OUTPUT_FLAG_INDIRECT to AUDIO_POLICY_OUTPUT_FLAG_NONE
which is more appropriate.

Change-Id: Ia14d60397df0f2dcd9bea0186400a09da35bc104

12 years agoam 62b4e4a8: am 86ca108c: am a53b3bfa: docs: Android Design downloads section, linkab...
Roman Nurik [Thu, 1 Mar 2012 17:26:24 +0000 (09:26 -0800)]
am 62b4e4a8: am 86ca108c: am a53b3bfa: docs: Android Design downloads section, linkable H2s.

* commit '62b4e4a83ea949537ca4bb1f56074d63a17bf87a':

12 years agoam b96ad49a: am c47369d7: am a53b3bfa: docs: Android Design downloads section, linkab...
Roman Nurik [Thu, 1 Mar 2012 17:08:33 +0000 (09:08 -0800)]
am b96ad49a: am c47369d7: am a53b3bfa: docs: Android Design downloads section, linkable H2s.

* commit 'b96ad49a3a898b741f7c4d6854e599116546e2ac':
  docs: Android Design downloads section, linkable H2s.

12 years agoMerge "Don't forget to turn off mobile_dun"
Robert Greenwalt [Thu, 1 Mar 2012 16:13:24 +0000 (08:13 -0800)]
Merge "Don't forget to turn off mobile_dun"

12 years agoMerge "Handle sentence level spell checking hidden APIs"
satok [Thu, 1 Mar 2012 08:25:03 +0000 (00:25 -0800)]
Merge "Handle sentence level spell checking hidden APIs"

12 years agoHandle sentence level spell checking hidden APIs
satok [Wed, 30 Nov 2011 06:38:30 +0000 (15:38 +0900)]
Handle sentence level spell checking hidden APIs

Change-Id:  Ia91f1771c0b8ef458dd5b023f4c372cc36a15657

12 years agoMerge "Use SINGLE_TOP and CLEAR_TOP when starting camera from lock scren."
Wu-cheng Li [Thu, 1 Mar 2012 06:49:10 +0000 (22:49 -0800)]
Merge "Use SINGLE_TOP and CLEAR_TOP when starting camera from lock scren."

12 years agoMerge "Externalize more SQLite configuration options."
Jeff Brown [Thu, 1 Mar 2012 05:29:22 +0000 (21:29 -0800)]
Merge "Externalize more SQLite configuration options."

12 years agoExternalize more SQLite configuration options.
Jeff Brown [Thu, 1 Mar 2012 05:03:20 +0000 (21:03 -0800)]
Externalize more SQLite configuration options.

Moved more configuration into config.xml so we can tweak settings
like the default journal mode, WAL auto-checkpoint interval and
so on.

This change itself should not introduce any functional differences.

Change-Id: Id6c95fa25b116ce47e8ae49cd8a80d52b1c0dd80

12 years agoMerge "Improve Wi-Fi hand-off"
Irfan Sheriff [Thu, 1 Mar 2012 03:33:06 +0000 (19:33 -0800)]
Merge "Improve Wi-Fi hand-off"

12 years agoMerge "Full implementation of Canvas.drawPath()"
Romain Guy [Thu, 1 Mar 2012 03:16:15 +0000 (19:16 -0800)]
Merge "Full implementation of Canvas.drawPath()"

12 years agoFull implementation of Canvas.drawPath()
Romain Guy [Wed, 29 Feb 2012 02:17:02 +0000 (18:17 -0800)]
Full implementation of Canvas.drawPath()

Change-Id: I23223b89770a0cd2b4762365bead9bfddb094290

12 years agoMerge "Fix bug #3389545 android:ellipsize="end" doesn't work without using android...
Fabrice Di Meglio [Thu, 1 Mar 2012 02:45:54 +0000 (18:45 -0800)]
Merge "Fix bug #3389545 android:ellipsize="end" doesn't work without using android:singleLine="true" which is deprecated"

12 years agoFix bug #3389545 android:ellipsize="end" doesn't work without using android:singleLin...
Fabrice Di Meglio [Thu, 1 Mar 2012 02:43:14 +0000 (18:43 -0800)]
Fix bug #3389545 android:ellipsize="end" doesn't work without using android:singleLine="true" which is deprecated

- take care of single line case too

Change-Id: I73c3dcb96f22241b35d7cbaf43cd9bd46a4abcaa

12 years agoImprove Wi-Fi hand-off
Irfan Sheriff [Sat, 28 Jan 2012 05:00:19 +0000 (21:00 -0800)]
Improve Wi-Fi hand-off

When Wi-fi connects at L2 layer, the beacons reach and the device
can maintain a connection to the access point, but the application
connectivity can be flaky (due to bigger packet size exchange).

We now use Watchdog to monitor the quality of the last hop on
Wi-Fi using signal strength and ARP connectivity as indicators
to decide if the link is good enough to switch to Wi-Fi as the uplink.

ARP pings are useful for link validation but can still get through
when the application traffic fails to go through and thus not best indicator
real packet loss since they are tiny packets (28 bytes) and have
much low chance of packet corruption than the regular data
packets.

Signal strength and ARP used together ends up working well in tests.
The goal is to switch to Wi-Fi after validating ARP transfer
and RSSI and then switching out of Wi-Fi when we hit a low
signal strength threshold and waiting until the signal strength
improves and validating ARP transfer.

Change-Id: Ica593291ec7772da892f03cf45b649635b730c47

12 years agoMerge "Invalidate text display list on scroll"
Gilles Debunne [Thu, 1 Mar 2012 01:32:20 +0000 (17:32 -0800)]
Merge "Invalidate text display list on scroll"

12 years agoMerge "Fix alpha when swiping recents on tablets"
Michael Jurka [Thu, 1 Mar 2012 01:30:05 +0000 (17:30 -0800)]
Merge "Fix alpha when swiping recents on tablets"

12 years agoMerge "Don't throw if sqlite3_finalize returns an error."
Jeff Brown [Thu, 1 Mar 2012 01:06:23 +0000 (17:06 -0800)]
Merge "Don't throw if sqlite3_finalize returns an error."

12 years agoMerge "Refactor SQLiteOpenHelper."
Jeff Brown [Thu, 1 Mar 2012 01:06:08 +0000 (17:06 -0800)]
Merge "Refactor SQLiteOpenHelper."

12 years agoDon't throw if sqlite3_finalize returns an error.
Jeff Brown [Wed, 29 Feb 2012 23:52:30 +0000 (15:52 -0800)]
Don't throw if sqlite3_finalize returns an error.

Change-Id: Ibcc772ad5343dd241ed9dc492e4d838e1ab962d4

12 years agoRefactor SQLiteOpenHelper.
Jeff Brown [Wed, 29 Feb 2012 18:19:12 +0000 (10:19 -0800)]
Refactor SQLiteOpenHelper.

Combine the code for opening readable and writable databases.
This improves the handling of the case where a database cannot
be opened because it cannot be upgraded.  Previously we would
open the database twice: first read-write, then read-only, each
time failing due to the version check.  Now only open it once.

Removed the goofy locking logic related to upgrading a read-only
database to read-write.  We now do it in place by reopening the
necessary connections in the connection pool.

Change-Id: I6deca3fb90e43f4ccb944d4715307fd6fc3e1383

12 years agoFix alpha when swiping recents on tablets
Michael Jurka [Wed, 29 Feb 2012 23:51:49 +0000 (15:51 -0800)]
Fix alpha when swiping recents on tablets

When you swipe to dismiss a recent item on a
tablet, fade the item to 0 alpha

Also, create common interface for Recents-specific
methods for Recents[Horizontal/Vertical]ScrollView

Bug: 5953654

Change-Id: I0a72b49b3cfae0607b42dbf8f6d4da9898d7e491

12 years agoAllocation sampling api prototypes.
Alex Sakhartchouk [Thu, 1 Mar 2012 00:43:24 +0000 (16:43 -0800)]
Allocation sampling api prototypes.

Change-Id: Ia11c6a107ea49ad6f40cfd220c537376a18c3b62

12 years agoMerge "Fixed several 64-bit porting issues"
Andrew Hsieh [Thu, 1 Mar 2012 00:41:55 +0000 (16:41 -0800)]
Merge "Fixed several 64-bit porting issues"

12 years agoMerge "Added permission check for all sensitive drm API calls"
James Dong [Thu, 1 Mar 2012 00:32:10 +0000 (16:32 -0800)]
Merge "Added permission check for all sensitive drm API calls"

12 years agoMerge "Fix bug #5616520 When the device is set to Arabic, and the email application...
Fabrice Di Meglio [Thu, 1 Mar 2012 00:20:24 +0000 (16:20 -0800)]
Merge "Fix bug #5616520 When the device is set to Arabic, and the email application is launched, the guided text is not displayed"

12 years agoFix bug #5616520 When the device is set to Arabic, and the email application is launc...
Fabrice Di Meglio [Tue, 29 Nov 2011 02:44:47 +0000 (18:44 -0800)]
Fix bug #5616520 When the device is set to Arabic, and the email application is launched, the guided text is not displayed

- do correct scrolling when hint is shown

Change-Id: If17a1ffbd4d83bfa601e5ee97d3e73932eb4143c

12 years agoInvalidate text display list on scroll
Gilles Debunne [Wed, 29 Feb 2012 23:22:32 +0000 (15:22 -0800)]
Invalidate text display list on scroll

This is a problem only when using TextView's internal scroll.
Since there was no bug report about this obvious problem, it
looks like most EditText are single ine or located inside of
a ScrollView.

Change-Id: I699ad0078c9df64c70d10c64f0293b404485e05f

12 years agoMerge "Shorten thread names"
Glenn Kasten [Wed, 29 Feb 2012 22:59:08 +0000 (14:59 -0800)]
Merge "Shorten thread names"

12 years agoMerge "Prepare for threadLoop merge - active tracks"
Glenn Kasten [Wed, 29 Feb 2012 22:56:30 +0000 (14:56 -0800)]
Merge "Prepare for threadLoop merge - active tracks"

12 years agoPrepare for threadLoop merge - active tracks
Glenn Kasten [Wed, 29 Feb 2012 02:40:35 +0000 (18:40 -0800)]
Prepare for threadLoop merge - active tracks

Continued work on making the copies of threadLoop more similar:
 - Remove alias for mActiveTracks in MixerThread and DuplicatingThread.
 - Pull in declaration of activeTrack in DirectOutputThread.
 - Remove redundant parameter of prepareTracks_l().
 - Comment prepareTracks_l().

Change-Id: If1087c1902b454acec01ddfdd9f055f0ca7abf04

12 years agoMerge "AudioRecord const methods"
Glenn Kasten [Wed, 29 Feb 2012 22:45:25 +0000 (14:45 -0800)]
Merge "AudioRecord const methods"

12 years agoMerge "Update AudioFlinger comments"
Glenn Kasten [Wed, 29 Feb 2012 22:44:39 +0000 (14:44 -0800)]
Merge "Update AudioFlinger comments"

12 years agoMerge "Pull in declaration of effectChains to inner block"
Glenn Kasten [Wed, 29 Feb 2012 22:43:19 +0000 (14:43 -0800)]
Merge "Pull in declaration of effectChains to inner block"

12 years agoMerge "Fix simple_list_item_multiple_choice to use correct size and spacing."
Adam Powell [Wed, 29 Feb 2012 22:26:24 +0000 (14:26 -0800)]
Merge "Fix simple_list_item_multiple_choice to use correct size and spacing."

12 years agoFix simple_list_item_multiple_choice to use correct size and spacing.
Adam Powell [Wed, 29 Feb 2012 22:21:19 +0000 (14:21 -0800)]
Fix simple_list_item_multiple_choice to use correct size and spacing.

Change-Id: Ie9e3dd7ec10980a4411e60b93f778bb4863cbd3c

12 years agoMerge "Merge: Introduce UpdateLocks"
Christopher Tate [Wed, 29 Feb 2012 22:08:46 +0000 (14:08 -0800)]
Merge "Merge: Introduce UpdateLocks"

12 years agoMerge "Update to allow passing empty string in a binding."
Svetoslav Ganov [Wed, 29 Feb 2012 22:08:13 +0000 (14:08 -0800)]
Merge "Update to allow passing empty string in a binding."

12 years agoUpdate to allow passing empty string in a binding.
Svetoslav Ganov [Wed, 29 Feb 2012 22:02:06 +0000 (14:02 -0800)]
Update to allow passing empty string in a binding.

Change-Id: Ia16bd5dc78da1f5c8e52070d9c0e8431744224e8

12 years agoMerge: Introduce UpdateLocks
Christopher Tate [Thu, 23 Feb 2012 22:59:36 +0000 (14:59 -0800)]
Merge: Introduce UpdateLocks

An "UpdateLock" works similarly to a wake lock in API: the caller is
providing a hint to the OS that now is not a good time to interrupt
the user/device in order to do intrusive work like applying OTAs.
This is particularly important for headless or kiosk-like products
where ordinarily the update process will be automatically scheduled
and proceed without user or administrator intervention.

UpdateLocks require that the caller hold the new signatureOrSystem
permission android.permission.UPDATE_LOCK.  acquire() and release()
will throw security exceptions if this is not the case.

The "is now convenient?" state is expressed to interested parties
by way of a sticky broadcast sent only to registered listeners.  The
broadcast is protected; only the system can send it, so listeners
can trust it to be accurate.  The broadcast intent also includes a
timestamp (System.currentTimeMillis()) to help inform listeners that
wish to implement scheduling policies based on when the device became
idle.

The API change here is a tiny one: a dump(PrintWriter) method has been
added to the TokenWatcher class to facilitate getting information out
of it for dumpsys purposes.  UpdateLock itself is still @hide.

Bug 5543442

Change-Id: I3709c831fc1883d7cb753cd2d3ee8e10a61e7e48

12 years agoMerge "Revert "Add support for CMAS warning notifications over CDMA." I'll submit...
Jake Hamby [Wed, 29 Feb 2012 22:04:48 +0000 (14:04 -0800)]
Merge "Revert "Add support for CMAS warning notifications over CDMA." I'll submit again when the app change is ready."

12 years agoDon't forget to turn off mobile_dun
Robert Greenwalt [Tue, 28 Feb 2012 20:25:34 +0000 (12:25 -0800)]
Don't forget to turn off mobile_dun

When we find a higher priority match for tethering traffic we should turn off
whatever we were trying before.

bug:6083611
Change-Id: I06ee41336df107353bf1a979150345e461574a48

12 years agoRevert "Add support for CMAS warning notifications over CDMA." I'll submit again...
Jake Hamby [Wed, 29 Feb 2012 22:00:12 +0000 (14:00 -0800)]
Revert "Add support for CMAS warning notifications over CDMA." I'll submit again when the app change is ready.

This reverts commit 0c49f03a0429b5c0c4a619256f7bca86a4997ae8

12 years agoMerge "Import translations. DO NOT MERGE"
Eric Fischer [Wed, 29 Feb 2012 21:21:43 +0000 (13:21 -0800)]
Merge "Import translations. DO NOT MERGE"

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Wed, 29 Feb 2012 21:15:31 +0000 (13:15 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ia71bba63b3c0789908cd7f33cbbacd71aeab3f30

12 years agoam 86ca108c: am a53b3bfa: docs: Android Design downloads section, linkable H2s.
Roman Nurik [Wed, 29 Feb 2012 20:49:31 +0000 (12:49 -0800)]
am 86ca108c: am a53b3bfa: docs: Android Design downloads section, linkable H2s.

* commit '86ca108c65c3f8400e750d639b71d6a3cef5b600':

12 years agoam c47369d7: am a53b3bfa: docs: Android Design downloads section, linkable H2s.
Roman Nurik [Wed, 29 Feb 2012 20:45:16 +0000 (12:45 -0800)]
am c47369d7: am a53b3bfa: docs: Android Design downloads section, linkable H2s.

* commit 'c47369d7c5d3a588d7b0c655878f0bc7dd2ffedc':
  docs: Android Design downloads section, linkable H2s.

12 years agoam a53b3bfa: docs: Android Design downloads section, linkable H2s.
Roman Nurik [Wed, 29 Feb 2012 20:43:29 +0000 (12:43 -0800)]
am a53b3bfa: docs: Android Design downloads section, linkable H2s.

* commit 'a53b3bfaadd14aa325c6d6dc2542d7cbea66fc85':
  docs: Android Design downloads section, linkable H2s.

12 years agoam a53b3bfa: docs: Android Design downloads section, linkable H2s.
Roman Nurik [Wed, 29 Feb 2012 20:42:39 +0000 (12:42 -0800)]
am a53b3bfa: docs: Android Design downloads section, linkable H2s.

* commit 'a53b3bfaadd14aa325c6d6dc2542d7cbea66fc85':
  docs: Android Design downloads section, linkable H2s.

12 years agoMerge "Add support for CMAS warning notifications over CDMA."
Jake Hamby [Wed, 29 Feb 2012 20:41:38 +0000 (12:41 -0800)]
Merge "Add support for CMAS warning notifications over CDMA."

12 years agoMerge "Fix bug #5180841 TextLayoutCache needs to support Indic"
Fabrice Di Meglio [Wed, 29 Feb 2012 20:38:44 +0000 (12:38 -0800)]
Merge "Fix bug #5180841 TextLayoutCache needs to support Indic"

12 years agoMerge "Fix bug #5217606 LocaleUtils constants TEXT_LAYOUT_DIRECTION_LTR_DO_NOT_USE...
Fabrice Di Meglio [Wed, 29 Feb 2012 20:37:13 +0000 (12:37 -0800)]
Merge "Fix bug #5217606 LocaleUtils constants TEXT_LAYOUT_DIRECTION_LTR_DO_NOT_USE and TEXT_LAYOUT_DIRECTION_RTL_DO_NOT_USE should be renamed"

12 years agoMerge "Wrap StrictMode changes in try/finally."
Jeff Sharkey [Wed, 29 Feb 2012 20:29:22 +0000 (12:29 -0800)]
Merge "Wrap StrictMode changes in try/finally."

12 years agoMerge "Fix bug #5371909 Hebrew & Arabic mails are sent as LTR intead of RTL"
Fabrice Di Meglio [Wed, 29 Feb 2012 20:29:12 +0000 (12:29 -0800)]
Merge "Fix bug #5371909 Hebrew & Arabic mails are sent as LTR intead of RTL"

12 years agoWrap StrictMode changes in try/finally.
Jeff Sharkey [Wed, 29 Feb 2012 20:26:36 +0000 (12:26 -0800)]
Wrap StrictMode changes in try/finally.

Bug: 6091030
Change-Id: I2614f8bb30203e00953b1978bbcaf24d84d0397b

12 years agodocs: Android Design downloads section, linkable H2s.
Roman Nurik [Wed, 29 Feb 2012 19:59:32 +0000 (11:59 -0800)]
docs: Android Design downloads section, linkable H2s.

Change-Id: I4ed3006117efd740ff5f3bc93df2ac75c2dfd2f9

12 years agoMerge "get rid of MemoryHeapPmem"
Mathias Agopian [Wed, 29 Feb 2012 20:10:03 +0000 (12:10 -0800)]
Merge "get rid of MemoryHeapPmem"

12 years agoPull in declaration of effectChains to inner block
Glenn Kasten [Wed, 29 Feb 2012 15:56:15 +0000 (07:56 -0800)]
Pull in declaration of effectChains to inner block

Change-Id: I09eacf72124942abd604132b9f4e774b1236fcf3

12 years agomSuspend comments and usage
Glenn Kasten [Wed, 29 Feb 2012 15:07:30 +0000 (07:07 -0800)]
mSuspend comments and usage

Emphasize that playbackthread::mSuspend is a counter, not a bool

Change-Id: I7188e56814e1c54dbc65e560f3627f138257d644

12 years agoMerge "Mark similar and different sections in threadLoop"
Glenn Kasten [Wed, 29 Feb 2012 19:32:42 +0000 (11:32 -0800)]
Merge "Mark similar and different sections in threadLoop"

12 years agoFix bug #5371909 Hebrew & Arabic mails are sent as LTR intead of RTL
Fabrice Di Meglio [Tue, 28 Feb 2012 23:46:46 +0000 (15:46 -0800)]
Fix bug #5371909 Hebrew & Arabic mails are sent as LTR intead of RTL

- make paragraphs aware of text direction

Change-Id: I0b0cf5a47c7da870dea836cb6150aa83e9de0e90

12 years agoMerge "Vibrate on long press, even out of text"
Gilles Debunne [Wed, 29 Feb 2012 18:59:56 +0000 (10:59 -0800)]
Merge "Vibrate on long press, even out of text"

12 years agoMark similar and different sections in threadLoop
Glenn Kasten [Wed, 29 Feb 2012 15:57:06 +0000 (07:57 -0800)]
Mark similar and different sections in threadLoop

Most of these comments will be removed after the threadLoop merge.

Note: the trivial change in assignments to mixBufferSize, and the
comments about "tracks to remove" is to make them all identical.

Change-Id: I3b1a33a7f2cd12ad557a1986bb71f6171161974a

12 years agoMerge "Separate the notion of "stop" from that of "release", i.e."
Andreas Huber [Wed, 29 Feb 2012 17:20:24 +0000 (09:20 -0800)]
Merge "Separate the notion of "stop" from that of "release", i.e."

12 years agoMerge "Add support for maxlength text fields to WebViewInputConnection."
George Mount [Wed, 29 Feb 2012 15:17:12 +0000 (07:17 -0800)]
Merge "Add support for maxlength text fields to WebViewInputConnection."

12 years agoUpdate AudioFlinger comments
Glenn Kasten [Fri, 24 Feb 2012 23:42:48 +0000 (15:42 -0800)]
Update AudioFlinger comments

Add comments to enum mixer_state
Note side-effect of lockEffectChains_l
Fix a typo

Change-Id: Ibd51678bac2193201cbcbe081ff5664046fbc494

12 years agoMerge changes I08fcd278,I1f496bb7
Craig Mautner [Wed, 29 Feb 2012 14:18:23 +0000 (06:18 -0800)]
Merge changes I08fcd278,I1f496bb7

* changes:
  Detect animation completions like we used to. Previous approximations weren't indicating completion and windows weren't being layered correctly as a result.
  debug

12 years agoUse SINGLE_TOP and CLEAR_TOP when starting camera from lock scren.
Wu-cheng Li [Wed, 29 Feb 2012 11:50:11 +0000 (19:50 +0800)]
Use SINGLE_TOP and CLEAR_TOP when starting camera from lock scren.

Add these flags so there is no need to press back key twice to
exit the camera if users slide to camera twice.

bug:6070281

Change-Id: Iadf6ab2798cf9381bc9dc761920f46b022fb6bb8

12 years agoMerge "Add test for signed/unsigned char bug (conversion)."
Stephen Hines [Wed, 29 Feb 2012 05:01:36 +0000 (21:01 -0800)]
Merge "Add test for signed/unsigned char bug (conversion)."

12 years agoAdded permission check for all sensitive drm API calls
James Dong [Tue, 28 Feb 2012 21:55:55 +0000 (13:55 -0800)]
Added permission check for all sensitive drm API calls

o all drm calls using a DecryptHandle now check the permission before proceeding

Change-Id: Ic992a991357876c6e4bfbfab4f5eec1fa0634a13

12 years agoMerge "Moves TimedTextDriver.h into include/media/stagefright/timedtext."
James Dong [Wed, 29 Feb 2012 02:49:34 +0000 (18:49 -0800)]
Merge "Moves TimedTextDriver.h into include/media/stagefright/timedtext."

12 years agoFix bug #5217606 LocaleUtils constants TEXT_LAYOUT_DIRECTION_LTR_DO_NOT_USE and TEXT_...
Fabrice Di Meglio [Wed, 29 Feb 2012 01:58:31 +0000 (17:58 -0800)]
Fix bug #5217606 LocaleUtils constants TEXT_LAYOUT_DIRECTION_LTR_DO_NOT_USE and TEXT_LAYOUT_DIRECTION_RTL_DO_NOT_USE should be renamed

- replace them by the View constants

Change-Id: I7c2bf0213319247d3db369b6f7c36771fdf3e509

12 years agoMerge "InputConnection is warned when finished"
Gilles Debunne [Wed, 29 Feb 2012 02:05:28 +0000 (18:05 -0800)]
Merge "InputConnection is warned when finished"

12 years agoMerge "Unblock IPC call in TextServicesManagerService"
satok [Wed, 29 Feb 2012 01:56:43 +0000 (17:56 -0800)]
Merge "Unblock IPC call in TextServicesManagerService"

12 years agoDetect animation completions like we used to.
Craig Mautner [Wed, 29 Feb 2012 01:30:50 +0000 (17:30 -0800)]
Detect animation completions like we used to.
Previous approximations weren't indicating completion and windows weren't being layered correctly as a result.

Change-Id: I08fcd278485bb87dc10bca257b9f8073108753f3

12 years agodebug
Craig Mautner [Tue, 28 Feb 2012 20:55:58 +0000 (12:55 -0800)]
debug

Change-Id: I1f496bb71068b6c3a09095c39fb04c9f4153e051

12 years agoMerge "Update AndroidEmoji to version 1.01"
Bart Sears [Wed, 29 Feb 2012 01:30:29 +0000 (17:30 -0800)]
Merge "Update AndroidEmoji to version 1.01"

12 years agoAdd support for CMAS warning notifications over CDMA.
Jake Hamby [Mon, 6 Feb 2012 22:53:43 +0000 (14:53 -0800)]
Add support for CMAS warning notifications over CDMA.

Refactor SMS Cell Broadcast support to enable receiving CMAS warning
notifications over CDMA. The CellBroadcastReceiver app must also be
updated with the corresponding change. All cell broadcasts are now
delivered as a Parcelable SmsCbMessage object in the "message" extra
of the SMS_CB_RECEIVED_ACTION or SMS_EMERGENCY_CB_RECEIVED_ACTION,
instead of as a GSM/UMTS "pdu" byte array.

Existing functionality for ETWS and CMAS alerts over GSM/UMTS continues
to be supported using the new radio-technology independent SmsCbMessage
and related objects. Test cases are added to verify that valid and
invalid broadcast data is handled appropriately.

Unit testing discovered a bug in the BitwiseOutputStream utility class
used by the added test cases. When the BitwiseOutputStream object must be
expanded (in the private possExpand() method), the mEnd field is not
updated to the new array size. This causes a new array to be allocated
on every new write, and for all data beyond the original array allocation
to be replaced with zeroes. Fixed by adding a line to possExpand() to
update mEnd. Added a test case to BitwiseStreamsTest to verify the fix.
Besides the test cases, BitwiseOutputStream is only used by BearerData in
two places, both of which allocate a sufficient initial buffer. So the
bug in BitwiseOutputStream is not critical to fix for normal operation,
but should be fixed so that the test cases using it function correctly.

Bug: 5856308
Change-Id: Ie3e6af747976ce9b8a3e71e76fec71709cf86545

12 years agoShorten thread names
Glenn Kasten [Tue, 28 Feb 2012 20:30:08 +0000 (12:30 -0800)]
Shorten thread names

prctl(PR_SET_NAME) limits to 15 characters.  Before we had names like
"Binder Thread #" and the counter was cut off :-( Also remove redundant
"thread" at end of name; it's always a thread.

Change-Id: I1f99c2730ba0787ed9b59c15914356cddf698e2f

12 years agoFix for broken build part 2. Update 16.txt too
Gilles Debunne [Wed, 29 Feb 2012 00:36:45 +0000 (16:36 -0800)]
Fix for broken build part 2. Update 16.txt too

Change-Id: I8609dd818a6e4059f9b149a8089d681ac2972d66

12 years agoFix for broken build. update-api step missing.
Gilles Debunne [Wed, 29 Feb 2012 00:31:38 +0000 (16:31 -0800)]
Fix for broken build. update-api step missing.

Change-Id: Ia8d3c92825cfdca8b8eef1c1badd1b514ceef18e

12 years agoSeparate the notion of "stop" from that of "release", i.e.
Andreas Huber [Tue, 28 Feb 2012 23:54:51 +0000 (15:54 -0800)]
Separate the notion of "stop" from that of "release", i.e.

stop - means transition back to LOADED state and keeping the component
instance allocated.

release - means we get rid of the component completely.

Change-Id: I40ad01ce70821faaad43f57999249904f9144924

12 years agoam 246a1bee: am edfc6a0d: am f4994b3e: Merge "fix bug 5911175" into ics-mr1
Robert Ly [Tue, 28 Feb 2012 23:48:12 +0000 (15:48 -0800)]
am 246a1bee: am edfc6a0d: am f4994b3e: Merge "fix bug 5911175" into ics-mr1

* commit '246a1bee9d5db1db3c91e0886b514598763193dd':

12 years agoam 61a9a83a: am 40226da7: am f4994b3e: Merge "fix bug 5911175" into ics-mr1
Robert Ly [Tue, 28 Feb 2012 23:45:40 +0000 (15:45 -0800)]
am 61a9a83a: am 40226da7: am f4994b3e: Merge "fix bug 5911175" into ics-mr1

* commit '61a9a83ac09246f815806fa4f64cc65a7e876f96':
  fix bug 5911175

12 years agoam edfc6a0d: am f4994b3e: Merge "fix bug 5911175" into ics-mr1
Robert Ly [Tue, 28 Feb 2012 23:43:52 +0000 (15:43 -0800)]
am edfc6a0d: am f4994b3e: Merge "fix bug 5911175" into ics-mr1

* commit 'edfc6a0d709afdf75284ecfc1e680c27fda8b9a9':

12 years agoam 40226da7: am f4994b3e: Merge "fix bug 5911175" into ics-mr1
Robert Ly [Tue, 28 Feb 2012 23:42:32 +0000 (15:42 -0800)]
am 40226da7: am f4994b3e: Merge "fix bug 5911175" into ics-mr1

* commit '40226da7aeb705fb823517f74739bf2f25fa86f3':
  fix bug 5911175

12 years agoam f4994b3e: Merge "fix bug 5911175" into ics-mr1
Robert Ly [Tue, 28 Feb 2012 23:39:55 +0000 (15:39 -0800)]
am f4994b3e: Merge "fix bug 5911175" into ics-mr1

* commit 'f4994b3eb03e1e772d7d46e8b6dcfc88593db792':
  fix bug 5911175

12 years agoam f4994b3e: Merge "fix bug 5911175" into ics-mr1
Robert Ly [Tue, 28 Feb 2012 23:39:39 +0000 (15:39 -0800)]
am f4994b3e: Merge "fix bug 5911175" into ics-mr1

* commit 'f4994b3eb03e1e772d7d46e8b6dcfc88593db792':
  fix bug 5911175

12 years agoMerge "fix bug 5911175" into ics-mr1
Robert Ly [Tue, 28 Feb 2012 23:37:21 +0000 (15:37 -0800)]
Merge "fix bug 5911175" into ics-mr1

12 years agoMerge "Removed TextAlign in TextView"
Gilles Debunne [Tue, 28 Feb 2012 23:32:04 +0000 (15:32 -0800)]
Merge "Removed TextAlign in TextView"