869 Commits

Author SHA1 Message Date
Evan Millar
431f5fd9e8 Unhide WebView#emulateShiftHeld() so that gmail can do select-to-copy 2010-01-08 10:17:02 -08:00
Patrick Scott
6a5b0ecae5 Deprecate onTooManyRedirects.
The method was added a long time ago but has never been called. Rather than
spend time implementing and testing this feature, deprecate the function.

Bug: 2257857
2010-01-08 10:16:33 -05:00
Chih-Chung Chang
624d39dd81 Unhide intent extra constants for Camera. 2010-01-08 12:31:16 +08:00
Dan Egnor
6e70912bd5 Bumper un-@hide (un-@pending actually) of previously reviewed APIs:
- new Log methods for reportable conditions
- EventLog publication, EventLogTags deprecation
- a new stackTrace field in ProcessErrorStateInfo
2010-01-07 19:10:43 -08:00
Ficus Kirkpatrick
fa9cafa074 Add a string for second-ABI system property to android.os.Build. 2010-01-07 12:57:42 -08:00
Mike Lockwood
9d2f7a7d66 Add LocationManagerImpl class to act as a public wrapper for the ILocationProvider interface
Location providers implemented outside of the core android platform (like network location)
can subclass LocationManagerImpl to implement the location provider interface
without being bound too tightly to the location manager internals.

Change-Id: Id193d4d09f9a14bea13e81af03c914074cd37cb9
2010-01-06 22:35:46 -05:00
Doug Zongker
6e99b7a3b2 add ACCESS_CACHE_FILESYSTEM permission to core manifest
All of the permissions in data/etc/platform.xml are defined in
core/res/AndroidManifest.xml, except for ACCESS_CACHE_FILESYSTEM.  Add
it.

Change-Id: If7906bc0007484cc21196fb1c0593b967fd79920
2010-01-06 15:05:24 -08:00
Doug Zongker
0cb047c0de unhide the RecoverySystem class
The recovery system is already part of the platform; this class
defines an interface for interacting with it from the regular system.

Change-Id: I87dff8d6c1dbd11ac8f397a3f34ea5cb16d2d227
2010-01-06 14:02:09 -08:00
Bjorn Bringert
d755b06805 Add RemoteViews.setBundle() method.
This is needed for setting the app search data for an upcoming search
source selection widget which is @RemoteView.

Change-Id: I2d04ff68d0ad7f12e88ed25ded75e174a8403bcc
2010-01-06 17:38:17 +00:00
Mike Lockwood
34901409a4 Cleanup and add public wrapper for IGeocodeProvider interface to prepare for network location unbundling.
Change-Id: I6523d115b56dbf450121e73d48e151f200827eb4
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-01-05 23:39:29 -05:00
Dianne Hackborn
03abb8179f Kill the task killers.
The ActivityManager.restartPackage() API is now deprecated, and no longer
allows applications to mess up the state of other applications.  This was
being abused by task killers, causing users to think their other applications
had bugs.

A new API is introduced for task killers,
ActivityManager.killBackgroundProcesses(), which allows these applications
to kill processes but only the same amount that the out of memory
killer does, thus causing no permanent damage.  The old restartPackage()
API is now a wrapper for calling this new API.

There is also a new private forceStopPackage() API that is used for the
system's force stop UI which does what the old restartPackage() API did.
2010-01-05 15:47:05 -08:00
Marco Nelissen
592632562a Unhide some MediaStore things that should be public. 2010-01-05 12:56:04 -08:00
Jack Palevich
a6276fdd42 A library for encoding and decoding ETC1 textures.
The ETC1 compressed texture format is commonly
supported by OpenGL ES 2.0-capable devices.
2009-12-31 13:31:04 +08:00
Eric Laurent
a0b517609d am 68e9014e: am 484d2888: Fix issue 2299360: Change in in-call volume affects the Bluetooth in-call volume and vice versa.
Merge commit '68e9014e47f7350b3889e1704dde809b2a926968'

* commit '68e9014e47f7350b3889e1704dde809b2a926968':
  Fix issue 2299360: Change in in-call volume affects the Bluetooth in-call volume and vice versa.
2009-12-27 16:33:17 -08:00
Eric Laurent
484d288868 Fix issue 2299360: Change in in-call volume affects the Bluetooth in-call volume and vice versa.
Add a separate system settings entry for bluetooth SCO volume.
2009-12-22 10:10:24 -08:00
Dianne Hackborn
ee0511d76c Fix issue #1154972: clone defined, but class doesn't implement Cloneable 2009-12-21 18:08:13 -08:00
Jeff Hamilton
bde0716dac resolved conflicts for merge of 08ace2e0 to master 2009-12-17 15:17:54 -06:00
Jeff Hamilton
f3960b1271 Remove the IM provider contract class.
Change-Id: Ia644689021aca3e429d42727dfd6262b6986dfd2
2009-12-17 13:47:36 -06:00
Fred Quintana
2c5634198a resolved conflicts for merge of 5a374f94 to master 2009-12-15 15:57:33 -08:00
Fred Quintana
274dc9d35f moved the hidden sync helpers out of the framework 2009-12-14 16:33:13 -08:00
Dianne Hackborn
74a76d5e07 am 83652ebf: am 3a3fd2ba: Merge change Iaf1f0918 into eclair-mr2
Merge commit '83652ebfe1963bcecdcf24383165904223baca6e'

