81 Commits

Author SHA1 Message Date
Nick Pelly
bd022f423a Bluetooth: API change.
Split BluetoothDevice into BluetoothDevice and BluetoothAdapter.

BluetoothAdapter: Represents the local BT adapter. Operations on the local
                  adapter (start a scan, etc).
BluetoothDevice: Represents a remote BT device. Operations on remote devices
                 (pair, connect, etc).

IBluetoothDevice.aidl -> Bluetooth.aidl
BluetoothDeviceService.java -> BluetoothDeviceService.java

TODO:
Javadoc
2009-08-18 08:24:22 -07:00
Dianne Hackborn
4c62fc0e1e Very primitive wallpapers in a surface.
This is all of the basic pieces:

- The WallpaperService now creates a surface with the window manager for its
  contents.
- There is a simple service that displays a bitmap.
- The wallpaper manager takes care of starting and stopping the service.
- The window manager knows about wallpaper windows and how to layer them with
  the windows that want to be shown on top of wallpaper.

Lots and lots of issues remain, but at this point you can actually write a
wallpaper service, select it in the UI, and see it behind an activity.
2009-08-08 22:13:46 -07:00
Dirk Dougherty
5e72709d38 resolved conflicts for merge of f11d7d55 to master 2009-08-06 01:14:04 -07:00
Dirk Dougherty
f11d7d559a Add support for preview SDK handling in doc templates. Add preview SDK docs.
Bug: 2031559
2009-08-06 00:14:25 -07:00
Dianne Hackborn
8cc6a5026a First bit of wallpaper work.
This is mostly refactoring, adding a new WallpaperManager class that takes care
of the old wallpaper APIs on Context, so we don't need to pollute Context with
various new wallpaper APIs as they are needed.  Also adds the first little
definition of a wallpaper service, which is not yet used or useful.
2009-08-05 21:29:42 -07:00
Android (Google) Code Review
fcc638dbba am 7a3e39ca: Merge change 9378 into donut
Merge commit '7a3e39cac812b6ec63fade9613bb0c1f04156fa0'

* commit '7a3e39cac812b6ec63fade9613bb0c1f04156fa0':
  add "since" info for reference docs
2009-08-03 12:01:55 -07:00
Scott Main
6dceb76b3e add "since" info for reference docs 2009-07-31 16:47:19 -07:00
Jiafa Liu
3f41673265 frameworks/base: Add PBAP support
- Update according to comments
- Add aidl support in frameworks for Settings to retrieve current
  PBAP transaction status.
- Add status bar support for PBAP
2009-07-26 22:54:35 -07:00
Android (Google) Code Review
d5ec6ebee2 am 11b6a29d: Merge change 8564 into donut
Merge commit '11b6a29dfe380c97fa3df67a6b97ff3383592b58'

* commit '11b6a29dfe380c97fa3df67a6b97ff3383592b58':
  AI 150594: change the homepage markup and styles to allow variable height in
  AI 150587: add a sitemap for translated docs, for submission to Webmaster Tools,
  AI 150541: roll the docs forward to 1.5 r3
  AI 150538: add note that appwidget updates will wake the device and suggest an alarm
  AI 150536: Change the formatting of sdk redirect pages so that they are not language-specific.
  AI 150535: add the Videos page to the site
2009-07-26 21:47:27 -07:00
Android (Google) Code Review
96616bb59f am eec841f0: Merge change 8560 into donut
Merge commit 'eec841f0505c3aeb5b18e53f48b755ff69b78c15'

* commit 'eec841f0505c3aeb5b18e53f48b755ff69b78c15':
  AI 150460: Add  missing art files for menu_guidelines doc.
  AI 150397: turn off the right arrow in the carousel -- we only have 3 items.
  AI 150390: Roll the docs back to 1.5 r2, temporarily.
  AI 150381: Add localized content (ja2) to developer site.
  AI 150380: Add localized content (ja) for developer site.
  AI 150369: Add localized TOCs for developer site.
  AI 150351: Doc updates for Android 1.5 SDK r3.
