summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge change I2a4b120c into eclairAndroid (Google) Code Review2009-11-0921-0/+0
|\ | | | | | | | | * changes: Add more ringtones. Bug 2219950.
| * Add more ringtones. Bug 2219950.Dave Sparks2009-11-0921-0/+0
| |
* | Merge change Ib12bcb7f into eclairAndroid (Google) Code Review2009-11-095-121/+339
|\ \ | |/ |/| | | | | * changes: Support for fallback fonts in layoutlib.
| * Support for fallback fonts in layoutlib.Xavier Ducrohet2009-11-095-121/+339
| | | | | | | | | | | | BUG 2041229 Change-Id: Ib12bcb7f6d8f0e4c2b51871f8129ecf51fa938ee
* | Merge change I47aa76bf into eclairAndroid (Google) Code Review2009-11-094-0/+0
|\ \ | | | | | | | | | | | | * changes: Add new notifications and ringtones.
| * | Add new notifications and ringtones.Dave Sparks2009-11-094-0/+0
| | |
* | | Merge change I70e1f7a6 into eclairAndroid (Google) Code Review2009-11-091-5/+7
|\ \ \ | |/ / |/| | | | | | | | * changes: Fix the selection of locale from SIM mcc.
| * | Fix the selection of locale from SIM mcc.Robert Greenwalt2009-11-051-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Two issues - getting config then setting locale by mcc and then setting the config (to set mcc/mnc) would overwrite the locale set in the middle. Also, using a "new Configuration()" instead of asking the ActivityManager.getConfiguration gets different values than the current ones, and would also overwrite our change. bug: 2241461 bug: 2239810
* | | Merge change I73b60354 into eclairAndroid (Google) Code Review2009-11-091-1/+1
|\ \ \ | | | | | | | | | | | | | | | | * changes: AudioFlinger: delete Track object when createTrack() fails due to lack of tracks in AudioMixer.
| * | | AudioFlinger: delete Track object when createTrack() fails due to lack of ↵Eric Laurent2009-11-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | tracks in AudioMixer. This problem was encountered as a side effect of issue 2245298.
* | | | Merge change Icaf932d0 into eclairAndroid (Google) Code Review2009-11-091-4/+8
|\ \ \ \ | |/ / / |/| | | | | | | | | | | * changes: Fix code example in Parcelable javadoc
| * | | Fix code example in Parcelable javadocBjorn Bringert2009-10-281-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DOCS ONLY The code example for android.os.Parcelable contained several errors: - There was no type parameter for Parcelable.Creator (due to unescaped < > in the javadoc comment). - There was no implementation of describeContents(). - The semicolon after the CREATOR declaration was missing. This change fixes all of the above. Fixes issue http://b/issue?id=2221120 Change-Id: Icaf932d079573cc7699f1caa643aac49e85ccca0
* | | | Merge change Ifb9d6df3 into eclairAndroid (Google) Code Review2009-11-084-17/+120
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: More log for issue 2242381.
| * | | | More log for issue 2242381.Eric Laurent2009-11-074-17/+120
| | | | | | | | | | | | | | | | | | | | Added more log in system dump for AudioFlinger and AudioPolicyService to help debug issue 2242381 and other issues where the audio driver hangs.
* | | | | Merge change Ic42763b1 into eclairAndroid (Google) Code Review2009-11-083-6/+371323
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Fix issue #2242440: Window screen brightness attribute is broken
| * | | | | Fix issue #2242440: Window screen brightness attribute is brokenDianne Hackborn2009-11-083-6/+371323
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Um okay, that was dumb. And I guess this means it is time to make 6.xml. Change-Id: Ic42763b1c8a13448cf6db20b4cd6daadc7786ac1
* | | | | | Use SystemClock.elapsedRealtime() instead of sensor timestampMike Lockwood2009-11-081-2/+2
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when processing light and proximity events. This should fix loss of 2 second hysterisis for light sensor (b/2243521) Change-Id: Ia3ce331e67d803eb5e51810cb7161b7c528312d7 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | Merge change I1bc566a1 into eclairAndroid (Google) Code Review2009-11-081-1/+12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Ignore the light sensor if the screen is turning off.
| * | | | | Ignore the light sensor if the screen is turning off.Mike Lockwood2009-11-081-1/+12
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug b/2202165. The light sensor was interfering with the screen off animation. Change-Id: I1bc566a164af689b60b066e6cb3dcbf7959bc50a Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | Reset binder service threads' cgroup/priority after command completionChristopher Tate2009-11-081-0/+15
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To prevent buggy command implementations from poisoning binder threads' scheduling class & priority for future command execution, we now reset the cgroup and thread priority to foreground/normal when a binder service thread finishes executing the designated command. Change-Id: Ibc0ab2485751453f6dc96fdb4eb877fd02796e3f
* | | | Merge change I32d41651 into eclairAndroid (Google) Code Review2009-11-081-32/+46
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Allow a GLThread to release and reacquire the EGL Surface as needed.
| * | | | Allow a GLThread to release and reacquire the EGL Surface as needed.Jack Palevich2009-11-081-32/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We currently only allow one GLThread to have an active EGL Surface at a time.(This may be lifted in the future, when EGL and GL are reentrant.) Prior to this change we would enforce this rule by having older GLThreads quit when a new GLThread started. That had the drawback of leaving the older GLSurfaceViews in a zombie state -- their GLThreads would be gone. We now enforce this rule by just releasing and reacquiring the EGL surface context as needed. Specific changes to the code: created private helper methods - startEgl and stopEgl to help manage starting and stopping EGL. Move the calls to sGLThreadManager start and end from the outermost run method into the startEgl / stopEgl methods. Reworked the wait loop to handle starting and stopping EGL as needed. needToWait() gets simpler -- just looks at current status. sGLThreadManager.shouldQuit was replaced by shouldHaveEgl. This is another step in fixing bug 2228262.
* | | | | Merge change I62704736 into eclairAndroid (Google) Code Review2009-11-072-11/+29
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Do not apply light sensor debounce logic while the light sensor is still warming up.
| * | | | | Do not apply light sensor debounce logic while the light sensor is still ↵Mike Lockwood2009-11-072-11/+29
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | warming up. This allows us to adjust immediately when we receive a correct light sensor reading after the screen turns on. Change-Id: I627047365640761727348e577c9164a6d6be2772 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | Remove "@hide pending API council" in webkit to exposeGrace Kloba2009-11-0712-68/+611
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the apis to SDK. Remove @hide in GeolocationPermissions and WebStorage to expose them to the SDK users. Remove @hide for freeMemory() in WebView. Remove @hide comment in CallbackProxy and GoogleLocationSettingManager as they are not public class.
* | | | Merge change I47ef4266 into eclairAndroid (Google) Code Review2009-11-072-1/+28
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Expose WallpaperSettingsActivity in the public API.
| * | | | Expose WallpaperSettingsActivity in the public API.Charles Mendis2009-11-062-1/+28
| | | | |
* | | | | Merge change I32ce8591 into eclairAndroid (Google) Code Review2009-11-061-0/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Stop scrolling ListView when tapping a clickable item.
| * | | | | Stop scrolling ListView when tapping a clickable item.Romain Guy2009-11-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #2210279. Approved by mcleron. Change-Id: I32ce8591b00fada95072513f5de69674b45e4cf3
* | | | | | Merge change I9f3020db into eclairAndroid (Google) Code Review2009-11-061-0/+15
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: fix [2243164] live wallpaper screen artifacts at end of boot
| * | | | | | fix [2243164] live wallpaper screen artifacts at end of bootMathias Agopian2009-11-061-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | make sure to glClear() the areas not touched by the animation
* | | | | | | Merge change Ia4424950 into eclairAndroid (Google) Code Review2009-11-061-1/+1
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | * changes: Fix stupid bug in GLThreadManager implementation.
| * | | | | | Fix stupid bug in GLThreadManager implementation.Jack Palevich2009-11-071-1/+1
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code intended to copy the old value of a field, before the field was updated. However, what the code was actually doing was copying the new value of the field, after the field was updated. The fix was to move the copy to before the update. This is work towards fixing bug 2228262
* | | | | | am 0e08055a: Merge change I14a9acd3 into eclair-sdkScott Main2009-11-063-167/+261
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '0e08055aa31c752732005fc48b09ee470a2c4822' into eclair * commit '0e08055aa31c752732005fc48b09ee470a2c4822': docs: add new document for the win usb driver;
| * \ \ \ \ \ Merge change I14a9acd3 into eclair-sdkAndroid (Google) Code Review2009-11-063-167/+261
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: docs: add new document for the win usb driver; remove usb guide from the device document.
| | * | | | | | docs: add new document for the win usb driver;Scott Main2009-11-063-167/+261
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remove usb guide from the device document.
* | | | | | | | Merge change Ic8093c11 into eclairAndroid (Google) Code Review2009-11-061-7/+14
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Hold a lock while we access the preview heap.
| * | | | | | | | Hold a lock while we access the preview heap.Dave Sparks2009-11-061-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | copyFrameAndPostCopiedFrame was not holding a lock while it accessed the preview heap. If the client process is torn down while the heap is accessed, the memcpy could access memory that was deallocated. This patch creates a local sp reference to the preview heap while holding the lock, then releases the lock. This should prevent the heap from being pulled out from underneath us.
* | | | | | | | | Merge change Idc1396c8 into eclairAndroid (Google) Code Review2009-11-061-2/+5
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Only use FLAG_ACTIVITY_CLEAR_TOP on the search intent when from global search.
| * | | | | | | | Only use FLAG_ACTIVITY_CLEAR_TOP on the search intent when from global search.Evan Millar2009-11-061-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes http://b/issue?id=2178591
* | | | | | | | | Merge change Icdd2864e into eclairAndroid (Google) Code Review2009-11-061-4/+6
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: b/2234854 Fixed Bluetooth API return codes for requesting permission to enable bluetooth
| * | | | | | | | | b/2234854 Fixed Bluetooth API return codes for requesting permission to ↵Michael Chan2009-11-051-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | enable bluetooth
* | | | | | | | | | Merge change Ie994c0e8 into eclairAndroid (Google) Code Review2009-11-061-0/+23
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Update CdmaSmsTest unit test.
| * | | | | | | | | | Update CdmaSmsTest unit test.jsh2009-11-061-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Forgot to do this with previous check in. Now that calculateLength() has been fixed to match the actual encoding (ie, doesn't support single-segment EMS), test case needs to be updated. Fixes b/2244483
* | | | | | | | | | | Merge change I3f0ded49 into eclairAndroid (Google) Code Review2009-11-061-1/+1
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Increase light sensor delay from one to two seconds.
| * | | | | | | | | | Increase light sensor delay from one to two seconds.Mike Lockwood2009-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3f0ded49cb447835133cf8d5d693260e8312aa89 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | | | | | | | Merge change Ibf6e51b7 into eclairAndroid (Google) Code Review2009-11-061-1/+1
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Set argv[0] from the main thread of an app, not a random binder thread
| * | | | | | | | | | | Set argv[0] from the main thread of an app, not a random binder threadChristopher Tate2009-11-061-1/+1
| | |_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ibf6e51b7975cdb5e6aa97591a571c599ecf84020
* | | | | | | | | | | Merge change I97b30e2f into eclairAndroid (Google) Code Review2009-11-061-5/+0
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Revert jparks code from IPCThreadState.
| * | | | | | | | | | Revert jparks code from IPCThreadState.Evan Millar2009-11-061-5/+0
| | |_|/ / / / / / / | |/| | | | | | | |