4108 Commits

Author SHA1 Message Date
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
Amith Yamasani
c15255a979 Add a PRIVACY_SETTINGS action to launch the new Privacy settings screen. 2009-09-24 10:24:04 -07:00
Leon Clarke
9c8d886bb7 Coloring clicked-on links
Following review comments

Merging in ben's change

Whitespace
2009-09-24 18:22:51 +01:00
Android (Google) Code Review
9f8d59eea1 Merge change 26714 into eclair
* changes:
  Update RotarySelector to support vertical orientation, and add resolution specific assets (removing old ones).
2009-09-24 13:19:15 -04:00
Satish Roddom
6cec6e168b Subject issue in MMS message
Open a draft MMS message having some subject, some text and any attachment.
Remove the written subject and again save it as draft.  In the messaging
main screen, can still see previously entered subject.

Change-Id: I1a30978b7c06fab253ea5d4da0254c3780d18a62
2009-09-24 10:02:12 -07:00
Android (Google) Code Review
13ab701e0a Merge change 26856 into eclair
* changes:
  Make the new ContactsContract APIs public.
2009-09-24 12:59:55 -04:00
Android (Google) Code Review
9251c34459 Merge change 26851 into eclair
* changes:
  use new setDither on ImageRef to retain that setting for purgeable images
2009-09-24 12:38:23 -04:00
Jeff Hamilton
f852698cc3 Make the new ContactsContract APIs public.
Also, squelch warnings that were caused by the
deprecation of the old Contacts APIs.

Change-Id: I91d2804de4b653003cd5504ff0f770c01a6332ef
2009-09-24 11:36:03 -05:00
Mike Reed
17154417e8 use new setDither on ImageRef to retain that setting for purgeable images 2009-09-24 12:35:27 -04:00
Daniel Sandler
1ee4aeaa46 New high-res framework assets (drop dated Sep-24).
Note that there are a few new assets here that don't exist
in mdpi (and aren't yet referenced by code):

	core/res/res/drawable-hdpi/stat_sys_signal_0_cdma.png
	core/res/res/drawable-hdpi/stat_sys_signal_1_cdma.png
	core/res/res/drawable-hdpi/stat_sys_signal_2_cdma.png
	core/res/res/drawable-hdpi/stat_sys_signal_3_cdma.png
	core/res/res/drawable-hdpi/stat_sys_signal_4_cdma.png
	core/res/res/drawable-hdpi/stat_sys_signal_evdo_0.png
	core/res/res/drawable-hdpi/stat_sys_signal_evdo_1.png
	core/res/res/drawable-hdpi/stat_sys_signal_evdo_2.png
	core/res/res/drawable-hdpi/stat_sys_signal_evdo_3.png
	core/res/res/drawable-hdpi/stat_sys_signal_evdo_4.png
2009-09-24 12:26:41 -04:00
Karl Rosaen
74646ad618 Update RotarySelector to support vertical orientation, and add resolution specific assets (removing old ones). 2009-09-24 09:24:42 -07:00
Android (Google) Code Review
3e81ad2181 Merge change 26819 into eclair
* changes:
  Fixes http://b/2143180 (mdpi sdcard notification icons).
2009-09-24 10:28:20 -04:00
Android (Google) Code Review
a7beb95ede Merge change 26818 into eclair
* changes:
  Add possibility to customize the chooser dialog used to allow the user to choose the application for sharing a link.
2009-09-24 09:55:58 -04:00