12418 Commits

Author SHA1 Message Date
Kenny Root
deb112674e Only allow one movePackage operation in-flight
When a movePackage operation is requested, don't allow multiple requests
to pile up for one package. Once a move is completed, an observer will
receive the message and be allowed to call movePackage again.

Change-Id: Ie3842b6d96446febc0037bf9b8f1ca250735edc2
2010-08-04 08:44:31 -07:00
Daniel Sandler
d0a2f86f35 Fix crash when startForeground posts a broken Notification.
The NotificationManager tries to crash the calling app, but
in the case of a service calling startForeground, the caller
is the ActivityManager, so system_server goes down.

NotificationManagerService#enqueueNotificationInternal is a
new internal-only method that accepts a UID/PID to use when
punishing bogus notifications (such as the one in
http://b/2869787).

Change-Id: I84a9854bae630bc90288cebb94f174809d5dac8c
2010-08-04 10:52:51 -04:00
Kristian Monsen
bc3008bd73 Update Browser useragent string to reflect WebKit merge at r64264
Change-Id: Ic29d7b918b179d99c16150bd0aec2f09d5707408
2010-08-04 10:50:26 +01:00
Gilles Debunne
8a3f95dd4b Merge "Generated hdpi drawable size reduced" 2010-08-03 18:39:31 -07:00
Brett Chabot
412ae2b4df Merge "Fix Framework core tests import of android-common." 2010-08-03 17:59:08 -07:00
Brett Chabot
672079a75a Fix Framework core tests import of android-common.
android.database.CursorWindowTest#testWriteCursorToWindow (and possibly other
tests) were was failing because it couldn't locate a android-common class.

Fix is to include android-common as a static library, as opposed to a runtime
library.

Change-Id: Iae50cf409e76a85ee79e4af71e9b903d18630078
2010-08-03 17:28:19 -07:00
Dianne Hackborn
b3cf10ffa8 Add facility to switch to new fragments from preferences.
Change-Id: I009315b59cf81b4962e9c5a4490f0f82743ed64a
2010-08-03 17:07:45 -07:00
Gilles Debunne
ed3cfb5e1b Generated hdpi drawable size reduced
Change-Id: Id17bb27500ba8729c33613bbf457f1b3193ced38
2010-08-03 16:13:54 -07:00
Brett Chabot
10928c37f1 am c458b2ca: Merge "Frameworks core tests size cleanup." into gingerbread
Merge commit 'c458b2cab3a67e84f768af2247ba5235003a4ce4' into gingerbread-plus-aosp

* commit 'c458b2cab3a67e84f768af2247ba5235003a4ce4':
  Frameworks core tests size cleanup.
2010-08-03 16:04:03 -07:00
Brett Chabot
c458b2cab3 Merge "Frameworks core tests size cleanup." into gingerbread 2010-08-03 16:02:09 -07:00
Steve Howard
c7ad9fa080 am 80782220: am 14805b6c: Merge "New secure setting for mobile download size limit." into gingerbread
Merge commit '80782220708fdc8575502ac68c884ddab5c78ac2'

* commit '80782220708fdc8575502ac68c884ddab5c78ac2':
  New secure setting for mobile download size limit.
2010-08-03 15:52:23 -07:00
Adam Powell
1f9c7afc5a Add support for action buttons without an icon.
Change-Id: I026bb7463e7a73419dbaf79950d579ba05d04ea8
2010-08-03 15:01:31 -07:00
Mike Lockwood
9a2046fb5c MTP: Add support for syncing MTP playlists
MTP playlists now correspond to playlists in the media provider
(like those created by the Music app).

Change-Id: I085cb3cff003037ad62f0e297fb0cfd3047cb3a2
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-08-03 15:36:22 -04:00
Chris Tate
9f6b16a29b am 5d46ce24: Merge "Enhanced VelocityTracker for > 5 pointers and fixed bugs." into gingerbread
Merge commit '5d46ce24cc46dc57d31f809302af916999114ced' into gingerbread-plus-aosp

* commit '5d46ce24cc46dc57d31f809302af916999114ced':
  Enhanced VelocityTracker for > 5 pointers and fixed bugs.
