2797 Commits

Author SHA1 Message Date
Android (Google) Code Review
5e7d68223a am 50f05b8f: Merge change 8825 into donut
Merge commit '50f05b8ffd2c4f4d877c4564b2339ca0ccca6ec1'

* commit '50f05b8ffd2c4f4d877c4564b2339ca0ccca6ec1':
  Fixes 2017393. Correctly apply gravity in RelativeLayout.
2009-07-28 11:29:34 -07:00
Android (Google) Code Review
48000fe23a am c6590d6f: Merge change 8759 into donut
Merge commit 'c6590d6f390fc69fe15a9a565327a8f8c97f107b'

* commit 'c6590d6f390fc69fe15a9a565327a8f8c97f107b':
  Cancel search on BACK if IME is obscured.
2009-07-28 11:29:15 -07:00
Android (Google) Code Review
50f05b8ffd Merge change 8825 into donut
* changes:
  Fixes 2017393. Correctly apply gravity in RelativeLayout.
2009-07-28 11:19:19 -07:00
Romain Guy
d10a576791 Fixes 2017393. Correctly apply gravity in RelativeLayout.
RL was applying a horizontal offset to its children even when the gravity was only
specified for the vertical axis (and vice-versa.)

Also fix the ExpandableListView icons.
2009-07-28 11:18:14 -07:00
Android (Google) Code Review
c6590d6f39 Merge change 8759 into donut
* changes:
  Cancel search on BACK if IME is obscured.
2009-07-28 10:45:35 -07:00
Android (Google) Code Review
b3c82efb47 am 1dd6936a: Merge change 8728 into donut
Merge commit '1dd6936a862be97efca02e4b7582a9fca1fcc269'

* commit '1dd6936a862be97efca02e4b7582a9fca1fcc269':
  Fix resource code and version attributes
2009-07-28 10:21:45 -07:00
Android (Google) Code Review
1dd6936a86 Merge change 8728 into donut
* changes:
  Fix resource code and version attributes Create a new package setting object for updated system apps rather than moving around the same setting. This updates the resource, code and version correctly. For updating system packages, disable the package first which removes the entry from internal structures, create a new package setting, add it to list of user id's then rest of installation steps, kill the process if needed via ActivityManager then add this setting if everything was successful. This also fixes issues with updating values prematurely.
2009-07-28 10:18:47 -07:00
Suchi Amalapurapu
261e66acd1 Fix resource code and version attributes
Create a new package setting object for updated system apps rather than moving
around the same setting. This updates the resource, code and version correctly.
For updating system packages, disable the package first which removes the entry
from internal structures, create a new package setting, add it to list of user id's
then rest of installation steps, kill the process if needed via ActivityManager
then add this setting if everything was successful. This also fixes issues with
updating values prematurely.

When a new version of system package is available via OTA, just physically remove
entries for pkg. Note that the component and other info will be eventually updated
later on when scanning the package.
Also move certificate verification slightly ahead before scanning packages.

Some null checks

New api's in ActivityManager to kill an application pkg before finishing installation
2009-07-28 10:21:38 -07:00
Android (Google) Code Review
de3bfda8ac Merge change 8742
* changes:
  Modify BluetoothPbap for a few wrong wordings
2009-07-28 10:05:35 -07:00
Bjorn Bringert
003ad48380 Cancel search on BACK if IME is obscured.
This adds a hidden method AutoCompleteTextView.isImeHidden(),
and uses that in SearchDialog to cancel the search dialog
when BACK is pressed, if there is no previous search component
to return to.

mlebeau says:
 If we fill the whole screen then it makes the issue of the back
 button a little more important. Specifically, right now if you have
 the list expanded and you press back, the keyboard hides but it's not
 really showing any more anyway so it seems like pressing the button
 does nothing. We rationalized this by saying "part of the keyboard
 will be showing so it won't be completely non-obvious that it was
 hidden". But since really the right UX is to fill the screen, as part
 of this we should probably also add logic to the back button such
 that if it is pressed when the list is obscuring the keyboard
 (i.e. softInputMode on the PopupWindow is INPUT_METHOD_NOT_NEEDED)
 then we should hide the dialog entirely rather than closing the
 keyboard.

This is part of the fix for http://b/issue?id=2014450
2009-07-28 17:39:17 +01:00
Android (Google) Code Review
e8c027756c Merge change 8779
* changes:
  Fix issue 2015322	mediaframeworktest.MediaAudioTrackTest fails.
2009-07-28 09:15:45 -07:00
Android (Google) Code Review
82c97867f2 Merge change 8735
* changes:
  ContactsContract: Renaming Aggregates to Contacts
