4726 Commits

Author SHA1 Message Date
Dan Egnor
d301a47ff9 Fix bug 2253204: MapView resources for hdpi devices. 2009-11-12 12:24:33 -08:00
Eric Laurent
923d7d721d Fix issue 2242614: Wired headset not recognized: bogus "state" in ACTION_HEADSET_PLUG broadcast.
The headset state indicated by HeadsetObserver in the broadcast intent ACTION_HEADSET_PLUG was not 0 or 1 as specified in the java doc but contained a bit field indicating the type of headset connected.

Modified HeadsetObserver to broacast a state conforming to java doc.
Added an extra to intent ACTION_HEADSET_PLUG to indicate if headset has a microphone or not.
Removed handling of non standard headset indications from HeadsetObserver.
Removed platform specific devices from output devices defined in AudioSystem.
Modified AudioService to use new ACTION_HEADSET_PLUG intent extra instead of bitfield in state.
2009-11-12 12:09:06 -08:00
Jim Miller
4df2c5433b Fix 2209086: restore drawable states when drawables change.
This fixes a bug where the right tab hightlight wasn't being seen.
The prooblem was that we weren't preserving the drawables' states when
the application requested a new drawable. We now track the drawable state
so we can updated it when the resources change.
2009-11-12 11:23:29 -08:00
Daniel Sandler
e3ea6e3d4c Update keyguard and pattern-lock layouts for new UX designs.
To do this, we bring DigitalClock over from Clock into the
internal widgets.  Its font, Clockopia, comes along for the
ride (find it in /system/fonts).

This change is required for relevant code changes in
frameworks/policy/phone.

Change-Id: I354534f1abd9cf9557c9d18566f1d55b6be5e8f1
2009-11-12 09:37:44 -08:00
Android (Google) Code Review
3c58d279ab Merge change I738ed802 into eclair
* changes:
  Fix BMW and Audi auto pairing lists.
2009-11-11 23:27:03 -08:00
Jaikumar Ganesh
738ed80262 Fix BMW and Audi auto pairing lists.
Bug no:2256558
Dr No:Eastham
2009-11-11 23:12:04 -08:00
Android (Google) Code Review
34d723d8fa Merge change I32371166 into eclair
* changes:
  Fix issue #2239203: Setting large background causes OOME and soft-reboot spiral
2009-11-11 23:10:06 -08:00
Android (Google) Code Review
2ba297d19e Merge change I9890c2d4 into eclair
* changes:
  Fix 2209086: Fix landscape layout of LockScreen on devices with a keyboard
2009-11-11 23:04:47 -08:00
Dianne Hackborn
c9dbbe28f7 Fix issue #2239203: Setting large background causes OOME and soft-reboot spiral
Try really really hard not to crash, for any reason.

Change-Id: I32371166229825f13fc8d12d5cf3a6531cdb345e
2009-11-11 22:50:37 -08:00
Android (Google) Code Review
013b0e531a Merge change I143ea844 into eclair
* changes:
  Add BMW and Audi to Auto Pairing black list.
2009-11-11 22:46:49 -08:00
Jaikumar Ganesh
9b26f3fae4 Add BMW and Audi to Auto Pairing black list.
Bug: 2256558
Dr No: Eastham
2009-11-11 22:43:32 -08:00
Jim Miller
9890c2d4ba Fix 2209086: Fix landscape layout of LockScreen on devices with a keyboard 2009-11-11 22:38:16 -08:00
Android (Google) Code Review
360d710ebc Merge change I580de484 into eclair
* changes:
  Fix issue #2256270: Package manager sends bad broadcasts when components change
2009-11-11 20:18:44 -08:00
Dianne Hackborn
86a72dacbe Fix issue #2256270: Package manager sends bad broadcasts when components change
Also reworks this intent protocol a little bit to be much more efficient, only
requiring one broadcast per package.

Change-Id: I580de4843ebd3c7f2e6df7295a2f80d2937cef7c
2009-11-11 20:13:53 -08:00
Android (Google) Code Review
dc30d28bc8 Merge change I3656f7a3 into eclair
* changes:
  Honor the mInitialScale set on WebView. This was lost when we fixed restoring the scale for a new page.
2009-11-11 20:11:25 -08:00
Grace Kloba
16efce7242 Honor the mInitialScale set on WebView. This was
lost when we fixed restoring the scale for a new
page.

Fix http://b/issue?id=2251716
2009-11-11 20:13:32 -08:00
Android (Google) Code Review
f2897fe42e Merge change Idc34a3f7 into eclair
* changes:
  Fix 2209086: add drawables for SlidingTab states in PhoneApp. Update string file for new SlidingTab sound states. Tweak "animation" to be 250ms based on conversation with ui guys. Some minor performance tweaks to SlidingTab.
