3828 Commits

Author SHA1 Message Date
Dmitri Plotnikov
ea36747114 Revert "ContactsContract: Adding joined columns to the Data class definition."
This reverts commit dd768a6a736bc202b62aa20f3282b3cfb285dc7f.
2009-09-18 15:04:58 -07:00
Android (Google) Code Review
6a15417849 Merge change 25800 into eclair
* changes:
  ContactsContract: Adding joined columns to the Data class definition.
2009-09-18 16:54:34 -04:00
Dmitri Plotnikov
dd768a6a73 ContactsContract: Adding joined columns to the Data class definition.
The rationale is this.  Since all these joined columns are currently on
different classes, we routinely see code like this:

private static final String[] PROJECTION_PHONE = {
        Data._ID,                   // 0
        RawContacts.CONTACT_ID,     // 1
        Phone.TYPE,                 // 2
        Phone.NUMBER,               // 3
        Phone.LABEL,                // 4
        Contacts.DISPLAY_NAME,      // 5
    };

The most noxious line is RawContacts.CONTACT_ID

After this change, the above declaration changes to:

    private static final String[] PROJECTION_PHONE = {
        Data._ID,                   // 0
        Data.CONTACT_ID,            // 1
        Phone.TYPE,                 // 2
        Phone.NUMBER,               // 3
        Phone.LABEL,                // 4
        Data.DISPLAY_NAME,          // 5
    };

Change-Id: I820e68efd6c1364241596f826c4da1b9c2defe11
2009-09-18 13:53:49 -07:00
Android (Google) Code Review
d7638e6de2 Merge change 25780 into eclair
* changes:
  Reject lowercase characters in checkBluetoothAddress().
2009-09-18 16:51:36 -04:00
Evan Millar
2c22a51072 More hi-res assets, and darken background color to donut level.
Includes hi-res divider and header assets.

Change-Id: I8fbeb619509886f707fe604a8057c6beda1e03a7
2009-09-18 13:27:09 -07:00
Android (Google) Code Review
3f90aae618 Merge change 25786 into eclair
* changes:
  Fix http://b/2086471 (list view headers too dark in mdpi).
2009-09-18 15:18:27 -04:00
Daniel Sandler
4d5babce58 Fix http://b/2086471 (list view headers too dark in mdpi). 2009-09-18 15:17:33 -04:00
Android (Google) Code Review
c3a3b399a9 Merge change 25752 into eclair
* changes:
  Add a Gservices setting to controll the app error reporting feature.
2009-09-18 15:07:28 -04:00
Nick Pelly
55e66f1b73 Reject lowercase characters in checkBluetoothAddress().
This keeps consistency with Bluez which uses upper case string address. It's
important to keep the case the same so that .equals() in BluetoothService.java
work.

Change-Id: I6404ca137d0aec3cc2e6e7cb79763d5305a03547
2009-09-18 11:37:06 -07:00
Android (Google) Code Review
fd49faae33 Merge change 25772 into eclair
* changes:
  Add progress view and default poster for the <video> implementation
2009-09-18 14:22:01 -04:00
Andrei Popescu
bf385d7c7b Add progress view and default poster for the <video> implementation 2009-09-18 19:07:17 +01:00
Android (Google) Code Review
93727454ca Merge change 25768 into eclair
* changes:
  Add one line of logging when SCO SOCKET connect starts.
2009-09-18 13:29:34 -04:00
Nick Pelly
37e0828cf9 Add one line of logging when SCO SOCKET connect starts.
This is to help collect information from Moto QA about delays connecting BT
audio.

Change-Id: I790c65f5b64c85aaffc0e68ebe8b6202f476b39f
http://b/2129464
2009-09-18 10:17:41 -07:00
Android (Google) Code Review
ffda371c22 Merge change 25734 into eclair
* changes:
  Show the live wallpaper on the lock screen.
2009-09-18 13:16:30 -04:00
Leon Scroggins
83d4ba83dd Do not attempt to retry a scrollTo with a negative position.
Fixes http://b/issue?id=2093435

