History log of /frameworks/base/api/16.txt
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fa25bf5382467b1018bd9af7f1cb30a23d7d59f7 24-Jul-2012 Jeff Brown <jeffbrown@google.com> Add display manager skeleton.

The purpose of this change is to remove direct reliance on
SurfaceFlinger for describing the size and characteristics of
displays.

This patch also starts to make a distinction between logical displays
and physical display devices. Currently, the window manager owns
the concept of a logical display whereas the new display
manager owns the concept of a physical display device.

Change-Id: I7e0761f83f033be6c06fd1041280c21500bcabc0
/frameworks/base/api/16.txt
e6c2d62efb65fa7b4681d29ad0710df56bf9002b 26-Jun-2012 Dianne Hackborn <hackbod@google.com> am 9906e784: am 17990395: Merge "Fix issue #6717667: expanded notification actions don\'t work on the lock screen" into jb-dev

* commit '9906e784faca2cc8388a04fdc544722ea93d51be':
Fix issue #6717667: expanded notification actions don't work on the lock screen
1927ae8a56a010919a7535231fa0f7db70f7e152 23-Jun-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6717667: expanded notification actions don't work on the lock screen

FLAG_ACTIVITY_CLOSE_SYSTEM_DIALOGS was a mistake.

Instead, and the infrastructure for the status bar to take care
of closing and hiding things itself when you press these buttons,
just like it does for the main Intent of the notification.

Bug: 6717667
Change-Id: I1b22186e0cedc05f46a1a3ec78053a72afaf61b1
/frameworks/base/api/16.txt
dc6f8b2b8ce5024c2009d96c1bf8d908c309342b 23-Jun-2012 Jeff Brown <jeffbrown@google.com> Merge "Deprecate DatabaseUtils.InsertHelper."
b33eb4e32a25e28677524c68be02ca7034351bf0 22-Jun-2012 Jeff Brown <jeffbrown@google.com> Deprecate DatabaseUtils.InsertHelper.

This class does not offer any advantages over SQLiteStatement
and just makes code more complex and error-prone.

Documented that the class is not thread-safe.

Removed a potential deadlock in insert() and replace() caused
by the insertInternal() method being synchronized in the case
where the class was being used concurrently (woe to you!).

Thread A would start a transaction.
Thread B would call insertInternal() and acquire the object monitor,
but block because it could not obtain the db connection because
thread A is holding onto it.
Thread A would call insertInternal() and block because Thread B
was holding the object monitor.
Deadlock.

Changed this code to use a transaction instead of a lock,
which provides the necessary mutual exclusion guarantee without
the potential for a deadlock. Even so, the class really isn't
thread safe.

Bug: 6625094
Change-Id: I51d9a15567a6f2bad6f25e550b48f8f6ffcab2a7
/frameworks/base/api/16.txt
1244cdaedd5bb4518fc75c9a25b834190ea31877 20-Jun-2012 Jeff Brown <jeffbrown@google.com> Clean up PowerManager API.

Mostly just moved the code around and improved the docs.

Fixed a minor inefficiency in WakeLock.setWorkSource() where
we would tell the power manager that the work source was changed
even when the old work source and new work source were both null.

Fixed a bug in WakeLock.setWorkSource() where we would not
notify the power manager that the work source was changed if
there was no work source previously specified.

Added synchronized to WakeLock.setReferenceCounted.

Added a checked in WakeLock.acquireLocked() and WakeLock.release()
to check whether the wake lock is actually not held / held
before performing the corresponding operation. This change avoids
making redundant calls into the power manager service in the
case where the wake lock is not reference counted and acquire()
or release() have been called multiple times.

Made the PowerManager and WakeLock classes final. They are not
directly instantiable by applications so this change does not
break the API.

Removed a little dead code (one private constructor and an
unused constant).

Change-Id: I4e10cf893506115938a35756136c101256dccf30
/frameworks/base/api/16.txt
ec7c7ebf01121d17f7a12e827bd77c024eab54e8 18-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "API for finding accessibility focus in virtual tree not needed." into jb-dev
45a02e0809c14a52aa24658666df0d41ce661857 18-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> API for finding accessibility focus in virtual tree not needed.

