7638 Commits

Author SHA1 Message Date
Dan Egnor
60d8762413 DropBox logging of app & system server crashes.
The crashes are also reported to the event log (and of course the
main logcat, like they always have been).  Ordinary Log.e(t,m,e) isn't dropboxed
but there's a new Log.wtf() which always is.  (Still @pending in this change.)

Add a hook to IPowerManager to crash the system server on demand
(only for apps with REBOOT permission, since it's basically a restart).
This is not exposed in PowerManager, must be invoked directly -- mostly
this is there so "Bad Behavior" in dev tools can do it.
2009-12-21 16:03:19 -08:00
Jeff Sharkey
223bd7af98 Fix javadoc reference to ContactsContract.Contacts. 2009-12-21 14:51:19 -08:00
Jaikumar Ganesh
987c415c83 am f5d2eec4: am 11b97c50: Merge change I551ed729 into eclair
Merge commit 'f5d2eec4fd530ac09ce1f8d2e51ea29b5cd12a38'

* commit 'f5d2eec4fd530ac09ce1f8d2e51ea29b5cd12a38':
  Use UNDEFINED priorities when unpaired.
2009-12-21 14:22:47 -08:00
Jaikumar Ganesh
b58938a0ae am 1aa25597: am 87ed10d7: Merge change I577dd1f3 into eclair
Merge commit '1aa2559797d49fa0c6cf7885c9fed5797e42231f'

* commit '1aa2559797d49fa0c6cf7885c9fed5797e42231f':
  Accept incoming connections if no other sink is in NonDisconnecting state.
2009-12-21 14:22:37 -08:00
Jaikumar Ganesh
f5d2eec4fd am 11b97c50: Merge change I551ed729 into eclair
Merge commit '11b97c50e6fb6d723e88eac3c125b60ca42184f7' into eclair-plus-aosp

* commit '11b97c50e6fb6d723e88eac3c125b60ca42184f7':
  Use UNDEFINED priorities when unpaired.
2009-12-21 14:19:50 -08:00
Jaikumar Ganesh
1aa2559797 am 87ed10d7: Merge change I577dd1f3 into eclair
Merge commit '87ed10d78d290f48d382a6e628241da0c61cfb45' into eclair-plus-aosp

* commit '87ed10d78d290f48d382a6e628241da0c61cfb45':
  Accept incoming connections if no other sink is in NonDisconnecting state.
2009-12-21 14:19:43 -08:00
Jeff Sharkey
a503f6f7cf Adjust for compatibility mode before setSourceBounds().
When invoked from an anyDensity="false" or pre-Donut app,
View.getLocationOnScreen() returns values in compatibility
mode.  This change fixes QuickContact and RemoteViews to
always adjust based on CompatibilityInfo.applicationScale.

Also deprecates an extra previously being used to pass
Rect for QuickContact windows.

Fixes http://b/2306495
2009-12-21 14:18:09 -08:00
Android (Google) Code Review
11b97c50e6 Merge change I551ed729 into eclair
* changes:
  Use UNDEFINED priorities when unpaired.
2009-12-21 14:17:15 -08:00
Android (Google) Code Review
87ed10d78d Merge change I577dd1f3 into eclair
* changes:
  Accept incoming connections if no other sink is in NonDisconnecting state.
2009-12-21 14:16:44 -08:00
Dmitri Plotnikov
b4413fa3c6 Clean-up of naming of the new Contact/Name columns
Change-Id: I52316b365c4299dddbfb2972459a37893413bd8b
2009-12-21 10:18:53 -08:00
Grace Kloba
824c82e1eb am fb2fbefd: am 9a67c820: Address the multiple resizing during initializing problem adobe run into.
Merge commit 'fb2fbefd6fa3b6503522dc24214295122c3d4f31'

* commit 'fb2fbefd6fa3b6503522dc24214295122c3d4f31':
  Address the multiple resizing during initializing
2009-12-20 11:37:30 -08:00
Grace Kloba
fb2fbefd6f am 9a67c820: Address the multiple resizing during initializing problem adobe run into.
Merge commit '9a67c82089e43d37f5038c74b0e1dca8edc4ac8a' into eclair-mr2-plus-aosp

* commit '9a67c82089e43d37f5038c74b0e1dca8edc4ac8a':
  Address the multiple resizing during initializing
2009-12-20 11:34:57 -08:00
Grace Kloba
9a67c82089 Address the multiple resizing during initializing
problem adobe run into.

When a child view is created, we first hide it if
the webview is not ready to draw yet. This will avoid
the multiple resizing notification.
2009-12-20 11:33:58 -08:00
Scott Main
9256bb08d2 am 9a6c8168: am 77fa05a4: Merge change Iab5952e1 into eclair
Merge commit '9a6c8168f743c1dc8cc28de22fe12be4623434cd'

* commit '9a6c8168f743c1dc8cc28de22fe12be4623434cd':
  docs: add "required" attribute to the <uses-feature> docs
2009-12-19 00:41:10 -08:00
Scott Main
9a6c8168f7 am 77fa05a4: Merge change Iab5952e1 into eclair
Merge commit '77fa05a43d3f3f967311d6806fe743017950cf92' into eclair-plus-aosp

* commit '77fa05a43d3f3f967311d6806fe743017950cf92':
  docs: add "required" attribute to the <uses-feature> docs
2009-12-19 00:39:26 -08:00
Android (Google) Code Review
77fa05a43d Merge change Iab5952e1 into eclair
* changes:
  docs: add "required" attribute to the <uses-feature> docs and add a note to the CAMERA permission stating that it enables the <uses-feature> for camera. This is an incrimental update for the 2.0.1 docs. More changes to come for the 2.1 docs to include more features
2009-12-19 00:36:48 -08:00
Scott Main
0b91635caf docs: add "required" attribute to the <uses-feature> docs
and add a note to the CAMERA permission stating that it enables
the <uses-feature> for camera.
This is an incrimental update for the 2.0.1 docs. More changes
to come for the 2.1 docs to include more features
2009-12-19 00:25:11 -08:00
Scott Main
3a9b03425b am a2bca747: am a25032a0: Merge change Ic31c0f62 into eclair
Merge commit 'a2bca7477d803541c5a48cc7624e2b6c305c5970'

* commit 'a2bca7477d803541c5a48cc7624e2b6c305c5970':
  docs: update the Bluetooth guide with links to the sample
2009-12-18 17:18:54 -08:00
Scott Main
a2bca7477d am a25032a0: Merge change Ic31c0f62 into eclair
Merge commit 'a25032a08d1cce601c0a52057bc39d9c7e47bfad' into eclair-plus-aosp

* commit 'a25032a08d1cce601c0a52057bc39d9c7e47bfad':
  docs: update the Bluetooth guide with links to the sample
2009-12-18 17:15:38 -08:00
Android (Google) Code Review
a25032a08d Merge change Ic31c0f62 into eclair
* changes:
  docs: update the Bluetooth guide with links to the sample app, scrub the sibling files, and revise the Bluetooth package summary to point to the BT dev guide.
2009-12-18 17:12:36 -08:00
Jim Miller
8cb0badf6c am 5ee51f07: am 05de7c88: Merge change I420cc110 into eclair-mr2
Merge commit '5ee51f07356b81ff2b026ef864f2f6349994e3fc'

* commit '5ee51f07356b81ff2b026ef864f2f6349994e3fc':
  Fix 2318046: Modify PIN entry layout in keyguard so it works well on HVGA as well as WVGA devices.
2009-12-18 16:16:05 -08:00
Jim Miller
5ee51f0735 am 05de7c88: Merge change I420cc110 into eclair-mr2
Merge commit '05de7c882e0ae8d9ea10f4de9421b2e05bf29fa9' into eclair-mr2-plus-aosp

* commit '05de7c882e0ae8d9ea10f4de9421b2e05bf29fa9':
  Fix 2318046: Modify PIN entry layout in keyguard so it works well on HVGA as well as WVGA devices.
2009-12-18 16:10:31 -08:00
Android (Google) Code Review
05de7c882e Merge change I420cc110 into eclair-mr2
* changes:
  Fix 2318046: Modify PIN entry layout in keyguard so it works well on HVGA as well as WVGA devices.
2009-12-18 16:07:19 -08:00
Android (Google) Code Review
e8bae73b8c Merge change I3632fede
* changes:
  Bug 2330278
2009-12-18 15:31:49 -08:00
Adam Powell
c854f281a1 Force a re-layout of children if ListView is out of sync with the
adapter in onFocusChanged. Addresses bug 2157773
2009-12-18 10:26:52 -08:00
Android (Google) Code Review
83e1095979 Merge change I1d1ed967
* changes:
  Tap delays; making tap UI feel better. Addresses bug 2317577
2009-12-18 10:11:02 -08:00
Android (Google) Code Review
ccc8305ae9 Merge change I58acbafc
* changes:
  Fix for http://b/issue?id=2323459 and generics correctness on a WeakReference
2009-12-18 10:10:28 -08:00
Mike Reed
1cc22955d0 am 750a64ac: am 6888f559: Merge change If0c93a57 into eclair-mr2
Merge commit '750a64aca07faf032f1e3ea40cee840d34be0d2c'

* commit '750a64aca07faf032f1e3ea40cee840d34be0d2c':
  add DragTracker class
2009-12-18 09:57:37 -08:00
Mike Reed
750a64aca0 am 6888f559: Merge change If0c93a57 into eclair-mr2
Merge commit '6888f559ba215abd210df749c3ef63706d0bc56a' into eclair-mr2-plus-aosp

* commit '6888f559ba215abd210df749c3ef63706d0bc56a':
  add DragTracker class
2009-12-18 09:53:26 -08:00
Android (Google) Code Review
6888f559ba Merge change If0c93a57 into eclair-mr2
* changes:
  add DragTracker class
2009-12-18 09:50:57 -08:00
Mike Reed
19f3f0e329 add DragTracker class 2009-12-18 12:25:30 -05:00
Adam Powell
e14579bac5 Tap delays; making tap UI feel better.
Addresses bug 2317577

Views now will not enter PRESSED state until
ViewConfiguration.getTapTimeout() milliseconds have elapsed. This
prevents scrolls and other gestures from causing views to enter
PRESSED state prematurely.

Quick taps within the same view still work as expected. There is now a
PREPRESSED state flag within View to help track quick taps.

If tapped quickly, views will remain pressed for
ViewConfiguration.getPressedStateDuration().

Tap timeout has been changed to 115ms. Pressed state duration has been
changed to 125ms.
2009-12-17 18:01:20 -08:00
Jaikumar Ganesh
577dd1f3e2 Accept incoming connections if no other sink is in NonDisconnecting state.
Bluez sends SINK_STATE_CHANGE before onAgentAuthorize, so
we may be already in CONNECTING state. This will happen with
some A2DP kits which don't like us connecting and thus we will
never be able to connect to them.

Bug:2335345
Dr No: Hiroshi
2009-12-17 15:08:48 -08:00
Android (Google) Code Review
2e3708e41e Merge change I38e951b6
* changes:
  Write HierarchyViewer's data in UTF-8.
2009-12-17 13:30:11 -08:00
Romain Guy
38e951b62e Write HierarchyViewer's data in UTF-8.
This change fixes issues with HierarchyViewer running on phones with a non en locale.
The biggest problem occurred with spanish locales.
2009-12-17 13:28:30 -08:00
Jeff Hamilton
bde0716dac resolved conflicts for merge of 08ace2e0 to master 2009-12-17 15:17:54 -06:00
Jeff Hamilton
08ace2e0f5 am 4986934e: Merge change Ia6446890 into eclair-mr2
Merge commit '4986934e189032dba43676973038879b5f90a406' into eclair-mr2-plus-aosp

* commit '4986934e189032dba43676973038879b5f90a406':
  Remove the IM provider contract class.
2009-12-17 11:53:25 -08:00
Android (Google) Code Review
4986934e18 Merge change Ia6446890 into eclair-mr2
* changes:
  Remove the IM provider contract class.
2009-12-17 11:49:50 -08:00
Jeff Hamilton
f3960b1271 Remove the IM provider contract class.
Change-Id: Ia644689021aca3e429d42727dfd6262b6986dfd2
2009-12-17 13:47:36 -06:00
Android (Google) Code Review
0f51324c50 Merge change I17b7ffe9
* changes:
  Do not back up / restore the END_BUTTON_BEHAVIOR setting
2009-12-17 11:17:58 -08:00
Paul Westbrook
b8d4698818 Bug 2330278
Deleted old copy of SimplePullParser, since it has been moved to
gdata
2009-12-17 10:47:17 -08:00
Mike Reed
f7ed3a2b0f am 0249c83e: am 31a69fdb: throw if we have a null typeface native instance (so we don\'t crash in native code) we may still have to native-destroy a Typeface with a null ref, so check for that
Merge commit '0249c83ed014cc6a36caac30e55db62c29c204e2'

* commit '0249c83ed014cc6a36caac30e55db62c29c204e2':
  throw if we have a null typeface native instance (so we don't crash in native code)
2009-12-17 09:27:42 -08:00
Mike Reed
0249c83ed0 am 31a69fdb: throw if we have a null typeface native instance (so we don\'t crash in native code) we may still have to native-destroy a Typeface with a null ref, so check for that
Merge commit '31a69fdbe1edd8d686043e8ca7d278289f65808e' into eclair-mr2-plus-aosp

* commit '31a69fdbe1edd8d686043e8ca7d278289f65808e':
  throw if we have a null typeface native instance (so we don't crash in native code)
2009-12-17 09:24:18 -08:00
Mike Reed
31a69fdbe1 throw if we have a null typeface native instance (so we don't crash in native code)
we may still have to native-destroy a Typeface with a null ref, so check for that
2009-12-17 12:18:44 -05:00
Yang Li
45ad2a0750 am c57930aa: am e96b6838: Merge change I4758f121 into eclair-mr2
Merge commit 'c57930aa679385b87852a9805b971a4fb91c65be'

* commit 'c57930aa679385b87852a9805b971a4fb91c65be':
  Added the Protractor algorithm for calculating the minimum cosine distance between gestures
2009-12-16 21:45:41 -08:00
Yang Li
c57930aa67 am e96b6838: Merge change I4758f121 into eclair-mr2
Merge commit 'e96b6838b5a7ec3b4368e2449af9fbf0a8b75f16' into eclair-mr2-plus-aosp

* commit 'e96b6838b5a7ec3b4368e2449af9fbf0a8b75f16':
  Added the Protractor algorithm for calculating the minimum cosine distance between gestures
2009-12-16 21:42:21 -08:00
Android (Google) Code Review
e96b6838b5 Merge change I4758f121 into eclair-mr2
* changes:
  Added the Protractor algorithm for calculating the minimum cosine distance between gestures
2009-12-16 21:40:30 -08:00
Scott Main
1362bbcf76 docs: update the Bluetooth guide with links to the sample
app, scrub the sibling files, and revise the Bluetooth package
summary to point to the BT dev guide.
2009-12-16 18:48:02 -08:00
Christopher Tate
17b7ffe9ce Do not back up / restore the END_BUTTON_BEHAVIOR setting
If something had backed up this setting in the 'do nothing' state, a restore of
that dataset could render a device without a hard END key unusable.  There's no
clear reason to want to restore this value anyway, so we no longer back it up,
nor apply it at restore time even if the dataset contains it.

Bug: 2326562
2009-12-16 16:58:19 -08:00
Jaikumar Ganesh
ef3308790a am 57043a67: am 43ad522d: Merge change Ic0e32f12 into eclair-mr2
Merge commit '57043a675f8826099e619c5d325fc7670be83e0b'

* commit '57043a675f8826099e619c5d325fc7670be83e0b':
  Add a callback for the ConnectSink Call.
2009-12-16 16:31:25 -08:00