2248 Commits

Author SHA1 Message Date
Suchi Amalapurapu
b24a96701a Remove the constraint to assign new uid when code path changes for system packages 2009-07-01 16:16:56 -07:00
Android (Google) Code Review
392282f1e0 Merge change 5962 into donut
* changes:
  SimRecords.getServiceProviderName() always returned null.
2009-07-01 14:12:10 -07:00
Android (Google) Code Review
8dd02090ce Merge change 5940 into donut
* changes:
  Add CLDR data/formats for newly-translated locales.
2009-07-01 14:04:32 -07:00
jsh
8890aaf77c SimRecords.getServiceProviderName() always returned null.
Fixes bug 1955060.  spn was defined in both SimRecords and base class IccRecords.
2009-07-01 12:55:28 -07:00
Android (Google) Code Review
d18dc8c641 Merge change 5906 into donut
* changes:
  resolve complex value in application context instead of system context.
2009-07-01 12:53:04 -07:00
Android (Google) Code Review
54af78a3f7 Merge change 5950 into donut
* changes:
  Fix memory leaks in system_server unlink DeathRecipients in a whole bunch of places to avoid memory leaks
2009-07-01 12:52:39 -07:00
Suchi Amalapurapu
fff2fda019 Fix memory leaks in system_server
unlink DeathRecipients in a whole bunch of places to avoid memory leaks
2009-07-01 12:55:30 -07:00
Christopher Tate
49401ddb9a Revamp backup scheduling policy
We now schedule a periodic check of pending backups; if any apps have requested
a backup since the last check, we perform all of the pending backups.  The
periodic backup scheduling matches the enable/disable state of the backup
manager; while backups are disabled entirely there are no periodic wakeups.

The period is set here to one hour.  If an external caller (transport, the
'bmgr' command line tool, etc) requests an immediate backup pass, that is
performed and then the periodic backup check is rescheduled using that pass as
the starting point of a new interval.
2009-07-01 12:38:06 -07:00
Christopher Tate
ce0bf069fe Use secure settings for backup enable / transport selection 2009-07-01 11:45:57 -07:00
Eric Fischer
c08dd9e27e Add CLDR data/formats for newly-translated locales. 2009-07-01 11:10:35 -07:00
Satish Sampath
1b1a6e406c Fix build break by adding an @hide javadoc comment. 2009-07-01 19:08:05 +01:00
Satish Sampath
fef8d3e4d8 Make search UI open up quicker to the user.
On invoking the search UI, the drop down list box with past queries and shortcut items
appears after a few hundreds of milliseconds on screen. This was because we were
displaying the drop down within the onFilterCompleted callback after the list box filtered
the items based on the given query text. While that code path is necessary, for the first
invocation of the search dialog with an empty query we can show the list box before the
text stuff happens. This change does that, issuing an async request to show the drop
down after pending events have been processed.

Without this change, on an average it took 350ms for the code to show the drop down.
With this change, on an average it takes 150ms.
2009-07-01 17:55:31 +01:00
Android (Google) Code Review
74dc3e4a1e Merge change 5616 into donut
* changes:
  Revise VpnService to use new vpn.* properties.
2009-07-01 09:16:48 -07:00
Android (Google) Code Review
50d87fbd69 Merge change 5879 into donut
* changes:
  Represent new searchSettingsDescription attribute on searchables in SearchableInfo.
2009-07-01 08:51:31 -07:00
Mitsuru Oshima
8f25c426b1 resolve complex value in application context instead of system context. 2009-07-01 00:10:43 -07:00
Android (Google) Code Review
c56096fe1f Merge change 5878 into donut
* changes:
  Add new attribute 'searchSettingsDescription' for use within an app's searchable.xml. This attribute defines the string to be shown as the description a searchable in the 'searchable items' section of system search settings.
2009-06-30 18:44:12 -07:00
Mike LeBeau
735b333bf6 Represent new searchSettingsDescription attribute on searchables in
SearchableInfo.
2009-06-30 18:27:40 -07:00
Mike LeBeau
f763e8f42d Add new attribute 'searchSettingsDescription' for use within an app's
searchable.xml. This attribute defines the string to be shown as the
description a searchable in the 'searchable items' section of system
search settings.
2009-06-30 18:26:21 -07:00
Android (Google) Code Review
65363830c1 Merge change 5854 into donut
* changes:
  Run backups at background priority
2009-06-30 16:18:59 -07:00
Christopher Tate
7958834e0e Run backups at background priority 2009-06-30 16:11:49 -07:00
Android (Google) Code Review
b0b815da8c Merge change 5845 into donut
* changes:
  Always clear the TextView drag state whenever a touch begins.
2009-06-30 15:44:07 -07:00
Eric Fischer
58b971d733 Always clear the TextView drag state whenever a touch begins.
Apparently it can sometimes miss a touch release, which would prevent
the longpress menu from appearing if the location of the new touch was
too far from the location of the previous touch.

Bug 1673223
2009-06-30 15:22:51 -07:00
Android (Google) Code Review
daa5a21562 Merge change 5810 into donut
* changes:
  Fix bug 1930055 of NullPointerException.
2009-06-30 15:16:38 -07:00
Android (Google) Code Review
85d650c899 Merge change 5804 into donut
* changes:
  Ensure that we never trigger ArrayIndexOutOfBoundsException by checking that the index is always < the array's length. Also ensures that the object's state is consistent. Should resolve a denial-of-service bug when handling malformed WAP pushes.
2009-06-30 15:05:56 -07:00
Android (Google) Code Review
f3ab3c3437 Merge change 5833 into donut
* changes:
  Fix nit on length of flag constant.