2010-08-03 12:25:29 -07:00
Chris Tate
5d46ce24cc Merge "Enhanced VelocityTracker for > 5 pointers and fixed bugs." into gingerbread 2010-08-03 12:22:50 -07:00
Chet Haase
d4b5020174 Merge "remove offending .pn file to fix build" 2010-08-03 11:58:53 -07:00
Chet Haase
4d031f6cc5 remove offending .pn file to fix build
Change-Id: I147f7f02e261c963ae93c15cbaab73b06f481f90
2010-08-03 11:56:27 -07:00
Konstantin Lopyrev
77c444dd2b am 6fcf3a51: Merge "Improving profiling of views." into gingerbread
Merge commit '6fcf3a518526d4f844830735ca1a2ae82a7500d8' into gingerbread-plus-aosp

* commit '6fcf3a518526d4f844830735ca1a2ae82a7500d8':
  Improving profiling of views.
2010-08-03 11:26:25 -07:00
Konstantin Lopyrev
6fcf3a5185 Merge "Improving profiling of views." into gingerbread 2010-08-03 11:24:23 -07:00
Dianne Hackborn
b1ad5977bc New two-pane mode for PreferenceActivity.
This introduces a whole new way to use PreferenceActivity, as
a container for PreferenceFragments that the user can switch
between from a list of headers.

Change-Id: I1c79b7c78b86790dc460a1414a999aba5de80628
2010-08-03 11:18:23 -07:00
Jacek Surazski
ee9907b461 Merge "Add dumping of Running Service reports to ApplicationErrorReports" 2010-08-03 11:08:21 -07:00
Gilles Debunne
d1ce7496f1 Merge "frameworks/base/ : added scaled hdpi version of assets that were moved to drawable-mdpi" 2010-08-03 11:01:25 -07:00
Vasu Nori
6cd0cc4606 Merge "random but useful stuff" 2010-08-03 10:50:56 -07:00
Vasu Nori
0732f7912c random but useful stuff
1. move binding of args to one place - to SQLiteProgram
2. reduce locking time in SQLiteDatabase
3. reduce locking during time of binding of args
4. rmeove test for the deprecated ArrayListCursor
5. a couple of nits here and there

Change-Id: I20c33c8ffe3325df67af655f1d20614f7f727cb7
2010-08-03 10:48:14 -07:00
Gilles Debunne
389878e49d frameworks/base/ : added scaled hdpi version of assets that were moved to drawable-mdpi
Change-Id: I95c7e6afb84af981867c32fe7f86b140f643b5b9
2010-08-03 10:47:05 -07:00
Elliott Hughes
5515b54d92 Merge "Switch android.webkit.MimeTypeMap over to libcore.net.MimeUtils' table." 2010-08-03 10:45:35 -07:00
Michael Kolb
508654536c Merge "fixed webkit version number in user agent string" 2010-08-03 10:36:25 -07:00
Michael Kolb
11945d1f47 fixed webkit version number in user agent string
Change-Id: Ieb0843140a682d35bacc2bd273d7c697f02746a4
2010-08-03 10:25:07 -07:00
Robert Greenwalt
fa64bcfb01 Merge "Don't reset connections switching default->hipri" 2010-08-03 09:52:48 -07:00
Makoto Onuki
ec37c88570 Adding a method called when detecting content change.
Added Loader.onContentChanged()  which is called by ForceLoadContentObserver
when it detects a change, rather than forceLoad().

By default onContentChanged() just calls forceLoad(), so there's no change
in behavior.

This is useful when a subclass wants to perform custom operations upon
data chantes.  For example, a subclass may want to limit the number
of automatic requeries per second.

Change-Id: I493dac3f4f1a75b056d2c7065336ea9252dbf424
2010-08-03 09:30:47 -07:00
Jacek Surazski
87d0b2f422 Add dumping of Running Service reports to ApplicationErrorReports
Change-Id: I5f10bf81af384777da2ac2d2c00463b766a4fb67
2010-08-03 15:02:12 +02:00
Konstantin Lopyrev
f8e1219cf8 Improving profiling of views.
Change-Id: I1abb8c21f1769ad55416f37e7bfa1458b80ace63
2010-08-02 19:08:56 -07:00
Romain Guy
7768e02973 Merge "Add support for ColorFilters." 2010-08-02 18:50:28 -07:00
Romain Guy
db1938e0e6 Add support for ColorFilters.
Color filters are fully supported and can be used with shaders.

