1043 Commits

Author SHA1 Message Date
Marco Nelissen
4fb27ba22d Remove unnecessary code. 2009-05-14 14:18:23 -07:00
Android (Google) Code Review
109b21bab5 Merge change 1677 into donut
* changes:
  Findbugs fixes.
2009-05-14 13:30:58 -07:00
Android (Google) Code Review
2a5cfe5192 Merge change 1590 into donut
* changes:
  Add wifi multicast filter api (enable/disable). Fixes 1833432.  Automatically re-disables any request when the app exits/crashes.  Also hooked into Battery Stats for power managment analysis.
2009-05-14 13:24:52 -07:00
Marco Nelissen
d282ac8610 Findbugs fixes. 2009-05-14 13:18:16 -07:00
Android (Google) Code Review
4a8fb93f5e Merge change 1638 into donut
* changes:
  fix window layout problem in ViewRoot  * don't scale LayoutParams (this must be app's scale).  * scale the layout params' coordinates & size only when requesting layout. In SurfaceView, window's x,y wasn't scaled before sending to window manager.
2009-05-14 13:00:05 -07:00
Mitsuru Oshima
3d91492d69 fix window layout problem in ViewRoot
* don't scale LayoutParams (this must be app's scale).
 * scale the layout params' coordinates & size only when requesting layout.
In SurfaceView, window's x,y wasn't scaled before sending to window manager.
2009-05-14 12:59:40 -07:00
Marco Nelissen
fafb16c5ae Fix typo 2009-05-14 12:57:52 -07:00
Android (Google) Code Review
02c1c46fff Merge change 1674 into donut
* changes:
  gps: Time out after 1 minute if we are unable to get a fix and our fix interval is long.
2009-05-14 12:54:09 -07:00
Mike Lockwood
0632ca7bbe gps: Time out after 1 minute if we are unable to get a fix and our fix interval is long.
This will prevent us from keeping the processor awake indefinitely if a
background service is requesting periodic updates and we are unable to get a fix.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-05-14 15:51:03 -04:00
Romain Guy
d4103d0d14 Fix the build 2009-05-14 12:24:21 -07:00
Android (Google) Code Review
aa642c0cc2 Merge changes 1591,1596 into donut
* changes:
  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.
2009-05-14 11:59:33 -07:00
Android (Google) Code Review
d47d81a4de Merge change 1622 into donut
* changes:
  Fix typos.
2009-05-14 11:12:54 -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
Android (Google) Code Review
ec2d74d40f Merge change 1545 into donut
* changes:
  Add Intent.ACTION_APP_ERROR
2009-05-14 03:26:16 -07:00
Dianne Hackborn
b910811136 am 5d6d773: AI 148824: Fix issue #1851541 (sharedUserId requests not bei
Merge commit '5d6d773fab559fdc12e553d60d789f3991ac552c' into donut

* commit '5d6d773fab559fdc12e553d60d789f3991ac552c':
  AI 148824: Fix issue #1851541 (sharedUserId requests not being checked for matching signatures on .apk).
2009-05-13 18:13:17 -07:00
Dianne Hackborn
5d6d773fab AI 148824: Fix issue #1851541 (sharedUserId requests not being checked for matching signatures on .apk).
To address issues where we could leave half-installed applications around if there was a failure during the install, we split getPackageLP() into two phases: the first would create the record, and only after doing all verification checks would we call insertPackageSettingLP() to do the remaining part of the original implementation and actually insert the record into the data structures.
  Unfortunately it was only in insertPackageSettingLP() that we would set the sharedUser field of the PackageSetting structure, so when before that we went to verify certificates, we didn't think it had requested a shared user ID, and let it through without checking.
  This fix simply sets the sharedUser field when the PackageSetting structure is first created, so we will actually check against its certs.  We still also set this again in insertPackageSettingLP(), but there is no harm in this because the only time we call this function is in that big install func, which just passes in the same shared user that it had when first getting the package.
  BUG=1851541

Automated import of CL 148824
2009-05-13 18:09:56 -07:00
Ken Shirriff
60b88edea7 Fix typos. 2009-05-13 17:51:37 -07:00
Android (Google) Code Review
c4cdc7d8a1 Merge change 1611 into donut
* changes:
  Replace the search dialog images so that they correctly center the microphone and magnifying glass (they were all off by 1 pixel).
2009-05-13 17:35:11 -07:00
Android (Google) Code Review
2b52b3ed46 Merge change 1610 into donut
* changes:
  Revert dividers back to their original translucent versions but add new opaque dividers to improve the speed of lists.
2009-05-13 17:34:15 -07:00
Mike LeBeau
37caecd08d Replace the search dialog images so that they correctly center
the microphone and magnifying glass (they were all off by 1 pixel).
2009-05-13 17:33:25 -07:00
Romain Guy
694bb19995 Revert dividers back to their original translucent versions but add new opaque dividers to improve the speed of lists. 2009-05-13 17:32:49 -07:00
Romain Guy
c4b11a79fb Add a new feature to android.os.Debug to add the ability to inject only specific fields when calling setFieldsOn(). 2009-05-13 17:13:42 -07:00
Scott Main
3a5ce8a929 am 04c72b4: AI 148812: revise the AppWidget developer guide documentatio
Merge commit '04c72b47d877c9f3b45caa1ddc7f640b02e7be4c' into donut

