26684 Commits

Author SHA1 Message Date
Daniel Sandler
5b8743f3d6 Fix the fix for storage ANRs.
This repairs Icf2a836b6 to avoid an infinite loop on boot.

Bug: 3138068
Change-Id: Ic3a0455e18002dfb82774d96b3467030c4b15e2f
2010-11-03 09:49:26 -04:00
Hung-ying Tyan
8d1b2a17d9 Throw proper exceptions in SipManager
instead of silently returning null and causing NPE in applications as returning
null is not documented in the javadoc.

Add connection to the connection list in SipCall after dial() succeeds so that
we don't need to clean up if it fails. The original code will cause the failed
connection to continue to live in the SipCall and in next dial() attempt, a new
connection is created and the in-call screen sees two connections in the call
and thus shows conference call UI.

Bug: 3157234, 3157387
Change-Id: Iabc3235f781c4f1e09384a67ad56b09ad2c12e5e
2010-11-03 18:09:31 +08:00
Dianne Hackborn
906b830d1d Revert "UMS: Avoid SystemUI ANRs during long vold operations."
This reverts commit 010704f95de534214cd7b86f93e22050a595dce3.
2010-11-02 22:23:53 -07:00
Daniel Sandler
cbc3219d28 Merge "UMS: Avoid SystemUI ANRs during long vold operations." into gingerbread 2010-11-02 20:34:10 -07:00
James Dong
6786fccf5a DO NOT MERGE
Fix premature release of recording frames when physical address or metadata is stored in input video buffers

- bug 3158459

Change-Id: If297189d2a87fc3abfda68c29ac75b490b30a902
2010-11-02 19:30:01 -07:00
Jason parks
73eba2a6bc Merge "Return a zero length byte from toByteArray instead of null." into gingerbread 2010-11-02 18:58:09 -07:00
Daniel Sandler
010704f95d UMS: Avoid SystemUI ANRs during long vold operations.
Stop handling StorageEventListener callbacks on the main
thread, where calls back into StorageManager could take a
while (i.e., during a long fsck).

Bug: 3138068
Change-Id: Icf2a836b69ff60606edce7c5575ad64dc24698c6
2010-11-02 21:47:22 -04:00
Jason parks
3ebd59bb5d Return a zero length byte from toByteArray instead of null.
Change-Id: I67b388099c72a0d2ec6b429caea8f29bf8f7a75a
2010-11-02 20:03:52 -05:00
Dirk Dougherty
4e4d0d5f20 am 36a1bcee: Merge "Doc change: Update uses-feature and permissions docs." into froyo
* commit '36a1bcee76d35636b4050674eb98285c3a3a6c2f':
  Doc change: Update uses-feature and permissions docs.
2010-11-02 17:43:54 -07:00
Dirk Dougherty
36a1bcee76 Merge "Doc change: Update uses-feature and permissions docs." into froyo 2010-11-02 17:40:27 -07:00
Dirk Dougherty
f1e134ba6a Doc change: Update uses-feature and permissions docs.
Change-Id: I80b45840d83e0622a7b5efeed00a3c659d80ca9b
2010-11-02 17:37:23 -07:00
Gilles Debunne
ba25cc3416 ldpi assets created from hdpi in core.
Change-Id: Ia52d2da67e3f498a29bc2ad7a97586acce1bde01
2010-11-02 17:24:10 -07:00
Nick Pelly
38e561dd3c Merge "Remove timeout support." into gingerbread 2010-11-02 14:46:46 -07:00
Nick Pelly
275708c82c Remove timeout support.
The implementation was guarenteed to cause deadlock when a timeout was set.

Change-Id: I59444ea784eb9057c6c4c9e9123f558b3ef5eef6
Signed-off-by: Nick Pelly <npelly@google.com>
2010-11-02 16:13:52 -05:00
Joe Malin
c1fad4a2e3 Merge "DOC CHANGE: Add entry for monkeyrunner to tools index page." into gingerbread 2010-11-02 13:17:16 -07:00
Raphael
46468dde8d Merge "Support for <compatible-screens><screen> in ADT." into gingerbread 2010-11-02 11:43:11 -07:00
Gilles Debunne
18149c47bf Merge "Rescaled/updated mdpi assets added." into gingerbread 2010-11-02 10:05:52 -07:00
Gilles Debunne
94da7f983c Merge "Rescaled/updated mdpi assets added." into gingerbread 2010-11-02 10:04:40 -07:00
Hung-ying Tyan
262cdfca7a Correct SipService.isOpened() implementation.
Make it return true for all existing accounts.
Rename mOpened to mOpenedToReceiveCalls to make it less confusing.