2009-11-11 20:11:13 -08:00
Android (Google) Code Review
532d560345 Merge change I80022375 into eclair
* changes:
  Fix issue #2256032: Change CONFIGURATION_CHANGED and add a locale changed broadcast
2009-11-11 19:09:56 -08:00
Android (Google) Code Review
001e5242c8 Merge change Icccbd889 into eclair
* changes:
  Fix broken handling of the BACK key in PopupWindow. Needed by Launcher2.
2009-11-11 18:52:07 -08:00
Romain Guy
9a583c1bfb Fix broken handling of the BACK key in PopupWindow. Needed by Launcher2.
Change-Id: Icccbd8897186d0b9348a40b3dfc19ab7ac389efd
2009-11-11 18:51:18 -08:00
Android (Google) Code Review
ca20347543 Merge change Ifcf20541 into eclair
* changes:
  New Javadoc for ContactsContract.
2009-11-11 18:49:55 -08:00
Dmitri Plotnikov
dbe449e522 New Javadoc for ContactsContract.
Change-Id: Ifcf20541fda7449f1954f2021c53be3eb672e7ee
2009-11-11 18:48:19 -08:00
Dianne Hackborn
362d5b9b64 Fix issue #2256032: Change CONFIGURATION_CHANGED and add a locale changed broadcast
You can no longer receive CONFIGURATION_CHANGED in a manifest, which is really really
bad (launching apps every time the screen is rotated!).  A new LOCALE_CHANGED broadcast
is sent that you can receive in a manifest.

Change-Id: I80022375f0716db2e672382a29db3cea1af74702
2009-11-11 18:26:06 -08:00
Android (Google) Code Review
2ade6421f2 Merge change I775e1ec0 into eclair
* changes:
  Debugging for issue #2250075: Desk dock clock app sometimes doesn't
2009-11-11 18:16:05 -08:00
Android (Google) Code Review
f233564284 Merge change I7fb3bc59 into eclair
* changes:
  Add new date formats for the lock screen.
2009-11-11 18:05:12 -08:00
Jim Miller
753401aa47 Fix 2209086: add drawables for SlidingTab states in PhoneApp. Update string file for new SlidingTab sound states.
Tweak "animation" to be 250ms based on conversation with ui guys. Some minor performance tweaks to SlidingTab.
2009-11-11 18:00:48 -08:00
Dianne Hackborn
12527f9fb1 Debugging for issue #2250075: Desk dock clock app sometimes doesn't
This adds a history of the last 100 broadcasts that is printed in the
debug log, to be able to see what recently happened at the time the
bug report was taken.  Also does some optimization of the printing of
the broadcast records to make it feasible to print this number of
entries.  (We kind-of need to do this because there are some broadcasts
like SIG_STR and SYNC_STATE_CHANGED that are being broadcast a LOT.)

Change-Id: I775e1ec0f63369c8bca8c83cee27b95ddc5ec450
2009-11-11 17:51:41 -08:00
Eric Fischer
66cf237a57 Add new date formats for the lock screen.
One is the fully-spelled out weekday/day/month with no year.
The other is abbreviated weekday/month/day/year.

Bug 2247356

Approver: jerryw
2009-11-11 17:50:31 -08:00
Wink Saville
ce9b59f0ba Add code to use Gservices provided values for throtting NITZ updates.
bug: 2251845
Change-Id: Ie122606fb852868bb76a9930bb5e6ba906273619
2009-11-11 16:33:50 -08:00
Android (Google) Code Review
4cb6fc7ed2 Merge change Icc48b1e7 into eclair
* changes:
  don't request a sync when temp providers are created
2009-11-11 15:15:55 -08:00
Fred Quintana
cc48b1e77d don't request a sync when temp providers are created 2009-11-11 15:05:10 -08:00
Grace Kloba
bf5b632abb Use getViewHeightWithTitle() to honor the scrollbar
setting when computing the maxScrollY for fling.
This is honored in the regular scroll in 
computeVerticalScrollExtent().

Fix http://b/issue?id=2251694
2009-11-11 14:43:16 -08:00
Grace Kloba
d7439f4bdb Use computeVerticalScrollRange() to find the bottom
of the page as mContentHeight is not in the view system.

Fix http://b/issue?id=2251909
2009-11-11 14:38:55 -08:00
Android (Google) Code Review
c996689109 Merge change Ibb245ea7 into eclair
* changes:
  Return an empty PluginList instead of null for the deprecated getPluginList() api.
2009-11-11 14:34:05 -08:00
Scott Main
dbc7e27ef1 docs: document the 'showSearchIconAsBadge" flag and
"icon" attribute as deprecated.
bug 2105329
2009-11-11 14:31:17 -08:00
Android (Google) Code Review
2f92bd3ecb Merge change Ia895aa7d into eclair
* changes:
  Fix for 2209086:  Initial pass at new SlidingTab widget and integration into LockScreen.