2009-07-26 21:47:08 -07:00
Dirk Dougherty
76e95bbea6 Merge doc change from cupcake: commit 'a8d035ccf319e1aed685a1e1509681350f737fd1' into manualmerge 2009-07-24 15:35:09 -07:00
Dirk Dougherty
2bfd344b67 Merge doc changes from cupcake: commit '5ae517d9659e96e9525406ffbce18dcacc3294bc' into manualmerge 2009-07-24 14:39:03 -07:00
Joe Onorato
ccfca2ee9e Add a separate version of the docs build that only does the stubs.
That way we don't have to wait for clearsilver to write the thousands
of html files during every build.

(this is the frameworks/base change, there is also a build change)
2009-07-20 11:57:12 -04:00
Dirk Dougherty
4b508759dc AI 150541: roll the docs forward to 1.5 r3
BUG=1790234

Automated import of CL 150541
2009-07-16 08:51:33 -07:00
Dianne Hackborn
dace230043 resolved conflicts for merge of b06ea706 to master 2009-07-14 12:51:00 -07:00
Dianne Hackborn
b06ea70653 Add reporting of activity movement for search manager.
This adds a new API with the activity manager to find out about movement between
activities.  For my sanity, the old IActivityWatcher is now renamed to
IActivityController, and the new activity movement interface is named
IActivityWatcher.

This changes the search manager itself to use the new API to manage its state.
Note that there are still problems when going back to the search dialog after
it was hidden -- the suggestions window no longer appears until you explicitly
dismiss and re-show it.
2009-07-14 11:37:11 -07:00
Dirk Dougherty
ab41ea3d24 AI 150390: Roll the docs back to 1.5 r2, temporarily.
BUG=1790234

Automated import of CL 150390
2009-07-08 14:41:49 -07:00
Dirk Dougherty
13d30dc375 AI 150369: Add localized TOCs for developer site.
BUG=1910893

Automated import of CL 150369
2009-07-07 17:37:13 -07:00
Dirk Dougherty
151dfac555 AI 150351: Doc updates for Android 1.5 SDK r3.
BUG=1790234

Automated import of CL 150351
2009-07-07 11:18:52 -07:00
Christopher Tate
0d8dc14256 am 7d562ec3: Add a new IRestoreObserver callback class to the restore process
Merge commit '7d562ec393d54dd9ef387c49d1283243bfdbd2b1'

* commit '7d562ec393d54dd9ef387c49d1283243bfdbd2b1':
  Add a new IRestoreObserver callback class to the restore process
2009-06-25 18:13:19 -07:00
Christopher Tate
7d562ec393 Add a new IRestoreObserver callback class to the restore process
The observer is told when restore begins how many packages are being restored.
It then gets an onUpdate() call telling it that the Nth package is now
undergoing restore.  Ultimately, its restoreFinished() callback is invoked,
passing a simple success/fail error code, to let it know that the restore
operation has concluded.
2009-06-25 18:09:28 -07:00
Suchi Amalapurapu
e1fae30e20 Merge commit '0781df94' into manualmerge
Conflicts:
	Android.mk
	api/current.xml
2009-06-17 18:24:44 -07:00
Suchi Amalapurapu
1ccac75e1f Remove circular dependency in PackageManager. api freeStorage uses PendingIntent from android.app
Create a new public IntentSender class that can be used by PackageManager instead.
This new class uses IIntentSender internally and can only be created by PendingIntent for now.
Provide a new getIntentSender api in PendingIntent to create an instance of this class.
Move IIntentSender and IIntentReceiver from android.app to android.content
Change imports of IIntentSender and IIntentReceiver to reflect the new package name
The PackageManager api has been named as freeStorageWithIntent and will be renamed as freeStorage
once the older api(which has been deprecated) will be removed shortly.
2009-06-17 11:31:26 -07:00
Android (Google) Code Review
a28547d03f am 0fb46683: Merge change 3880 into donut
Merge commit '0fb466836bb654524683152371ecc32142cdf5de'

* commit '0fb466836bb654524683152371ecc32142cdf5de':
  Run search dialog in the system process.