1. The function for finding where the accessibility focus in a virtual
node tree presented by an AccessibilityNodeProvider is not needed
API since the framework already keeps track of the accessibility
focused virtual node in order to draw the focus rectangle. This API
adds unnecessary complexity to developers of AccessibilityNodeProviders.

bug:6675330

Change-Id: I84774686b06a995073a39e45b8ef22f2cd04b773
/frameworks/base/api/16.txt
1024de59618d6217beac1fc47866baa3741cc27d 16-Jun-2012 Daniel Lehmann <lehmannd@google.com> Allow restricting the scope of a phone-filter search

This also includes a previous change to current.txt that hasn't been
copied to 16.txt yet

Bug:6662259

Change-Id: Iaab5c38ad56882a1270b5276ba7a399bbb8a49f3
/frameworks/base/api/16.txt
531d5866d8e2529e2ae1c6ef12202119753bec03 16-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Accessibility focus search and setting it from hover are performed by the client." into jb-dev
8ffe8b304e4778b3c95e57ad5a77cd41c9cf9f7b 15-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> Accessibility focus search and setting it from hover are performed by the client.

1. Currently we are providing accessibility focus search algorithm in the
framework and we are also setting accessibility focus from hover. It
appears that implementing a focus search strategy that works for all
accessibility services is non trivial task if feasible. Based on
feedback from the developers of two such services at Google - TalkBack
and BarilleBack - the built in focus search does not quite match what
they need and they would like to implement a custom strategy.

Hence, having APIs for accessibility focus search in the framework does
not make. Therefore, we are hiding this APIs and later will take out the focus
search logic and allow the accessibility service to implement search.

Also putting accessibility focus from hover is tightly integrated with
the focus search since the set of views that get accessibility focus
from hover should be the same as the set of views returned by the
focus search routine. Therefore, we are letting the accessibility service
decide where to put accessibility focus when it gets an accessibility
hover event.

bug:6675330

Change-Id: Ie152230990a6602f3fd1d82de2177d0b1444d654
/frameworks/base/api/16.txt
90b9f84c43145c51180c7253cd3a3f59862c2611 15-Jun-2012 Adam Powell <adamp@google.com> Merge "API updates for MediaRouter" into jb-dev
0d03c042f90bf62d5bad7c64e77028a5f9f8fae0 15-Jun-2012 Adam Powell <adamp@google.com> API updates for MediaRouter

