History log of /frameworks/base/core/java/android/os/Build.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fc4947491f785600b8770112fa1d19ece06d42f9 28-Sep-2012 Dianne Hackborn <hackbod@google.com> Update APIs to JB MR1 level 17.

17 is current, resources are fixed, cleanup is done.

Change-Id: I6de446e209f59c5dd5fe1cde311776ab222817ea
2caec6c682853ccbfe73ef5ae15c1d03ea043e8a 08-Aug-2012 Nick Kralevich <nnk@google.com> Fix link typo.

Change-Id: I182b9c04caddcc4a985f206eddf5c23b06afe0e3
f097b16cfddce2dbb097b929458fe9b0a402963e 28-Jul-2012 Nick Kralevich <nnk@google.com> Content Providers: change default for android:exported

Change the default value of android:exported to true
for applications which target a newer API version.
This will help stop inadvertent content provider
exposure to untrusted apps.

Bug: 3306452

Change-Id: I8cb34e823aef9551319951ce92217345c54cee63
435cdb4604d9112c2fa8b2bb8d0ec49468bfdcf2 31-Jul-2012 Dianne Hackborn <hackbod@google.com> New API level 17 for JB MR1.

Change-Id: If71ce3b521fe17578feb5c2a2f7fd65696720554
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
fa61f0b2e25382d3a8ea35024dd227606151e87a 10-May-2012 Dianne Hackborn <hackbod@google.com> JellyBean is now 4.1.

Change-Id: Ie37a7c4356d593010686d5dc7d6e715d30099e1e
6569625beef705ec489662b80d372c4423f9c7f7 06-Mar-2012 Dianne Hackborn <hackbod@google.com> Fix issues #6103378 and #5959515.

