History log of /frameworks/base/core/java/android/os/Build.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d3511d4be120f84cb302456b0992dbc003d4aa80 17-Oct-2014 Dianne Hackborn <hackbod@google.com> SDK only: hide the old L API version constant.

Also update the LOLLIPOP version constant to describe more things
that change when you target it.

Change-Id: I15e2c26a0f997ff2bfc8dd5076c827da7f42ee66
/frameworks/base/core/java/android/os/Build.java
955d8d69ea6caabce1461dc25b339b9bf9dc61a6 08-Oct-2014 Dianne Hackborn <hackbod@google.com> Put in real "code" (aka marketing) name.

Change-Id: Idb3976edfae37293ed75cb5b869b4b42d8042bbe
/frameworks/base/core/java/android/os/Build.java
eff258c3050e260b67399432357c7d79baec7916 30-Sep-2014 Narayan Kamath <narayan@google.com> Set Build.CPU_ABI{2} from SUPPORTED_{32,64}_BIT_ABIS

32 bit processes will always see values from SUPPORTED_32_BIT_ABIS
and 64 bit processes will always see values from SUPPORTED_64_BIT_ABIS.

bug: 17367265
Change-Id: I9996034c190f9213986b9b1a4ee0e38eca91c7ad
/frameworks/base/core/java/android/os/Build.java
521e4bd7c5252455c01a0fe253e0357ff0733b8e 04-Sep-2014 Dianne Hackborn <hackbod@google.com> Fix issue #17375172... sshhhhhh!!!

Change-Id: Idf3eafe829418bfc29e31f893ae6cff249488ffa
/frameworks/base/core/java/android/os/Build.java
ff701a6a65f6e1f13bfb0b4561f0dd14272b4820 30-Jul-2014 Torne (Richard Coles) <torne@google.com> Parse system properties that are lists correctly.

String.split() returns a one-element array of the empty string if the
input is the empty string, not a zero-element array. Introduce a
getStringList function to handle this consistently in the cases where
system properties are parsed as comma separated lists.

The main result is that SUPPORTED_64_BIT_ABIS will now correctly be
empty on a 32-bit only device.

Change-Id: I6f74b48d0a6ced3cd6d49c05aad6a4b7e0b074d2
/frameworks/base/core/java/android/os/Build.java
1adf4002e7517c9981df0d1320e18b38a86978f8 12-Jul-2014 Narayan Kamath <narayan@google.com> Unhide Build.SUPPORTED_ABIS and friends.

Also deprecates Build.CPU_ABI and Build.CPU_ABI2.

bug: 15018047

Change-Id: If8bda8481b29442c0208ba8a72ec0037e813946c
/frameworks/base/core/java/android/os/Build.java
93ffc21fc6accb8f9fb4b6069a20006e557cf090 14-May-2014 Torne (Richard Coles) <torne@google.com> am 41ecc8b1: am dcc9cf03: am 41ec8c96: Merge "Avoid supported ABI list containing "unknown"."

* commit '41ecc8b1e04794f3d6db01b594cb6daaafd8ae1d':
Avoid supported ABI list containing "unknown".
41ecc8b1e04794f3d6db01b594cb6daaafd8ae1d 14-May-2014 Torne (Richard Coles) <torne@google.com> am dcc9cf03: am 41ec8c96: Merge "Avoid supported ABI list containing "unknown"."

* commit 'dcc9cf03a846cb01d91de70d7a115d95c0c4db19':
Avoid supported ABI list containing "unknown".
dcc9cf03a846cb01d91de70d7a115d95c0c4db19 14-May-2014 Torne (Richard Coles) <torne@google.com> am 41ec8c96: Merge "Avoid supported ABI list containing "unknown"."

* commit '41ec8c9672fccce90a7156bcd856f59a36e93ad3':
Avoid supported ABI list containing "unknown".
da8c037c8b3b36d2edc42595cbf3a18d345c1489 14-May-2014 Torne (Richard Coles) <torne@google.com> Avoid supported ABI list containing "unknown".

