4220 Commits

Author SHA1 Message Date
Karl Rosaen
c8ad6dcb8a Optimize rotary selector widget by using bitmaps instead of drawables.
In profiling setBounds was expensive.  Time per onDraw from 13.3ms to 6.59ms :)
2009-09-25 11:35:41 -07:00
Android (Google) Code Review
52c37d6402 Merge change 27065 into eclair
* changes:
  Remove vertical separator from landscape layout of pattern lock screen.
2009-09-25 13:43:16 -04:00
Karl Rosaen
9507490ede Remove vertical separator from landscape layout of pattern lock screen. 2009-09-25 10:42:35 -07:00
Brad Fitzpatrick
3219ab4de2 Fix typo in Bluetooth docs. 2009-09-25 20:28:02 +04:00
Tadashi G. Takaoka
86135d3240 Pass provider authority to SyncActivityTooManyDeletes
Internal Bug: 2138733
2009-09-25 09:12:25 -07:00
Cary Clark
96cfad5d67 check for null before calling native webkit from java webview
fixes http://b/issue?id=2121684
2009-09-25 12:06:20 -04:00
Android (Google) Code Review
82e62668d0 Merge change 27038 into eclair
* changes:
  Redraw search autocomplete dropdown after config change.
2009-09-25 10:43:10 -04:00
Bryan Mawhinney
29d52e120f Redraw search autocomplete dropdown after config change.
This ensures the dropdown is redrawn after changing
from landscape to portrait mode, for example.

Change-Id: I71f4425d1df789faf34d20dd30b3a5c64b5caec3
2009-09-25 15:35:21 +01:00
Bjorn Bringert
81d84c0cb2 am 6266e40a: Better JavaDoc for Activity.onSearchRequested().
Merge commit '6266e40a754d82afa717ef068898c8418a0bb5c3' into eclair

* commit '6266e40a754d82afa717ef068898c8418a0bb5c3':
  Better JavaDoc for Activity.onSearchRequested().
2009-09-25 06:45:02 -07:00
Bjorn Bringert
6266e40a75 Better JavaDoc for Activity.onSearchRequested().
Fixes http://b/issue?id=1248721
2009-09-25 14:25:41 +01:00
Bryan Mawhinney
42b7af57c5 Dismiss QSB dialog when doing an in-app global search.
This prevents QSB from obscuring the results when they are handled
by the current application.

Bug: 2141208
Change-Id: I6f848aa2003c75b97effe1d3d2af5316ad4fbf92
2009-09-25 11:09:55 +01:00
Dianne Hackborn
3e2ac88434 Fix/improve issue #2142662: too easy to click a link/item instead of fling
Reduce the slop.

Change-Id: If255e68cc8092e7f746a91c0fea27abfc5292b73
2009-09-25 01:34:28 -07:00
Dianne Hackborn
3b3e145d3c A variety of work on animations.
- The lock screen now fades in and out.
- Fixed a bug where we would accidentally freeze the screen when switching
  to an activity with a different orientation than the current (but
  the screen itself is in the current orientation).  This would mess up
  the animations on the car dock.
- New API to force a particular animation for an activity transition
  (untested).
- New wallpaper animations.
- Resources now uses the next API version when in a development build,
  to help applications being developed against such builds.

Change-Id: I2d9998f8400967ff09a04d693dc4ce55f0dbef5b
2009-09-25 00:48:02 -07:00
Android (Google) Code Review
fdf53a4628 Merge change 26935 into eclair
* changes:
  Fix bug 2129190 The context used by the status bar (i.e., the system context) was not properly initialized to have the right ApplicationInfo inside its PackageInfo. This eventually caused it to believe that it was running at 160dpi.
2009-09-25 00:45:23 -04:00
Mike Cleron
432b713c94 Fix bug 2129190
The context used by the status bar (i.e., the system context) was
not properly initialized to have the right ApplicationInfo inside
its PackageInfo. This eventually caused it to believe that it
was running at 160dpi.

Kudos to Dianne for figuring this out.
2009-09-24 21:41:19 -07:00
Nick Pelly
1a42cfac15 Use LM_SECURE when auth && encrypt.
LM_SECURE enforces man in the middle (MITM) protection.