Change-Id: I762d86dd7119c9ac02f4b8803c4a250c6b7637c7
6103378: APR: IOOBE at android.content.pm.PackageParser.generatePackageInfo(
5959515: PackageManager doesn't validate className in setComponentEnabledSetting
81e9276a479fd3a5ccc3129505c0fb018941934b 10-Oct-2011 Dianne Hackborn <hackbod@google.com> Added JELLY_BEAN version name; update some targetSdkVersion docs.

Change-Id: Ia38ff5b9ad2b63c2cf667260881222d9ff168052
478237db07b1fc1f19d20a61adf2dc08e713e881 06-Dec-2011 Dianne Hackborn <hackbod@google.com> Truthiness is good.

Change-Id: Iedd4d4027576001fc5e829bb0a1023dd2aefce99
f35fe23669aeeebd2db2acb6baacae503dba03a8 02-Nov-2011 Dianne Hackborn <hackbod@google.com> Add new OOM adjustment for the "previous" process.

This is the process that you had previously been interacting with
in the UI before the current one. Treating it specially should
allow us to improve the scenario of switching back and forth
between two apps.

Also add API constent for ICS MR1.

Change-Id: Ib3fe4df36b270be11dfd6b7e8d107c9994058a4d
89101cd9d9b5c1a6ff1ed85eba0613ca4c4802e2 28-Oct-2011 Jeff Brown <jeffbrown@google.com> Improve the slow query instrumentation.

On user-debug and eng builds, you can set the
"db.log.slow_query_threshold" system property to queries that
take longer than the specified number of milliseconds.
Set it to 0 to log all queries.

This property has been around for a while but it was implemented
poorly. In particular, it *changed* the behavior of the query
by calling getCount() while holding the Db connection.
In normal operation, the query will not actually run until later.

By putting the timing logic into fillWindow() instead, we ensure
that we only measure queries that actually ran. We also capture
cases where the cursor window gets filled multiple times.

Bug: 5520301
Change-Id: I174f5e1ea15831a1d22a36e9a804d7755f230b38
9d0e37e27cc4e71088afb2cda927454bca14b939 22-Sep-2011 Dianne Hackborn <hackbod@google.com> Some new ICS target SDK changes.

Change-Id: I5a500a5faddadbcb98bf181ad413c6d9fd7e663e
0784cfb4b75e5ec3f4cc2ff57000c007f93b50b1 14-Sep-2011 Dianne Hackborn <hackbod@google.com> ICS is API 14.

Change-Id: I95f500f94ce206ae6ca6938d17537431d8799237
6e90a362bc66cc67b1beae27b21d3f0148403b08 15-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5159736 - Make DeviceDefault the default

Have the framework refer to the DeviceDefault themes for ICS apps that
don't explicitly request another theme.

Change-Id: I27dd0bbaa60f71df4f36e47d260f556d923ba075
2d6833bab353e31ceb4230f3f3563fca2e0d9f6f 25-Jun-2011 Dianne Hackborn <hackbod@google.com> Turn on HW accel by default for apps that target ICS.

Change-Id: I010e11e03b2dfd0d1db8c47f74c25a28586fd79c
65efcc552110751437e587873b7c6f9e2397ac71 15-Jun-2011 Dianne Hackborn <hackbod@google.com> Merge "resolved conflicts for merge of 77fc8b80 to master"
711516d140390aeec9e3eefb8fdb2681c3454980 14-Jun-2011 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 77fc8b80 to master

Change-Id: I014f9a886d6f05607d2a5d101ad2052a6841ee8d
ad2171acf423224d925d1b7cefa7184882e100bf 14-Jun-2011 Doug Zongker <dougz@android.com> deprecate RADIO constant, add getRadioVersion method

On many devices the radio version system property is only available
when the radio is on, which is frequently not the case when the static
initializers for the Build class are run (eg, if the system has just
booted). This means RADIO is forever "unknown" on these devices.
Deprecate it and add a method to return the radio version instead.
Apps will still have to deal with getting a null back if the radio
version is currently unavailable.

Change-Id: I63528eae93e1b9d0f7cec5a382724d0391ba1104
e289bff0ec2b1af4ba773e0c8d49d5fd46eb9921 14-Jun-2011 Dianne Hackborn <hackbod@google.com> Add new landscape and portrait orientation features.

Updates aapt to know about these. Also updates aapt badging to:

- No longer crash due to the change to how we match unspecified
configuration resources.
- Report the new "smallest screen" supported screen configs.
- Infer old screen size buckets based on new smallest width attrs.
- Report all of the different labels and icons in an app.

Change-Id: I7376042b817391bd070f549cebbc7f03be4635c8
6b592723c9a9fc816a8ab75c935e8cd20ff65a0e 10-Jun-2011 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of f51ded0f to master

Change-Id: Ida356524a68aeb2b9b0013dfbb6ab4bd11e616e2
426431adcc220b6adfbe1d9530247f897e60fa36 09-Jun-2011 Dianne Hackborn <hackbod@google.com> Enforce public resource restriction on bag parents.

Need to put some more styles in the SDK to avoid breaking apps.

Also, welcome Android 3.2.

Change-Id: Ia31d07c9b1b91ad868d8630437fdc1b5ae24f37d
2515db74fe2e75018f618591fabe23fda8362bf3 03-Jun-2011 Dianne Hackborn <hackbod@google.com> am 3a80c504: am 8b9a2b6c: am e6676351: Work around OpenFeint bug.

* commit '3a80c50485809fe72d6de83dacad494c5e84ed24':
Work around OpenFeint bug.
e66763516a9c27c192adaba417616371a1c3c9bf 02-Jun-2011 Dianne Hackborn <hackbod@google.com> Work around OpenFeint bug.

Change-Id: Ib8320e50bb63fc56dc0118d5c8e9e328dbd3fcb1
39cf8c97c3aee897cca7f37d3f7e9e36c3639f2d 13-May-2011 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of ec85619f to master

Change-Id: Id820ddcb9d19341a1b383b3bef7659a2c0621cfa
a8138732a01b92f0a40f72050b74a3bd4cf6d215 13-May-2011 Dianne Hackborn <hackbod@google.com> MR2 is going to be API 13.

Change-Id: I05b65ace073b8731e85b41ac4ae63e2745cb46b5
3fc982f41fda1f254bfbc35490d81cd82a0ed90a 31-Mar-2011 Dianne Hackborn <hackbod@google.com> Add new resource configurations for screen width/height in "dp".

You can now specify resource configuration variants "wNNNdp"
and "hNNNdp". These are the minimum screen width/height in "dp"
units. This allows you to do things like have your app adjust
its layout based only on the about of horizontal space available.

This introduces a new configuration change flag for screen size.
Note that this configuration change happens each time the orientation
changes. Applications often say they handle the orientation change
to avoid being restarted at a screen rotation, and this will now
cause them to be restarted. To address this, we assume the app can
handle this new config change if its target SDK version is < ICS.

Change-Id: I22f8afa136b4f274423978c570fa7c9855040496
edf1fc6ce642c8d0f675795635d223b26d9f825c 18-Mar-2011 Dianne Hackborn <hackbod@google.com> Whoops, forgot the HONEYCOMB_MR1 constant. :(

It shouldn't be a problem to put this in -- it is a static final
so it doesn't actually need to be in the on-device system image.

This is important for the SDK.

Change-Id: Iaa086247d0d65fe708c40fbab506aa60cd3e1396
9d97b63d0e0c7c9deb2d140c1dd579b51f52c1af 23-Jan-2011 Dianne Hackborn <hackbod@google.com> Honeycomb is now officially API 11.

Change-Id: I5b11801468bf6ee2482f1ef201ece70ed9303bd8
6c2c5fc9930d14d502a22326dee9bf4475dbd649 19-Jan-2011 Dianne Hackborn <hackbod@google.com> Just a little 'ol activity manager permission change.

We no longer enforce permissions for applications that are accessing
their own components. This allows an application to require a permission
on one of its components that it does not itself have. This is useful
for example with the new advanced widgets, which require a system-only
permission on the implementing service to ensure the app's data stays
private but it is nice to allow the application to still touch its own
widget service.

Change-Id: I5d61930a083816919545870039ad191314ed48c6
3b81bc18bb661c02ad8074c39dab16644c1e65d0 15-Jan-2011 Dianne Hackborn <hackbod@google.com> Add manifest API to request a large heap.

You can now do android:largeHeap="true" on an application.

Doesn't yet do anything, waiting for Dalvik API.

Also tweak package parsing so that the SDK API level is set in the
configuration, allowing manifest resource value selection based on

Change-Id: I6e035f9702a97b055416743b88f83a22ba4a9584
0aae2d4e0075fd699cf40b26dca0eb2c3b3e37d2 08-Dec-2010 Dianne Hackborn <hackbod@google.com> Rework activity lifecycle so onSaveInstanceState() is after onPause().

The goal is to fix a bunch of fragment-related bugs caused by various
things trying to do fragment transactions after onPause()... which
currently throws an exception, since this is after the activity's state
has been saved so the new fragment state can be lost.

The basic change is relatively simple -- we now consider processes
hosting paused or stopping activities to be unkillable, and the client
code now does the onSaveInstanceState() as part of stopping the

For compatibility, if an app's targetSdkVersion is < HONEYCOMB, the
client side will still call onSaveInstanceState() prior to onPause()
and just hold on to that state until it needs to report it in once
being stopped.

Also included here is a change to generate thumbnails by taking
screenshots. The code for generating thumbnails by re-rendering
the view hierarchy is thus removed.

Change-Id: Iac1191646bd3cadbfe65779297795f22edf7e74a
e6634981f12e1d218eaf61c6488af3d8c9f0d202 22-Oct-2010 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 9c7489f8 to master

Change-Id: I1d8fd1146925f48ad690c89230d24dc8694703f4
5383f502e4479d117c89666fb2ee1ca53f3d27cf 22-Oct-2010 Dianne Hackborn <hackbod@google.com> Fix issue #3122240: Expose xlarge in GB.

Plus some other small API cleanup.

Change-Id: I1a3c60f510f99224cccac9cc3f838f04141064f8
4fa1a221b466d6da6c68150b38cd17b085ab5e26 18-Oct-2010 Dianne Hackborn <hackbod@google.com> Remove public resource padding.

Change-Id: Id4f28ecfb7a87267c256571ed5f98652730b44fc
3d2818d34feab5a62dfb33452f99f2d3ca667cc8 18-Oct-2010 Dianne Hackborn <hackbod@google.com> Remove public resource padding.

Change-Id: I8a530a23284a1f2515b1340a1c5e5ed3a0b90780
3e6d50cc484f2eee0cff63789cc7796718eb6b68 24-Aug-2010 Dianne Hackborn <hackbod@google.com> Make Theme.Holo the default theme for new apps.

Also change Holo to have an action bar, instead of a title bar.

Change-Id: I45c2f06938509ae02cde99d1c06c228f86e8e3e8
4961e4793f958ee75b2e0bb72c0dc4115e6f5a2f 17-Aug-2010 Doug Zongker <dougz@android.com> am bb33d6fd: am 997dc32b: Merge "add an api for getting a device serial number" into gingerbread

Merge commit 'bb33d6fd987727c24372d7b7109ec5d1db82efe2'

* commit 'bb33d6fd987727c24372d7b7109ec5d1db82efe2':
add an api for getting a device serial number
7d2e3df60d33a73f5ef62ea462a9c6da5e3efc9a 12-Aug-2010 Doug Zongker <dougz@android.com> add an api for getting a device serial number

Add a constant to android.os.Build that returns a device-specific
alphanumeric serial number. It's optional -- it may be blank --
though CTS will require it to be present for non-telephony devices.

Change-Id: I338ae5f43ba679a5e98f2f437dc4efdaef0c835d
b1ad5977bc8178b6d350ebe9099daded4c1ef603 03-Aug-2010 Dianne Hackborn <hackbod@google.com> New two-pane mode for PreferenceActivity.

This introduces a whole new way to use PreferenceActivity, as
a container for PreferenceFragments that the user can switch
between from a list of headers.

Change-Id: I1c79b7c78b86790dc460a1414a999aba5de80628
3e03cfa3af8acf3aad0abc464d2bcab1225a971d 13-Jun-2010 Dianne Hackborn <hackbod@google.com> Update build version information.

Change-Id: If53f16d494255230859a30f561e9a78ec49c6c10
14cee9f688c32d63d8521188e7422811629bb7c2 24-Apr-2010 Dianne Hackborn <hackbod@google.com> New xlarge screen size.

Not complete, only for experimentation at this point.

This includes a reworking of how screen size configurations are matched,
so that if you are on a larger screen we can select configurations for
smaller screens if there aren't any exactly matching the current screen.

The screen size at which we switch to xlarge has been arbitrarily
chosen; the compatibility behavior has not yet been defined.

Change-Id: I1a33b3818eeb51a68fb72397568c39ab040a07f5
74885efc8ce6d315e0593e5f669cc805e264cf68 03-Feb-2010 Doug Zongker <dougz@android.com> expose bootloader & radio versions, hardware string in API

Adds three new device-version-related strings to android.os.Build.

Change-Id: I832f87f26e50a649249c58037f563426f3bfc4bf
216bccf804db9c972b317620a27de6a8adf7fbfe 02-Feb-2010 Adam Powell <adamp@google.com> Updated GestureDetector to ignore multitouch if requested by the app
or if targetSdkVersion >= Froyo. Made ScaleGestureDetector
public. current.xml API updates for gestures.
42471dd5552a346dd82a58a663159875ccc4fb79 08-Jan-2010 Dan Egnor <egnor@google.com> Simplify & update ANR logging; report ANR data into the dropbox.
Eliminate the per-process 200ms timeout during ANR thread-dumping.
Dump all the threads at once, then wait for the file to stabilize.
Seems to work great and is much, much, much faster.

Don't dump stack traces to traces.txt on app crashes (it isn't very
useful and mostly just clutters up the file).

Tweak the formatting of the dropbox dumpsys a bit, for readability,
and avoid running out of memory when dumping large log files.

Report build & kernel version with kernel log dropbox entries.
71de7851a2d1c1ef0251bdc1ea59c5e6f58cf429 08-Jan-2010 Ficus Kirkpatrick <ficus@android.com> Make Build.UNKNOWN public.

There needs to be a way for apps to determine whether or not
a build property exists. Exposing UNKNOWN (the value that
Build sets properties to by default) will give apps something
to compare against.
fa9cafa074eb5d98b49b63795cd947877df1f21d 07-Jan-2010 Ficus Kirkpatrick <ficus@android.com> Add a string for second-ABI system property to android.os.Build.
23ef7b4836d66d31430fedee2aac36275bb30d4b 19-Nov-2009 Dianne Hackborn <hackbod@google.com> Fix most of issue #2271640: Fix wallpaper etc docs

Only thing remaining is the live wallpaper feature.

Change-Id: I8854c7978999d759bf618307f4f984c9c89d3fc8
1778776cf1349a5f275945c53edcd1454d58639c 13-Nov-2009 Dianne Hackborn <hackbod@google.com> Fix issue #2258571: Fix build versions

Update the definition of SDK 6, remove all new APIs from it.

Change-Id: Id96827f630ab46279d9ad8d3f7498e5515e0a688
0fa35918af608b56fb3f6aa98341624e22447f92 23-Oct-2009 Dianne Hackborn <hackbod@google.com> Add SDK version for MR1.

Change-Id: Idb13ed9a35397effbfb72a934a7db5f5a882c79c
6dc3f4e553d333b9f115a222a9a684bb2aa55b5e 10-Oct-2009 Jeff Hamilton <jham@android.com> Now that Eclair has been defined as API revision 5 mark Build.VERSION_CODES.ECLAIR as such.

Change-Id: I45af1fe80f6f93a1db8389600dc780af9cedf22c
7609764295d1b3ec0b53d1ae536ee0280f5e0407 26-Sep-2009 Mike Cleron <mcleron@google.com> Fix 2146581: Make tabs work for donut apps
Use different tab assets with the original coloring scheme
for apps that are not Eclair-aware.
8d37426c754e9822feaa8c6cc0b7c13e8523e217 15-Sep-2009 Dianne Hackborn <hackbod@google.com> Various fixed for back key handling.

My last change was far from perfect. Hopefully this gets us
a little closer.

Change-Id: I413e55b6af42400b565de3040859d25d668bc9d2
4a51c20ce607c74914f90fd897f04080121ac13b 22-Aug-2009 Dianne Hackborn <hackbod@google.com> I am getting tired of the java doc warnings, so fix them.

Change-Id: I2205eebae419eaf4a0992c9f5b7cd807eb843fe1
f6f9f2d0256930ce0bb4913b2260b8480914edc2 22-Aug-2009 Dianne Hackborn <hackbod@google.com> Add more control over a service's start state.

One of the problems I have been noticing is background services
sitting around running and using resources. Some times this is
due to the app developer doing this when they shouldn't, but there
are also a number of issues with the current Service interaction
model that make it very difficult (or impossible) to avoid
getting services stuck in the started state. This is a
change/enhancement to the Service API to try to address this.

The main change is that Service.onStart() has been deprecated,
replaced with a new Service.onStartCommand() that allows the
service to better control how the system should manage it. The
key part here is a new result code returned by the function, telling
the system what it should do with the service afterwards:

- START_STICKY is basically the same as the previous behavior,
where we usually leave the service running. The only difference
is that it if it gets restarted because its process is killed,
onStartCommand() will be called on the new service with a null
Intent instead of not being called at all.

- START_NOT_STICKY says that, upon returning to the system, if
its process is killed with no remaining start commands to
deliver, then the service will be stopped instead of restarted.
This makes a lot more sense for services that are intended to
only run while executing commands sent to them.

the service's process is killed before it calls stopSelf()
for a given intent, that intent will be re-delivered to it
until it completes (unless after 4 or more tries it still
can't complete, at which point we give up).

Change-Id: I978f5ca420d70023d1b5e7f97de639d09381f8ad
fe77ec8e0881963714b2464efad9514d921d089a 13-Aug-2009 Dianne Hackborn <hackbod@google.com> The DONUT constant also needs to be updated to the official SDK version.

Also remove all of the resource value padding.
5a3a77dabd744d5be79d7745c2a977c108a9ad98 01-Jun-2009 San Mehat <san@google.com> base: Rename WRITE_SDCARD -> WRITE_EXTERNAL_STORAGE

Signed-off-by: San Mehat <san@google.com>
b181118b6e58c0014da4e9d52bf38548adc73a8a 22-May-2009 Dianne Hackborn <hackbod@google.com> Define TARGET_CPU_ABI for finding native code in .apks
d62ad4f120e92fd597f44caf125ac853ac0ea11c 20-May-2009 Dianne Hackborn <hackbod@google.com> Fix issue #1859814: Add android.os.Build.MANUFACTURER
a96cbb435d7b2197ab2b61fd98d14cbd6e0c5c3d 14-May-2009 Dianne Hackborn <hackbod@google.com> Implement compatibility support for WRITE_SDCARD permission.

Now old applications will automatically be granted it. Also renamed it from
SDCARD_WRITE to WRITE_SDCARD to be consistent with our other permissions,
and re-arranged how we do targetSdkVersion to actually be usuable for this
kind of stuff.

Note that right now this results in basically all apps being given the
WRITE_SDCARD permission, because their targetSdkVersion is not set. I will
be dealing with that in a future change.
851a54143c15a1c33361efae2db3f7f45059b472 08-May-2009 Dianne Hackborn <hackbod@google.com> Implement targetSdkVersion and maxSdkVersion, plus version code names.

This adds new attributes for specifying a targetSdkVersion and maxSdkVersion.
There is a new ApplicationInfo flag that is set if the application has set
its targetSdkVersion to the current platform or later. Also you can now
use a string for minSdkVersion and targetSdkVerion, to indicate you are
building against a development tree instead of an official platform.
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution