| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
classes. It seems because the build erroneously says to run make update-api, people are updating the API every time they add a new method or class. I am reverting current.xml to stock Android, because we should NOT be extending the public API that Android provides. Extending the public API and adding new internal classes are different things. Regardless, people are NOT using the CM SDK, so no is using these new "APIs" anyways. This will cause build breaks in the new Jenkins setup (hell, it was broken already, which is why I discovered this). We need to fix this.
Change-Id: Ie18bcb883cd16debbd00d31e9ea5597a3817c523
|
|
|
|
|
|
| |
from CyanogenDefy team
Change-Id: I39b7d3f95495e9e8ecb48533478e24bd2f660da9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
git://android.git.kernel.org/platform/frameworks/base into upstream-2.3.5
Conflicts:
core/java/android/content/pm/IPackageManager.aidl
core/java/android/server/BluetoothService.java
packages/SystemUI/src/com/android/systemui/statusbar/StatusBarPolicy.java
services/java/com/android/server/PackageManagerService.java
telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
wifi/java/android/net/wifi/WifiStateTracker.java
Change-Id: I254bd490297376ae8070fffcb07d4fe15afe3a8d
|
|
|
|
| |
Change-Id: Ia966b1346ecc654fcb23331adce70db0c4f93276
|
|
|
|
|
|
| |
..and updating current.xml
Change-Id: Ie646ce553a3d37d2fa5d67084a568cf5394cd0a4
|
|
|
|
| |
Change-Id: I73ad5433b1357eb12300d1470fa22c432b468341
|
|
|
|
|
|
|
| |
Removed all of the configuration stuff. That should be limited to the Settings app only. Just
left enough exposed to enumerate and switch profiles - stuff that should be in the public API.
Change-Id: I1f3918ccb99a883c7254a4ae83d8aa3cc7792f1c
|
|
|
|
| |
Change-Id: If36b0fc0831193d8cb6b758482e933a15c99dffb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds finer-grained support for notification tones, and groups settings into profiles,
which can be easily switched. API support is also added, allowing configuration, and profile
switching from another program (e.g. Tasker, Locale).
A profile represents a particular set of settings, and could be for example "Silent",
"Office", or "Night". Each profile contains the settings for a definable set of application
groups.
An application group represents a group of applications to which the settings should apply.
For example "SMS" might contain "Messaging" and "Handcent".
The applications in an application group are globally defined. The notification settings for
an application group are per-profile.
For each profile/application group you can define behaviour for lights/vibrate and sound.
Either you can suppress, override, or leave unchanged (ie system, or app default).
Example:
Work : SMS vibrate. Ringer vibrate. Email no alert. Gmail vibrate.
Night: SMS silent. Ringer on. Email silent. Gmail silent.
There is still a lot of work to be done here. A lot of code tidy up, javadocs, standards etc.
Might be suitable for nightlies.
This has been on dumb Nokias for years, I'm surprised a single smartphone doesn't have it yet.
Change-Id: I9662651dd597392dfe915f8cd81d66064f00bb76
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
git://android.git.kernel.org/platform/frameworks/base into 233-merge
Conflicts:
api/current.xml
core/java/android/content/pm/PackageParser.java
core/java/android/net/ConnectivityManager.java
core/java/android/widget/TextView.java
core/java/com/android/internal/os/BatteryStatsImpl.java
core/res/res/drawable-mdpi/btn_check_off.png
core/res/res/drawable-mdpi/btn_check_off_disable.png
core/res/res/drawable-mdpi/btn_check_off_disable_focused.png
core/res/res/drawable-mdpi/btn_check_off_pressed.png
core/res/res/drawable-mdpi/btn_check_off_selected.png
core/res/res/drawable-mdpi/btn_check_on.png
core/res/res/drawable-mdpi/btn_check_on_disable.png
core/res/res/drawable-mdpi/btn_check_on_disable_focused.png
core/res/res/drawable-mdpi/btn_check_on_pressed.png
core/res/res/drawable-mdpi/btn_check_on_selected.png
core/res/res/values-ca/strings.xml
core/res/res/values-de/strings.xml
core/res/res/values/config.xml
include/media/AudioSystem.h
include/media/mediarecorder.h
media/java/android/media/MediaRecorder.java
media/libmedia/AudioSystem.cpp
media/libstagefright/StagefrightMediaScanner.cpp
media/libstagefright/rtsp/ARTSPConnection.cpp
media/libstagefright/rtsp/ASessionDescription.cpp
media/libstagefright/rtsp/MyHandler.h
policy/src/com/android/internal/policy/impl/KeyguardUpdateMonitor.java
policy/src/com/android/internal/policy/impl/LockScreen.java
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
policy/src/com/android/internal/policy/impl/RecentApplicationsDialog.java
services/audioflinger/AudioPolicyManagerBase.cpp
services/java/com/android/server/PackageManagerService.java
services/java/com/android/server/am/ActivityManagerService.java
test-runner/src/android/test/mock/MockPackageManager.java
voip/java/android/net/sip/SipProfile.java
voip/java/com/android/server/sip/SipService.java
wifi/java/android/net/wifi/WifiStateTracker.java
Change-Id: Ia65d02a66c6206b5f4ed95c3a64e3f28a03e7329
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is it. I promise.
ACTION_TECHNOLOGY_DISCOVERED -> ACTION_TECH_DISCOVERED
This was missed in our technology->tech rename.
Hide TagTechnology.reconnect()
This is used to reset any per-connection state in a tag, by reconnecting
to it. The first problem is that it belongs on Tag, not TagTechnology. The
second problem is that it may become redundant once we add Tag.rediscover()
which will also reconnect to the tag, and will also return a new Tag with
newly created technologies enumerated. And the third and most significant
problem is that you can already achieve the same result by just calling
close() followed by connect().
Hide Tag.createMockTag()
This API cannot be used reliably. First it requires using int[] for the
technology list, but those int constants are now hidden. Second it requires
knowledge of the extras parcel used to fill technology specific data - also
not public.
Introduce TagTechnology.isConnected()
Every child class already impelmented this, and given that connect() and
close() are defined on the interface, then isConnected() should be there
too.
Modify Ndef.getType to return a string (not int)
Allows more flexibility in adding new NDEF types. Current public strings are
org.nfcforum.ndef.type1
org.nfcforum.ndef.type2
org.nfcforum.ndef.type3
org.nfcforum.ndef.type4
com.nxp.ndef.mifareclassic
Add NdefFormatable.formatReadOnly()
This allows you to make the tag read-only at the same time as performing
format and write. It is important because we currently don't have any
public API to re-enumerate a tag technology list after making a tag
NDEF compatible, so you can't perform the format as a seperate step
without physically removing the tag from field and returning it.
Modify Readonly -> ReadOnly
Make Tag class final
Change-Id: Icf306aeb37b936ca3007e4868e99b6baceac4aff
|
| |
| |
| |
| | |
Change-Id: I56140f79ff599c1a9d03c0f53d700df402234bf1
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
IOException on close() can be useful to indicate that in-progress transactions
were canceled.
I also audited all of our tech classes to make sure every function that needs
to throw IOException does so.
Change-Id: Iaa9c43d79d59ff85772d5c3e4b4d57a6fa8df4cf
|
| |
| |
| |
| |
| |
| |
| |
| | |
o Some javadoc updates
o writeBlock -> writePages (Block means something else in NFC Forum).
o validate page offset
Change-Id: Icae54db3397d57aaa451caaa86d56e8ba82507f2
|
| |
| |
| |
| | |
Change-Id: I9b02206042c74fd5c329fe2b70ed2b6b91d41382
|
| |
| |
| |
| |
| |
| |
| |
| | |
This makes the system more flexible and allows
adding new technology types without having to
update the API.
Change-Id: Iaee6b633965e501a70e8afc3f1d54d9d94a4d05a
|
| |
| |
| |
| | |
Change-Id: Ib35f615142bda48a5e33888a09ebae2880624788
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove method overloading for combinations of sector+block addressing.
Instead provide methods that more closly match the raw commands, and more
efficient helpers to convert between blocks and sectors.
o fix off-by-one bug in getBlockCountInSector()
o add BLOCK_SIZE
o remove DESFIRE not operating in classic emulation (SAK 0x20)
o hide isEmulated(), there is no use case, and the info is available elsewhere
o getTotalBlockCount() -> getBlockCount()
o getBlockCount(int) -> getBlockCountInSector(int)
o introduce blockToSector() and sectorToBlock()
o remove authenticateBlock()
make it really clear that authentication is per sector, and reduce function
explosion. blockToSector() allows you to use authenticateSector...
o explicit authenticateSectorWithKeyA() / authenticateSectorWithKeyB()
get rid of magic boolean
o remove all (int sector, int block) parameters
always address by absolute block. this makes the API crystal clear, and
helps reduce function explosion
o validation of all sector and block indices
o dont & 0xff when converting to byte - its redundant
o Remove TYPE_OTHER. Mifare Classic types are well-known and stable.
Change-Id: I3c9f8254ff307f31b388b3d7592c862d5de6afa5
|
| |
| |
| |
| |
| | |
Bug: 3366009
Change-Id: Ia28e03e1501421906b640b78d4c9a59a20e9c668
|
| |
| |
| |
| | |
Change-Id: Ic4b4f1b0534fd2fbd6322eae01a4cb9d5a67cc6f
|
| |
| |
| |
| |
| |
| | |
Update API for this and the previous commit.
Change-Id: I19275a5d00081bd0f00afea59a2b673344a32954
|
| |
| |
| |
| |
| |
| | |
Added a method for setting the timeout on IsoDep transactions.
Change-Id: Ie627e7a826556e46295fefe69b9be83ebf911d93
|
| |\ |
|
| | |
| | |
| | |
| | | |
Change-Id: Ibd91829979576297599fbcc9eb8054924af1d527
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The NPP is only usable by the foregorund
activity to prevent dispatching confusion
on the far end.
Change-Id: I08475a52083fd7f81b79b7fe2faf4e126121a809
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We didn't release the get/setPackageObbPath API, but it snuck into
MockPackageManager. However, it is not usable as a developer anyway.
Removing it so it doesn't stay in the API forever.
Change-Id: Ia569754691dc3a9f2672c1f25e4e08d780db6028
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 6c4d904851772313930f800ac7c323cf90c709bb.
Going with a different tactic that doesn't dump stuff on
PackageManagerService.
Bug: 3214719
Change-Id: I0bbeccf3c21d264deda4256eb53713d2c98284f4
|
| |\
| | |
| | |
| | | |
branch - do not merge." into gingerbread
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
do not merge.
o Prepare for publishing MediaMetadataRetriever as public API
step one:
o replaced captureFrame with getFrameAtTime
o removed getMode
o Replace MediaMetadataRetriever.captureFrame() with MediaMetadataRetriever.getFrameAtTime()
as part of the preparation for publishing MediaMetadataRetriever as public Java API
o Remove captureFrame from MediaMetadataRetriever.java class
It has been replaced by getFrameAtTime() method
o Replace extractAlbumArt() with getEmbeddedPicture() in MediaMetadataRetriever.java
o Publish MediaMetadataRetriever.java as public API
o Removed setMode() methods and related mode constants
o Removed some of the unused the metadata keys
o Updated the javadoc
o part of a multi-project change.
bug - 3309041
Change-Id: I2efb6e8b8d52897186b016cb4efda6862f5584c4
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This complements the secure rfcomm API.
The link key is unauthenticated and is subject to MITM attacks.
The link key may be encrypted depending on the type of Bluetooth device.
This helps apps which don't need the extra security or
have their own security layer built on top of the rfcomm link.
Bug: 3352266
Change-Id: I633fd0372e5e23288d6fec950dd1abc2896031f1
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Apps can register to override the default dispatching
but only when they're in the foreground.
Change-Id: I8e9a9254d3f79f097fb3c8c677d806043574ba4d
|
| |\ \ \
| | |_|/
| |/| | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Backport changes related to BitmapRegionDecoder from HoneyComb to
Gingerbread.
Bug: 3309014
////////////////////////////////////////////////////
This is a combination of 7 commits.
Revert "Do not merge."
This reverts commit f7681f84918c27f6a626681ce37ed2a236c44e82.
Change-Id: I46fd710600b1649773eaea2d9abc2b21a592f9a6
Fix a initialization bug in BitmapRegionDecoder.
Change-Id: I6c1151fd34970a84d4de52d664d9a5dc464892c5
Fix segfault when tring to throw IOException.
Change-Id: I530cc4409ba4ca17cec933afad077c5f60ba554f
Fix 3122139, where previewing an attachment for the second time will
fail.
Use AutoFDSeek to mark and restore the position before we read data from
the descriptor.
Change-Id: I3d4f012dce486e19b113bc90a98b94031cfa8195
Add inPreferQualityOverSpeed into BitmapFactory.Options.
The new field allows a developer to use a more accurate by
slightly slower IDCT method in JPEG decode. This in turns improves the
quality of the reconstructed image.
The field by default is not set and thus does not affect existing
applications.
Bug: 3238925
Change-Id: I93d55b7226e47a43e639325cd1a677694d6f2ee4
Unhide inPreferQualityOverSpeed in BitmapFactory.Options.
The new field allows a developer to use a more accurate by
slightly slower IDCT method in JPEG decode. This in turns improves the
quality of the reconstructed image.
The field by default is not set and thus does not affect existing
applications.
Bug: 3238925
Related changes: https://android-git.corp.google.com/g/#change,83291 and
https://android-git.corp.google.com/g/#change,83294
Change-Id: I969f5c413f9b2179454aeb90e18ae8222ee583b4
Correct the API comments.
BitmapRegionDecoder supports PNG as well.
|
| |\ \ \
| | |/ /
| |/| | |
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | | |
Add getPackageObbPaths() and setPackageObbPaths() to the public API.
Bug: 3214719
Change-Id: Icb9f2f92f8c59bb3d31317f609854e81abbd1449
|
| | |
| | |
| | |
| | | |
Change-Id: I151ee987fdae73fdf8f339dbb64f8fd27a0436b6
|
| |/
| |
| |
| |
| |
| | |
The later feels less clumsy.
Change-Id: I50f29aef23d2993dcfd25f4c4f2cb0d77bdc0610
|
| |
| |
| |
| | |
Change-Id: Ia0acd9759d67683eaf1dc199dc2cc55e16a98e77
|
| |
| |
| |
| |
| |
| | |
bug - 3305667
Change-Id: I8f137af7f87cb010f75cae1777b9ec6b6af8214f
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
reviewed for Froyo, but we didn't want to make it
public then because it wasn't until our first
Market release of Voice Search that the APIs would
be in use by our app.
http://b/3135351
Change-Id: I49053717cac08e3976c22e3a105139b6755aadb8
|
| |
| |
| |
| |
| |
| | |
New API definition for API level 10.
Change-Id: I1d78374ca5a17d568dc6f6b1ae8fb456f4d4aa88
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This gives NFC service a handle to the application context.
Deprecate NfcAdapter.getDefaultAdapter(), it does not provide a context.
Using this method will print a warning, and will later throw an exception
if a method that requires a context is called. No 2.3 API's will fail, but
new API's that do require a context might fail.
Also add helper NfcAdapter.getDefaultAdapter(Context).
Change-Id: I9a6378de4ef4b61ad922f8d53e64e2a1a1d5d60c
|
| |
| |
| |
| |
| |
| |
| |
| | |
* Add support for proprietary WiMAX implementations
* Uses reflection to avoid any coupling with open-source portions
* Enable with BOARD_USES_SQN_WIMAX
Change-Id: I3429daf979754fbda4db4a6f1e6dca29873d6475
|
| |
| |
| |
| | |
Change-Id: I5bd64d29d249979738d023aed3ce48b0889d76c5
|
| |
| |
| |
| | |
Change-Id: I11ba827e6b8d680b01a0869afa2c049501b21b71
|
| |
| |
| |
| |
| |
| |
| | |
Add support to change the frame rate modes between auto and
fixed.
Change-Id: I38577bae7dda99b0f82ee9af29f3557157e17bb6
|
| |
| |
| |
| |
| |
| | |
Based on a series of patches from CodeAurora.
Change-Id: I9e07ee81eb4c8db7de8f688e0ba90ea816b06430
|
| |
| |
| |
| | |
Change-Id: If3274739cb657d39c46d12523dde07f40132b609
|