* commit '04c72b47d877c9f3b45caa1ddc7f640b02e7be4c':
  AI 148812: revise the AppWidget developer guide documentation
2009-05-13 16:48:50 -07:00
Scott Main
04c72b47d8 AI 148812: revise the AppWidget developer guide documentation
BUG=1827433

Automated import of CL 148812
2009-05-13 16:48:13 -07:00
Romain Guy
13922e0303 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. 2009-05-13 15:42:23 -07:00
Bill Napier
55d7bd33e3 am 4ce6430: AI 148803: Update 1.xml and 2.xml for methods that take Gene
Merge commit '4ce643074874dd79cc3a9219bdfefe63f2400ed7' into donut

* commit '4ce643074874dd79cc3a9219bdfefe63f2400ed7':
  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:30:25 -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
Android (Google) Code Review
541ff5df00 Merge change 1566 into donut
* changes:
  Fix issue #1838944: Application sync settings cant be changed with auto sync on
2009-05-13 15:25:35 -07:00
Robert Greenwalt
5347bd4cda Add wifi multicast filter api (enable/disable).
Fixes 1833432.  Automatically re-disables any request when the app
exits/crashes.  Also hooked into Battery Stats for power managment analysis.
2009-05-13 15:10:16 -07:00
Bill Napier
4ce6430748 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:00:23 -07:00
Android (Google) Code Review
6063a9c9ee Merge change 1491 into donut
* changes:
  Make pressing the search button within an app that does not support search bring up global search. This still respects the case where an app has chosen to disable search entirely by overriding onSearchRequested() to return false.
2009-05-13 14:26:45 -07:00
Android (Google) Code Review
a0f87f680c Merge change 1565 into donut
* changes:
  Enable filtering <select> lists.
2009-05-13 13:25:16 -07:00
Dianne Hackborn
271cee6de8 Fix issue #1838944: Application sync settings cant be changed with auto sync on 2009-05-13 13:18:22 -07:00
Leon Scroggins
3667ce4cae Enable filtering <select> lists.
Fix a bug where the filter text could not be deleted,
and another where filtering changes the checked item,
so that filtering <select> lists can be reenabled.
2009-05-13 15:58:03 -04:00
Dianne Hackborn
e7fe35b88a Whoops fix installing. I am dumb. 2009-05-13 10:54:52 -07:00
Jacek Surazski
86b6c530f9 Add Intent.ACTION_APP_ERROR
This intent is sent to the installer when an app it installed
crashes/ANRs.
2009-05-13 18:52:20 +02:00
Android (Google) Code Review
a2a34a5711 Merge change 1528 into donut
* changes:
  should help fix the Simulator build.
2009-05-13 00:20:49 -07:00
Mathias Agopian
3cc68d28c7 should help fix the Simulator build. 2009-05-13 00:19:22 -07:00
Joe Onorato
8ad028117d With this, the BackupService onBackup method is called.
It took a bunch of refactoring inside BackupManagerService,
which is unfortunately all temporary anyway, but it unblocks
a bunch of stuff.
2009-05-13 01:41:44 -04:00
Joe Onorato
d39afbdc92 Make android.content.ComponentName implement java.lang.Comparable. 2009-05-12 23:40:45 -04:00
Mitsuru Oshima
c5b0e6e4eb don't scale trackball event 2009-05-12 19:26:41 -07:00
Dirk Dougherty
2466bdfb9a am f7a480d: AI 148759: Add download page for NDK 1.5 r1.
Merge commit 'f7a480de8c0402850a25db34ad25d86e6d82e699' into donut

* commit 'f7a480de8c0402850a25db34ad25d86e6d82e699':
  AI 148759: Add download page for NDK 1.5 r1.
2009-05-12 18:50:55 -07:00
Dirk Dougherty
63fbf39dba am c214de5: AI 148752: Fix description of breakText() param.
Merge commit 'c214de5897da8d81378553e25a855c18372d1d29' into donut

* commit 'c214de5897da8d81378553e25a855c18372d1d29':
  AI 148752: Fix description of breakText() param.
2009-05-12 18:50:54 -07:00
Dirk Dougherty
33a31b314f AI 148752: Fix description of breakText() param.
BUG=1790234

Automated import of CL 148752
2009-05-12 18:47:45 -07:00
Android (Google) Code Review
6347c322b3 Merge change 1436 into donut
* changes:
  Density Compatibility mode for SurfaceView * use fixed size when requested. Otherwise, give the original size instead of scaled down size. * scale back the motion event to original size when surface view is using the orignal size.
2009-05-12 18:17:53 -07:00
Mitsuru Oshima
001a6e5244 Density Compatibility mode for SurfaceView
* use fixed size when requested. Otherwise, give the original size instead of scaled down size.
* scale back the motion event to original size when surface view is using the orignal size.
2009-05-12 18:08:20 -07: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
Android (Google) Code Review
807f23b2d8 Merge change 1057 into donut
* changes:
  * Add regoin scaling for transparent support
2009-05-12 15:45:25 -07:00
Romain Guy
2bb3ea162a Fix native core runtime. A messy declaration was causing a problem at boot time. 2009-05-12 15:43:26 -07:00
Mitsuru Oshima
b10f138e12 * Add regoin scaling for transparent support 2009-05-12 15:40:07 -07:00