2009-11-11 14:02:00 -08:00
Jim Miller
24ccf3c590 Fix for 2209086: Initial pass at new SlidingTab widget and integration into LockScreen.
Tested:
	- unlock and mute/unmute

Not working:
    - highlighting on right tab.
2009-11-11 11:37:54 -08:00
Android (Google) Code Review
250aa068ea Merge change Idf7fafd3 into eclair
* changes:
  Fix issue #2248951: Need to turn off touch filtering outside of sholes
2009-11-11 10:54:58 -08:00
Android (Google) Code Review
b9c40a65c7 Merge change I5d30aa18 into eclair
* changes:
  Make vCard parser invalid lines in vCard file which look like some comment. Do not merge.
2009-11-10 23:03:57 -08:00
Daisuke Miyakawa
e464de6b76 Make vCard exporter check invalid phone numbers and re-format them if needed. Do not merge.
This change is based on the change I319bf9ee, but different in that there's no test, since
test framework for vCard code is just in MR2, not in MR1.

Internal issue number: 2246410

Dr.NO: Hiroshi
2009-11-11 15:42:55 +09:00
Android (Google) Code Review
fe17db4c02 Merge change I4db11d50 into eclair
* changes:
  Backport the change I30b141a2 from MR2 to MR1. Do not merge.
2009-11-10 22:03:20 -08:00
Jack Wang
4f414bd7a7 Make perf metrics collection & output via instrumentation simpler
- Added includeDetailedStats metadata to TimedTest for collecting additional
  metrics like memory usage and binder transactions
- Added PerformanceCollectorTestCase interface for hard-typing test class as
  performance test while still able to inherit from instrumenation test classes
- Reverted previous changes to PerformanceTestBase, will deprecate
  PerformanceTestBase/Case in a future CL
- Removed 'performance.' prefix from keys written to instrumentation output
2009-11-10 19:26:14 -08:00
Daisuke Miyakawa
3de8ed6c88 Backport the change I30b141a2 from MR2 to MR1. Do not merge.
The previous implementation selected the first ContactValues object even when its name fields are all empty.
This time, vCard composer checks the name fields and skip the object without valid name.
One exception is the object with IS_SUPER_PRIMARY flag. If IS_SUPER_PRIMARY flag is set, the object will be
selected even when the object does not have valid name.

Dr.NO: Hiroshi

Internal issue number: 2252304
2009-11-11 10:24:40 +09:00
Dianne Hackborn
65cb605e5d Fix issue #2248951: Need to turn off touch filtering outside of sholes
Yet another configuration!

Change-Id: Idf7fafd338a2bebd4c305c131cd9b7ae4f906a5b
2009-11-10 17:06:22 -08:00
Android (Google) Code Review
ae0cf6dc9e Merge change I50986dd4 into eclair
* changes:
  Make the RegisteredSErvices Cache not allow the registered service for a type to change without first uninstalling the previous service for that type, unless the newly installed service is in the system image.
2009-11-10 16:53:43 -08:00
Fred Quintana
5ebbb4a6b3 Make the RegisteredSErvices Cache not allow the registered service for a
type to change without first uninstalling the previous service for that
type, unless the newly installed service is in the system image.

Notify the listener when a service is added or removed.

Make the AccountManagerService remove the accounts for an authenticator
when the registered authenticator changes from one uid to another.

Make the AbstractSyncableContentProvider force a sync when the database is first created.
2009-11-10 16:10:54 -08:00
Grace Kloba
bb245ea7f5 Return an empty PluginList instead of null for the
deprecated getPluginList() api.

Fix http://b/issue?id=2249732
2009-11-10 13:13:24 -08:00
Dianne Hackborn
6adba2467c Fix issue #2170897: wallpaper touch-up event not seen when exiting lock screen
Make sure to deliver events to the wallpaper until the final up.

Also fix behavior in the case where a window goes away while the pointer is still
down in it, which is a fairly novel situation introduced by the new lock screen.

Also add infrastructure for delivering motion events during preview.

Change-Id: I0de7979be27e00caf0b1eff794ea899a815142f6
2009-11-10 13:02:30 -08:00
Android (Google) Code Review
119a767565 Merge change I83ba96fe into eclair
* changes:
  Fix issue #2246723: Only one Application object gets onCreate called
2009-11-10 10:27:05 -08:00
Scott Main
13ce56bdbc am 88427cff: Merge change Ibcfb7d10 into eclair-sdk
Merge commit '88427cff609e668185010af2244500be5823595e' into eclair

* commit '88427cff609e668185010af2244500be5823595e':
  docs: add more documentation for the bluetooth apis.
2009-11-10 09:26:24 -08:00