* commit '83652ebfe1963bcecdcf24383165904223baca6e':
  Implement API to have new broadcasts replace existing broadcasts.
2009-12-14 16:15:03 -08:00
Dianne Hackborn
1c633fc89b Implement API to have new broadcasts replace existing broadcasts.
Use this in various places where it should serve no purpose to deliver
both broadcasts.  This is intended to reduce somewhat the flurry of
broadcasts that we churn through during boot.
2009-12-14 15:03:35 -08:00
Jean-Baptiste Queru
80ffd8c5ae resolved conflicts for merge of da9691e9 to master 2009-12-10 15:46:33 -08:00
Adam Powell
326d808b85 Added View#dispatchViewVisibilityChanged and View#onDispatchVisibilityChanged; updated api; tests
Reverted a change to InstrumentationTestCase that would have allowed @UiThreadTest on setUp() methods of tests.
2009-12-10 14:49:14 -08:00
Jack Palevich
4c2fc8cb25 resolved conflicts for merge of fac57636 to master 2009-12-10 12:13:54 -08:00
Jean-Baptiste Queru
513b7234a6 use a fixed value for public ID 2009-12-10 11:14:41 -08:00
Fred Quintana
2ec6c56991 am 328c0e79: - removed the concept of Entity from the ContentProvider APIs - removed the parcelling ability from Entity and EntityIterator and made them public - added an EntityIterator abstract implementation that allow easy wrapping of a Cursor - changed the VCard c
Merge commit '328c0e7986aa6bb7752ec6de3da9c999920bb55f' into eclair-mr2-plus-aosp

* commit '328c0e7986aa6bb7752ec6de3da9c999920bb55f':
  - removed the concept of Entity from the ContentProvider APIs
2009-12-10 10:37:52 -08:00
Jean-Baptiste Queru
a74df10ac2 resolved conflicts for merge of cfccf5a1 to master 2009-12-10 09:19:02 -08:00
Dianne Hackborn
9b902a5266 am eb68a226: am af9788a9: Merge change Ia53c6725 into eclair-mr2
Merge commit 'eb68a226563f60265663f1688dda77c4f909e5de'

* commit 'eb68a226563f60265663f1688dda77c4f909e5de':
  Add bindService API to not bring ot foreground.
2009-12-10 07:55:00 -08:00
Bjorn Bringert
507ecd5306 am c99f154b: am dcd8bad3: Merge change Ia28d9547 into eclair-mr2
Merge commit 'c99f154b549ff0bae84b082dc4d80351b341494e'

* commit 'c99f154b549ff0bae84b082dc4d80351b341494e':
  Expose SearchableInfo and getSearchablesInGlobalSearch()
2009-12-10 07:06:00 -08:00
Ken Shirriff
8ea486788f am 0e933c85: am f7d0b013: Add TrafficStats class to SDK.
Merge commit '0e933c853ad53037631e5bca5b4a46f056c1e538'

* commit '0e933c853ad53037631e5bca5b4a46f056c1e538':
  Add TrafficStats class to SDK.
2009-12-10 07:04:31 -08:00
Fred Quintana
328c0e7986 - removed the concept of Entity from the ContentProvider APIs
- removed the parcelling ability from Entity and EntityIterator and made them public
- added an EntityIterator abstract implementation that allow easy wrapping of a Cursor
- changed the VCard code to use the new APIs
2009-12-09 10:30:18 -08:00
Jack Palevich
aa396b9610 Unhide the Android OpenGL ES 2.0 API
Add a Matrix.setLookAtM method for computing a look-at viewing transform.

Change GLU.lookAt to use Matrix.setLook.
2009-12-09 16:34:42 +08:00
Romain Guy
114800653c Add new white style for ExpandableListView. 2009-12-08 18:36:00 -08:00
Dianne Hackborn
09c916bccb Add bindService API to not bring ot foreground.
Add a new flag for bindService that tells the system to not bring the
target service's process in to the foreground scheduling class.  This is
used by the sync system to not cause the current sync adapter to come to
the foreground as it is running.

Also some small improvements to the debug output of the process list
of oom adj and scheduling info.
2009-12-08 16:33:59 -08:00
Bjorn Bringert
13107bb186 Expose SearchableInfo and getSearchablesInGlobalSearch()
This is needed for search unbundling.

Fixes http://b/issue?id=2270838

Change-Id: Ia28d954736c9afd68da22a38da966ed780d797c2
2009-12-08 19:21:19 +00:00
Ken Shirriff
f7d0b01387 Add TrafficStats class to SDK.
This class (a rename of NetStat) provides network byte and packet statistics.
NetStat will be removed separately, to avoid breaking other packages when submitting.
2009-12-08 10:50:25 -08:00
Grace Kloba
6180977d11 am 8657978a: am ddcea3d2: Expose onReceivedSslError() so that the WebView client can accept the error and continue.
Merge commit '8657978aabc7141869926a98a0da257255678dd4'