Bug: 3155849
Change-Id: I327f411bf76afd73434ad1fa2ffef3db1e35d778
2010-11-02 15:17:50 +08:00
Jeff Brown
a87ea46cb0 Fix bugs related to cheek event suppression.
Two issues:

1. First, due to an inverted conditional in the input dispatcher, we were
   reporting touches as long touches and vice-versa to the power manager.

2. Power manager user activity cheek event suppression also suppresses touch
   events (but not long touch or up events).  As a result, if cheek event
   suppression was enabled, touches would not poke the user activity timer.
   However due to the above logic inversion, this actually affected long
   touches.  Net result, if cheek suppression was enabled in the power manager
   and you held your thumb on the screen long enough, the phone would
   go to sleep!

Cheek event suppression is commonly turned on when making a phone call.
Interestingly, it does not seem to get turned off afterward...

This change fixes the logic inversion and exempts touches from the cheek
suppression.  The reason we do the latter is because the old behavior
was actually harmful in other ways too: a touch down would be suppressed
but not a long touch or the touch up.  This would cause bizarre behavior
if you touched the screen while it was dimmed.  Instead of brightening
immediately, it would brighten either when you lifted your finger or
300ms later, whichever came first.

Bug: 3154895
Change-Id: Ied9ccec6718fbe86506322ff47a4e3eb58f81834
2010-11-01 20:51:58 -07:00
Neal Nguyen
5dda76a72e Adding some StorageManager integration test infrastructure and some basic tests.
More interesting tests to come in the form of host-based tests.

Change-Id: Ifdedf7ef26ed9889871c902af20164df0498cf07
2010-11-01 18:21:21 -07:00
Joe Malin
6c49981d51 DOC CHANGE: Add entry for monkeyrunner to tools index page.
Change-Id: I6487521c3ab7cdf641242598dee6e2752f46fa7a
2010-11-01 17:19:40 -07:00
Gilles Debunne
dde799deb2 Rescaled/updated mdpi assets added.
Change-Id: Idce2f1a3fb66565abe2c710281dab1ec6650d0c2
2010-11-01 17:18:10 -07:00
Gilles Debunne
8cfaaa7919 Rescaled/updated mdpi assets added.
Change-Id: Ifd179b6850e04a785aef588c2f0f4fd80fc5c8fe
2010-11-01 17:01:56 -07:00
Neal Nguyen
bd06f02d02 Cleaning up some more flakiness in DownloadManager tests.
A couple of logic fixes (synchronization, poll time), and adding a little more test
logging info.

Change-Id: I8da71f87fd1e211913f84ec517762dca81f87292
2010-11-01 17:00:17 -07:00
Joe Malin
a7fda21c82 DO NOT MERGE: Doc Change: Documentation for MonkeyRunner tool
Change-Id: I049c5f70c47077c51fefbae32633592e80068df2
2010-11-01 16:12:54 -07:00
Dan Bornstein
ccb75a882f Merge "Update the API file." into gingerbread 2010-11-01 16:08:14 -07:00
Scott Main
fea07c6096 am eda78cea: docs: update dashboard
* commit 'eda78ceaffb234c37b11e69602d020e4bb28ca83':
  docs: update dashboard
2010-11-01 15:57:38 -07:00
Scott Main
eda78ceaff docs: update dashboard
Change-Id: Icf0c2076484f4aed2d3bf3fc24b751e14eeeafe1
2010-11-01 15:10:06 -07:00
Leon Scroggins
3073646f61 Merge "Update insertion handler for WebTextView." into gingerbread 2010-11-01 14:49:47 -07:00
Dan Bornstein
bc19c7bdc0 Update the API file.
My previous change was api-compatible, but some of the incidental data
in the API file (like parameter names) changed. It looks like there
were probably a couple other similar changes too, that hadn't
previously been propagated to the API file; all I did to generate this
change was say "make update-api".

