OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge "Hide e-call button in layout." into froyo
Daniel Sandler [Tue, 13 Apr 2010 13:00:02 +0000 (06:00 -0700)]
Merge "Hide e-call button in layout." into froyo

14 years agoMerge "Distinguish QCELP audio from mpeg4 audio, ignore QCELP audio tracks since...
Andreas Huber [Tue, 13 Apr 2010 00:15:32 +0000 (17:15 -0700)]
Merge "Distinguish QCELP audio from mpeg4 audio, ignore QCELP audio tracks since we don't have a decoder for it, ignore potentially malformed metadata for AMR NB and WB tracks." into froyo

14 years agoMerge "SDK: more backup/restore documentation work" into froyo
Christopher Tate [Mon, 12 Apr 2010 23:14:53 +0000 (16:14 -0700)]
Merge "SDK: more backup/restore documentation work" into froyo

14 years agoMerge "docs: fix bug 2590728" into froyo
Scott Main [Mon, 12 Apr 2010 23:09:28 +0000 (16:09 -0700)]
Merge "docs: fix bug 2590728" into froyo

14 years agoDistinguish QCELP audio from mpeg4 audio, ignore QCELP audio tracks since we don...
Andreas Huber [Mon, 12 Apr 2010 23:05:57 +0000 (16:05 -0700)]
Distinguish QCELP audio from mpeg4 audio, ignore QCELP audio tracks since we don't have a decoder for it, ignore potentially malformed metadata for AMR NB and WB tracks.

Change-Id: Ic9a9198413431db4ea40bb63b9de91aa8a7183af
related-to-bug: 2587341

14 years agodocs: fix bug 2590728
Scott Main [Mon, 12 Apr 2010 23:05:49 +0000 (16:05 -0700)]
docs: fix bug 2590728

Change-Id: I997c4fd3b3fbe33f479c3fe15b8164370c0a18af

14 years agoSDK: more backup/restore documentation work
Christopher Tate [Thu, 8 Apr 2010 19:54:23 +0000 (12:54 -0700)]
SDK: more backup/restore documentation work

Still not complete, but here's a lot more of the necessary documentation.
Submitting a checkpoint seems prudent.

Bug #2465360

Change-Id: Ifff60d57e4b24cee21f3a34f5f50e290d377c386

14 years agoMerge "API CHANGE: remove obsolete constants and hide some methods" into froyo
Christopher Tate [Mon, 12 Apr 2010 22:13:35 +0000 (15:13 -0700)]
Merge "API CHANGE: remove obsolete constants and hide some methods" into froyo

14 years agoMerge "Fix a race condition in TimedEventQueue, an event may be cancelled while we...
Andreas Huber [Mon, 12 Apr 2010 21:16:34 +0000 (14:16 -0700)]
Merge "Fix a race condition in TimedEventQueue, an event may be cancelled while we're waiting for its scheduled time to come in which case we'd be removing it from the queue twice." into froyo

14 years agoAPI CHANGE: remove obsolete constants and hide some methods
Christopher Tate [Fri, 9 Apr 2010 20:05:16 +0000 (13:05 -0700)]
API CHANGE: remove obsolete constants and hide some methods

This change removes some unused constants from BackupDataOutput
and hides a few methods that do not actually need to be exposed.

Change-Id: I47a9a107a5b58f4d53b5a2fcf9b73a765b1c5dd8

14 years agoFix a race condition in TimedEventQueue, an event may be cancelled while we're waitin...
Andreas Huber [Mon, 12 Apr 2010 20:10:20 +0000 (13:10 -0700)]
Fix a race condition in TimedEventQueue, an event may be cancelled while we're waiting for its scheduled time to come in which case we'd be removing it from the queue twice.

Change-Id: I4e42e318fd5373d1f352f54027d4bf823126266d
related-to-bug: 2585276

14 years agoMerge "Fix typos in name of density-independent pixels" into froyo
Kenny Root [Mon, 12 Apr 2010 19:19:08 +0000 (12:19 -0700)]
Merge "Fix typos in name of density-independent pixels" into froyo

14 years agoMerge "Fix monkey bug 2586534 java.util.ConcurrentModificationException Unlike the...
Jean-Michel Trivi [Mon, 12 Apr 2010 19:05:08 +0000 (12:05 -0700)]
Merge "Fix monkey bug 2586534 java.util.ConcurrentModificationException Unlike the other audio focus and media button stack handling methods, abandonAudioFocus() and unregisterAudioFocusClient() were not synchronized around their focus stack. This CL corrects this." into froyo

