| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
TrafficStats is the SDK version of NetStat.
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
documentation.
Merge commit 'd59fb6e7435b57d83662b196f5430e6f2bc5427b' into eclair-mr2
* commit 'd59fb6e7435b57d83662b196f5430e6f2bc5427b':
Updating list of standard Intents in android.content.Intent
|
| |
| |
| |
| | |
documentation.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '1067c3cbab73a4bc75a2ebd2e3c51077db96fa24' into eclair-mr2
* commit '1067c3cbab73a4bc75a2ebd2e3c51077db96fa24':
remove an old STOPSHIP comment
|
| |\
| | |
| | |
| | |
| | | |
* changes:
remove an old STOPSHIP comment
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
Merge commit '0ce8431c15078e095a22a123dbabcd91049a9652' into eclair-mr2
* commit '0ce8431c15078e095a22a123dbabcd91049a9652':
don't reschedule syncs that failed with a tooManyRetries error
|
| |\ \
| | |/
| | |
| | |
| | | |
* changes:
don't reschedule syncs that failed with a tooManyRetries error
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
what on screen caused the intent to be sent.
Merge commit 'c7a63eea8d3d346addaaf892b5bbe0aa80651640' into eclair-mr2
* commit 'c7a63eea8d3d346addaaf892b5bbe0aa80651640':
Add a new field to Intent that allows you to give a hint about what on screen caused the intent to
|
| | |
| | |
| | |
| | |
| | |
| | | |
screen caused the intent to
be sent.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
Merge commit '5886050fad97923c33cbc831fe07a5b1746b2b58' into eclair-mr2
* commit '5886050fad97923c33cbc831fe07a5b1746b2b58':
Fix issue #2296457: PackageManager.addPackageToPreferred needs to a no-op
|
| |/
| |
| |
| | |
Change-Id: I0d8f75938226e1bb49cf7b1154445631b0bb0bc9
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '8e1985d4f28bfa9bea7db05f324759991d4e59e9' into eclair-mr2
* commit '8e1985d4f28bfa9bea7db05f324759991d4e59e9':
Fix issue #2286419: maxSdkVersion causes existing apps to disappear.
|
| |
| |
| |
| | |
Change-Id: Ie552036f4ea673e0ce9981ff1cbd1fbe08678510
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '524812fbf583db5053ff56f7a146fa8fe9296742' into eclair-mr2
* commit '524812fbf583db5053ff56f7a146fa8fe9296742':
More on issue #2271640: Fix wallpaper etc docs
|
| |
| |
| |
| |
| |
| | |
Publish the features developers may be interested in.
Change-Id: I7d40ad9a9f4b9770e2f8dd1b0a729b0d322c062e
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '1d62ea9d8c2646d198b6967e2c6ae3dad5c18f9e' into eclair-mr2
* commit '1d62ea9d8c2646d198b6967e2c6ae3dad5c18f9e':
Fix issue #2249821: Unable to start passion in safe mode
|
| |
| |
| |
| |
| |
| |
| |
| | |
Holding down the trackball now works.
Also fix a little API check warning from Intent.
Change-Id: Icb1f901535cb521917bf7f847a93c4ff7861d20e
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '60d7db4c3e3d60060e7ac021445ea1f510b7a1fb' into eclair-mr2
* commit '60d7db4c3e3d60060e7ac021445ea1f510b7a1fb':
Fix #2262593: 42 ANR reports from android.process.acore
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There was a lock in AssetManager that purported to be per-instance (mSync)
but was actually static. A lot of code used it like it was per-instance,
but this would actually block all instances. This is now changed to fix
the name and make everything except the actual static data lock on the
specific AssetManager instance.
Change-Id: Ie8e9ad60f962184e76b2301f7a2790d0c2487063
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '1aa9f3cac31a7c2b50fcb3c9259cead8d638ae54' into eclair-mr2
* commit '1aa9f3cac31a7c2b50fcb3c9259cead8d638ae54':
Fix issue 2242614: Wired headset not recognized: bogus "state" in ACTION_HEADSET_PLUG broadcast.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ACTION_HEADSET_PLUG broadcast.
The headset state indicated by HeadsetObserver in the broadcast intent ACTION_HEADSET_PLUG was not 0 or 1 as specified in the java doc but contained a bit field indicating the type of headset connected.
Modified HeadsetObserver to broacast a state conforming to java doc.
Added an extra to intent ACTION_HEADSET_PLUG to indicate if headset has a microphone or not.
Removed handling of non standard headset indications from HeadsetObserver.
Removed platform specific devices from output devices defined in AudioSystem.
Modified AudioService to use new ACTION_HEADSET_PLUG intent extra instead of bitfield in state.
|
| |
| |
| |
| | |
Un-hide the DropBoxManager interface, and update the public API accordingly.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '360d710ebccc2a2b53bf6233e722d3287d585476' into eclair-mr2
* commit '360d710ebccc2a2b53bf6233e722d3287d585476':
Fix issue #2256270: Package manager sends bad broadcasts when components change
|
| |
| |
| |
| |
| |
| |
| | |
Also reworks this intent protocol a little bit to be much more efficient, only
requiring one broadcast per package.
Change-Id: I580de4843ebd3c7f2e6df7295a2f80d2937cef7c
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '532d56034532809da7691059742371c1b4d0656c' into eclair-mr2
* commit '532d56034532809da7691059742371c1b4d0656c':
Fix issue #2256032: Change CONFIGURATION_CHANGED and add a locale changed broadcast
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
broadcast
You can no longer receive CONFIGURATION_CHANGED in a manifest, which is really really
bad (launching apps every time the screen is rotated!). A new LOCALE_CHANGED broadcast
is sent that you can receive in a manifest.
Change-Id: I80022375f0716db2e672382a29db3cea1af74702
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '2ade6421f2d6dd615b559c951deace7143958b90' into eclair-mr2
* commit '2ade6421f2d6dd615b559c951deace7143958b90':
Debugging for issue #2250075: Desk dock clock app sometimes doesn't
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds a history of the last 100 broadcasts that is printed in the
debug log, to be able to see what recently happened at the time the
bug report was taken. Also does some optimization of the printing of
the broadcast records to make it feasible to print this number of
entries. (We kind-of need to do this because there are some broadcasts
like SIG_STR and SYNC_STATE_CHANGED that are being broadcast a LOT.)
Change-Id: I775e1ec0f63369c8bca8c83cee27b95ddc5ec450
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '4cb6fc7ed2e4371b7ea4d053064fbeb3f86cfc20' into eclair-mr2
* commit '4cb6fc7ed2e4371b7ea4d053064fbeb3f86cfc20':
don't request a sync when temp providers are created
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
type to change without first uninstalling the previous service for that
type, unless the newly installed service is in the system image.
Notify the listener when a service is added or removed.
Make the AccountManagerService remove the accounts for an authenticator
when the registered authenticator changes from one uid to another.
Make the AbstractSyncableContentProvider force a sync when the database is first created.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'b6a6791f381691d4a58fe6972eb9f0b65308ac1f' into eclair-mr2
* commit 'b6a6791f381691d4a58fe6972eb9f0b65308ac1f':
Fix issue #2226370: Resource versions match with equality
|
| |
| |
| |
| |
| |
| | |
Also fixed turned-around increment of version number for resources. :(
Change-Id: I604137272da984bcd69cee4f174e6b7f2c786e46
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '824838d74eb0316f6987a1d98d2d9e9fa8d4e15b' into eclair-mr2
* commit '824838d74eb0316f6987a1d98d2d9e9fa8d4e15b':
Avoid NPE when callers send null selection args.
|
| |
| |
| |
| | |
Fixes http://b/2226007
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'b5c05516ba2c341655d54f17bdd17a5ab2d173df' into eclair-mr2
* commit 'b5c05516ba2c341655d54f17bdd17a5ab2d173df':
Copy the selection args when creating a CPO since callers often reuse the passed in array.
|
| |\
| | |
| | |
| | |
| | | |
* changes:
Copy the selection args when creating a CPO since callers often reuse the passed in array.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
passed in array.
Bug: 2221947
Change-Id: I3b7d5cbef61777d76ca7fc0d7c91c44553e609a9
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
Merge commit '22dad5928d1d1f2c791616d9d6ab3a3172cec62e' into eclair-mr2
* commit '22dad5928d1d1f2c791616d9d6ab3a3172cec62e':
When upgrading packages with shared user ids make sure we are eliminating
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
the package about to be deleted or upgraded when updating permissions associated
with the shared user. Include a simple null check when retrieving the permission.
Fix PackageParser to avoid ArrayIndexOutOfBounds exceptions in several places
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
Merge commit '5e5eb393729630800079206498f283de8f02f3a7' into eclair-mr2
* commit '5e5eb393729630800079206498f283de8f02f3a7':
don't throw an exception when we can't find a pending sync operation in the database
|
| |/
| |
| |
| | |
database
|
| |
| |
| |
| |
| |
| |
| |
| | |
interface (android.os.DropBox); move the Binder interface
behind the scenes. Make DropBoxEntry into DropBox.Entry.
Make it possible to get a dropbox from an (Application)Context
with the usual getSystemService(DROPBOX_SERVICE) type thing.
Update the tests accordingly.
|
| |
| |
| |
| | |
This is used (temporarily) by the new calendar sync implementation.
|