Change-Id: I427a9ceb51212fde515df007613b8687b7228ce7
2010-11-01 14:14:37 -07:00
Scott Main
081127be8b docs: some more edits to the sdk install docs
Change-Id: I1a108ad746a2f2ddf6e8ea3979ef3fb3d5998de3
2010-11-01 13:03:57 -07:00
Dianne Hackborn
42679cea5d Merge "Fix issue #3152415: Various confusions in docs about Application" into gingerbread 2010-11-01 12:47:02 -07:00
Leon Scroggins
5642625cfb Update insertion handler for WebTextView.
Bug:3152629
Change-Id: If2a33eb5456493fb9b3b2c54fcc4f5348fe129e1
2010-11-01 15:45:37 -04:00
Dianne Hackborn
7025d8e4b9 Fix issue #3152415: Various confusions in docs about Application
Change-Id: Ie1b480ed7a47a3eb6ffff76bef0dcd7b2b845e83
2010-11-01 09:49:37 -07:00
Chia-chi Yeh
67f41771d5 Visualizer: Fix the conversion from 8-bit sample to 16-bit sample.
Change-Id: Ie6d77b0f61a37333e05cdcdb6ef29d6f6c345a9d
2010-11-01 10:56:45 +08:00
Dianne Hackborn
70a2c15ecf Final SDK API 9. DO NOT MERGE.
Change-Id: I3e2fc2ebc52eecb26ac3a6bb466447f378fb5de6
2010-10-29 18:50:47 -07:00
Scott Main
38fd394815 am 579db096: docs: remove another "new" tag
* commit '579db096fa05bd077fadb04876ecf99e3ccd02b9':
  docs: remove another "new" tag
2010-10-29 17:16:57 -07:00
Scott Main
579db096fa docs: remove another "new" tag
Change-Id: I54d56f2090dee856741ea23028b51c85e526c46b
2010-10-29 17:12:37 -07:00
Neal Nguyen
06875afad6 Merge "A little tweaking of DL Manager tests and adding better debugging output." into gingerbread 2010-10-29 17:07:59 -07:00
Scott Main
6e8d6bd09f Merge "docs: Update various SDK docs for GB platform and tools" into gingerbread 2010-10-29 15:34:00 -07:00
Neal Nguyen
65c36e6133 A little tweaking of DL Manager tests and adding better debugging output.
Adding more detail to the output logging to help track down issues, fixing some
download completed notification counter flakiness and making reboot test more
robust, and reducing the number of concurrent downloads in testMultipleDownloads()
to 10. After talking with Vasu, this is probably more appropriate as it is
closer to typical usage scenarios, and as a side effect should trim some
time from the test runs. Large numbers of downloads will be left for stress
testing.

Change-Id: Ie337cfe9b8d27299d70553e39c60e241ff3afe66
2010-10-29 15:25:11 -07:00
Mathias Agopian
7bf1521b6b fix [3148312] Region can access data out of bounds
Change-Id: Ic46f31d40943f405e37da21a50b55edd5a2c4124
2010-10-29 15:14:08 -07:00
Leon Clarke
5ccbe05945 DO NOT MERGE. Add assets for <select>
Bug:3133784

Cherry-picking to GB from master.

Change-Id: I7d37c22f555d0e7c59a58fdad1516d3d77bf6d14
2010-10-29 17:08:35 -04:00
Scott Main
1112632a41 Merge "docs: revise javadocs for sip add a package description, revise class descriptions and edit some method docs" into gingerbread 2010-10-29 10:03:36 -07:00
Scott Main
06cf15e696 docs: Update various SDK docs for GB platform and tools
Change-Id: I8ccb296e5fba57743197bec140e9c79750f0d4f6
2010-10-28 23:28:28 -07:00
Joe Onorato
ed3c7be842 Merge "Report the new size to wallpapers when the requested size changed." into gingerbread 2010-10-28 18:18:52 -07:00
Joe Onorato
dcfae5c0fd Report the new size to wallpapers when the requested size changed.
We were telling the app, but we weren't saving the data for ourselves.
This also tells them to re-scroll when there's a new size.

Bug: 3144373
Change-Id: I9d12b714119ff02dd7d7f1cfa997d8a44475b9e9
2010-10-28 18:04:10 -07:00
Nick Pelly
4bf4b491be Merge "Hide some NFC API's." into gingerbread 2010-10-28 16:47:31 -07:00
Scott Main
02b1d685cc docs: revise javadocs for sip
add a package description, revise class descriptions and edit some method docs

Change-Id: Ice969a99c830349674c65d99e4b7a6f1d2f24a7e
2010-10-28 16:37:43 -07:00