14 years agoAdd a bulk request method for bookmark icons.
Patrick Scott [Fri, 9 Apr 2010 16:42:03 +0000 (12:42 -0400)]
Add a bulk request method for bookmark icons.

Rather than dispatch a message for every url in the db, send a message to the
WebCoreThread to handle the query and iteration.  Update the documentation for
requestAllIcons.

Bug: 2581894
Change-Id: I8af4f87570465dff3839db4ac492883e8805b007

14 years agoMerge "Fix a case where the aac hardware decoder is in a transition state and refused...
Andreas Huber [Mon, 12 Apr 2010 18:02:27 +0000 (11:02 -0700)]
Merge "Fix a case where the aac hardware decoder is in a transition state and refused a fillbuffer request." into froyo

14 years agoFix a case where the aac hardware decoder is in a transition state and refused a...
Andreas Huber [Mon, 12 Apr 2010 17:20:12 +0000 (10:20 -0700)]
Fix a case where the aac hardware decoder is in a transition state and refused a fillbuffer request.

Change-Id: I4cabd18709c29db0a2763a01cc86525ba0b0aeb7
related-to-bug: 2575976

14 years agoMerge "Ignore corrupt aac audio frames and substitute silence." into froyo
Andreas Huber [Mon, 12 Apr 2010 17:11:32 +0000 (10:11 -0700)]
Merge "Ignore corrupt aac audio frames and substitute silence." into froyo

14 years agoIgnore corrupt aac audio frames and substitute silence.
Andreas Huber [Mon, 12 Apr 2010 16:57:05 +0000 (09:57 -0700)]
Ignore corrupt aac audio frames and substitute silence.

Change-Id: I544f98a5c00d912061db7921fc4518435209b168
related-to-bug: 2575976

14 years agoStart sending out buffering updates earlier (after preparation has completed) instead...
Andreas Huber [Mon, 12 Apr 2010 16:41:12 +0000 (09:41 -0700)]
Start sending out buffering updates earlier (after preparation has completed) instead of only after playback has started.

Change-Id: Ieaa90cc9b54bd56963aa5f4daced2ba243801acf
related-to-bug: 2585913

14 years agoDo not check mWebTextView's focus state to determine editing mode.
Leon Scroggins [Fri, 9 Apr 2010 18:54:46 +0000 (14:54 -0400)]
Do not check mWebTextView's focus state to determine editing mode.

Fix for bug 2568400.

Change-Id: I7e285388484bbab3aef9b6f4bb190e001266ce53

14 years agoFix typos in name of density-independent pixels
Kenny Root [Sat, 10 Apr 2010 05:45:06 +0000 (22:45 -0700)]
Fix typos in name of density-independent pixels

Some places referred to "dip" as "device-independent pixels" but it
should be "density-independent pixels." Some publications are starting
to refer to this incorrectly.

Bug: 2586742
Change-Id: I030ef45a5ff61622c95133dcb7f2c82c7df652f0

14 years agoFix monkey bug 2586534 java.util.ConcurrentModificationException
Jean-Michel Trivi [Sat, 10 Apr 2010 02:27:58 +0000 (19:27 -0700)]
Fix monkey bug 2586534 java.util.ConcurrentModificationException
Unlike the other audio focus and media button stack handling
methods, abandonAudioFocus() and unregisterAudioFocusClient() were
not synchronized around their focus stack. This CL corrects this.

Change-Id: I5ada574e4e163fa95da9dad2fefe610b48303320

14 years agoAdd SCENE_MODE_BARCODE and FOCUS_MODE_EDOF.
Wu-cheng Li [Mon, 29 Mar 2010 09:21:28 +0000 (17:21 +0800)]
Add SCENE_MODE_BARCODE and FOCUS_MODE_EDOF.

bug:2544367
Change-Id: If122a7745e080f9e4bffb15dc4930d71f0421867

14 years agoMerge "cherry-pick from master: Icf079f5f45b1745a8d54f504e28dbbb52c6f7c96 docs: rewri...
Scott Main [Sat, 10 Apr 2010 00:03:55 +0000 (17:03 -0700)]
Merge "cherry-pick from master: Icf079f5f45b1745a8d54f504e28dbbb52c6f7c96 docs: rewrite resources documentation" into froyo