Change-Id: Ia800bb657b429f8872d72072f7c9450a74028af0
2009-09-24 19:36:27 -07:00
Nick Pelly
18b1e79a12 Bluetooth API: Do not allow apps to programmatically make BT discoverable.
Instead add ACTION_REQUEST_DISCOVERABLE for the system to show a dialog to
adjust discoverable mode.

Also remove createBond(), removeBond() and cancelBondProcess(). The Settings
App already handles these automatically when connections require bonding.

Change-Id: I216154cd1b6de410de64ba91b07d7263ac03e8df
2009-09-24 19:34:54 -07:00
Android (Google) Code Review
0665ae22aa Merge change 26939 into eclair
* changes:
  Fix 2101425: Camera crashes spontaneously in preview.
2009-09-24 19:59:08 -04:00
Android (Google) Code Review
0808c96126 Merge change 26954 into eclair
* changes:
  Update layouts to show status (battery, alarm) info on pattern unlock screen.  make buttons dark.
2009-09-24 19:54:07 -04:00
Karl Rosaen
816ef1c116 Update layouts to show status (battery, alarm) info on pattern unlock screen. make buttons dark. 2009-09-24 16:51:50 -07:00
Fred Quintana
91a00d3a42 fix typo 2009-09-24 16:45:37 -07:00
Fred Quintana
f580841526 rename misc to birthday 2009-09-24 16:39:17 -07:00
Android (Google) Code Review
4579ed287a Merge change 26944 into eclair
* changes:
  Add "TYPE=" to type attribute when appropriate.
2009-09-24 19:31:20 -04:00
Android (Google) Code Review
d35db5ec8b Merge change 26946 into eclair
* changes:
  Fix bug#2144742: guard against 0 length encoded string when attaching a 'from' address for MMS.
2009-09-24 19:13:30 -04:00
Daisuke Miyakawa
ccca121ecd Add "TYPE=" to type attribute when appropriate.
Internal issue number: 2142140
2009-09-24 15:52:40 -07:00
Chih-Chung Chang
6157de0e2d Fix 2101425: Camera crashes spontaneously in preview.
The problem is we missed an "obj" parameter while calling
postEventFromNative (which put it in a field of a Message object),
so a garbage value on stack is used.

When the GC tries to follow that "obj" field, expecting to find
another object, it crashes.
2009-09-24 15:38:18 -07:00
Wei Huang
ed16d4b7de Fix bug#2144742: guard against 0 length encoded string when attaching a 'from' address for MMS.
Change-Id: I0aad5b3d2834695b44cbb63e40c43a2159b723d9
2009-09-24 15:04:01 -07:00
Daisuke Miyakawa
7497b78c56 Add appendType() utility method.
Some fix toward coll history related code is included.
2009-09-24 14:41:23 -07:00
Android (Google) Code Review
dccf22dcea Merge change 26698 into eclair
* changes:
  Fix the shortcuts
2009-09-24 17:35:11 -04:00
Android (Google) Code Review
dfb7bc8c87 Merge change 26821 into eclair
* changes:
  Make removeOnAccountsUpdateListener cope with null handlers.
2009-09-24 17:29:53 -04:00
Fred Quintana
531e580ab1 remove the incorrectly located nickname 2009-09-24 14:27:41 -07:00
Android (Google) Code Review
f4a36e86bb Merge change 26909 into eclair
* changes:
  Not all WebView's host have permission to read the history. Add a security catch and return an empty list.
2009-09-24 17:24:40 -04:00
Grace Kloba
db674fb4e8 Not all WebView's host have permission to read the history.
Add a security catch and return an empty list.

We don't use tab in the code.

Fix http://b/viewIssue?id=2144339
2009-09-24 14:24:13 -07:00
Dmitri Plotnikov
6938bb36b8 Fixing the broken build
Change-Id: Ie7b722f2e71b51d180c95cf0d4bdbf4975e1a2be
2009-09-24 14:05:59 -07:00
Cary Clark
f18c539344 set the selection after sending a click
Webkit expects the currently focused text input to have
a set selection before it can receive key events for insertion.

Coincidentally, we always set the selection except when
using the 'next' button on the IME to switch between text fields.

The selection has to be set after the text field receives
focus, so add a setSelection() message after the click() message
is sent in passToJavaScript().

fixes http://b/issue?id=2087546
2009-09-24 16:45:24 -04:00
Nicolas Roard
e0fc838ebc Fix the shortcuts 2009-09-24 21:35:25 +01:00
Dmitri Plotnikov
f22fc124ff Adding timestamp and account to contact-level presence columns.
Change-Id: I1ff4f4f5ef9b3b0deb9df3d0689ff39b4b2fd84b
2009-09-24 13:28:33 -07:00
Daisuke Miyakawa
f2bed60bd4 Add final to appropriate variables. 2009-09-24 13:24:07 -07:00
Daisuke Miyakawa
b55e60e1d8 Fix vCard code. 2009-09-24 13:11:20 -07:00
Android (Google) Code Review
43f9920271 Merge change 26896 into eclair
* changes:
  ResultTransport needs a default value. If the thread is ununlocked by something else other than CallbackProxy's notify(), it can have a null value.
2009-09-24 15:35:22 -04:00
Grace Kloba
dbad320bf3 ResultTransport needs a default value. If the thread is
ununlocked by something else other than CallbackProxy's
notify(), it can have a null value.

Fix http://b/issue?id=2131842
2009-09-24 12:27:14 -07:00
Android (Google) Code Review
03d2009b3e Merge change 26895 into eclair
* changes:
  Subject issue in MMS message
2009-09-24 15:26:19 -04:00
Android (Google) Code Review
bfe1297b12 Merge change 26869 into eclair
* changes:
  Add call log support to pim.vcard.VCardComposer
2009-09-24 15:13:19 -04:00
Android (Google) Code Review
bb6aba1984 Merge change 26876 into eclair
* changes:
  Restrict touch to the view height with the title. This should fix the links in the bottom of the screen are not touchable when title bar presents.
2009-09-24 14:45:57 -04:00
Grace Kloba
8eff73f79b Restrict touch to the view height with the title. This
should fix the links in the bottom of the screen are not
touchable when title bar presents.

Also fix a bug in calcOutContentVisibleRect. We need to
adjust visibleTitleHeight for the top, but we should not
do it for the bottom. Otherwise, WebKit will have the
wrong visible rect and it will think the part right under
the bottom of the screen are visible.

Fix http://b/issue?id=2140971
2009-09-24 11:36:26 -07:00
Christopher Tate
4cc86e1ae8 Clear the device's data from the transport when backup is disabled
Turning off backup in the Settings UI constitutes an opt-out of the whole
mechanism.  For privacy reasons we instruct the backend to wipe all of the data
belonging to this device when the user does this.  If the attempt fails it is
rescheduled in the future based on the transport's requestBackupTime()
suggestion.  If network connectivity changes prompt the transport to indicate a
backup pass is appropriate "now," any pending init operation is processed before
the backup schedule is resumed.

The broadcasts used internally to the backup manager are now fully protected;
third party apps can neither send nor receive them.

(Also a minor logging change; don't log 'appropriate' EOF encountered during
parsing of a backup data stream.)
2009-09-24 11:19:04 -07:00
Lixin Yue
c3eef96b70 Add call log support to pim.vcard.VCardComposer
Change-Id: I6573b22aa42d60720b93d0f4c3b03fb8213208f2
2009-09-24 11:03:31 -07:00
Android (Google) Code Review
bb339eadcb Merge change 26867 into eclair
* changes:
  fix bug where siilent mode dissapears when it triggers instead of animating off to the left edge.
2009-09-24 13:53:13 -04:00
Karl Rosaen
ff9c54b721 fix bug where siilent mode dissapears when it triggers instead of animating off to the left edge. 2009-09-24 10:50:48 -07:00
Android (Google) Code Review
a3a840f9dd Merge change 26830 into eclair
* changes:
  Coloring clicked-on links
2009-09-24 13:33:27 -04:00