7ecc6b721e5da0cc3a52dc14bdfd8d1308db84bc |
|
28-Apr-2015 |
Narayan Kamath <narayan@google.com> |
am 71fa6862: Merge "Fix NPE in Bundle#hasFileDescriptor on null-valued SparseArray" * commit '71fa6862f307796c659fd4e83a7724dd6851b69e': Fix NPE in Bundle#hasFileDescriptor on null-valued SparseArray
|
90601a724efea2a15769195b4c452d854607931e |
|
28-Apr-2015 |
Narayan Kamath <narayan@google.com> |
am b736868b: Merge "Fix NullPointerException in Bundle#hasFileDescriptors" * commit 'b736868be917afd5d3ea7e8a8d3d658c4350a239': Fix NullPointerException in Bundle#hasFileDescriptors
|
ecd21848731f55978cdac739e6d4460a83449202 |
|
28-Apr-2015 |
Taiju Tsuiki <tzik@google.com> |
Fix NPE in Bundle#hasFileDescriptor on null-valued SparseArray Add a null check for each values of SparseArray in Bundle#hasFileDescriptor to avoid NullPointerException. Change-Id: I43ecc01f2759ccbe85b902fa118d55cb74ebf38b
/frameworks/base/core/java/android/os/Bundle.java
|
e58c7858a39d58a222fe8302dc5ffbe4a25c5bf1 |
|
22-Apr-2015 |
Taiju Tsuiki <tzik@google.com> |
Fix NullPointerException in Bundle#hasFileDescriptors Add null check for array elements in Bundle#hasFileDescriptors to avoid NPE on null valued array. Change-Id: Ic6ef8864ca6add023c7a69ba3c9474b0f6291723
/frameworks/base/core/java/android/os/Bundle.java
|
a83ce1dd2ad3a6b71e90ff4845afc1299fe17b9d |
|
11-Mar-2015 |
Dianne Hackborn <hackbod@google.com> |
More work on collecting assist data. Optimize parceling of AssistData (which is now renamed to AssistStructure) by pooling duplicated class name strings. Change text associated with a view node to a CharSequence, so styling information comes along. Include global text attributes -- size, colors, etc. Introduce a new AssistContent structure, which allows us to propagate information about the intent and data the activity is looking at. This further allows us to propagate permission grants, so the assistant can dig in to that data. The default implementation propagates the base intent of an activity, so if for example you bring up the assistant while doing a share the assistant itself has the same information and access that was given to the share activity (so it could for example share it in another way if it wanted to). Did some optimization of loading PersistableBundle from xml, to avoid duplicating hash maps and such. Changed how we dispatch ACTION_ASSIST to no longer include the more detailed AssistStructure (and new AssistContent) data when launching; now the example code that intercepts that needs to be sure to ask for assist data when it starts its session. This is more like it will finally be, and allows us to get to the UI more quickly. Change-Id: I88420a55761bf48d34ce3013e81bd96a0e087637
/frameworks/base/core/java/android/os/Bundle.java
|
7b91c55b3ff4857e904a11a0a67fcc86a32868b4 |
|
02-Mar-2015 |
John Spurlock <jspurlock@google.com> |
Merge "Remove unused imports in frameworks/base."
|
c6a65dff3d9ed3e75f9f4f5abbf24e3d10bdba8b |
|
02-Mar-2015 |
Scott Kennedy <skennedy@google.com> |
Annotate Bundle with @Nullable Change-Id: Ide572124deea8271ca5c47009acb62603d644363
/frameworks/base/core/java/android/os/Bundle.java
|
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac |
|
28-Feb-2015 |
John Spurlock <jspurlock@google.com> |
Remove unused imports in frameworks/base. Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/core/java/android/os/Bundle.java
|
73bdf9761be2abdd85efc5fce165f3fa80fcfa65 |
|
10-Dec-2014 |
Craig Mautner <cmautner@google.com> |
Add put/getBoolean/Array to PersistableBundle Due to popular demand the methods putBoolean(), getBoolean(), putBooleanArray() and getBooleanArray() have been added to PersistableBundle. Fixes bug 18390436. Change-Id: Id133ba902aca774f98529e36ce560e873b88ad5b
/frameworks/base/core/java/android/os/Bundle.java
|
5ef33984d0cc50bf4654b0d8e9557ac34d44fddd |
|
05-Sep-2014 |
Jeff Sharkey <jsharkey@android.com> |
Move Size parceling to Bundle. Size itself shouldn't be Parcelable, since that would be a layering violation. Bug: 17390381 Change-Id: Ica62709bd889db51c916c550a0146714b002baa3
/frameworks/base/core/java/android/os/Bundle.java
|
b3af535adec8003d42c38d289ca514c92373c1fe |
|
24-Jun-2014 |
Narayan Kamath <narayan@google.com> |
resolved conflicts for merge of 816cff12 to master Change-Id: I33990232771138dcf91f55c7cde6bbfe40612b8f
|
ca2197b0457b1626b95a053d835ceaca43ac0286 |
|
19-Jun-2014 |
Narayan Kamath <narayan@google.com> |
Update javadoc for android.os.Bundle. Call out the fact that defaultValue is returned if a null mapping exists for a given key. bug: https://code.google.com/p/android/issues/detail?id=68453 Change-Id: Ifa6e94c1dee47809f70cadcb668cb98cb8dbef14
/frameworks/base/core/java/android/os/Bundle.java
|
0a8e160eb56f3b8f504b37349a79ec4edb7e5039 |
|
29-May-2014 |
Craig Mautner <cmautner@google.com> |
Change PersistableBundle API per council's request Fixes bug 15192573. Change-Id: Ib98ef132c8c12e68e805cb3c0b1f7ae75940f17c
/frameworks/base/core/java/android/os/Bundle.java
|
719e6b167041ffaffc2245f692714c8de191863f |
|
05-Apr-2014 |
Craig Mautner <cmautner@google.com> |
Introduce PersistableBundle The PersistableBundle class is similar to Bundle except that only objects that have meaning across reboots can be stored and there is a limited number of types that can be stored. More specifically Binders, FileDescriptors, Parcelables, Booleans, Bytes, Shorts, Chars, CharSequences, Floats, and ArrayLists cannot be stored. Fixes bug 13736007. Change-Id: If6595b2e6fd92af6b7f60c4f7140ae867c258794
/frameworks/base/core/java/android/os/Bundle.java
|
6f5d85377be86f6d2856470788471bdda5832366 |
|
15-Nov-2013 |
Dianne Hackborn <hackbod@android.com> |
am 47b260d0: am 572b759a: Merge "Use index in SparseArray access properly" * commit '47b260d071859a8c20bb0af2bcc095e253f7046c': Use index in SparseArray access properly
|
b94d654d36d6352d56847d877450b80da7e0d5b4 |
|
13-Nov-2013 |
Igor Chernyshev <igorc@google.com> |
Use index in SparseArray access properly The original code was calling get() rather than valueAt(), treating index as if it was a key. Change-Id: I52539dfcb49b3d2ee3cb027d38c50b46f73b5ee7 Signed-off-by: Igor Chernyshev <igorc@google.com>
/frameworks/base/core/java/android/os/Bundle.java
|
8aee64d18b6b90e46e886a80d8de0467d682ddc4 |
|
25-Oct-2013 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #11290095: Parcel change causing crashing in KLP... ...when reading from empty byte[] Better handling of empty bundles and parcels. Change-Id: Ie9182e43a52b8f163e8fb20bd1d110e0832683e6
/frameworks/base/core/java/android/os/Bundle.java
|
4a7d824c3b41eafc4ff91d3253ff8a9ebd60a454 |
|
03-Oct-2013 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #10921903: CTS: android.os.cts.ParcelTest#testReadBundle... ...fails from KRS84 across all platforms My fix for issue #10807048 was wrong, wrong, wrong. The problem was actually just a stupid mistake in ArrayMap.erase(). This makes it all right. Change-Id: I762f7a2d5100bceb86a091ab3d6368edc21b4266
/frameworks/base/core/java/android/os/Bundle.java
|
e784d1e4cfeaf3a9accd7caa33c087abd8f39040 |
|
21-Sep-2013 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #10807048: Groupon: The application crash when user rotates... ...device to another mode (portrait or landscape) on Main page. So, it turns out that Bundle claimed to have an invariant that either mParcelledData or mMap would hold its data, never both. The new implementation on top of ArrayMap assumed this was the case. However, there is one situation where it is not true: an application can take an existing Bundle that contains data, and call readFromParcel() on it. The implementation of readFromParcel() would just pull out the parceled data and stuff it in to mParcelledData for later unparceling, even if that Bundle already had a non-empty mMap. To fix this, we just look for this case in readFromParcel() and immediately unparcel at that point into the existing map, using a new unparcelling method that doesn't rely on the target map being empty. Change-Id: Ib816b6876a6cd2760b7a3372c7a79ca2f12dfeba
/frameworks/base/core/java/android/os/Bundle.java
|
aeb16e2435f9975b9fa1fc4b747796647a21292e |
|
28-Aug-2013 |
Jeff Sharkey <jsharkey@android.com> |
Stronger DocumentsProvider contract. Using a contract class requires that a provider implement it exactly with little help. This change introduces a DocumentsProvider abstract class that provides a client-side implementation of the contract that greatly reduces developer burden, and improves correctness. This also moves to first-class DocumentRoot objects, and moves calls with complex side effects to be ContentProvider.call() invocations, offering more granular permission control over Uri operations that shouldn't be available through Uri grants. This new design also relaxes the requirement that root information be burned into every Uri. Migrate ExternalDocumentsProvider and DocumentsUI to adopt new API. Bug: 10497206 Change-Id: I6f2b3f519bfd62a9d693223ea5628a971ce2e743
/frameworks/base/core/java/android/os/Bundle.java
|
450d8c5b7c936b00fd0d40b5d68670df0fe56daa |
|
20-Jul-2013 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #9940105: IllegalArgumentException in ArrayMap Try to deal with unmarshalling old parcels. Turns out someone was writing a parcel to disk storing a Bundle. Naughty, naughty. This helps us not completely keel over. Change-Id: Id343da2690b7bab89f6c3cb6fad1b92f270dad03
/frameworks/base/core/java/android/os/Bundle.java
|
127c5ef5d7bf2dc44fc53deeda9058a17e27addb |
|
19-Jul-2013 |
Dianne Hackborn <hackbod@google.com> |
Fix crash. Change-Id: I0b5d846d5a9e6b1c7c3756b653833c263634270b
/frameworks/base/core/java/android/os/Bundle.java
|
b87655b3e551c6a32f34084c8533800bbd1aff7d |
|
18-Jul-2013 |
Dianne Hackborn <hackbod@google.com> |
Switch Bundle's implementation over to ArrayMap. That was... um... easier than I thought it was going to be. Change-Id: Id8f2211c1d5f8145e0bb009dca0f62a590f2b860
/frameworks/base/core/java/android/os/Bundle.java
|
8ad7fbae871c9e08b217554b0b5757365ff487c1 |
|
06-Mar-2013 |
Scott Kennedy <skennedy@google.com> |
Specify the size of the Map in the constructor Change-Id: Ie3325f387cec72216cb70c1b764370e6f3dd1a3e
/frameworks/base/core/java/android/os/Bundle.java
|
3cbdddbd5ce6f52688d88f120c1e5214ed6afbda |
|
26-Feb-2013 |
Dianne Hackborn <hackbod@google.com> |
Add Bundle APIs for putting/getting Binder objects. This is really useful for certain cases, you just need to be thoughtful and careful about what you are doing. Change-Id: I314592480e447a6d8346f5089fade35da50b3510
/frameworks/base/core/java/android/os/Bundle.java
|
116751d84f6d276f2cac7074abd9f8ba23742958 |
|
21-Dec-2012 |
Christopher Tate <ctate@google.com> |
Shrink Bundle.getString(key, default) and getCharSequence(key, default) They previously duplicated the full logic of getString(key) and getCharSequence(key) independently. Now they both use the no-default version internally, resulting both in a single point of implementation for test & isolation purposes and in a (small) decrease in code size. Change-Id: If1b1e1fa4a549a0ec4cf221e54998f4fd438f3a2
/frameworks/base/core/java/android/os/Bundle.java
|
9f6cb87522d395eacd87dff1da525f4dc9809d27 |
|
30-Nov-2012 |
Nicolas Klein <foxykeep@google.com> |
Fix some typos and missing @param in android.os.Bundle getChar(String) and getChar(String, char) had wrong description in their javadoc. Also most of the get methods with default value were missing the corresponding @param tag for the default value parameter. Change-Id: I0f38b3caacf9cabd70e0c1ada36af3662f5566d0
/frameworks/base/core/java/android/os/Bundle.java
|
678d04f1b6d189b2d867d518065f90dce7292863 |
|
23-Mar-2012 |
Jeff Sharkey <jsharkey@android.com> |
Copy EXTRA_STREAM into ClipData and grant. When sending SEND or SEND_MULTIPLE intents, copy any EXTRA_STREAM Uris to ClipData and set GRANT_READ_URI_PERMISSION flag. Bug: 6216357 Change-Id: I3c9b0d1d4b7e0c4655b47c4192150b0c3641e0e8
/frameworks/base/core/java/android/os/Bundle.java
|
c04db7e06737c5b9bae276ac462858d44002672e |
|
04-Oct-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix handling of "allow fds" state. Didn't take into account nesting of bundles. Boo. Change-Id: Ic8cf21ad8d6f4938a3e105128624c9d162310d01
/frameworks/base/core/java/android/os/Bundle.java
|
9ecebbfbf768fd63e9a6c9a09c86d81c7737ee2d |
|
29-Sep-2011 |
Dianne Hackborn <hackbod@google.com> |
Add mechanism for Parcel to not allow FDs to be written to it. This is to help implement issue #5224703. Change-Id: I026a5890495537d15b57fe61227a640aac806d46
/frameworks/base/core/java/android/os/Bundle.java
|
e3a7f628c6d9fef42be24999b3137ebe5c6f3525 |
|
04-Mar-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix Fragment.onInflate() to actually work correctly. Like, um, it needs to be given the Activity since this is called before the activity is attached. And it was called after the entire fragment and its *view* was created when being restored from saved state. And the documentation was whacked. Also fix the IME selector to dismiss when you tap outside of it. Change-Id: Icbcafe7558965a570bdef9cda3441b1f0f7a317c
/frameworks/base/core/java/android/os/Bundle.java
|
5164246d7e47b9c995ca1e1587f3056eb777f60b |
|
28-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix setting of class loader. Also add Bundle API to retrieve its class loader because... well, why not. Change-Id: Ie939f6a2ae13974e5a05eb5bd3b28f350d8a8565
/frameworks/base/core/java/android/os/Bundle.java
|
1877d0158b529663b8315482e7346a7bcaa96166 |
|
05-Mar-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
Add "call" method on ContentProvider. This permits implementing interfaces which are faster than using remote Cursors. It then uses it for Settings & SettingProvider, which together account for ~50% of total ContentProvider event loop stalls across Froyo dogfooders. For fetching Settings this looks like it should reduce average Settings lookup from 10 ms to 0.4 ms on Sholes, once the SettingsProvider serves most gets from in-memory cache. Currently it brings the Sholes average down from 10ms to 2.5 ms while still using SQLite queries on each get.
/frameworks/base/core/java/android/os/Bundle.java
|
08bbffb049c135c5dfd40d261118c90d1a6dc111 |
|
25-Feb-2010 |
Bjorn Bringert <bringert@android.com> |
Support CharSequence lists+arrays in Bundle+Intent Fixes http://b/issue?id=2468093 Change-Id: Id82686f6ca8c9501f6db8a07018278a78ddacd05
/frameworks/base/core/java/android/os/Bundle.java
|
6aff905048ba3b03724f17e2aba9089872e14cd2 |
|
22-May-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix a major bug in Bundle when unparcelling from AIDL. There was a serious problem in the Bundle(Parcel) and readFromParcel() methods, where it wasn't doing the copying of the Parcel that Parcel.readBundle() does and is a basic requirement for it to work correctly. This re-arranges the code to make all of these functions (hopefully) correct. Also fix a problem in Parcel where we were not duping fds when copying data from one Parcel to another.
/frameworks/base/core/java/android/os/Bundle.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/Bundle.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/Bundle.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/os/Bundle.java
|