241 Commits

Author SHA1 Message Date
Dianne Hackborn
1312d370c3 am b2d41569: Fix build.
Merge commit 'b2d415693482f58e104a99376cc4f65bf3799edf'

* commit 'b2d415693482f58e104a99376cc4f65bf3799edf':
  Fix build.
2009-05-20 08:54:35 -07:00
Dianne Hackborn
b2d4156934 Fix build. 2009-05-19 19:25:04 -07:00
Android (Google) Code Review
4fcaf8ea9f am f9df6bd6: Merge change 1878 into donut
Merge commit 'f9df6bd6e92fcef6bc32225bde412d3b1c0df180'

* commit 'f9df6bd6e92fcef6bc32225bde412d3b1c0df180':
  Fixes external #2686. Make @android:anim/linear_interpolator public since the default intperpolator for all animations is accelerate_decelerate.
2009-05-19 16:52:26 -07:00
Romain Guy
936257eabd Fixes external #2686. Make @android:anim/linear_interpolator public since the default intperpolator for all animations is accelerate_decelerate. 2009-05-18 11:04:45 -07:00
The Android Open Source Project
08e3252959 rebuild api/current.xml 2009-05-15 22:15:46 -07:00
Dianne Hackborn
7fa69c15ce am 5b3189e0: Fix the build. :(
Merge commit '5b3189e03c71bcd276e0b39d0ec5e2f699a1697f'

* commit '5b3189e03c71bcd276e0b39d0ec5e2f699a1697f':
  Fix the build. :(
  Implement compatibility support for WRITE_SDCARD permission.
2009-05-15 18:36:13 -07:00
Dianne Hackborn
5b3189e03c Fix the build. :( 2009-05-15 18:33:31 -07:00
Dianne Hackborn
62da8461ed Implement compatibility support for WRITE_SDCARD permission.
Now old applications will automatically be granted it.  Also renamed it from
SDCARD_WRITE to WRITE_SDCARD to be consistent with our other permissions,
and re-arranged how we do targetSdkVersion to actually be usuable for this
kind of stuff.

Note that right now this results in basically all apps being given the
WRITE_SDCARD permission, because their targetSdkVersion is not set.  I will
be dealing with that in a future change.
2009-05-15 18:23:56 -07:00
Dianne Hackborn
a96cbb435d Implement compatibility support for WRITE_SDCARD permission.
Now old applications will automatically be granted it.  Also renamed it from
SDCARD_WRITE to WRITE_SDCARD to be consistent with our other permissions,
and re-arranged how we do targetSdkVersion to actually be usuable for this
kind of stuff.

Note that right now this results in basically all apps being given the
WRITE_SDCARD permission, because their targetSdkVersion is not set.  I will
be dealing with that in a future change.
2009-05-15 18:02:47 -07:00
The Android Open Source Project
b16a8df65b fix build after merge 2009-05-15 15:14:41 -07:00
Fred Quintana
ce31b2361d enhance ContentProvider with the ability to perform batch operations 2009-05-15 13:55:32 -07:00
Mihai Preda
dd6face5a6 am eae850ce: Allow intent resolution to be constrained by package name.
Merge commit 'eae850cefe7e149f396c9e8ca1f34ec02b20a3f0'

* commit 'eae850cefe7e149f396c9e8ca1f34ec02b20a3f0':
  Allow intent resolution to be constrained by package name.
2009-05-15 07:06:46 -07:00
Mihai Preda
eae850cefe Allow intent resolution to be constrained by package name. 2009-05-15 12:32:07 +02:00
svetoslavganov
76879bc234 resolved conflicts w/ 75986cf9bc57ef11ad70f36fb77fbbf5d63af6ec merge.... 2009-05-15 00:44:45 -07:00
svetoslavganov
75986cf9bc Accessibility feature - framework changes (replacing 698, 699, 700, 701 and merging with the latest Donut) 2009-05-14 23:47:05 -07:00
Romain Guy
a35198117e Fix the build, again. 2009-05-14 16:29:18 -07:00
The Android Open Source Project
3f229fe7e8 update api to match after merge 2009-05-14 16:28:49 -07:00
Android (Google) Code Review
a64b860749 am aa642c0c: Merge changes 1591,1596 into donut
Merge commit 'aa642c0cc20293137376d44f8221876c121e5be9'

* commit 'aa642c0cc20293137376d44f8221876c121e5be9':
  Get the backup calling through to the file backup helper.
  Fix typos.
  Add a new feature to android.os.Debug to add the ability to inject only specific fields when calling setFieldsOn().
  Fixes #1836075. Adds consistency checks for the View hierarchy. To enable them, you need a debug build and ViewDebug.sConsistencyCheckEnabled set to true in debug.prop. This change also lets you easily enable drawing and layout profiling in ViewRoot by setting ViewRoot.sProfileDrawing, ViewRoot.sProfileLayout and ViewRoot.sShowFps in debug.prop with a debug build.
  Add Intent.ACTION_APP_ERROR
2009-05-14 14:53:27 -07:00
Joe Onorato
290bb011c5 Get the backup calling through to the file backup helper.
This includes some cleanup to make the parameters match
between BackupService.onBackup and FileBackupHelper.performBackup.
2009-05-14 09:39:32 -04:00
Bill Napier
370e92caec am 7567a74: AI 148803: Update 1.xml and 2.xml for methods that take Gene
Merge commit '7567a7453e853eca75a7162bbb87bfd0d7a5aafe'

* commit '7567a7453e853eca75a7162bbb87bfd0d7a5aafe':
  AI 148803: Update 1.xml and 2.xml for methods that take Generic Type Varargs.  This will allow the CTS Signature Test to be run against older android releases.
2009-05-13 15:35:28 -07:00
Bill Napier
7567a7453e AI 148803: Update 1.xml and 2.xml for methods that take Generic Type Varargs. This will allow the CTS Signature Test to be run against older android releases.
BUG=148739

Automated import of CL 148803
2009-05-13 15:29:11 -07:00
Wei Huang
97ecc9cbe7 define Intent.ACTION_REMOTE_INTENT, which replaces the old GTalk data messaging intent "android.intent.action.GTALK_DATA_MESSAGE_RECEIVED".
The remote intent concept shouldn't be limited to Google or GTalkService. It should be owned by the Android platform.
2009-05-13 13:20:59 -07:00
Fred Quintana
6a8d5332f0 content provider entities 2009-05-13 12:49:04 -07:00
The Android Open Source Project
7dfc85f119 rebuild api file 2009-05-13 10:28:17 -07:00
Dianne Hackborn
d2b4929ba0 am ade3eca: Implement issue #1783881 (manifest option for adb-install-on
Merge commit 'ade3ecad94d1f4431576f53bae26c35efbf7a2c9'

* commit 'ade3ecad94d1f4431576f53bae26c35efbf7a2c9':
  Implement issue #1783881 (manifest option for adb-install-only apps)
2009-05-12 22:39:08 -07:00
Joe Onorato
d39afbdc92 Make android.content.ComponentName implement java.lang.Comparable. 2009-05-12 23:40:45 -04:00
Dianne Hackborn
ade3ecad94 Implement issue #1783881 (manifest option for adb-install-only apps)
You can now use android:testOnly="true" to not allow your .apk to be installed
as a normal app.  The only way to do so is with the pm command and giving the
-t option, which sets a new INSTALL_ALLOW_TEST flag when installing.

I also used this to clean up the install API...  actually, mostly to hide
it, since it is not accessible to apps so shouldn't be in the SDK.  We
will be doing some more work on it, so this will prevent adding yet
another backwards-compatibility-for-no-reason version.
2009-05-12 16:09:43 -07:00
Jacek Surazski
c64322c352 PackageManager keeps track of who installed what.
Stores the package name of the installer app in packages.xml
2009-05-12 23:16:20 +02:00
Android (Google) Code Review
bae1ca315b am 3e3439d: Merge change 1478 into donut
Merge commit '3e3439d5ba0cf5eda060c4991219c32af917fc5b'

* commit '3e3439d5ba0cf5eda060c4991219c32af917fc5b':
  Fixes #1847219. Add a new API to load fonts from arbitrary files: Typeface.createFromFile(String/File).
2009-05-12 13:34:18 -07:00
Romain Guy
a87a132ebf Fixes #1847219. Add a new API to load fonts from arbitrary files: Typeface.createFromFile(String/File). 2009-05-12 13:22:18 -07:00
Joe Onorato
6b61d41f72 Make android.content.ComponentName implement java.lang.Comparable. 2009-05-12 14:54:29 -04:00
Jacek Surazski
65e13171e1 PackageManager keeps track of who installed what.
Stores the package name of the installer app in packages.xml
2009-05-12 10:48:27 +02:00
The Android Open Source Project
f37b96299f updated api after merge 2009-05-11 09:49:02 -07:00
Mathias Agopian
230d46d5ea am 2accb31: this should fix the build
Merge commit '2accb31239cf7a3cad77b51baed4b23934636e5b'

* commit '2accb31239cf7a3cad77b51baed4b23934636e5b':
  this should fix the build
2009-05-08 22:51:16 -07:00
Dianne Hackborn
849e89c94d am 851a541: Implement targetSdkVersion and maxSdkVersion, plus version c
Merge commit '851a54143c15a1c33361efae2db3f7f45059b472'

* commit '851a54143c15a1c33361efae2db3f7f45059b472':
  Implement targetSdkVersion and maxSdkVersion, plus version code names.
2009-05-08 22:51:10 -07:00
Mathias Agopian
2accb31239 this should fix the build 2009-05-08 17:07:35 -07:00
Dianne Hackborn
851a54143c Implement targetSdkVersion and maxSdkVersion, plus version code names.
This adds new attributes for specifying a targetSdkVersion and maxSdkVersion.
There is a new ApplicationInfo flag that is set if the application has set
its targetSdkVersion to the current platform or later.  Also you can now
use a string for minSdkVersion and targetSdkVerion, to indicate you are
building against a development tree instead of an official platform.
2009-05-08 15:15:36 -07:00
The Android Open Source Project
3531fdb1d9 merge 55280a9
Merge commit '55280a9'
2009-05-08 13:33:21 -07:00
Dianne Hackborn
55280a9188 Improve shutdown process to send broadcast for applications.
This introduces a new class in the base platform for performing a clean
shutdown (which was copied from the classes in the policies).  It
includes new features to send a shutdown broadcast for applications
to do cleanup, and ot have the activity manager pause the current
activity before proceeding with the shutdown.  These facilities are
also use to write at the most recent stat files for sync, battery
and user activity.
2009-05-08 12:59:21 -07:00
The Android Open Source Project
8ca7d85d82 manual merge 3a6645a
Merge commit '3a6645a'
2009-05-08 12:16:40 -07:00
Amith Yamasani
f04da95400 Fix keyboard redraw bug on long-press of CapsLock.
Expose invalidateKey and invalidateAllKeys for subclasses to call when needed.
2009-05-08 10:34:39 -07:00
The Android Open Source Project
ac1514c5b0 manual merge of 1e09a72
Merge commit '1e09a72'
2009-05-08 07:23:54 -07:00
The Android Open Source Project
1a36071092 manual merge of 7ec32cc
Merge commit '7ec32cc'
2009-05-08 07:21:43 -07:00
Jeff Hamilton
b890889267 Fix the build.
There was an issue with current.xml from a previous backup related change. Joe blames the stage.
2009-05-07 18:52:53 -07:00
Joe Onorato
b1a7ffef3a More backup tests 2009-05-07 15:32:48 -07:00
The Android Open Source Project
cfe5cdd3a1 manual merge d90a331 to avoid conflicts
Merge commit 'd90a331'
2009-05-06 18:16:52 -07:00
Romain Guy
d90a33111b Add new setTag(int, Object) API to allow applications to specify several tags. 2009-05-06 16:49:56 -07:00
The Android Open Source Project
56b7eeaa01 manual merge f3af740bdfc261b1cb25c0799af780d3753d4518
Merge commit 'f3af740bdfc261b1cb25c0799af780d3753d4518'
2009-05-06 15:48:33 -07:00
The Android Open Source Project
761daf7550 manual merge for b9c9d260f21b321527c4622a123af9767630d94d
Merge commit 'b9c9d260f21b321527c4622a123af9767630d94d'
2009-05-06 15:43:48 -07:00
Eric Laurent
f3af740bdf Fixed issue 1709450: Requirements for CDMA Tone Generator
Added new tone types for CDMA IS-95 specific tones.
Automatic selection between IS-95, CEPT and JAPAN version base on operator
country code for call supervisory tones.
Also improved tone generator capabilities:
- Each tone segment can now generate its own set of frequencies
- A tone does not have to be a succession of alternating ON/OFF segments
- The sequence repetition does not have to start from first segment
2009-05-06 11:35:46 -07:00