Commit Graph

1993 Commits

Author SHA1 Message Date
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
d282ac8610 Findbugs fixes. 2009-05-14 13:18:16 -07:00
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
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
fafb16c5ae Fix typo 2009-05-14 12:57:52 -07:00
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
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
d4103d0d14 Fix the build 2009-05-14 12:24:21 -07:00
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
d47d81a4de Merge change 1622 into donut
* changes:
  Fix typos.
2009-05-14 11:12:54 -07:00
8f9ff7e77f remove isClick parameter in browser touch event handler
isClick is always set to true by the callers, so remove
it and simplify the code
(http://b/issue?id=1666780; see also change in external/webkit)
2009-05-14 10:14:23 -04:00
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
ec2d74d40f Merge change 1545 into donut
* changes:
  Add Intent.ACTION_APP_ERROR
2009-05-14 03:26:16 -07:00
f0885c7794 am b910811: am 5d6d773: AI 148824: Fix issue #1851541 (sharedUserId requ
Merge commit 'b91081113692acc87ae67f235956ae1cecab68cc'

* commit 'b91081113692acc87ae67f235956ae1cecab68cc':
  AI 148824: Fix issue #1851541 (sharedUserId requests not being checked for matching signatures on .apk).
2009-05-13 18:15:19 -07:00
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
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
60b88edea7 Fix typos. 2009-05-13 17:51:37 -07:00
560d210225 am c4cdc7d: Merge change 1611 into donut
Merge commit 'c4cdc7d8a1a42f0ce6e28c39f70cfceeee29a781'

* commit 'c4cdc7d8a1a42f0ce6e28c39f70cfceeee29a781':
  Replace the search dialog images so that they correctly center
2009-05-13 17:43:49 -07:00
a3c36cceed am 2b52b3e: Merge change 1610 into donut
Merge commit '2b52b3ed46c50befcc1111ad0f4afe294a878b22'

* commit '2b52b3ed46c50befcc1111ad0f4afe294a878b22':
  Revert dividers back to their original translucent versions but add new opaque dividers to improve the speed of lists.
2009-05-13 17:43:49 -07:00
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
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
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
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
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
a49bff4e9e am 3a5ce8a: am 04c72b4: AI 148812: revise the AppWidget developer guide
Merge commit '3a5ce8a92965db6d6f59517aef3d7bc02ce117ed'

* commit '3a5ce8a92965db6d6f59517aef3d7bc02ce117ed':
  AI 148812: revise the AppWidget developer guide documentation
2009-05-13 16:51:34 -07:00
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
04c72b47d8 AI 148812: revise the AppWidget developer guide documentation
BUG=1827433

Automated import of CL 148812
2009-05-13 16:48:13 -07:00
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
df867abc2c am 55d7bd3: am 4ce6430: AI 148803: Update 1.xml and 2.xml for methods th
Merge commit '55d7bd33e3621c0b870d8d84daeb4bf7a8279568'

* commit '55d7bd33e3621c0b870d8d84daeb4bf7a8279568':
  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:32 -07:00
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
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
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
5369ad6f5e am 541ff5d: Merge change 1566 into donut
Merge commit '541ff5df00984580e0245b3ae2c89b93e76b7c08'

* commit '541ff5df00984580e0245b3ae2c89b93e76b7c08':
  Fix issue #1838944: Application sync settings cant be changed with auto sync on
2009-05-13 15:26:55 -07:00
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
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
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
d032b40292 am 6063a9c: Merge change 1491 into donut
Merge commit '6063a9c9ee91a647680653a4520dfcad83985592'

* commit '6063a9c9ee91a647680653a4520dfcad83985592':
  Make pressing the search button within an app that does not support
2009-05-13 14:29:12 -07:00
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
dbcb3bab20 am a0f87f6: Merge change 1565 into donut
Merge commit 'a0f87f680cb1dc2a163f89118ffdf38f4c964628'

* commit 'a0f87f680cb1dc2a163f89118ffdf38f4c964628':
  Enable filtering <select> lists.
2009-05-13 13:25:45 -07:00
a0f87f680c Merge change 1565 into donut
* changes:
  Enable filtering <select> lists.
2009-05-13 13:25:16 -07:00
a19fd7a0d6 Merge change 1466
* changes:
  define Intent.ACTION_REMOTE_INTENT, which replaces the old GTalk data messaging intent "android.intent.action.GTALK_DATA_MESSAGE_RECEIVED".
2009-05-13 13:23:45 -07:00
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
271cee6de8 Fix issue #1838944: Application sync settings cant be changed with auto sync on 2009-05-13 13:18:22 -07:00
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
a086a973dd am e7fe35b: Whoops fix installing. I am dumb.
Merge commit 'e7fe35b88aa77766d322b8a683995a2bdae6210d'

* commit 'e7fe35b88aa77766d322b8a683995a2bdae6210d':
  Whoops fix installing.  I am dumb.
2009-05-13 12:52:03 -07:00
77d8419021 am a2a34a5: Merge change 1528 into donut
Merge commit 'a2a34a5711bde03475b40edfe3cc052ece02700a'

* commit 'a2a34a5711bde03475b40edfe3cc052ece02700a':
  should help fix the Simulator build.
2009-05-13 12:52:03 -07:00
6a8d5332f0 content provider entities 2009-05-13 12:49:04 -07:00
e7fe35b88a Whoops fix installing. I am dumb. 2009-05-13 10:54:52 -07:00
7dfc85f119 rebuild api file 2009-05-13 10:28:17 -07:00
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