Change-Id: If938c8f6e5d74b91e39a06a5736967663c9800b7
2009-09-18 12:44:03 -04:00
Dianne Hackborn
6136b7ef16 Show the live wallpaper on the lock screen.
This also takes care of the problem of system dialogs like the
crash dialog causing the status bar to dim behind the lock screen.

On the down side, the fade transition from the lock screen is
now gone, and I'm not sure how likely it is for it to return.

Change-Id: I7f9e6d0f3510a1fdbbe6ad252d986bd85a16475d
2009-09-18 09:27:22 -07:00
Grace Kloba
6ed525ecee When a WebView starts, we may get first layout before viewSizeChanged()
ever get called. Call WebView's getViewWidth() to get the current UI
width. If it is still 0, log a warning.

Fix http://b/issue?id=2128645
2009-09-18 09:21:33 -07:00
Android (Google) Code Review
da05aa8288 Merge change 25666 into eclair
* changes:
  Save message size
2009-09-18 12:11:28 -04:00
Leon Scroggins
58992eac83 Draw shadow below title, or at top if title is off screen.
Fixes http://b/issue?id=2118813 for the "real" title bar.

Also fix http://b/issue?id=2125444 by moving the save after
the check for mNativeClass.

Change-Id: I8f85f0a76eb7e1d186485ef65c50ae8d4bc10932
2009-09-18 10:42:53 -04:00
Jacek Surazski
a233943cb1 Add a Gservices setting to controll the app error reporting feature. 2009-09-18 15:01:26 +02:00
Bryan Mawhinney
dfcbc046d7 Reserve space for the searchbox spinner, even when stopped.
Make the searchbox spinner invisible (transparent) when it's not active.  This prevents the size of the text field from varying depending on whether the spinner is spinning or not, which can cause an annoying flicker.

Bug: 2084293
Change-Id: Idd63a296d1f07c5bd47884040f21e4880038f424
2009-09-18 11:30:36 +01:00
Jeff Sharkey
0050ee3639 Adopt new FastTrack API for internal widget, fix bugs.
Change internal widget to use new FastTrack API instead of
using SHOW_OR_CREATE.  Also reset the internal Uri when
reused in lists.  Fixes http://b/2087222
2009-09-17 23:59:08 -07:00
Android (Google) Code Review
8ed86d2b46 Merge change 25717 into eclair
* changes:
  CertTool: avoid using final static array.
2009-09-18 01:57:38 -04:00
Chia-chi Yeh
c633253bef CertTool: avoid using final static array. 2009-09-18 13:55:43 +08:00
Android (Google) Code Review
794d36c6c6 Merge change 25706 into eclair
* changes:
  WebKit: switch to java-based CertTool.
2009-09-18 00:45:09 -04:00
Chia-chi Yeh
41d8565e81 WebKit: switch to java-based CertTool.
Change-Id: Ica6d491ede2bf2a311cacb7a7d64a249191fbecf
2009-09-18 12:32:52 +08:00
Android (Google) Code Review
cd25c56ad4 Merge change 25636 into eclair
* changes:
  Add each contact in vCard into "My Groups" if account is for Google's and it has such a group. This fix should be temporal. Should be fixed in the near future.
2009-09-17 21:51:26 -04:00
Dianne Hackborn
ae22c05b91 Try to fix docs build.
Change-Id: I331e128fa95c3bc0b8bc4ab2537cc2ea92e310e7
2009-09-17 18:46:22 -07:00
Daisuke Miyakawa
5fd2ae90d3 Add each contact in vCard into "My Groups" if account is for Google's and it has such a group.
This fix should be temporal. Should be fixed in the near future.

Internal issue id: 2126265
2009-09-17 18:40:03 -07:00
Dianne Hackborn
fa82f22f1d Fix issue #2093608: Calendar widget takes a few seconds to launch
Avert your eyes!

The key change here is that RemoteViews can now call a Context API to
start its pending intent, which inside of the activity manager we can
use to determine to cancel the timeout delay for external entities
to disrupt the home screen.

Change-Id: If097cf7478cbed7a3c04a304050bd7fd5703d197
2009-09-17 18:01:35 -07:00
Android (Google) Code Review
9b64ef133c Merge change 25647 into eclair
* changes:
  Some tweaks to the rotary lock widget.