2009-06-15 02:09:25 -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
e69ec574e6 am 732912a1: Merge change 3730 into donut
Merge commit '732912a103e985520dba9c022a40bc21b4c4ced5'

* commit '732912a103e985520dba9c022a40bc21b4c4ced5':
  Restructuring the TTS files so that it works as a Service
2009-06-10 16:31:23 -07:00
Charles Chen
f85aa5a4d4 Restructuring the TTS files so that it works as a Service 2009-06-10 13:31:09 -07:00
Jaikumar Ganesh
d5ac1ae36b Framework changes for bluez4.
Changes in the Bluetooth JNI calls and framework functions
for Bluez4.
2009-06-09 17:21:08 -07:00
Raphael
dc3c0627d5 am d8b51a2b: Fix broken makefile. Again. His twin brother was hiding.
Merge commit 'd8b51a2ba8ee82be81414c0e80158e82b2c361d9'

* commit 'd8b51a2ba8ee82be81414c0e80158e82b2c361d9':
  Fix broken makefile. Again. His twin brother was hiding.
2009-06-08 22:10:01 -07:00
Raphael
d8b51a2ba8 Fix broken makefile. Again. His twin brother was hiding. 2009-06-08 22:06:02 -07:00
Raphael
7989971197 am 9207b1e7: Fix the broken makefile.
Merge commit '9207b1e7c8ad4bbef3530d2b047bf6587f2988c4'

* commit '9207b1e7c8ad4bbef3530d2b047bf6587f2988c4':
  Fix the broken makefile.
2009-06-08 22:03:42 -07:00
Raphael
9207b1e7c8 Fix the broken makefile. 2009-06-08 21:58:06 -07:00
Hung-ying Tyan
d0e9ae0a3e am 55567efc: First-time check-in of the VPN APIs.
Merge commit '55567efca99de7242b118cf7bf13cc773b01941c'

* commit '55567efca99de7242b118cf7bf13cc773b01941c':
  First-time check-in of the VPN APIs.
2009-06-08 20:44:23 -07:00
Hung-ying Tyan
55567efca9 First-time check-in of the VPN APIs.
Patch Set 2:
- Fixed style issues raised by cywang.
Patch Set 3:
- Hide everything
- Make VpnProfile parcelable
Patch Set 4:
- Add license notice
2009-06-09 11:28:38 +08:00
Christopher Tate
bd235f10a9 am 8c850b79: Add IRestoreSession interface for the restore flow
Merge commit '8c850b792f2d371fd8a4aff146d9d757ee982539'

* commit '8c850b792f2d371fd8a4aff146d9d757ee982539':
  Add IRestoreSession interface for the restore flow
2009-06-07 21:04:39 -07:00
Christopher Tate
8c850b792f Add IRestoreSession interface for the restore flow
Restore is a fairly complicated, somewhat stateful process, so we introduce
a new interface to encapsulate the various bits and pieces into a nicely
separable component.  In particular, this will make it much cleaner to
open and interrogate an expensive-to-construct transport and then reuse it
for the actual restore process itself.
2009-06-07 19:33:20 -07:00
Christopher Tate
ad6042aa23 am 181fafaf: Retool the backup process to use a new \'BackupAgent\' class
Merge commit '181fafaf48208978b8ba2022683ffa78aaeddde1'

* commit '181fafaf48208978b8ba2022683ffa78aaeddde1':
  Retool the backup process to use a new 'BackupAgent' class
2009-05-31 19:44:35 -07:00
Christopher Tate
181fafaf48 Retool the backup process to use a new 'BackupAgent' class
Backups will be handled by launching the application in a special
mode under which no activities or services will be started, only
the BackupAgent subclass named in the app's android:backupAgent
manifest property.  This takes the place of the BackupService class
used earlier during development.

In the cases of *full* backup or restore, an application that does
not supply its own BackupAgent will be launched in a restricted
manner; in particular, it will be using the default Application
class rather than any manifest-declared one.  This ensures that the
app is not running any code that may try to manipulate its data
while the backup system reads/writes its data set.
2009-05-31 13:10:03 -07:00
Dirk Dougherty
22075a3b74 am 5b6a5cee: am 3f9de8b6: AI 149211: Doc updates for Android 1.5 SDK, r2. BUG=1790234
Merge commit '5b6a5cee4c48fd2ffc35f07ebe9f24eb53086b9a'