If one of the ABI list system properties is undefined/empty (as
ro.product.cpu.abilist64 is on a 32-bit only device), getString returns
"unknown", which ends up creating a 1-element array with "unknown" as a
member. Fix this to instead just get the empty string and split that
into a 0-element array.

Change-Id: I0d0a54eb06bb04427bcf0487e2a16d4180b81116
/frameworks/base/core/java/android/os/Build.java
fc986d71caced8a758b74b699e6d8593dfd0bdc4 14-May-2014 Justin Koh <justinkoh@google.com> resolved conflicts for merge of 32c5f299 to master

Change-Id: I72656792e109fea82c63a3a42151c024630f5997
32c5f2998f709819ce82fcea5d9f9072c5dc5626 14-May-2014 Justin Koh <justinkoh@google.com> am 78b94de4: Set KITKAT_WATCH to be level 20, document API specific changes.

* commit '78b94de4b527c26bb3c038ae4f8cc351b3b4881f':
Set KITKAT_WATCH to be level 20, document API specific changes.
78b94de4b527c26bb3c038ae4f8cc351b3b4881f 14-May-2014 Justin Koh <justinkoh@google.com> Set KITKAT_WATCH to be level 20, document API specific changes.

Bug: 14116162
Change-Id: Iab094dbd0add414a365234c275bd473787b8803b
/frameworks/base/core/java/android/os/Build.java
3a951e52d93697b7e232501b78f9ffb0ec605516 01-May-2014 Narayan Kamath <narayan@google.com> resolved conflicts for merge of 69da8a12 to klp-modular-dev-plus-aosp

Change-Id: Ie07b88f324749afcf8417b50d4dbbc6e2a271a2a
69da8a124e640c09d00546761c0502e1bcab79a6 01-May-2014 Narayan Kamath <narayan@google.com> am 2a9a0471: Merge "Package manager changes for dual zygote stack."

* commit '2a9a047140b8da8f9cd7147c8bed60eeb61d1b6a':
Package manager changes for dual zygote stack.
0349e8c4785ed467d8de2ff383e28be3e41bdc3b 01-May-2014 Narayan Kamath <narayan@google.com> Package manager changes for dual zygote stack.

- Pass down the app's instruction set to dexopt so that
it can compile the dex file for the right architecture.

- Also pass down the app's instruction set to rmdex, movedex
and getSize so that they can construct the cache file
location properly.

- Temporarily compile "system" jars such as am,wm etc. for
both architectures. A follow up change will ensure that
they're compiled only for one architecture (the same
arch. as the system server).

- Java "shared" libraries are now compiled for the right
architecture when an app requires them.

- Improve the app native library ABI detection to account
for system apps installed in /system/lib{64}/<packagename>
and also handle sdcard and forward locked apps correctly.

(cherry-picked from commit b4d35dc8e9702f9d0d82d35a105f0eea35672b52)
/frameworks/base/core/java/android/os/Build.java
0f206a149d27385ef092a34e0009a8607d663659 12-Apr-2014 Narayan Kamath <narayan@google.com> Package manager changes for dual zygote stack.

- Pass down the app's instruction set to dexopt so that
it can compile the dex file for the right architecture.

- Also pass down the app's instruction set to rmdex, movedex
and getSize so that they can construct the cache file
location properly.

- Temporarily compile "system" jars such as am,wm etc. for
both architectures. A follow up change will ensure that
they're compiled only for one architecture (the same
arch. as the system server).

- Java "shared" libraries are now compiled for the right
architecture when an app requires them.

- Improve the app native library ABI detection to account
for system apps installed in /system/lib{64}/<packagename>
and also handle sdcard and forward locked apps correctly.