2009-09-17 20:43:53 -04:00
Karl Rosaen
5fef93b2a8 Some tweaks to the rotary lock widget.
- don't show arrows above widget when in resting state
- don't show other icon once you press one (e.g don't show silent mode icon when you are pressing the lock icon)
- wider target for triggering action
2009-09-17 17:21:18 -07:00
Android (Google) Code Review
2b1e67790b Merge change 25639 into eclair
* changes:
  do not use transactions for calls that just read the DB
2009-09-17 20:20:14 -04:00
Android (Google) Code Review
45dfa63af3 Merge change 25640 into eclair
* changes:
  Make the EditText error popup correctly resize when the view resizes.
2009-09-17 20:14:37 -04:00
Eric Fischer
fa0d253b77 Make the EditText error popup correctly resize when the view resizes.
It was calling PopupWindow.update() with -1 arguments for the width
and height under the impression that that would cause it to use the
new values that had already been set with setWidth() and setHeight().
But in fact this caused it not to change at all.
2009-09-17 17:01:59 -07:00
Fred Quintana
86bd084cf6 do not use transactions for calls that just read the DB 2009-09-17 17:00:01 -07:00
Tom Taylor
a67c8cd581 Save message size
Save the message size in the pdu.
2009-09-17 16:42:10 -07:00
Android (Google) Code Review
96352104fb Merge change 25550 into eclair
* changes:
  add system property to disable gzip, to help with debugging.
2009-09-17 19:07:05 -04:00
Android (Google) Code Review
6817946fd0 Merge change 25601 into eclair
* changes:
  Fix possible race condition when switching keyboards while there are pending messages.
2009-09-17 18:49:51 -04:00
Fred Quintana
3ecd5f4375 - Make the AccountManagerService delete accounts that
have no Authenticator, both when the package is removed
  and when the phone is booted.
- add the ability to register with the RegisteredServicesCache
  to be notified when the set of Authenticators changes.
2009-09-17 15:45:41 -07:00
Debajit Ghosh
644d0449ab add system property to disable gzip, to help with debugging. 2009-09-17 15:44:23 -07:00
Amith Yamasani
ebe3d518ff Fix possible race condition when switching keyboards while there are pending messages. 2009-09-17 15:03:40 -07:00
Android (Google) Code Review
ddbeed5d11 Merge change 25571 into eclair
* changes:
  Import revised translations.  DO NOT MERGE
2009-09-17 18:03:26 -04:00
Android (Google) Code Review
e9506e3684 Merge change 25561 into eclair
* changes:
  Add Gservices settings required for carrier billing.
2009-09-17 17:56:31 -04:00
Android (Google) Code Review
76a9b9c246 Merge change 25567 into eclair
* changes:
  The starting progress for WebView should be 100 as it is not in the loading state.
2009-09-17 17:54:11 -04:00
Sanjay Jeyakumar
8cbaa832ae Add Gservices settings required for carrier billing. 2009-09-17 14:47:43 -07:00
Eric Fischer
4175b5f34a Import revised translations. DO NOT MERGE 2009-09-17 14:28:06 -07:00
Grace Kloba
5a4fbd6c20 The starting progress for WebView should be 100 as it is
not in the loading state.
2009-09-17 14:20:28 -07:00
Jeff Sharkey
6449eb06ac Added API for triggering FastTrack.
I added a new API to help us move away from launching
FastTrack through SHOW_OR_CREATE.  For now it's going to
still pass through as an Intent with extras, but in the
future this could be used to launch a Window from a system
service.

Partially fixes http://b/2087222
2009-09-17 13:57:33 -07:00
Leon Scroggins
d55de40481 Don't scroll the title bar off screen while loading.
Though the user can still manually scroll the title bar
off screen, we do not want it to happen automatically.
When we load a new page, its scroll position can be
set to (0,0).  Make sure that we simply set it to the
top without adding in the title bar's height.  Also,
prevent javascript which attempts to scroll the page
to (0,0) or (0,1) from removing the title bar.

Fixes http://b/issue?id=2113398 and http://b/issue?id=2123079

Change-Id: Ida64d8c94be6744c7b0b4d60af1c229b2cc83673
2009-09-17 15:48:37 -04:00