1762 Commits

Author SHA1 Message Date
Android (Google) Code Review
3dcea047c5 Merge change 4237 into donut
* changes:
  Remove obsolete FOTA_UPDATE permission (which should never have been made public, and wouldn't be used by any third party applications, and no longer does anything regardless).
2009-06-15 16:33:54 -07:00
Grace Kloba
a03f046522 hide the new constant as it is pending api approval 2009-06-15 16:29:21 -07:00
Dan Egnor
2d4b6ad9d4 Remove obsolete FOTA_UPDATE permission (which should never have been
made public, and wouldn't be used by any third party applications,
and no longer does anything regardless).

Also remove the WRITE_GSERVICES permission from the SettingsProvider
package's manifest (the declaration there was redundant with the one
in the core manifest, where all the other settings-related permissions
live -- no other core package includes its own permission definitions).
2009-06-15 16:29:20 -07:00
Android (Google) Code Review
5570f2f24a Merge change 4252 into donut
* changes:
  Add more comment for EXTRA_APPEND_LOCATION
2009-06-15 16:06:11 -07:00
Grace Kloba
72afed86d3 Add more comment for EXTRA_APPEND_LOCATION 2009-06-15 16:00:12 -07:00
Android (Google) Code Review
aa67df9f2f Merge change 4248 into donut
* changes:
  Remove ADD_SYSTEM_SERVICE and SET_PROCESS_FOREGROUND permissions.
2009-06-15 15:50:18 -07:00
Android (Google) Code Review
7d143b89b7 Merge change 4245 into donut
* changes:
  Add the extra data definition for append location in the VIEW request to the Browser.
2009-06-15 15:34:30 -07:00
Grace Kloba
ab36bcccbb Add the extra data definition for append location in the VIEW request to the Browser. 2009-06-15 15:27:17 -07:00
Dianne Hackborn
29148f90cd Remove ADD_SYSTEM_SERVICE and SET_PROCESS_FOREGROUND permissions.
These are no longer used.
2009-06-15 15:25:31 -07:00
Android (Google) Code Review
77b7d7859a Merge change 4117 into donut
* changes:
  Add a Gservices setting to have a "use location for better search".
2009-06-15 15:23:20 -07:00
Android (Google) Code Review
6edb3487be Merge change 4234 into donut
* changes:
  Implement permission test for activity, window, service manager.
2009-06-15 15:07:50 -07:00
Dianne Hackborn
cfaef699e1 Implement permission test for activity, window, service manager.
This also includes some changes to the window manager permission checks.  Almost all of these
are to make it most testable (through an exception on a permission failure), though there is
one permission check that needed to be added: updateOrientationFromAppTokens().
2009-06-15 14:35:07 -07:00
Android (Google) Code Review
acec4d6741 Merge change 4224 into donut
* changes:
  Add test for GServices write permission, and remove dummy placeholder framework permission test.
2009-06-15 14:20:53 -07:00
Brett Chabot
2f0d86cf2e Add test for GServices write permission, and remove dummy placeholder framework permission test. 2009-06-15 14:15:19 -07:00
Android (Google) Code Review
9908b3d820 Merge change 4209 into donut
* changes:
  More tests to check permissions in PackageManager api's are enforced
2009-06-15 13:16:35 -07:00
Suchi Amalapurapu
ea196fc50e More tests to check permissions in PackageManager api's are enforced 2009-06-15 13:19:25 -07:00
Christopher Tate
8e55eac96d Bring the test transport's restore code into line
It now reconstructs the backup data stream as it was originally structured, no
longer assuming that its backed-up records can simply be concatenated into the
destination stream.
2009-06-15 12:33:51 -07:00
Android (Google) Code Review
2c723ee0cc Merge change 4196 into donut
* changes:
  Add tests to check permissions in PackageManager api's
2009-06-15 12:24:11 -07:00
Suchi Amalapurapu
9f2f87d92b Add tests to check permissions in PackageManager api's 2009-06-15 12:23:15 -07:00
Android (Google) Code Review
764ce70faf Merge change 4198 into donut
* changes:
  protect starting of search dialog behind 'dev.disablesearchdialog' system property.
2009-06-15 12:23:12 -07:00
Karl Rosaen
3ed6a3342b protect starting of search dialog behind 'dev.disablesearchdialog' system property.
this will help the stress test runs find out the effect of search.
2009-06-15 12:22:47 -07:00
Android (Google) Code Review
3adf7678cd Merge change 4184 into donut
* changes:
  Add permission test structure for private framework permissions.
2009-06-15 10:48:28 -07:00
Brett Chabot
9faa04fd85 Add permission test structure for private framework permissions. 2009-06-15 10:43:40 -07:00
Android (Google) Code Review
e6881c6300 Merge change 4075 into donut
* changes:
  Add <keygen> support for VPN.
2009-06-15 10:42:20 -07:00
Android (Google) Code Review
c2922687fa Merge change 4182 into donut
* changes:
  Add more data to reliability test report, includes min, max, std, run data.
2009-06-15 10:17:18 -07:00
Guang Zhu
0528cd03b2 Add more data to reliability test report, includes min, max, std, run data. 2009-06-15 10:13:58 -07:00
Android (Google) Code Review
6c84343f07 Merge change 4119 into donut
* changes:
  Use locale-appropriate formatting to display application sizes like "252KB".
2009-06-15 10:09:21 -07:00
Android (Google) Code Review
d83d6606d6 Merge change 4106 into donut
* changes:
  Adjust order of file/section list in output diff
2009-06-15 09:37:01 -07:00
Hung-ying Tyan
0304325dd7 Remove SingleServerProfile.
End of refactoring out SingleServerProfile.java.
2009-06-15 19:29:26 +08:00
Android (Google) Code Review
0fb466836b Merge change 3880 into donut
* changes:
  Run search dialog in the system process.