Change-Id: I4f380b146137803e51d56fdf355c3bdfc92c409d
/frameworks/base/core/java/android/os/Build.java
293513a59d36cd96a3e474dde5981380d372d8c9 30-Apr-2014 Bill Yi <byi@google.com> Merge commit '0b62467b142b61ee1e449ba958ba37dfd961ef56' into HEAD
bdd4491b322bebd96b99da508ec7b0b7d59d97ae 12-Apr-2014 Jeff Sharkey <jsharkey@android.com> Gracefully handle long fingerprints.

Otherwise derived fingerprints longer than the maximum system property
size put the device into a crash loop.

Bug: 13983493
Change-Id: I8a88e71b1fd396f1cd63b414e3a62bb25010430c
/frameworks/base/core/java/android/os/Build.java
5568772e8161205b86905d815783505fd3d461d8 10-Apr-2014 Jeff Sharkey <jsharkey@android.com> Derive fingerprint at runtime when undefined.

Some devices leave "ro.build.fingerprint" undefined at build time,
since they need to build it from the components at runtime.

Bug: 13340779
Change-Id: I4d74398817af22079a11c196dc6742b85d2bfb61
/frameworks/base/core/java/android/os/Build.java
ffcda1086185f217ebfbac0735f92fcc8a9196c8 24-Apr-2014 Dianne Hackborn <hackbod@google.com> Add support for muliple active development codenames.

The resource API level is also bumped by the number of
active codenames there are.

Change-Id: Ic1bac452d5c13dc3f48040ffa47f54b28abe2ccc
/frameworks/base/core/java/android/os/Build.java
5b5def547201b213bc2325400371c37d1612732e 11-Apr-2014 Michael Wright <michaelwr@google.com> Fixed a typo implying intents must and must not be explicit.

Change-Id: Id9746fad2e475b94d8d45f641bc5e2eaf9c874ae
/frameworks/base/core/java/android/os/Build.java
047f3c71a48d90a2b022bd886bf581add2d68326 16-Apr-2014 Jeff Brown <jeffbrown@google.com> resolved conflicts for merge of 3ee9dc58 to master

Change-Id: Idd045d01246367b77718210c8b6665110da58ac4
3ee9dc58e5e1e39fac184b98cac0c7c46af72dd9 16-Apr-2014 Jeff Brown <jeffbrown@google.com> am fa72a9ea: Merge "Declare VersionCodes.KITKAT_WATCH." into klp-modular-dev

* commit 'fa72a9eaae6170e65d9ba72720ee7b0d752f8847':
Declare VersionCodes.KITKAT_WATCH.
1c3f332c3fe2af24126739010d71d1cfe250eb0c 16-Apr-2014 Jeff Brown <jeffbrown@google.com> Declare VersionCodes.KITKAT_WATCH.

The constant does not have a final value yet but is useful for
documentation purposes during development.

Change-Id: Iddd9b956eff822a9a25e9df483b5bd3979189023
/frameworks/base/core/java/android/os/Build.java
d11f223c535ed9ce628fe5aaf0fd5692dd0cf9e4 10-Apr-2014 Narayan Kamath <narayan@google.com> resolved conflicts for merge of 286a247e to master

Change-Id: I63df9d482da3ce2ac851959223b9180020ffad0c
286a247e4c8fcecb59636f668678d24e33142744 10-Apr-2014 Narayan Kamath <narayan@google.com> am 0fd40cb1: am 80413c9f: Merge "Re-implement native library search and copies."

* commit '0fd40cb100bccbd5d9ad6109ca39c818a857f889':
Re-implement native library search and copies.
1378aba7aeeb7f6dd6cc2503968ba7b0e58d9333 28-Feb-2014 Ramin Zaghi <ramin.zaghi@arm.com> Re-implement native library search and copies.

We now use a two step approach :

- First we look through the list of shared libraries in an
APK, and choose an ABI based on the (priority) list of ABIs
a given device supports.
- Then we look through the list of shared libraries and copy
all shared libraries that match the ABI we've selected.

This fixes a long-standing bug where we would sometimes copy
a mixture of different ABIs to the device, and also allows us
to clearly pick an ABI to run an app with.

The code in NativeLibraryHelper has been refactored so that all
file name validation & matching logic is done in a single place
(NativeLibrariesIterator). This allows us to avoid a lot of
redundant logic and straightens out a few corner cases (for eg.
where the abi determination & copying logic do not agree on
what files to skip).

bug: https://code.google.com/p/android/issues/detail?id=65053
bug: 13647418

Change-Id: I34d08353f24115b0f6b800a7eda3ac427fa25fef
Co-Authored-By: Zhenghua Wang <zhenghua.wang0923@gmail.com>
Co-Authored-By: Ramin Zaghi <ramin.zaghi@arm.com>
Co-Authored-By: Narayan Kamath <narayan@google.com>
/frameworks/base/core/java/android/os/Build.java
10ad98223fd1fabb7b893de55d1384fd012aed7b 17-Mar-2014 Dianne Hackborn <hackbod@google.com> Start enforcing explicit intents for Context.bindService()

No longer prints a warning, now throws an exception.

Also fix a bug in UserManagerService that was causing an
exception while booting.

Change-Id: I3b43cfe08067da840b6850b9bed58664d36d34f1
/frameworks/base/core/java/android/os/Build.java
491b40d752578b4f6e73333a478fb8c547adb929 30-Oct-2013 Dirk Dougherty <ddougherty@google.com> Doc change: Change description for BRAND.
Bug:11431921

Change-Id: Id08bb58a52699942e0cf626aeb577ac05c84c575
/frameworks/base/core/java/android/os/Build.java
3ec2f60ebde1e6fa6ee276b4d5dfaa5d56ed3cef 29-Oct-2013 Jeff Sharkey <jsharkey@android.com> Mention external storage changes in KITKAT docs.

Bug: 11388971
Change-Id: I97145472948867f54125f1d0f0237bf3b339535e
/frameworks/base/core/java/android/os/Build.java
6bc3789b3982d25bf3fc09d257efa6cdb628e7f2 03-Oct-2013 Dianne Hackborn <hackbod@google.com> KLP/KitKat is now API 19.

Bug: 10348975

Change-Id: I19bf1a56064deda2e59085520960aac8ce3a825b
/frameworks/base/core/java/android/os/Build.java
e8222dddaf2e3da14380101e818d4254899e0c0d 05-Sep-2013 Chet Haase <chet@google.com> Change build version from KEY_LIME_PIE to KITKAT

Issue #10631619 Change build version to KitKat

Change-Id: I6ad13f6169ad74204078d36929479998b498ad8b
/frameworks/base/core/java/android/os/Build.java
221ea892dcc661bd07d6f36ff012edca2c48aed4 05-Aug-2013 Dianne Hackborn <hackbod@google.com> Start restricting service calls with implicit intents.

The bindService() and startService() calls have always had
undefined behavior when used with an implicit Intent and there
are multiple matching services. Because of this, it is not
safe for applications to use such Intents when interacting with
services, yet the platform would merrily go about doing... something.

In KLP I want to cause this case to be invalid, resulting in
an exception thrown back to the app. Unfortunately there are
lots of (scary) things relying on this behavior, so we can't
immediately turn it into an exception, even one qualified by the
caller's target SDK version.

In this change, we start loggin a WTF when such a call happens,
and clean up some stuff in Bluetooth that was doing this behavior.

Change-Id: I62e25d07890588d2362104e20b054aebb6c0e007
/frameworks/base/core/java/android/os/Build.java
eadbcd3352fa58c685f83e4128f4a01c904b9c7e 23-Apr-2013 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 8c3cb811 to master

Change-Id: I1cd4186b6b2dcb3d1d7d21c346384dbcc6e6a8df
d2eeed635d2d7fdeeda0a1eaa6ec9e659198c45f 22-Apr-2013 Dianne Hackborn <hackbod@google.com> JB MR2 == API 18.

Change-Id: Ia62a81f8ebc79ae0e01b181f4ef47ef192c71592
/frameworks/base/core/java/android/os/Build.java
5d2bfa1604419fbe7ce2a3709dce82a60d429b84 05-Mar-2013 Dianne Hackborn <hackbod@google.com> Welcome, Key Lime Pie.

Change-Id: I00ebaffda975b368aa5f727963899e80a233c744
/frameworks/base/core/java/android/os/Build.java
45e9ede55f3c5049fed1fc5002bd5084d1cd7eac 26-Feb-2013 Dianne Hackborn <hackbod@google.com> Add version code constant for JB MR2.

Change-Id: I60fc76bbeb3c5e85d716179e9e3ea5758bafaf69
/frameworks/base/core/java/android/os/Build.java
a985c3bb145c75176f105e1188cd42c8373d503d 10-Jan-2013 Nick Kralevich <nnk@google.com> Add K api version.

Change-Id: I2b74e06f8bda8b23c5cc4280af4b18a5ad66a6c2
/frameworks/base/core/java/android/os/Build.java
1506921e8e7897be8297365dcaf15f4c6d6eb472 10-Jan-2013 Nick Kralevich <nnk@google.com> Revert "App home directories are now 0700 for targetSdkVersion > 17"

This reverts commit 92091fa9636403728fe94cc83400495a8612c2d3.

Bug: 7966399
Bug: 7208882
/frameworks/base/core/java/android/os/Build.java
92091fa9636403728fe94cc83400495a8612c2d3 13-Dec-2012 Nick Kralevich <nnk@google.com> App home directories are now 0700 for targetSdkVersion > 17

Pass targetSdkVersion to installd so it knows the appropriate
permissions to apply to the app's home directory.

Bug: 7208882
Change-Id: Ia62ed36b32ee5af01077fb10a586024411be8ed4
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
2caec6c682853ccbfe73ef5ae15c1d03ea043e8a 08-Aug-2012 Nick Kralevich <nnk@google.com> Fix link typo.

Change-Id: I182b9c04caddcc4a985f206eddf5c23b06afe0e3
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
435cdb4604d9112c2fa8b2bb8d0ec49468bfdcf2 31-Jul-2012 Dianne Hackborn <hackbod@google.com> New API level 17 for JB MR1.

Change-Id: If71ce3b521fe17578feb5c2a2f7fd65696720554
/frameworks/base/core/java/android/os/Build.java
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/core/java/android/os/Build.java
fa61f0b2e25382d3a8ea35024dd227606151e87a 10-May-2012 Dianne Hackborn <hackbod@google.com> JellyBean is now 4.1.

Change-Id: Ie37a7c4356d593010686d5dc7d6e715d30099e1e
/frameworks/base/core/java/android/os/Build.java
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(
PackageParser.java:355)
5959515: PackageManager doesn't validate className in setComponentEnabledSetting
/frameworks/base/core/java/android/os/Build.java
81e9276a479fd3a5ccc3129505c0fb018941934b 10-Oct-2011 Dianne Hackborn <hackbod@google.com> Added JELLY_BEAN version name; update some targetSdkVersion docs.

Change-Id: Ia38ff5b9ad2b63c2cf667260881222d9ff168052
/frameworks/base/core/java/android/os/Build.java
478237db07b1fc1f19d20a61adf2dc08e713e881 06-Dec-2011 Dianne Hackborn <hackbod@google.com> Truthiness is good.

Change-Id: Iedd4d4027576001fc5e829bb0a1023dd2aefce99
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
9d0e37e27cc4e71088afb2cda927454bca14b939 22-Sep-2011 Dianne Hackborn <hackbod@google.com> Some new ICS target SDK changes.

Change-Id: I5a500a5faddadbcb98bf181ad413c6d9fd7e663e
/frameworks/base/core/java/android/os/Build.java
0784cfb4b75e5ec3f4cc2ff57000c007f93b50b1 14-Sep-2011 Dianne Hackborn <hackbod@google.com> ICS is API 14.