14 years agoMerge "Fix issue #2581524: Car home icon should always go to car home" into froyo
Dianne Hackborn [Fri, 9 Apr 2010 23:52:41 +0000 (16:52 -0700)]
Merge "Fix issue #2581524: Car home icon should always go to car home" into froyo

14 years agoFix issue #2581524: Car home icon should always go to car home
Dianne Hackborn [Fri, 9 Apr 2010 20:14:48 +0000 (13:14 -0700)]
Fix issue #2581524: Car home icon should always go to car home

Rework how switching between modes work so the caller can tell us
whether they want to go to home.  (So car home launcher can now
tell us they always want to go home.)

Change-Id: Id4a8129027d6d162b4bae6f983911f1f4bf2578f

14 years agoMerge "Add warning magic to be a bit more reasonable." into froyo
Robert Greenwalt [Fri, 9 Apr 2010 23:47:10 +0000 (16:47 -0700)]
Merge "Add warning magic to be a bit more reasonable." into froyo

14 years agoMerge "Remove the checkStremingServer checking as it is unstable and introduce the...
Yu Shan Emily Lau [Fri, 9 Apr 2010 23:41:37 +0000 (16:41 -0700)]
Merge "Remove the checkStremingServer checking as it is unstable and introduce the flakiness." into froyo

14 years agoMerge "Fix regression introduced when fixing focus issue with ScrollView. Bug #258164...
Romain Guy [Fri, 9 Apr 2010 23:08:17 +0000 (16:08 -0700)]
Merge "Fix regression introduced when fixing focus issue with ScrollView. Bug #2581646" into froyo

14 years agoAdd warning magic to be a bit more reasonable.
Robert Greenwalt [Fri, 9 Apr 2010 19:31:46 +0000 (12:31 -0700)]
Add warning magic to be a bit more reasonable.

Currently warns if you exceed more than 25% and 2*100%*timeUsed/(timeUsed+totalTime)

The formula means that imagining you've got half of the remaining time that you really have,
we will warn you if you would exceed the quota given your rate so far.  It's generous during the
early to mid-life and converges back to the limit as your timeUsed approaches totalTime.

bug:2576057
Change-Id: Id189de5b026f927ef478fd212d61d9e4ab5239e6

14 years agoMerge "Fix a FATAL ClassCastException in DataConnection.java" into froyo
Wink Saville [Fri, 9 Apr 2010 22:39:33 +0000 (15:39 -0700)]
Merge "Fix a FATAL ClassCastException in DataConnection.java" into froyo

14 years agoFix regression introduced when fixing focus issue with ScrollView.
Romain Guy [Fri, 9 Apr 2010 22:39:00 +0000 (15:39 -0700)]
Fix regression introduced when fixing focus issue with ScrollView.
Bug #2581646

The correct fix is to make ScrollView ignore the BACK key instead of consuming it.

Change-Id: I5c029a5c60ae8e7791391f63672c44b5c96fec71

14 years agoMerge "bug #2542580: add the appropriate mdpi asset for chat icon." into froyo
Wei Huang [Fri, 9 Apr 2010 22:34:46 +0000 (15:34 -0700)]
Merge "bug #2542580: add the appropriate mdpi asset for chat icon." into froyo

14 years agobug #2542580: add the appropriate mdpi asset for chat icon.
Wei Huang [Fri, 9 Apr 2010 22:27:10 +0000 (15:27 -0700)]
bug #2542580: add the appropriate mdpi asset for chat icon.

Change-Id: I474eb5b8fe83bbc7f92005de651444447c8624e7

14 years agoMerge "Move the public method HttpDateTime.parse() into AndroidHttpClient." into...
Jesse Wilson [Fri, 9 Apr 2010 21:01:07 +0000 (14:01 -0700)]
Merge "Move the public method HttpDateTime.parse() into AndroidHttpClient." into froyo

14 years agoRemove the checkStremingServer checking as it is unstable and introduce the flakiness.
Yu Shan Emily Lau [Fri, 9 Apr 2010 20:53:56 +0000 (13:53 -0700)]
Remove the checkStremingServer checking as it is unstable and introduce the flakiness.

Change-Id: I26e48366998e3692ad8a3394a0a0241832e99a6d

14 years agoMove the public method HttpDateTime.parse() into AndroidHttpClient.
Jesse Wilson [Thu, 8 Apr 2010 21:20:57 +0000 (14:20 -0700)]
Move the public method HttpDateTime.parse() into AndroidHttpClient.

See bug http://b/2553589

Change-Id: Ide3399c7c63daf9c0b8c18669076f2f4d6e9a876

14 years agoMerge "final versions of these fonts from ascender, including GPOS 'mark' feature...
Mike Reed [Fri, 9 Apr 2010 20:10:07 +0000 (13:10 -0700)]
Merge "final versions of these fonts from ascender, including GPOS 'mark' feature" into froyo

14 years agoMerge "Make ThrottleService notice policy changes." into froyo
Robert Greenwalt [Fri, 9 Apr 2010 20:00:05 +0000 (13:00 -0700)]
Merge "Make ThrottleService notice policy changes." into froyo

14 years agoMerge "Fix sim build (sim doesn't have strl*() reliably...)" into froyo
Dan Egnor [Fri, 9 Apr 2010 19:50:11 +0000 (12:50 -0700)]
Merge "Fix sim build (sim doesn't have strl*() reliably...)" into froyo

14 years agoMake ThrottleService notice policy changes.
Robert Greenwalt [Fri, 9 Apr 2010 16:36:09 +0000 (09:36 -0700)]
Make ThrottleService notice policy changes.

Added ContentObserver to watch relevant Secure Settings.
Also added new policy-change broadcast to let settings know.
Lastly reorged things a bit so that all of our broadcasts are sent at boot so the sticky ones
are populated.

bug:2576057
Change-Id: Ie11ffb057de9c801a5088612cd464ea062f3a666

14 years agofinal versions of these fonts from ascender, including GPOS 'mark' feature
Mike Reed [Fri, 9 Apr 2010 19:12:19 +0000 (15:12 -0400)]
final versions of these fonts from ascender, including GPOS 'mark' feature

Change-Id: I3e9faa83b19ac344e12cbda6d33405f040a34a9e
http://b/issue?id=2585430

14 years agoMerge "Do not create intents for application/xhtml+xml" into froyo
Kristian Monsen [Fri, 9 Apr 2010 17:59:20 +0000 (10:59 -0700)]
Merge "Do not create intents for application/xhtml+xml" into froyo

14 years agoMerge "Set mHeldMotionless to a new MOTIONLESS_IGNORE state for fling, this way we...
Grace Kloba [Fri, 9 Apr 2010 17:49:42 +0000 (10:49 -0700)]
Merge "Set mHeldMotionless to a new MOTIONLESS_IGNORE state for fling, this way we will trigger animateScroll during fling for the faster performance. We also avoid keep removing/sending DRAG_HELD_MOTIONLESS message during fling." into froyo

14 years agoDo not create intents for application/xhtml+xml
Kristian Monsen [Fri, 9 Apr 2010 17:34:07 +0000 (18:34 +0100)]
Do not create intents for application/xhtml+xml

Fix for b 2584681, webview opens contents in browser.

Change-Id: I314e808a65f3c2043bd7bc7fcd44ac071f136bdc

14 years agoMerge "Roaming data doesn't count against limits" into froyo
Robert Greenwalt [Fri, 9 Apr 2010 16:29:20 +0000 (09:29 -0700)]
Merge "Roaming data doesn't count against limits" into froyo

14 years agoFix a FATAL ClassCastException in DataConnection.java
Wink Saville [Fri, 9 Apr 2010 15:41:12 +0000 (08:41 -0700)]
Fix a FATAL ClassCastException in DataConnection.java

bug: 2583290
Change-Id: I93e0307664427b29942b1ed1e5acbf21e78a605f

14 years agoSet mHeldMotionless to a new MOTIONLESS_IGNORE state
Grace Kloba [Thu, 8 Apr 2010 20:46:23 +0000 (13:46 -0700)]
Set mHeldMotionless to a new MOTIONLESS_IGNORE state
for fling, this way we will trigger animateScroll
during fling for the faster performance. We also
avoid keep removing/sending DRAG_HELD_MOTIONLESS
message during fling.

Fix http://b/issue?id=2574172

14 years agoMerge "Additional fix for isssue 2548710: Native AudioTrack resources never freed...
Eric Laurent [Fri, 9 Apr 2010 15:48:32 +0000 (08:48 -0700)]
Merge "Additional fix for isssue 2548710: Native AudioTrack resources never freed." into froyo

14 years agoMerge "Support for ID3 V2.4 tags." into froyo
Andreas Huber [Fri, 9 Apr 2010 14:01:58 +0000 (07:01 -0700)]
Merge "Support for ID3 V2.4 tags." into froyo