2009-06-15 02:06:39 -07:00
Bjorn Bringert
8d17f3f24b Run search dialog in the system process.
Fixes http://b/issue?id=1905863

This is needed to address two security issues with global search:
http://b/issue?id=1871088 (Apps can read content providers through GlobalSearch)
http://b/issue?id=1819627 (Apps can use GlobalSearch to launch arbirtrary intents)

This also fixes http://b/issue?id=1693153 (SearchManager.OnDismissListener
never gets called)

To fix the security issues, GlobalSearch also needs to require
a non-app permission to access its content provider and launch intents.
2009-06-15 09:05:26 +01:00
Android (Google) Code Review
6d78dd8ef8 Merge change 4147 into donut
* changes:
  On the way of refactoring out SingleServerProfile.java.
2009-06-14 23:41:33 -07:00
Hung-ying Tyan
4c424d61c7 On the way of refactoring out SingleServerProfile.java.
+ Move mServerName from SingleServerProfile and VpnProfile.
+ Add mSavedUsername to VpnProfile.
+ Keep empty SingleServerProfile to not break the classes that use it.
+ Remove use of SingleServerProfile from VpnService.java.
2009-06-15 13:06:03 +08:00
Scott Main
3d59ee7aa6 am 110b50ca: AI 149839: make the home page\'s announcement block expandable... primarily, this is to handle various lengths of text due to translations, but also allows us to be more flexible WRT the content for the top section.
Merge commit '110b50ca5158f75abdead740f0956600da2f212d' into donut

* commit '110b50ca5158f75abdead740f0956600da2f212d':
  AI 149839: make the home page's announcement block expandable...
2009-06-14 20:45:27 -07:00
Christopher Tate
2fdd428e0f Fix some backup reader/writer issues; make local transport do backup
As of this change, LocalTransport is successfully propagating data changes from
the backup data format into a repository stored in /cache/backup/[packagename].
Each backup key gets a separate file there for ease of manipulation and testing.

The general semantics of BackupDataReader have been tweaked, too; it now just
returns simple "we're done with the data" when it hits the end, even if no
footer has been found, because on the writing side the footer isn't being
written.  Also, reading an entity now merely requires a "big enough" buffer, not
an exactly-sized one.

This is all a work in progress, but this is at least working now for purposes of
this local transport.

Still to do: proper change vs deletion detection, as well as expanding the data
format itself to include necessary metadata etc.
2009-06-14 19:39:29 -07:00
Android (Google) Code Review
31390c7528 Merge change 4131 into donut
* changes:
  Fix the jni initializer.
2009-06-12 19:00:22 -07:00
Joe Onorato
03f4df4b3b Fix the jni initializer. 2009-06-12 18:59:25 -07:00
Android (Google) Code Review
be3615bded Merge change 4112 into donut
* changes:
  Fix bug #1812041: activity manager crash with bad args.
2009-06-12 18:03:11 -07:00
Android (Google) Code Review
bf0010b5e2 Merge change 4085 into donut
* changes:
  Add RestoreFileHelper, BackupDataInput, and add java wrappers for the methods on BackupDataOutput.
2009-06-12 16:22:55 -07:00
Joe Onorato
1cf587496f Add RestoreFileHelper, BackupDataInput, and add java wrappers for the methods on BackupDataOutput. 2009-06-12 16:21:24 -07:00
Eric Fischer
7351dd113f Use locale-appropriate formatting to display application sizes like "252KB".
In particular allow the French and Polish translators to put a space between
the number and the unit.
2009-06-12 16:06:37 -07:00
Mitsuru Oshima
12172baa6b * component can be null after destory?
This was causing NPE in catch block, which hides the actual exception.
2009-06-12 15:52:53 -07:00
Dianne Hackborn
75b038545e Fix bug #1812041: activity manager crash with bad args.
There was old code that would kill the system process in some cases when there
was a bad activity token.  This is really no longer used, except in a few
places where it allows apps to kill the system.  So just get rid of it and
make the world a better place.
2009-06-12 15:43:26 -07:00
Android (Google) Code Review
6c98c13b2e Merge change 4104 into donut
* changes:
  Journal backup requests so that they won't be lost in a crash
2009-06-12 15:19:50 -07:00
Guang Zhu
903f311fdc Adjust order of file/section list in output diff 2009-06-12 15:03:45 -07:00
Amith Yamasani
430555acae Add a Gservices setting to have a "use location for better search". 2009-06-12 14:19:00 -07:00
Scott Main
110b50ca51 AI 149839: make the home page's announcement block expandable...
primarily, this is to handle various lengths of text due to translations,
  but also allows us to be more flexible WRT the content for the top section.

Automated import of CL 149839
2009-06-12 14:02:42 -07:00
Christopher Tate
cde87f45e0 Journal backup requests so that they won't be lost in a crash
When an application requests a backup via dataChanged(), we now journal that
fact on disk.  The journal persists and is only removed following a successful
backup pass.  When the backup manager is started at boot time, it looks for any
existing journal files and schedules a backup for the apps listed in them, on
the expectation that the device shut down or crashed before a backup could be
performed.
2009-06-12 13:57:39 -07:00
Android (Google) Code Review
7504da0368 Merge change 4080 into donut
* changes:
  Fix data connection issues.
2009-06-12 13:46:00 -07:00
Jaikumar Ganesh
bbf7c00e06 Fix data connection issues.
a)Fix cleanup connection being called twice when switching to wifi.
b) Reset the reconnect timer when voice call ends and APN is changed.
2009-06-12 12:14:08 -07:00