2009-06-30 14:35:59 -07:00
lknguyen
09b3373d83 Fix nit on length of flag constant. 2009-06-30 14:09:33 -07:00
Android (Google) Code Review
f9eca3d43a Merge change 5807 into donut
* changes:
  Fixing synth to file to use the speech queue.
2009-06-30 14:08:30 -07:00
Android (Google) Code Review
6e1647a212 Merge change 5829 into donut
* changes:
  Fix issue #1673793: Theme styles don't apply.
2009-06-30 14:04:55 -07:00
Android (Google) Code Review
d8de2ba426 Merge change 5750 into donut
* changes:
  Add a new checkin server flag for Vending Machine client server ping frequency for pending downloads.
2009-06-30 13:48:14 -07:00
Dianne Hackborn
1dac277f93 Implement issue #1943927 (need notification in status bar when adb is active)
This is a little hacky -- we just assume that if adb is enabled and power
is connected through usb, then it is active.

The icons and text are temporary until final design is provided.
2009-06-30 13:40:51 -07:00
Android (Google) Code Review
9848f11fd8 Merge change 5826 into donut
* changes:
  Fix NullPointerException in NinePatch constructor
2009-06-30 13:34:45 -07:00
Dianne Hackborn
de7faf658c Fix issue #1673793: Theme styles don't apply.
It turns out this was not a problem in the resource code at all.  Rather,
the system process has a cache of pre-loaded attributes it uses to avoid
continually reloading things as it needs them.  Well it turns out this
cache wasn't flushed after a package was uninstalled or a configuration
changed, so you could re-install an app where you change its style resources
so its theme now points to one that is inconsistent in the cache.

This is mostly a problem for developers, where they continually install
new versions of an app where resources have changed.  This could possibly
show up when updating an app on a normal phone, although the problem would
eventually correct itself since this cache uses weak references.

Anyway, the cache is now reworked to be flushed appropriately.

This change also includes an update to aapt to be able to dump the
contents of bags in resources.
2009-06-30 13:27:30 -07:00
Android (Google) Code Review
b1a9752341 Merge change 5739 into donut
* changes:
  Check to make sure the Java camera object is still valid on the callback from native. Omitted from previous fix. Bug 1936850.
2009-06-30 13:22:15 -07:00
Android (Google) Code Review
b7d7d5f638 Merge change 5806 into donut
* changes:
  Use additional functions to collect more memory information data points.
2009-06-30 13:20:44 -07:00
Dave Sparks
d0cbb1a52d Check to make sure the Java camera object is still valid on the
callback from native. Omitted from previous fix. Bug 1936850.
2009-06-30 13:20:30 -07:00
Phil Dubach
54285f2cbf Fix NullPointerException in NinePatch constructor
NinePatch.mPaint may be null and most methods in this class handle
that case properly. However, the constructor which derives a new
NinePatch from an existing instance assumes that mPaint is non-null.
This results in an unexpected NullPointerException, for example when
attempting to call NinePatchDrawable.mutate() on an instance that was
created from a resource.

Small unrelated fix in same file: Remove unused private mRect member.
2009-06-30 13:19:48 -07:00
Christopher Tate
72d19aa51e Tighten up the metadata backup logic
We now store the app version codes and and global OS incremental version name in
the PM backup state and the actual backup record.  We then use that information
to trigger a re-backup of the metadata if the OS revision changes in any way, or
to back up single apps' metadata if we notice that they've been upgraded.
2009-06-30 12:52:54 -07:00
Android (Google) Code Review
91c91b74df Merge change 5817 into donut
* changes:
   Replace indeterminate progress animated asset with new ones
2009-06-30 12:40:23 -07:00
Romain Guy
b5537c4522 Replace indeterminate progress animated asset with new ones 2009-06-30 12:39:18 -07:00
Android (Google) Code Review
441cb04efc Merge change 5732 into donut
* changes:
  Fix assertContentsInOrder (bug 1790350).
2009-06-30 12:17:48 -07:00
Charles Chen
ebb814bbae Fixing synth to file to use the speech queue. 2009-06-30 12:03:06 -07:00
John Wang
107821369b Fix bug 1930055 of NullPointerException.
The NullPointerException in getCallState is caused by the restarting of phone process. getITelephony() was not ready to be used at that moment.

	modified:   java/android/telephony/TelephonyManager.java
2009-06-30 12:01:35 -07:00
Guang Zhu
40656be658 Use additional functions to collect more memory information data points. 2009-06-30 11:56:13 -07:00
Chris Palmer
3856785225 Ensure that we never trigger ArrayIndexOutOfBoundsException by checking that
the index is always < the array's length. Also ensures that the object's
state is consistent. Should resolve a denial-of-service bug when handling
malformed WAP pushes.
2009-06-30 11:50:50 -07:00
Android (Google) Code Review
2f8d58b7ae Merge change 5420 into donut
* changes:
  Added two test cases to trace the failure in closing the hw decoder and the current playtime is greater than the duration.
2009-06-30 11:41:05 -07:00
Yu Shan Emily Lau
f47b8e991f Added two test cases to trace the failure in closing the hw decoder and the current playtime is greater than the duration. 2009-06-30 11:13:06 -07:00
Android (Google) Code Review
a79ee8e2d3 Merge change 5792 into donut
* changes:
  Fix typo introduced during variable cleanup.
2009-06-30 11:01:10 -07:00
Android (Google) Code Review
5fb4cab2db Merge change 5787 into donut
* changes:
  Fix http://code.google.com/p/android/issues/detail?id=3059
2009-06-30 10:57:18 -07:00
Jaikumar Ganesh
34267f7e17 Fix typo introduced during variable cleanup.
This prevented data connection being established after voice calls on 2G networks.
2009-06-30 10:53:16 -07:00
Wu-cheng Li
b8a10fe456 Allow setPreviewDisplay after startPreview. 2009-07-01 01:41:25 +08:00