Change-Id: Id90ccf1c81cb462f2431f366f3f8f710d7971e04
2010-08-02 18:50:56 -07:00
Dan Egnor
8e4378b3ae COMMENT ONLY change to fix some formatting glitches and
(more importantly) clarify issues surrounding removed accounts.

Change-Id: I19e6c0e536e46b6d219c808bb86e88edd7e6f378
2010-08-02 18:22:09 -07:00
Robert Greenwalt
153b4374d0 Don't reset connections switching default->hipri
A usecase is to use hipri to keep alive 3g connections when wifi
is about to be brought up.  They are the same network, so don't
do the reset unless both are down.

This will go away when we get the deferred network downing.

bug:2865630
Change-Id: I07729b7776fe5ea129120c688cf7839a55a7ed95
2010-08-02 18:13:42 -07:00
Vasu Nori
532abb6530 add public method in ContentValues to return set of all keys
why not this method? it is useful and cheap.

Change-Id: I5db96d149b13d26b5359b52515a8eabf033eb000
2010-08-02 17:46:57 -07:00
Oscar Montemayor
1da47a9401 Merge "Global Proxy changes to proxy class." 2010-08-02 17:02:13 -07:00
Steve Howard
8078222070 am 14805b6c: Merge "New secure setting for mobile download size limit." into gingerbread
Merge commit '14805b6c1ff0fe5324d05ba1dd5053cdf61459b7' into gingerbread-plus-aosp

* commit '14805b6c1ff0fe5324d05ba1dd5053cdf61459b7':
  New secure setting for mobile download size limit.
2010-08-02 16:51:52 -07:00
Steve Howard
14805b6c1f Merge "New secure setting for mobile download size limit." into gingerbread 2010-08-02 16:49:22 -07:00
Steve Howard
9c4e33e04a New secure setting for mobile download size limit.
Change-Id: I0024d632721f59349e211c0b74dd7271423dacd5
2010-08-02 16:35:23 -07:00
Jeff Sharkey
a8a72c38fe Populate accessibility field on ActionBar items.
When building an ActionMenuItemView, set the content description based
on the item title.  Fixes http://b/2885106

Change-Id: I101bbc6db7080ce08eed1bbb401c45329da2ab53
2010-08-02 16:30:20 -07:00
Oscar Montemayor
16fb7910fd Global Proxy changes to proxy class.
Change-Id: Ib2da33670b1da33c0b35b60f4fcbd0bc084e616a
2010-08-02 16:29:29 -07:00
Vasu Nori
ec4ffa91e8 Merge "before shipping, remove stacktrace printing in requery-warning msg" 2010-08-02 16:22:22 -07:00
Adam Powell
9168f0b170 Add ActionMode#getMenuInflater() for easier menu inflation in
ActionMode.Callback implementations

Change-Id: If9e7ab0d65598bab537add6c6a452a55c093064f
2010-08-02 16:02:24 -07:00
Gilles Debunne
8fbe89d2d1 Merge "Move pngs from drawable to drawable-mdpi in project frameworks/base" 2010-08-02 15:39:41 -07:00
Elliott Hughes
0f11696164 Switch android.webkit.MimeTypeMap over to libcore.net.MimeUtils' table.
(Said table is the very same data that used to be, but pushed further down
the dependencies so that it can be shared with java.net.URLConnection, so
the two classes' equivalent methods return the same results.)

Bug: 2422917
Bug: http://code.google.com/p/android/issues/detail?id=10100
Change-Id: Ic4e80c2fede22671e825d569f349e4329dcf01ea
2010-08-02 15:25:16 -07:00
Gilles Debunne
b0dde8e9b5 Move pngs from drawable to drawable-mdpi in project frameworks/base
After error during file transfer...

Change-Id: I21da694f81a4290e9af1f7647a8ceb6c6d3d806b
2010-08-02 15:21:27 -07:00
Vasu Nori
e7fa4aeb60 before shipping, remove stacktrace printing in requery-warning msg
this is to reduce log spamming
Change-Id: I9b6e08905fbf7f880e49144a4ffcf01550a521c9
2010-08-02 15:06:52 -07:00
Vasu Nori
ce38b98feb do begin-end transaction before standalone insert/update/delete sql
also fix bug# 2871037
Change-Id: I13325f8eabff4f218d3206905010803b61d8e2cd
2010-08-02 14:51:33 -07:00