* commit '5b6a5cee4c48fd2ffc35f07ebe9f24eb53086b9a':
  AI 149211: Doc updates for Android 1.5 SDK, r2.
2009-05-22 16:08:05 -07:00
Dirk Dougherty
5b6a5cee4c am 3f9de8b6: AI 149211: Doc updates for Android 1.5 SDK, r2. BUG=1790234
Merge commit '3f9de8b6caa3fe9119b363c64e79d13bb72aec76' into donut

* commit '3f9de8b6caa3fe9119b363c64e79d13bb72aec76':
  AI 149211: Doc updates for Android 1.5 SDK, r2.
2009-05-22 16:05:59 -07:00
Dirk Dougherty
3f9de8b6ca AI 149211: Doc updates for Android 1.5 SDK, r2.
BUG=1790234

Automated import of CL 149211
2009-05-22 16:04:18 -07:00
Android (Google) Code Review
2ee6c4c3ab am 17af14d8: Merge change 2289 into donut
Merge commit '17af14d8133f99b5e886d830e92e38ba1da7cc2d'

* commit '17af14d8133f99b5e886d830e92e38ba1da7cc2d':
  Add AIDL files for the TTS service and the associated callback service (to signal synthesis completion).
2009-05-22 16:01:24 -07:00
Jean-Michel Trivi
2c0c2af2ea Add AIDL files for the TTS service and the associated callback service (to signal synthesis completion). 2009-05-22 11:45:26 -07:00
Android (Google) Code Review
9b1e1400df am 8c690ea9: Merge change 2182 into donut
Merge commit '8c690ea9976d644db3c96eddbbbd2d50eac56913'

* commit '8c690ea9976d644db3c96eddbbbd2d50eac56913':
  location: Replace ILocationCollector interface with new ILocationProvider method
2009-05-21 09:42:38 -07:00
Mike Lockwood
fd6e5f0dda location: Replace ILocationCollector interface with new ILocationProvider method
This change replaces ILocationCollector with a more general mechanism that
passes locations received from a provider to all other providers.
The network location provider now uses this to implement the location collector.
In the future, this could be used to inject network locations to the GPS
as aiding data.

This change also removes the now obsolete permission INSTALL_LOCATION_COLLECTOR.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-05-21 11:28:20 -04: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
Dianne Hackborn
7a13559501 merged 231cc608d06ffc31c24bf8aa8c8275bdd2636581 2009-05-06 00:28:37 -07:00
Dianne Hackborn
231cc608d0 Rewrite SyncStorageEngine to use flat files and in-memory data structures.
The previous implementation used a database for storing all of its state, which could cause
a significant amount of IO activity as its tables were updated through the stages of a sync.
This new implementation replaces that in-memory data structures, with hand-written code
for writing them to persistent storage.

There are now 4 files associated with this class, holding various pieces of its state that
should be consistent.  These are everything from a main XML file of account information that
must always be retained, to a binary file of per-day statistics that can be thrown away at
any time.  Writes of these files as scheduled at various times based on their importance of
the frequency at which they change.

Because the database no longer exists, there needs to be a new explicit interface for
interacting with the sync manager database.  This is provided by new APIs on IContentService,
with a hidden method on ContentResolver to retrieve the IContentService so that various
system entities can use it.  Other changes in other projects are required to update to the
new API.

The goal here is to have as little an impact on the code and functionality outside of
SyncStorageEngine, though due to the necessary change in API it is still somewhat extensive.
2009-05-05 15:40:53 -07:00
Android (Google) Code Review
0477090ca3 am 7db4860: Merge change 845 into donut
Merge commit '7db486058cf4fce4be04e13d1ec6b7cf404d3e38'

* commit '7db486058cf4fce4be04e13d1ec6b7cf404d3e38':
  Config: Add ConfigBuildFlags, and change it based on TARGET_BUILD_TYPE
2009-05-01 23:25:28 -07:00