14 years agoAdditional fix for isssue 2548710: Native AudioTrack resources never freed.
Eric Laurent [Fri, 9 Apr 2010 13:11:48 +0000 (06:11 -0700)]
Additional fix for isssue 2548710: Native AudioTrack resources never freed.

This changes fixes the issue for the direct output thread that was not
addressed by commit 71f37cd8a175ee00635cb91506d6810fd02b5b51.

Change-Id: I1bbe26be5f444415dd97270e49257650f5d2858f

14 years agoSave/restore the picture in a background thread.
Patrick Scott [Thu, 8 Apr 2010 12:32:52 +0000 (08:32 -0400)]
Save/restore the picture in a background thread.

Bug: 2573879
Change-Id: I0962f5286d3a68f8a9093f0c22917b0542ea9291

14 years agoFix sim build (sim doesn't have strl*() reliably...)
Dan Egnor [Fri, 9 Apr 2010 06:46:28 +0000 (23:46 -0700)]
Fix sim build (sim doesn't have strl*() reliably...)

Just stub out the TrafficStats code for the sim.
Bug: 2578938

Change-Id: Ie555f67f581d05ee446ea29cb2223feb350c52f9

14 years agoHail-Mary attempt to avoid apparent blocking problems in readEvents().
Dan Egnor [Fri, 9 Apr 2010 05:19:15 +0000 (22:19 -0700)]
Hail-Mary attempt to avoid apparent blocking problems in readEvents().

Use the same procedure (select() with a short timeout) used by "logcat -d",
which doesn't seem to have any blocking problems.

Bug: 2569403
Change-Id: Ia27bb4207919a1288716b41a007b4b4b52f8e90a

14 years agoRoaming data doesn't count against limits
Robert Greenwalt [Thu, 8 Apr 2010 23:19:24 +0000 (16:19 -0700)]
Roaming data doesn't count against limits

bug:2576057
Change-Id: I51a66e3b49a62e0186816ec0473814a216184e6b

14 years agoMerge "Fix OperationScheduler moratorium calculation for clock rollback case." into...
Dan Egnor [Fri, 9 Apr 2010 00:38:28 +0000 (17:38 -0700)]
Merge "Fix OperationScheduler moratorium calculation for clock rollback case." into froyo

14 years agoFix OperationScheduler moratorium calculation for clock rollback case.
Dan Egnor [Fri, 9 Apr 2010 00:24:26 +0000 (17:24 -0700)]
Fix OperationScheduler moratorium calculation for clock rollback case.

Make the unit test exercise some clock-rollback scenarios, using
a properly injected artificial clock.

Bug: 2579585
Change-Id: I6f81c32318ba27429bd30ff53b48449218e4ac64

14 years agoMerge "Adds back the finalize method on the replaced Paint class." into froyo
Xavier Ducrohet [Fri, 9 Apr 2010 00:29:39 +0000 (17:29 -0700)]
Merge "Adds back the finalize method on the replaced Paint class." into froyo

14 years agoAdds back the finalize method on the replaced Paint class.
Xavier Ducrohet [Fri, 9 Apr 2010 00:18:35 +0000 (17:18 -0700)]
Adds back the finalize method on the replaced Paint class.

without it com.android.layoutlib.bridge.TestClassReplacement fails.

Change-Id: Iafb6548f45c31e901591a45239224895c4403be8

14 years agoMerge "Remove @link to hidden ACCESS_CACHE_FILESYSTEM permission." into froyo
Jeff Brown [Fri, 9 Apr 2010 00:18:15 +0000 (17:18 -0700)]
Merge "Remove @link to hidden ACCESS_CACHE_FILESYSTEM permission." into froyo

14 years agocherry-pick from master: Icf079f5f45b1745a8d54f504e28dbbb52c6f7c96
Scott Main [Wed, 10 Feb 2010 02:48:27 +0000 (18:48 -0800)]
cherry-pick from master: Icf079f5f45b1745a8d54f504e28dbbb52c6f7c96
docs: rewrite resources documentation

Huge overhaul. Includes all new dev guides about how resources are used
on Android and how to provide alternatives, including how to handle
runtime configuration changes (restarts). Plus all new reference
docs for all the resource types (drawables, strings, menus, etc.).

Change-Id: I12e819d2c5fc11e062281d8fe442c3037e92000a

14 years agoThrottling framework addins
Irfan Sheriff [Thu, 8 Apr 2010 21:12:33 +0000 (14:12 -0700)]
Throttling framework addins

Add ThrottleManager in getSystemService
Add API for URL fetch

Bug: 2576057
Change-Id: Icd25c8b91ea4beea15c74e8ad7292ab48c962253

14 years agoRemove @link to hidden ACCESS_CACHE_FILESYSTEM permission.
Jeff Brown [Thu, 8 Apr 2010 23:52:18 +0000 (16:52 -0700)]
Remove @link to hidden ACCESS_CACHE_FILESYSTEM permission.

Change-Id: I4be691f20f650b412beb22b199a4cbef879b2668

14 years agoMerge "Workaround NPE caused by packages missing signatures." into froyo
Jeff Brown [Thu, 8 Apr 2010 23:41:47 +0000 (16:41 -0700)]
Merge "Workaround NPE caused by packages missing signatures." into froyo

14 years agoMerge "Improve robustness of package manager certificate collection." into froyo
Jeff Brown [Thu, 8 Apr 2010 23:41:37 +0000 (16:41 -0700)]
Merge "Improve robustness of package manager certificate collection." into froyo

14 years agoMerge "IME test fixes." into froyo
Brett Chabot [Thu, 8 Apr 2010 23:36:02 +0000 (16:36 -0700)]
Merge "IME test fixes." into froyo

14 years agoMerge "Updating some notificiation UI for Throttling" into froyo
Robert Greenwalt [Thu, 8 Apr 2010 23:09:31 +0000 (16:09 -0700)]
Merge "Updating some notificiation UI for Throttling" into froyo

14 years agoUpdating some notificiation UI for Throttling
Robert Greenwalt [Thu, 8 Apr 2010 23:00:26 +0000 (16:00 -0700)]
Updating some notificiation UI for Throttling

String update and make one an ongoing notification.

bug:2576057
Change-Id: I7980f110c7eed8e8bf305490eddaa58e2949e3be

14 years agoIME test fixes.
Brett Chabot [Thu, 8 Apr 2010 21:55:24 +0000 (14:55 -0700)]
IME test fixes.

Tweak OneEditTextActivitySelectedTests:testSoftKeyboardAutoPop so it always
expects IME to be shown for devices with no hard keyboard.

Bug 2267311 2318969

Change-Id: Ica31e8f1153cf3e7dbc838d263ea0ae805161610

14 years agoMerge "Change TrafficStats to a new JNI implementation." into froyo
Dan Egnor [Thu, 8 Apr 2010 21:45:07 +0000 (14:45 -0700)]
Merge "Change TrafficStats to a new JNI implementation." into froyo

14 years agoMerge "Missed these ones in the previous rename." into froyo
Dan Egnor [Thu, 8 Apr 2010 21:10:50 +0000 (14:10 -0700)]
Merge "Missed these ones in the previous rename." into froyo

14 years agoSupport for ID3 V2.4 tags.
Andreas Huber [Thu, 8 Apr 2010 21:01:33 +0000 (14:01 -0700)]
Support for ID3 V2.4 tags.

Change-Id: I74ee02451bdfd7e50f0d5ff6fa5da5147b683e4c
related-to-bug: 2581869

14 years agoMissed these ones in the previous rename.
Brad Fitzpatrick [Thu, 8 Apr 2010 21:08:54 +0000 (14:08 -0700)]
Missed these ones in the previous rename.

BUG=2581935

Change-Id: I12e7fc924d7164ab4a5ff7bd6ee52a10f7551ad4

14 years agoWorkaround NPE caused by packages missing signatures.
Jeff Brown [Tue, 6 Apr 2010 00:42:10 +0000 (17:42 -0700)]
Workaround NPE caused by packages missing signatures.

Bug: b/2547993
Change-Id: Idcd4fc3ee4c2560a00a952e1910a50b30b736114

14 years agoMerge "For performance reason, we choose to block the picture update during drag...
Grace Kloba [Thu, 8 Apr 2010 21:05:05 +0000 (14:05 -0700)]
Merge "For performance reason, we choose to block the picture update during drag and fling. For sites like nytimes.com, there is a JavaScript constantly updating the content. If we don't block the live update during drag/fling, frame rate can drop by 30%." into froyo

14 years agoMerge "Rename logtag for clarity." into froyo
Brad Fitzpatrick [Thu, 8 Apr 2010 21:01:23 +0000 (14:01 -0700)]
Merge "Rename logtag for clarity." into froyo

14 years agoImprove robustness of package manager certificate collection.
Jeff Brown [Thu, 8 Apr 2010 01:28:23 +0000 (18:28 -0700)]
Improve robustness of package manager certificate collection.

The package manager contains an optimization which reuses cached
signatures instead of reloading them on startup if the package
appears to be unchanged.  This commit adds an extra check to ensure
that the PackageSettings object actually has valid signatures since
it has happened that they have gone missing.  Unfortunately it does
not address the root cause of the problem but it should alleviate the
symptoms after a reboot.

Bug: b/2547993
Change-Id: I41900c6a752711eb3a901360e3bb29aec946d0be

14 years ago@hide ACCESS_CACHE_FILESYSTEM and MOVE_PACKAGE
Jeff Brown [Wed, 31 Mar 2010 06:37:25 +0000 (23:37 -0700)]
@hide ACCESS_CACHE_FILESYSTEM and MOVE_PACKAGE

Bug: b/2553489
Change-Id: I681b3f9a243777b931298cc93c9d34c8d7eae0f2

14 years agoRename logtag for clarity.
Brad Fitzpatrick [Thu, 8 Apr 2010 20:25:46 +0000 (13:25 -0700)]
Rename logtag for clarity.

BUG=2581935

Change-Id: I85f0b704435861acd5a406ce5ec084b60696580c

14 years agoMerge "Refactor connection/redirection code, support redirects on reconnection."...
Andreas Huber [Thu, 8 Apr 2010 19:44:33 +0000 (12:44 -0700)]
Merge "Refactor connection/redirection code, support redirects on reconnection." into froyo

14 years agoMerge "Add service to monitor/control the flow of data." into froyo
Robert Greenwalt [Thu, 8 Apr 2010 19:42:09 +0000 (12:42 -0700)]
Merge "Add service to monitor/control the flow of data." into froyo

14 years agoAdd service to monitor/control the flow of data.
Robert Greenwalt [Thu, 1 Apr 2010 21:45:18 +0000 (14:45 -0700)]
Add service to monitor/control the flow of data.

bug:2576057
Change-Id: Ib343c7ee1d619c6978910d9ee597db195d5aa3b6

14 years agoMerge "Fix issue #2580316: Contacts and Phone app not supporting landscape mode....
Dianne Hackborn [Thu, 8 Apr 2010 18:35:27 +0000 (11:35 -0700)]
Merge "Fix issue #2580316: Contacts and Phone app not supporting landscape mode..." into froyo

14 years agoMerge "docs: revisions to the installLocation documentation" into froyo
Scott Main [Thu, 8 Apr 2010 18:22:42 +0000 (11:22 -0700)]
Merge "docs: revisions to the installLocation documentation" into froyo

14 years agoRefactor connection/redirection code, support redirects on reconnection.
Andreas Huber [Thu, 8 Apr 2010 16:17:01 +0000 (09:17 -0700)]
Refactor connection/redirection code, support redirects on reconnection.

Change-Id: Id2517568000e028b01553c06a4893813a6883168
related-to-bug: 2580785

14 years agoMerge "Don't allow connection to profiles in TURNING_OFF state." into froyo
Jaikumar Ganesh [Thu, 8 Apr 2010 17:01:50 +0000 (10:01 -0700)]
Merge "Don't allow connection to profiles in TURNING_OFF state." into froyo

14 years agoFix issue #2580316: Contacts and Phone app not supporting landscape mode...
Dianne Hackborn [Thu, 8 Apr 2010 16:52:51 +0000 (09:52 -0700)]
Fix issue #2580316: Contacts and Phone app not supporting landscape mode...

...when launched from car home launcher

For Eclair we made Droid a special case of treating the accelerometer as
a hard orientation indicator for the car dock.  This should really be the
default behavior, so make it so.

Change-Id: I70efb92036f86b55a436df29230253a192239adc

14 years agoMerge "Avoid calling proxy.playbackEnded() again in onCustomViewHidden(). It is now...
Andrei Popescu [Thu, 8 Apr 2010 16:07:32 +0000 (09:07 -0700)]
Merge "Avoid calling proxy.playbackEnded() again in onCustomViewHidden(). It is now always called via the MediaPlayer.onCompletion() callback." into froyo

14 years agoMerge "Increase the size of the pages used in CachingDataSource (total amount of...
Andreas Huber [Thu, 8 Apr 2010 15:27:20 +0000 (08:27 -0700)]
Merge "Increase the size of the pages used in CachingDataSource (total amount of memory used remains the same) to compensate for reduced locality of audio/video data requests. Also fixes a mistaken trailing "\r\n" in the range header and better error handling on http connection." into froyo

14 years agoIncrease the size of the pages used in CachingDataSource (total amount of memory...
Andreas Huber [Thu, 8 Apr 2010 14:51:20 +0000 (07:51 -0700)]
Increase the size of the pages used in CachingDataSource (total amount of memory used remains the same) to compensate for reduced locality of audio/video data requests. Also fixes a mistaken trailing "\r\n" in the range header and better error handling on http connection.

Change-Id: Ic9a6ef204362bc9afdc61e081c76bc62e5ef92ad
related-to-bug: 2580785

14 years agoAvoid calling proxy.playbackEnded() again in onCustomViewHidden().
Andrei Popescu [Thu, 8 Apr 2010 14:19:22 +0000 (15:19 +0100)]
Avoid calling proxy.playbackEnded() again in onCustomViewHidden().
It is now always called via the MediaPlayer.onCompletion() callback.

Fix b: 2533272

Change-Id: If86cf6b2ab355ddcd976cd6a2ad92ce071a1af33

14 years agoHide e-call button in layout.
Daniel Sandler [Thu, 8 Apr 2010 13:23:50 +0000 (09:23 -0400)]
Hide e-call button in layout.

Bug: 2568732
Change-Id: Idfccf04684bc7c717742cc06fa74df2c86ccea2d

14 years agoMerge "Transparent alarm icons for lockscreen." into froyo
Daniel Sandler [Thu, 8 Apr 2010 13:07:57 +0000 (06:07 -0700)]
Merge "Transparent alarm icons for lockscreen." into froyo

14 years agoMerge "Add emergency call button to PUK'd lockscreen." into froyo
Daniel Sandler [Thu, 8 Apr 2010 13:06:50 +0000 (06:06 -0700)]
Merge "Add emergency call button to PUK'd lockscreen." into froyo

14 years agoFix issue #2541849: System crash when an app with active notifications...
Dianne Hackborn [Thu, 8 Apr 2010 03:22:55 +0000 (20:22 -0700)]
Fix issue #2541849: System crash when an app with active notifications...

...in status bar is installed on sdcard and device is powered down.

Don't do the GC until everyone has had a chance to take care of external
storage going away.

This is more correct, but doesn't completely fix the problem that
appears when shutting down.

Change-Id: I24b19337ba6262cfd8d010645dbf67e76ea03058

14 years agoUpdate API and javadoc according to API review.
Wu-cheng Li [Sun, 4 Apr 2010 07:05:41 +0000 (15:05 +0800)]
Update API and javadoc according to API review.

bug:2553570
Change-Id: I0353938f513c119cec0e31eb980dc4569e17d7eb

14 years agoMerge "Fix 2579461 Move install location values to secure settings. Diable attribute...
Suchi Amalapurapu [Thu, 8 Apr 2010 04:24:36 +0000 (21:24 -0700)]
Merge "Fix 2579461 Move install location values to secure settings. Diable attribute for UI. Set default value to auto. Add command line interface to set install location via pm." into froyo

14 years agoFix 2579461
Suchi Amalapurapu [Wed, 7 Apr 2010 23:15:50 +0000 (16:15 -0700)]
Fix 2579461
Move install location values to secure settings.
Diable attribute for UI. Set default value to auto.
Add command line interface to set install location via pm.

Change-Id: I80e97b3d24845adad7102f40dcbe238f00efa406

14 years agoFor performance reason, we choose to block the picture
Grace Kloba [Wed, 7 Apr 2010 18:12:52 +0000 (11:12 -0700)]
For performance reason, we choose to block the picture
update during drag and fling. For sites like nytimes.com,
there is a JavaScript constantly updating the content.
If we don't block the live update during drag/fling,
frame rate can drop by 30%.

This essentially reverted the CL for http://b/issue?id=2310295.
But as we honor preventDefault on touch move now,
the two sites mentioned in that bug do not have problem
even after this CL.

Fix http://b/issue?id=2574172

14 years agoChange TrafficStats to a new JNI implementation.
Dan Egnor [Thu, 8 Apr 2010 00:30:50 +0000 (17:30 -0700)]
Change TrafficStats to a new JNI implementation.

Also change phone's ConnectionStateTrackers to use it directly,
rather than through the INetStat binder interface.

Bug: 2578938
Change-Id: I8858e2609cbec3be845a0ce5178cb03f67e01b41