Change-Id: I95f500f94ce206ae6ca6938d17537431d8799237
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
2d6833bab353e31ceb4230f3f3563fca2e0d9f6f 25-Jun-2011 Dianne Hackborn <hackbod@google.com> Turn on HW accel by default for apps that target ICS.

Change-Id: I010e11e03b2dfd0d1db8c47f74c25a28586fd79c
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
9d97b63d0e0c7c9deb2d140c1dd579b51f52c1af 23-Jan-2011 Dianne Hackborn <hackbod@google.com> Honeycomb is now officially API 11.

Change-Id: I5b11801468bf6ee2482f1ef201ece70ed9303bd8
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
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
that.

Change-Id: I6e035f9702a97b055416743b88f83a22ba4a9584
/frameworks/base/core/java/android/os/Build.java
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
activity.

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
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
4fa1a221b466d6da6c68150b38cd17b085ab5e26 18-Oct-2010 Dianne Hackborn <hackbod@google.com> Remove public resource padding.

Change-Id: Id4f28ecfb7a87267c256571ed5f98652730b44fc
/frameworks/base/core/java/android/os/Build.java
3d2818d34feab5a62dfb33452f99f2d3ca667cc8 18-Oct-2010 Dianne Hackborn <hackbod@google.com> Remove public resource padding.

Change-Id: I8a530a23284a1f2515b1340a1c5e5ed3a0b90780
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
3e03cfa3af8acf3aad0abc464d2bcab1225a971d 13-Jun-2010 Dianne Hackborn <hackbod@google.com> Update build version information.

Change-Id: If53f16d494255230859a30f561e9a78ec49c6c10
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
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.
/frameworks/base/core/java/android/os/Build.java
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.
/frameworks/base/core/java/android/os/Build.java
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.
/frameworks/base/core/java/android/os/Build.java
fa9cafa074eb5d98b49b63795cd947877df1f21d 07-Jan-2010 Ficus Kirkpatrick <ficus@android.com> Add a string for second-ABI system property to android.os.Build.
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
0fa35918af608b56fb3f6aa98341624e22447f92 23-Oct-2009 Dianne Hackborn <hackbod@google.com> Add SDK version for MR1.

Change-Id: Idb13ed9a35397effbfb72a934a7db5f5a882c79c
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
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.
/frameworks/base/core/java/android/os/Build.java
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
/frameworks/base/core/java/android/os/Build.java
4a51c20ce607c74914f90fd897f04080121ac13b 22-Aug-2009 Dianne Hackborn <hackbod@google.com> I am getting tired of the java doc warnings, so fix them.

Change-Id: I2205eebae419eaf4a0992c9f5b7cd807eb843fe1
/frameworks/base/core/java/android/os/Build.java
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.

- START_REDELIVER_INTENT is like START_NOT_STICKY, except if
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
/frameworks/base/core/java/android/os/Build.java
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.
/frameworks/base/core/java/android/os/Build.java
5a3a77dabd744d5be79d7745c2a977c108a9ad98 01-Jun-2009 San Mehat <san@google.com> base: Rename WRITE_SDCARD -> WRITE_EXTERNAL_STORAGE

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/core/java/android/os/Build.java
b181118b6e58c0014da4e9d52bf38548adc73a8a 22-May-2009 Dianne Hackborn <hackbod@google.com> Define TARGET_CPU_ABI for finding native code in .apks
/frameworks/base/core/java/android/os/Build.java
d62ad4f120e92fd597f44caf125ac853ac0ea11c 20-May-2009 Dianne Hackborn <hackbod@google.com> Fix issue #1859814: Add android.os.Build.MANUFACTURER
/frameworks/base/core/java/android/os/Build.java
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.
/frameworks/base/core/java/android/os/Build.java
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.
/frameworks/base/core/java/android/os/Build.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/os/Build.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/os/Build.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/frameworks/base/core/java/android/os/Build.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/os/Build.java