* commit '8657978aabc7141869926a98a0da257255678dd4':
  Expose onReceivedSslError() so that the WebView client
2009-12-07 18:37:00 -08:00
Andy McFadden
13169d855c am 19e0db20: am ebc910da: Merge change Iaad9c8d1 into eclair-mr2
Merge commit '19e0db20100753dd347ec5203cd0226f55f09e2a'

* commit '19e0db20100753dd347ec5203cd0226f55f09e2a':
  Restore 7.xml.
2009-12-07 14:55:04 -08:00
Grace Kloba
ddcea3d216 Expose onReceivedSslError() so that the WebView client
can accept the error and continue.

Fix http://b/issue?id=2299152
2009-12-07 13:20:33 -08:00
Andy McFadden
e35cfda3ae Add new(-ish) Dalvik opcodes to Opcodes.java.
This is a public API change.
2009-12-04 13:42:38 -08:00
Andy McFadden
aad9c8d110 Restore 7.xml.
Deletion of "unused" opcode constants should only have happened in
8.xml.
2009-12-04 12:35:50 -08:00
Andy McFadden
c6b9206e9f am b5d92322: am 5c9d6e5b: Merge change Ie46db339 into eclair-mr2
Merge commit 'b5d92322eb9f9d9e78581b2ac5de35b95b46d113'

* commit 'b5d92322eb9f9d9e78581b2ac5de35b95b46d113':
  Remove "unused" opcodes from API.
2009-12-04 12:07:40 -08:00
Andy McFadden
e46db33968 Remove "unused" opcodes from API.
There's no need to have constants like OP_UNUSED_FF in the API.  They
serve no purpose, and it makes life confusing when an opcode is defined
(does the "unused" one go away, breaking the API?  do we have the real
definition and the "unused" definition simultaneously?).

Discussed / approved by API council.
2009-12-04 08:56:54 -08:00
Daisuke Miyakawa
9946639f74 am 8ad6ec2e: am 8280c2b1: Implement new MockContentProvider. Also make ContentProvider aware of the class.
Merge commit '8ad6ec2eb4a58a6dad34be60d49f32a53f2419f4'

* commit '8ad6ec2eb4a58a6dad34be60d49f32a53f2419f4':
  Implement new MockContentProvider. Also make ContentProvider aware of the class.
2009-12-04 04:33:05 -08:00
Dianne Hackborn
95f118e46a am f7407998: am 39b08235: Add API level 8, currently a copy of 7.
Merge commit 'f7407998387fdfd1c755084a1c00f2819d27431a'

* commit 'f7407998387fdfd1c755084a1c00f2819d27431a':
  Add API level 8, currently a copy of 7.
2009-12-04 04:32:00 -08:00
Dianne Hackborn
8bf73ff274 am 7a1192ff: am eefe7b1b: am b2e49a23: Add API level 7.
Merge commit '7a1192ff54e3e1cfc00cc416b5f5de2ec3422fc0'

* commit '7a1192ff54e3e1cfc00cc416b5f5de2ec3422fc0':
  Add API level 7.
2009-12-04 04:28:00 -08:00
Daisuke Miyakawa
8280c2b15f Implement new MockContentProvider. Also make ContentProvider aware of the class.
Rename the old MockContentProvider to MockIContentProvider since it is
more appropriate name.

Detail:
Current developers inevitably depend on the backend used by ContentProvider,
which is useful but not ideal nor "testable" from the view of them.

Current MockContentResolver only accepts exact "ContentProvider" class, not
IContentProvider interface, since we want to hide "IContentProvider" while
the old MockContentProvider implements IContentProvider and as a result some
methods we want to hide may be exposed to the public SDK now and probably
for the future.

On the other hand, ContentProvider is not interface but an exact class
heavily depends on the internal logic and not suitable for external
developers to use for tests.

The new MockContentProvider introduces the mock implementation
for ContentProvider.
It extends ContentProvider, so "is" ContentProvider, but tries to avoid
depending on any backend System like IPC in Android, etc.
This should be useful from the view of application developers who do not
want to be confused with ContentProvider/ContentResolver backend
implementation "at all" and want to use MockContentResolver without
any other ContentProvider implementations tightly connected to the
external worlds.
2009-12-04 17:48:44 +09:00
Dianne Hackborn
39b0823568 Add API level 8, currently a copy of 7. 2009-12-03 17:25:10 -08:00
Dianne Hackborn
eefe7b1b3e am b2e49a23: Add API level 7.
Merge commit 'b2e49a2319a40976a60d51d9a7c55d20f0b2d0e9' into eclair-mr2

* commit 'b2e49a2319a40976a60d51d9a7c55d20f0b2d0e9':
  Add API level 7.
2009-12-03 14:52:46 -08:00