* Accept a Context when fetching the names of routes and
categories. This lets string resources resolve at time of access
with the correct configuration. The older versions remain available
that will use the static resources from the application. (There are
enough cases where applications will populate this from external
data that requiring it each time even when it was not initialized
from a resource doesn't seem reasonable.)

* Remove the ability for apps to programmatically select non-user
routes.

* Make MediaRouter.Callback an abstract class instead of an interface.
This will make further extensions easier to keep compatible in the
future.

Change-Id: If981c511dfbdfaf41ef0d1cfe4a377fc14bb5600
/frameworks/base/api/16.txt
de7a8ead2467a4a152a5a9b2416c8048f1b48bbb 14-Jun-2012 Jeff Brown <jeffbrown@google.com> Add new ASSIST key and map it to the global assist intent.

Moved some duplicate code from SearchPanelView and LockScreen
over to SearchManager to avoid creating yet another copy of it
in PhoneWindowManager.

Bug: 6594275
Change-Id: Ib4ebcd6817639d17548952ab2ce7cb876c05777c
/frameworks/base/api/16.txt
b58b8f832d06b0ffa8886eba5a4916578a3b8743 12-Jun-2012 Dianne Hackborn <hackbod@google.com> Rework media router to be per-context with global process state.

Change-Id: Ic1cb6f13e691d22783bcdafae85b7c75aec0a66f
/frameworks/base/api/16.txt
d0d2cda9d414da73773285d7fee9e13aef3495e9 08-Jun-2012 Adam Powell <adamp@google.com> Further work on MediaRouter

Remove volume control and tracking. This will be handled by extensions
to existing audio and media APIs for now.

Tweak/refine other aspects of the API. Pass the router to callbacks for
easier future-proofing. Add group/ungroup callback methods.

Change-Id: Ib69e76e5f46280a9002b545bcf4cbc7b839844ee
/frameworks/base/api/16.txt
4ca17df3802cad87a4d07b804823ad9c11e090ea 07-Jun-2012 Dianne Hackborn <hackbod@google.com> Fix build.

Change-Id: I42c3f6466d926258bbd303f2082de7207734451a
/frameworks/base/api/16.txt
636fd528f7ad51f565a390226d9f469f8c675ccf 06-Jun-2012 Dianne Hackborn <hackbod@google.com> Docs (mostly): enumerate JELLY_BEAN target SDK changes.

Okay this isn't entirely docs. I have un-hidden the new permission
for binding to accessibility services; we were going to go out with
it hidden since it didn't go into factory ROM, but now that we are
doing other things we might as well expose it.

Also changed a log from E to W, since it is not an error.

Change-Id: I9226c95e3b63e12218fe41dc3f4290d9824a9e5c
/frameworks/base/api/16.txt
f756e495d558f2625e96b4a59acc9ea57bae825c 04-Jun-2012 Daniel Sandler <dsandler@android.com> Fix build break.

Change-Id: I3ce946740e0de0850f17c05b6701a7b070bfe8c9
/frameworks/base/api/16.txt
4bc97b54f4ae186afb65e1b067b9f8173e124b28 02-Jun-2012 Adrian Ludwig <aludwig@google.com> Fix build.

Change-Id: I739102258739ceb9856b8867949fa7f53532189d
/frameworks/base/api/16.txt
4034bc431df8903072bca513a81ecdcf858c718b 01-Jun-2012 Dianne Hackborn <hackbod@google.com> Survey says: NIET!

Bug: 6593206
Change-Id: I5390609a5615d6aff1793a9bc361012a0cea330b
/frameworks/base/api/16.txt
37fde0aca01fcfcd8483df70a4e82f622e15fda2 25-May-2012 Jean-Michel Trivi <jmtrivi@google.com> Unhide KeyguardManager locked and secure state getters

Unhide the following methods:
android.app.KeyguardManager.isKeyguardLocked()
android.app.KeyguardManager.isKeyguardSecure()

Fix some javadoc typos

Change-Id: Iedcd9f6a5261b7a3b47431edff013f629e1dc45d
/frameworks/base/api/16.txt
1957fd271f4e76c471d483df98cf23abf3e92360 22-May-2012 Jeff Brown <jeffbrown@google.com> Merge "Add public API to Choreographer." into jb-dev
cae804901eb5761e42d5bac7cdd6f15d37e3ceb3 22-May-2012 Jeff Brown <jeffbrown@google.com> Add public API to Choreographer.

The API allows applications to post FrameCallbacks that will
run on vsync and that are provided with the frame time.

Change-Id: Ieb39fcdd085ef8a57805b8f78e7a307f416ff21d
/frameworks/base/api/16.txt
13b907353f18215b52b5ceda24bbf520d91d72a1 21-May-2012 Romain Guy <romainguy@google.com> Remove unused, obsolete debug code

All these features have either been abandonned and left un-maintained
for years or can be replaced by systrace.

Change-Id: I42e4579a8078744047e5fe08a7a15254970b09bc
/frameworks/base/api/16.txt
35013d0e8be6b67c6a0161b8472496a825657944 19-May-2012 Dianne Hackborn <hackbod@google.com> Merge "DO NOT MERGE: Remove a few left-over layout direction things." into jb-dev
39af624f3135328ec0550888e99f4350572634b5 19-May-2012 Dianne Hackborn <hackbod@google.com> DO NOT MERGE: Remove a few left-over layout direction things.

Change-Id: Id66b171594af939df4716aa0e0baa25fe47eecee
/frameworks/base/api/16.txt
5a418c771db08b1660095dfb712d2f159f700968 19-May-2012 Romain Guy <romainguy@google.com> Gallery, we need to talk...

Change-Id: Ie4b62df03c27161565d303d11447e3d7ff3115c4
/frameworks/base/api/16.txt
abe3927701c0aff839498272565aeee714aa6e9d 18-May-2012 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #6515427: Add android.hardware.television and fix..." into jb-dev
0cf2c8a53350a800055e76c1c9bf0a6d44480768 18-May-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6515427: Add android.hardware.television and fix...

...logic for notouch in Configuration

Added new TELEVISION feature.

We now force the configuration to "television" if the TELEVISION
feature is set, and "notouch" if the TOUCHSCREEN feature is not set.

Also cleaned up documentation, deprecated some configurations that
are not used.

Change-Id: If1c7a284b580a8a66bda2a75f0c7fa841b3dc9b7
/frameworks/base/api/16.txt
482c9bb390f1dae8e55806431a960f9df4d2f0b8 17-May-2012 Jean-Michel Trivi <jmtrivi@google.com> New action and extra in RecognizerIntent for "hands free" voice search

New action and extra for android.speech.RecognizerIntent:
ACTION_VOICE_SEARCH_HANDS_FREE
EXTRA_SECURE

Change-Id: I1f390ede4f4087bae1781347bb211dc0a093e857
/frameworks/base/api/16.txt
e302a162359e191633e966520a6bab4ad569390c 15-May-2012 Dianne Hackborn <hackbod@google.com> A few odds and ends.

- Add documentation on "television" UI mode.
- Tweak new documentation and implementation around propagating
URI grants through choosers.
- Add new activity launch flag for closing system dialogs.

Change-Id: I978c05f0dc3d16e1c55d43631828b9efa6335b19
/frameworks/base/api/16.txt
2f0957607411b99810226ad38d59cf18718b86d0 11-May-2012 Jeff Brown <jeffbrown@google.com> Rename kcm attribute to keyboardLayout.

Bug: 6478076
Change-Id: I7fc0d8eb36d03a628d070f8fd6ea1e1464b1a163
/frameworks/base/api/16.txt
fa61f0b2e25382d3a8ea35024dd227606151e87a 10-May-2012 Dianne Hackborn <hackbod@google.com> JellyBean is now 4.1.

Change-Id: Ie37a7c4356d593010686d5dc7d6e715d30099e1e
/frameworks/base/api/16.txt
b1b55e6c6b079d75c13dcc23ca3ebce847bb42f8 11-May-2012 Dianne Hackborn <hackbod@google.com> Fix build.

Change-Id: Ie255c93442d0b62032ac25e6de97f2c03e5df3ba
/frameworks/base/api/16.txt
66388dcb09018933ccd1d38eae563f0890ba4f06 04-May-2012 Fabrice Di Meglio <fdimeglio@google.com> Hide RTL related APIs - DO NOT MERGE

- fix bug #6441155 API review: @hide RTL layout APIs

Change-Id: I13c5ea5f579cecffed9d517f06180ab0576cd26a
/frameworks/base/api/16.txt
d26286684b8b101c5377e15a44c829049eddb2b4 27-Apr-2012 Steve Block <steveblock@google.com> Fix build warning due to WebSettings now being abstract

WebSettings was made abstract in
https://android-git.corp.google.com/g/#/c/177360

current.txt was updated, but this causes a build warning because 16.txt was not
updated to match.

Change-Id: I4e00297361048509fab236f292c07d8a0df28f28
/frameworks/base/api/16.txt
61a5b0160d9f2e53ef4d4b451212a63032dad32d 13-Apr-2012 Michael Jurka <mikejurka@google.com> New API to allow third-party apps to bind widgets

Change-Id: I1a3761c1a0f557a32d4d3bdd0207567fec918ba7
/frameworks/base/api/16.txt
25157e458d6e10b027d1ba6b78b0487156c9f57a 16-Apr-2012 Jeff Brown <jeffbrown@google.com> Refactor SensorManager to move non-API bits into a subclass.

Changed the SensorManager class so that it only contains API-related
bits including what's needed to support legacy sensors. Mostly just
moved stuff around. Making the class abstract is safe because
it does not have a visible constructor in the API.

One minor change is that the cache of sensor type to sensor lists
is now per instance of SensorManager instead of being static.
We can fix this if desired.

Another small change is that we bail out early from registerListener
if the listener has already been registered for the particular
sensor. This happened for both legacy and standard listeners.
The problem is that the ListenerDelegate maintains two lists of
sensors, one is a Map and the other is a List. Adding a sensor
twice causes one entry to be added to the Map and two entries to be
added to the List, but when the sensor is removed the next time, only
one entry is removed from the List, leaving it in an inconsistent
state.

Removed Sensor.getLegacyType() since the value it provides is only
needed in LegacyListener and we don't really save any significant
computation by caching it. Removing the field makes support for
legacy sensors a little more self-contained.

Bug: 6339552
Change-Id: I50d41ac97cf535924f2bfa2026d28547a4d00286
/frameworks/base/api/16.txt
caf97c7db9c5279eb4802121ff2cc1995c27363b 16-Apr-2012 Jonathan Dixon <joth@google.com> Merge "Two WebView API cleanups"
75e0dcbca1fe6d218685c73829ae8c75a45b4920 14-Apr-2012 Jeff Brown <jeffbrown@google.com> Merge "Extract Vibrator implementation from interface."
939e5040b51539be561db1d18dec18196f201f5c 12-Apr-2012 Jonathan Dixon <joth@google.com> Two WebView API cleanups

- remove final from classes which we will need to provide subclasses
in future: CookieManager, GeolocationPermissions, WebIconDatabase
and WebStorage. None of these have published constructors,
so applications cannot subclass them anyway.

- Also convert some protected members of JsResult to private, as its of
no use to legal subclasses, and applications cannot subclass it.

Change-Id: Iaca9d2db31e25853b6c55feae41d9e7774087479
/frameworks/base/api/16.txt
c2346134bb519a54d50655cbef940fc3fdec60a9 13-Apr-2012 Jeff Brown <jeffbrown@google.com> Extract Vibrator implementation from interface.

Moved the core logic of Vibrator into SystemVibrator, potentially
allowing for the creation of other Vibrator subclasses.

Fixed several places where we were creating new Vibrator
instances unnecessarily instead of getting it from the Context.

It is safe to make Vibrator abstract because its constructor
was hidden from the SDK so it was not possible to subclass it.

Bug: 6334179
Change-Id: I18ece6544c26a7efb2d5099f8346a10aef8a5e18
/frameworks/base/api/16.txt
a3dc86e637873be115e68be50bd1b281beff7994 28-Mar-2012 Jonathan Dixon <joth@google.com> Hide the public constructors for singleton classes

WebStorage and GeolocationPermissions are not intended for direct use
by application code. Existing APKs using this will still work (as well
as they ever could have), but this change will cause a compile break if they
move to SDK >= 16, which should be fixed by using getInstance() instead.

Bug: 6238010
Change-Id: I75789cc260c8fe005c42942bc81483193cc54f17
/frameworks/base/api/16.txt
39edeeefe7778162e3b0c4c584a43b4bb6c0c788 12-Apr-2012 Jonathan Dixon <joth@google.com> Merge "Hide WebView.getZoomControls()"
f1253cd68a1ef45f4bb0c15d3e2834ca8f91e03f 30-Jan-2012 Brett Chabot <brettchabot@android.com> Upgrade junit.runner classes to their JUnit4.10 implementation.

Bug 5826326

Change-Id: If7e4c48a4369c1056dee5a2049c891bb6ab7d8d0
/frameworks/base/api/16.txt
c69be70afecdd1094da279a4543a151388a27537 03-Apr-2012 Jonathan Dixon <joth@google.com> Hide WebView.getZoomControls()

This was deprecated and the replacement provided in API level 3.
Hiding it in API 16 as a step toward removing support for it in 17.

Bug: 5012841

Change-Id: Ice66a0fc1031c0d6705973dae7cbc11b028e14c9
/frameworks/base/api/16.txt
029d7e15f38cdd3c1941a16186c5941edc85bc3d 12-Mar-2012 James Dong <jdong@google.com> Hide deprecated MediaRecorder.java APIs

o related-to-bug: 6085208

Change-Id: I6d4d2c20756b317661c94ebe35752a040ece8283
/frameworks/base/api/16.txt
baefdfad6e77e772deb6474380dd85ac776293e8 05-Mar-2012 Jeff Brown <jeffbrown@google.com> Make SQLiteDatabase final.

The SQLiteDatabase constructor is inaccessible so it is not
possible for applications to subclass it. To remove all possible
remaining temptation to do so, make the class final.

Change-Id: I4148e9b06f0661ec22aab8e45afde38498d2375a
/frameworks/base/api/16.txt
8279570b222d46def4e541d71ef29dbfd9fbe3d7 29-Feb-2012 Gilles Debunne <debunne@google.com> Fix for broken build part 2. Update 16.txt too

Change-Id: I8609dd818a6e4059f9b149a8089d681ac2972d66
/frameworks/base/api/16.txt
21fbd1f7da53dc044737803dccddf8099f1fc1e9 10-Feb-2012 Dianne Hackborn <hackbod@google.com> Some cruft removal.

Change-Id: If4a94bfd4a033748eb13e8f3ff25e24382746778
/frameworks/base/api/16.txt
a0c283eac33dd2da72235751bbfa4f2d9898d5ea 09-Feb-2012 Dianne Hackborn <hackbod@google.com> Add new feature for running services in "isolated" sandbox processes.

This reserves a range of uids (for each user) in which these processes
run. These uids are not associated with an application, so they
effectively run with no permissions. When a Service requests to
run in such a process through android:isolatedProcess="true", each
time it is brought up a new isolated process is started with its
own unique uid.

What we have so far gives us the basic infrastructure; more work
remains to further lock down what these uids have access to.

Change-Id: Ibfd27c75619cba61f528f46ede9113f98dc5f45b
/frameworks/base/api/16.txt
19644b613ef14434abe11e6cd16eb9e06057c9c6 21-Dec-2011 Jonathan Dixon <joth@google.com> Make WebView.HitTestResult static

- we can do this, because HitTestResult never had a published constructor
so the only code that can create it has always lived in this package.
- doing this makes the class design cleaner, and smooths the way for allowing
the new WebView implementation to deal in these results in contexts where
the appropriate WebView instance is not readily available.

Change-Id: I9e1f1c0faeb16436b1861aab3c2871a5851dfb54
/frameworks/base/api/16.txt
5f45cbac03aef1aaa4e6947c3a1188768343686a 20-Dec-2011 Nick Pelly <npelly@google.com> Fix build break - move API change from 15.txt to 16.txt

Change-Id: I3e7e2106424e00d696909c811ffe704ca8bffced
/frameworks/base/api/16.txt
d47f1531d0653be33133cf05ec317a236e763646 16-Dec-2011 Chet Haase <chet@google.com> Make Property objects in View final

The various Properties added to View in 4.0 (ALPHA, TRANSLATION_X, etc.)
were not final, making it possible to assign on property to another.
Not something that someone would want to do, but we should try to prevent
that kind of mess. This API change makes those properties final.

Change-Id: I7d0c7f738eb2074d0781b1ba6a7c19339bac4477
/frameworks/base/api/16.txt
d5064be3b5922ee6522a33f8b729ffee2e3d7b4b 14-Dec-2011 Jeff Brown <jeffbrown@google.com> Make SQLiteQuery and SQLiteProgram final.

We can do this because the classes already cannot be subclassed
by applications due to the fact they only have package private
constructors.

One very nice consequence of this observation is that we can hide or
delete several @deprecated protected members which are effectively
inaccessible because applications cannot create subclasses!

Change-Id: I2d3a0d2ad72b9289ebcdf907e4e4e6caf27f9076
/frameworks/base/api/16.txt