2009-07-28 09:01:51 -07:00
Eric Laurent
83b3685050 Fix issue 2015322 mediaframeworktest.MediaAudioTrackTest fails. 2009-07-28 07:49:22 -07:00
Android (Google) Code Review
a6b281d2b9 am 738b4c00: Merge change 8773 into donut
Merge commit '738b4c000bab8414fa2969db489d7abce20e0af6'

* commit '738b4c000bab8414fa2969db489d7abce20e0af6':
  Only dismiss search on suggestion click in in-app search
2009-07-28 07:21:09 -07:00
Bjorn Bringert
da1f4b669e Only dismiss search on suggestion click in in-app search
We now distinguish between in-app search (pivoted in from GlobalSearch)
and real in-app search mode. Only the latter dismisses the search
dialog when a suggestion is clicked. Also, the drop-down
is now always visible except in real in-app search mode.

Fixes http://b/issue?id=2014626
2009-07-28 15:15:26 +01:00
Android (Google) Code Review
dfe673a591 am d0021dca: Merge change 8740 into donut
Merge commit 'd0021dcae7f474c062f23a449bdd18be5e882d7e'

* commit 'd0021dcae7f474c062f23a449bdd18be5e882d7e':
  Fix issue #1991230: DisplayMetrics.displayHeight is not updated with orientation change
2009-07-28 00:29:58 -07:00
Jackson Fan
c8b04a93a6 Modify BluetoothPbap for a few wrong wordings 2009-07-27 21:28:38 -07:00
Dianne Hackborn
0d907fa00b Fix issue #1991230: DisplayMetrics.displayHeight is not updated with orientation change 2009-07-27 20:48:50 -07:00
Dmitri Plotnikov
7cca5f8363 ContactsContract: Renaming Aggregates to Contacts 2009-07-27 20:25:59 -07:00
Dmitri Plotnikov
facbbb3783 ContactsContract: Renaming CONTACT_ID to RAW_CONTACT_ID 2009-07-27 15:18:19 -07:00
Android (Google) Code Review
b7c64f1585 Merge change 8683
* changes:
  Fix a bug that was causing ArrayIndexOutOfBoutExceptions when obtaining a MotionEvent from an older one that had a number of time samples.
2009-07-27 15:03:12 -07:00
Android (Google) Code Review
692a316d48 am 95fa929e: Merge change 8682 into donut
Merge commit '95fa929ebe55b3745eb59a1c4b8f21cb9f8e6b1d'

* commit '95fa929ebe55b3745eb59a1c4b8f21cb9f8e6b1d':
  New small rating stars from the UI designers.
2009-07-27 14:38:24 -07:00
Android (Google) Code Review
95fa929ebe Merge change 8682 into donut
* changes:
  New small rating stars from the UI designers.
2009-07-27 14:31:33 -07:00
Ilya Firman
730c66e635 New small rating stars from the UI designers. 2009-07-27 14:03:55 -07:00
Adam Bliss
dac57e4ec9 Fix a bug that was causing ArrayIndexOutOfBoutExceptions when obtaining a MotionEvent from an older one that had a number of time samples. 2009-07-27 14:03:02 -07:00
Android (Google) Code Review
1fcabd7b32 Merge change 8677 into donut
* changes:
  DO NOT MERGE.
2009-07-27 13:55:18 -07:00
Android (Google) Code Review
9d5750636b Merge change 8593
* changes:
  When you double-tap a word in an EditText, select the word.
2009-07-27 13:49:21 -07:00
Grace Kloba
8268170d3f DO NOT MERGE.
Per product team request, remove 1x zoom button. Move the zoom overview to
the bottom left and zoom control to the bottom right.
2009-07-27 13:44:47 -07:00
Android (Google) Code Review
2c3fc83ac5 am ef9fd18d: Merge change 8616 into donut
Merge commit 'ef9fd18d90829ecbd37769cc05a8d5288aff821c'

* commit 'ef9fd18d90829ecbd37769cc05a8d5288aff821c':
  Fiddle with default densities to try to sanitize the API.
2009-07-27 12:05:44 -07:00
Android (Google) Code Review
ef9fd18d90 Merge change 8616 into donut
* changes:
  Fiddle with default densities to try to sanitize the API.
2009-07-27 12:03:36 -07:00
Fred Quintana
a9e3e72544 fix for a method rename 2009-07-27 11:55:26 -07:00
Dmitri Plotnikov
d5f56d1467 Introducing Contacts#DELETED flag. 2009-07-27 11:30:44 -07:00
Android (Google) Code Review
143a2ce1ea am ba989ad0: Merge change 8648 into donut
Merge commit 'ba989ad0ed91beda010d44945fa015d75d99cf67'

* commit 'ba989ad0ed91beda010d44945fa015d75d99cf67':
  Use the old string for bookmarks permissions.
2009-07-27 10:50:53 -07:00
Android (Google) Code Review
ba989ad0ed Merge change 8648 into donut
* changes:
  Use the old string for bookmarks permissions.
2009-07-27 10:49:07 -07:00
Android (Google) Code Review
461628716e Merge change 8177
* changes:
  Added patch support based on serializer state in the android client
2009-07-27 10:33:43 -07:00
Android (Google) Code Review
ead1457616 Merge change 8639
* changes:
  explicitly set the hinting level for android apps (to match the old default)
2009-07-27 09:57:35 -07:00
Bjorn Bringert
2201bd1713 am 5b11a0f3: DPAD_DOWN moves from search/voice search key to drop-down
Merge commit '5b11a0f3e1d8e2681cfd3326b6808b894bb9c2c3'

* commit '5b11a0f3e1d8e2681cfd3326b6808b894bb9c2c3':
  DPAD_DOWN moves from search/voice search key to drop-down
2009-07-27 09:51:53 -07:00
Bjorn Bringert
0d289e5b63 am 9377738c: Remove search dialog PRE_CLOSE event
Merge commit '9377738cdbb7eb0a1267cb536443cbed700ff5e9'

* commit '9377738cdbb7eb0a1267cb536443cbed700ff5e9':
  Remove search dialog PRE_CLOSE event
2009-07-27 09:42:19 -07:00
Bjorn Bringert
d0b1faa441 am 6ddaa349: Send max displayed position in search dialog click event
Merge commit '6ddaa3497ce7af2c303771365449501e2be52511'

* commit '6ddaa3497ce7af2c303771365449501e2be52511':
  Send max displayed position in search dialog click event
2009-07-27 09:42:14 -07:00
Dmitri Plotnikov
2365ded446 Renaming ContactsContract.Contacts to ContactsContract.RawContacts 2009-07-27 09:36:09 -07:00
Bjorn Bringert
5b11a0f3e1 DPAD_DOWN moves from search/voice search key to drop-down
Fixes http://b/issue?id=2014688
2009-07-27 17:10:46 +01:00
Android (Google) Code Review
7f90e47bc5 Merge change 8569
* changes:
  Fix 1993520 where page cycler fails.
2009-07-27 08:53:46 -07:00
Leon Scroggins
e7d1c8f377 Use the old string for bookmarks permissions.
When we made the bookmark permissions public, we also changed their
names, which might break existing apps.  Change them back.  Depends
on a change in packages/apps/Browser
2009-07-27 11:14:04 -04:00
Mike Reed
3d63e0119d explicitly set the hinting level for android apps (to match the old default) 2009-07-27 09:50:31 -04:00
Bjorn Bringert
9377738cdb Remove search dialog PRE_CLOSE event
This is part of the fix for http://b/issue?id=2000655
2009-07-27 11:48:32 +01:00
Bjorn Bringert
6ddaa3497c Send max displayed position in search dialog click event
This is part of the fix for http://b/issue?id=2000655
2009-07-27 11:44:56 +01:00
Jaikumar Ganesh
6754296487 Add PBAP service start. 2009-07-26 22:54:36 -07:00
Jiafa Liu
3f41673265 frameworks/base: Add PBAP support
- Update according to comments
- Add aidl support in frameworks for Settings to retrieve current
  PBAP transaction status.
- Add status bar support for PBAP
2009-07-26 22:54:35 -07:00
Dianne Hackborn
96e240f25a Fiddle with default densities to try to sanitize the API.
An issue with the density API is that bitmaps assumed the old default density,
so new programs would have to explicitly set the correct density for every bitmap
they create.

This is an attempt to fix that situation, by define the default density of bitmaps
to be the main screen's density, except for old apps where it is the original default
density.

Actually implementing this is not so great, though, because the Bitmap constructors
can't really know anything about who is calling them to know which density to use.
So at this level the compatibility mode is defined per-process -- meaning the initial
package loaded into a process defines the default bitmap density, and everyone else
loaded in later on has to live with that.

In practice this shouldn't be much of a problem, there shouldn't be much mixing of
old vs. new apps in a process.  It does mean that, going forward, if a developer is
going to use shared user IDs for this, they will need to make sure either that all of
their apps are in the same compatibility mode, or that their code explicitly sets the
density of bitmaps it receives.  This isn't all that great, but I think it is worth
the benefit of allowing people who write modern apps to not have to deal with bitmap
densities.

This change also does some cleanup of the density management (making sure to always
copy over bitmap densities, etc) and adds java docs to explain the various ways
density is set and used by the system.
2009-07-26 17:42:30 -07:00
Jeff Sharkey
ef348c757d Minor naming fixes. 2009-07-26 14:14:47 -07:00