OSDN Git Service
Mathieu Chartier [Wed, 21 Aug 2013 00:16:03 +0000 (17:16 -0700)]
Launch VM with -XX:LowMemoryMode if ro.config.low_ram is "true".
Bug:
10131789
Change-Id: Ib9962f7becdedd71f48123a4720dcce1d09abb9d
Alan Viverette [Tue, 20 Aug 2013 23:28:16 +0000 (23:28 +0000)]
Merge "Add implicit parent dependency for Preferences" into klp-dev
Christopher Tate [Tue, 20 Aug 2013 22:59:39 +0000 (22:59 +0000)]
Merge "Make "low ram device" a readonly system property" into klp-dev
Selim Gurun [Tue, 20 Aug 2013 22:41:53 +0000 (22:41 +0000)]
Merge "Added the callback signal." into klp-dev
Selim Gurun [Tue, 20 Aug 2013 14:04:20 +0000 (07:04 -0700)]
Added the callback signal.
Bug:
10190508
Change-Id: I52b327e0724938e1de7ce7550d26563364ff1589
Sandeep Siddhartha [Tue, 20 Aug 2013 21:41:44 +0000 (21:41 +0000)]
Merge "Add hotword detection in insecure keyguard" into klp-dev
Christopher Tate [Tue, 20 Aug 2013 20:55:50 +0000 (13:55 -0700)]
Make "low ram device" a readonly system property
This lets components outside the Zygote / Android resource regime
know whether this is considered a "low ram" device.
Set the property [ro.config.low_ram] to "true" if the device is to be
considered low-ram. Any other property string (or its absence) will
be interpreted as meaning this is a normal larger-ram device. The
"true" string must be all lower case.
Bug
10131789
Change-Id: I15332d169b4aa4eaa0a6c1952787af0b03d23a6b
Andy McFadden [Tue, 20 Aug 2013 21:27:06 +0000 (21:27 +0000)]
Merge "Avoid crashing in unlockCanvasAndPost" into klp-dev
Matthew Xie [Tue, 20 Aug 2013 21:18:29 +0000 (21:18 +0000)]
Merge "Update comments" into klp-dev
Sandeep Siddhartha [Thu, 15 Aug 2013 23:08:42 +0000 (16:08 -0700)]
Add hotword detection in insecure keyguard
- This talks to a service that's implemented by the Search app
- The AIDL interface may be moved to the framework in a later CL
Change-Id: I26553e46f7d17ba4ac7a952c871b28b261cba975
Jason Monk [Tue, 20 Aug 2013 21:13:23 +0000 (21:13 +0000)]
Merge "Fix ProxyHandler to only run when needed" into klp-dev
John Du [Tue, 20 Aug 2013 21:03:28 +0000 (14:03 -0700)]
Update comments
bug
10152994
Change-Id: I05bbd917ebd0d140e0894f8bf7e43d0fc77378c8
Fabrice Di Meglio [Tue, 20 Aug 2013 20:51:02 +0000 (20:51 +0000)]
Merge "Fix bug #
10409069 Spinner Drawable is not mirrored in RTL mode" into klp-dev
Svetoslav [Tue, 20 Aug 2013 20:42:05 +0000 (20:42 +0000)]
Merge "Implemented advanced printer selection and API refactoring." into klp-dev
Matthew Xie [Tue, 20 Aug 2013 19:47:29 +0000 (19:47 +0000)]
Merge "Change abortReliableWrite(BluetoothDevice) to abortReliableWrite()" into klp-dev
Fabrice Di Meglio [Tue, 20 Aug 2013 18:01:22 +0000 (11:01 -0700)]
Fix bug #
10409069 Spinner Drawable is not mirrored in RTL mode
- add missing android:autoMirrored="true" on corresponding StateList
Change-Id: Iea6930089f33061f2cf0ae83739bb8b3356f1e1b
Jason Monk [Wed, 14 Aug 2013 19:50:59 +0000 (15:50 -0400)]
Fix ProxyHandler to only run when needed
Changes ProxyHandler service to only be active when needed for PAC services.
Bug:
10260877
Change-Id: If42e53e805488fd08381baa96409ba3027661c70
Tom O'Neill [Tue, 20 Aug 2013 18:52:37 +0000 (11:52 -0700)]
Fix build: remove obsolete TODO
Change-Id: Ie8ef50450a8c415deba9b71607bec89e72db9227
Maggie Benthall [Tue, 20 Aug 2013 18:35:08 +0000 (18:35 +0000)]
Merge "Add methods for managing CAs to DevicePolicyManager(Service)" into klp-dev
Maggie Benthall [Fri, 9 Aug 2013 02:35:44 +0000 (22:35 -0400)]
Add methods for managing CAs to DevicePolicyManager(Service)
Guard install/uninstall by enforcing that the caller have the new system-only permission MANAGE_CA_CERTIFICATES.
Also include API methods for asking whether there are any User CA certs
installed, or if one by a particular name is installed in the keystore.
CA certs will be installed via KeyChain into the TrustedCertificateStore.
Bug:
8232670
Change-Id: I17b47a452e72eb4fe556dc6db823a46c6e854be8
Tim Murray [Tue, 20 Aug 2013 18:27:00 +0000 (18:27 +0000)]
Merge "Handle updates to C++ API." into klp-dev
Chong Zhang [Tue, 20 Aug 2013 18:25:05 +0000 (18:25 +0000)]
Merge "MediaPlayer: add listener for subtitle data" into klp-dev
Andy McFadden [Tue, 20 Aug 2013 17:05:51 +0000 (10:05 -0700)]
Avoid crashing in unlockCanvasAndPost
It's possible to update the native surface pointer while the
surface is locked (via lockCanvas). This leads to a surprise when
the surface is unlocked. Avoid the surprise by tracking the
locked surface separately.
Bug
10289713
Change-Id: I84346c952be859bbd91ceae7df07b91dabe0948e
Chong Zhang [Tue, 20 Aug 2013 18:23:12 +0000 (18:23 +0000)]
Merge "MediaPlayer.TrackInfo: add getFormat() method" into klp-dev
Tom O'Neill [Tue, 20 Aug 2013 18:13:09 +0000 (18:13 +0000)]
Merge "Add the API to set and read the location mode" into klp-dev
Yu Shan Emily Lau [Tue, 20 Aug 2013 02:36:53 +0000 (02:36 +0000)]
Merge "Add the checking for the camcorder profile." into klp-dev
Yu Shan Emily Lau [Tue, 20 Aug 2013 02:03:26 +0000 (19:03 -0700)]
Add the checking for the camcorder profile.
Not all the devie have camera. Only run the
recording test when the camcorder profile is
not null.
Change-Id: Ib38df363fe5e6049b72e97ae229964fb65882269
Eric Laurent [Tue, 20 Aug 2013 01:33:26 +0000 (01:33 +0000)]
Merge "AudioSystem: new audioflinger restart detection" into klp-dev
Eric Laurent [Thu, 18 Jul 2013 21:41:39 +0000 (14:41 -0700)]
AudioSystem: new audioflinger restart detection
Add a specific method to AudioSystem for AudioService to poll
for AudioFlinger service restart instead of relying on current
callback mechanism which is flaky.
Bug:
9693068.
Change-Id: Id21d142a22b257205700201978cce1cb8b15180d
Lorenzo Colitti [Tue, 20 Aug 2013 01:17:30 +0000 (01:17 +0000)]
Merge "Display signal strength on data-only SIMs." into klp-dev
Tom O'Neill [Tue, 20 Aug 2013 01:14:56 +0000 (18:14 -0700)]
Add the API to set and read the location mode
- This will be more future-proof than the current GPS/NLP API
Change-Id: I9defe505e1372d9b601c3190eb49bd71604f04d1
Eric Laurent [Tue, 20 Aug 2013 01:11:50 +0000 (01:11 +0000)]
Merge "Revert "Fix media server restart detection mechanism"" into klp-dev
Eric Laurent [Thu, 18 Jul 2013 21:08:00 +0000 (14:08 -0700)]
Revert "Fix media server restart detection mechanism"
This reverts commit
ca35e4823459189dd57ec5472caf3a617d03b568.
Jeff Brown [Mon, 19 Aug 2013 23:57:12 +0000 (23:57 +0000)]
Merge changes Id3815fe8,I90a85921 into klp-dev
* changes:
Define AudioSource.REMOTE_SUBMIX.
Remove setRemoteSubmixOn method.
Joe Fernandez [Mon, 19 Aug 2013 23:55:10 +0000 (16:55 -0700)]
am
cf3aff67: am
d1037efe: am
9d237204: Merge "Android 4.3 Platform Google APIs r2 system image Release Notes" into jb-mr2-docs
* commit '
cf3aff672ce9d7240de1e2e3cc98f21f833957ec':
Android 4.3 Platform Google APIs r2 system image Release Notes
Joe Fernandez [Mon, 19 Aug 2013 23:53:00 +0000 (16:53 -0700)]
am
d1037efe: am
9d237204: Merge "Android 4.3 Platform Google APIs r2 system image Release Notes" into jb-mr2-docs
* commit '
d1037efe7edcc202c84cfd8a74c4593d1d03ea2d':
Android 4.3 Platform Google APIs r2 system image Release Notes
Joe Fernandez [Mon, 19 Aug 2013 23:49:44 +0000 (16:49 -0700)]
am
9d237204: Merge "Android 4.3 Platform Google APIs r2 system image Release Notes" into jb-mr2-docs
* commit '
9d237204da9b000c5debfa1f5650d13a545bb7c8':
Android 4.3 Platform Google APIs r2 system image Release Notes
Joe Fernandez [Mon, 19 Aug 2013 23:47:24 +0000 (23:47 +0000)]
Merge "Android 4.3 Platform Google APIs r2 system image Release Notes" into jb-mr2-docs
Joe Fernandez [Thu, 15 Aug 2013 21:06:19 +0000 (14:06 -0700)]
Android 4.3 Platform Google APIs r2 system image Release Notes
Google APIs System image update with Google Play Services 3.2.25
Change-Id: Iac6987a9dcb55bd971da9ca57c5a5dae0c357be5
Jeff Brown [Fri, 16 Aug 2013 03:01:50 +0000 (20:01 -0700)]
Define AudioSource.REMOTE_SUBMIX.
Add an API to allow applications to record from the remote
submix when they have the required permissions.
Bug:
10265163
Change-Id: Id3815fe82a6713e058ce4b8ab6128a898481df7e
Alan Viverette [Mon, 19 Aug 2013 23:32:56 +0000 (16:32 -0700)]
Add implicit parent dependency for Preferences
Also removes unused dependency change listener interface.
BUG:
10117838
Change-Id: I03f0eb37e7ba69942f7997a8b32adb38a3dee0bd
Craig Mautner [Mon, 19 Aug 2013 23:11:50 +0000 (23:11 +0000)]
Merge "Notify ViewRootImpl when it's safe to modify Canvas." into klp-dev
John Du [Mon, 19 Aug 2013 19:20:37 +0000 (12:20 -0700)]
Change abortReliableWrite(BluetoothDevice) to abortReliableWrite()
BluetoothGatt.abortReliableWrite() should not take a BluetoothDevice
parameter. Instead, it should use mDevice instance variable.
bug
10152994
Change-Id: I7fc79b9011cf878414128cc9f1696e5ccc597056
Craig Mautner [Mon, 19 Aug 2013 22:47:42 +0000 (15:47 -0700)]
Notify ViewRootImpl when it's safe to modify Canvas.
When Activity.convert{To|From}Translucent() is called the
ViewRootImpl is now notified when it is safe to convert the Canvas
from translucent to opaque and back to translucent. This will make
it possible to save resources when compositing opaque layers.
Fixes bug
10349536.
Change-Id: I7282aee1d54601fb00611d20be204bf164d873f6
Eino-Ville Talvala [Fri, 16 Aug 2013 21:11:43 +0000 (14:11 -0700)]
Camera2: Remove redundant Keys classes
Also update tests accordingly
Bug:
10345522
Change-Id: I8c7d17cdfbda6faba09134745a96089bf1b70cb7
Svetoslav [Thu, 15 Aug 2013 00:31:04 +0000 (17:31 -0700)]
Implemented advanced printer selection and API refactoring.
1. Added past printer history tracking and merging favorite printers
with discovered printers.
2. Added save as PDF support.
3. Added all printers activity with search capability and optional
add printers chooser (if any print service provides add printers
activity)
4. Refactored the printer discovery session APIs. Now one session
can have multiple window discovery windows and the session stores
the printers found during past discovery periods.
5. Merged the print spooler and the print spooler service - much
simpler and easier to maintain.
Change-Id: I4830b0eb6367e1c748b768a5ea9ea11baf36cfad
Martijn Coenen [Mon, 19 Aug 2013 20:11:09 +0000 (20:11 +0000)]
Merge "NFC: Allow HostApduService to indicate transaction unhandled." into klp-dev
Jeff Sharkey [Mon, 19 Aug 2013 19:58:55 +0000 (19:58 +0000)]
Merge "Request more documents when EXTRA_HAS_MORE." into klp-dev
Jeff Sharkey [Mon, 19 Aug 2013 19:55:19 +0000 (19:55 +0000)]
Merge "Management actions, invalidate caches." into klp-dev
Alan Viverette [Mon, 19 Aug 2013 19:50:25 +0000 (19:50 +0000)]
Merge "Remove duplicate sealed node checks, add missing checks" into klp-dev
Alan Viverette [Mon, 19 Aug 2013 19:28:04 +0000 (12:28 -0700)]
Remove duplicate sealed node checks, add missing checks
Change-Id: Icbe79ba4b74776f845b43f261624d0dbeda4250b
Dirk Dougherty [Mon, 19 Aug 2013 19:14:17 +0000 (12:14 -0700)]
am
2d9ee707: am
364fe3a8: am
b6bc020d: doc change: Samples browsing first changes: Samples dir and file starters.
* commit '
2d9ee70703cb52a16d726eb177f6f4e0be4f93e2':
doc change: Samples browsing first changes: Samples dir and file starters.
Vinit Deshapnde [Mon, 19 Aug 2013 19:14:03 +0000 (19:14 +0000)]
Merge "Expose WifiManager.setTdlsEnabled public API" into klp-dev
Eino-Ville Talvala [Mon, 19 Aug 2013 19:12:53 +0000 (19:12 +0000)]
Merge changes I6d125624,I549a9211 into klp-dev
* changes:
Camera2: Fixed issue with HashSet not being initialized
Camera2: Documentation fixes, mostly capitalization mistakes
Dirk Dougherty [Mon, 19 Aug 2013 19:12:05 +0000 (12:12 -0700)]
am
364fe3a8: am
b6bc020d: doc change: Samples browsing first changes: Samples dir and file starters.
* commit '
364fe3a856e7bd0c0a35724c2f42d381d8616370':
doc change: Samples browsing first changes: Samples dir and file starters.
Dirk Dougherty [Mon, 19 Aug 2013 19:09:45 +0000 (12:09 -0700)]
am
b6bc020d: doc change: Samples browsing first changes: Samples dir and file starters.
* commit '
b6bc020d728960dc876a510c9e40cc441a9a9b6b':
doc change: Samples browsing first changes: Samples dir and file starters.
Tim Murray [Mon, 19 Aug 2013 19:04:38 +0000 (12:04 -0700)]
Handle updates to C++ API.
Change-Id: I8ab17cbae3a9a4cc3c3202b8277d49f27bdf1fec
Martijn Coenen [Thu, 15 Aug 2013 04:04:14 +0000 (21:04 -0700)]
NFC: Allow HostApduService to indicate transaction unhandled.
This will cause the OS to show UI that allows the user to pick
another application that could potentially handle the transaction.
Also, tweak processCommandApdu() method to take a Bundle to be more
future-proof.
Bug:
10262585
Change-Id: If9d060341b472fac0349f539c04b87e85fe79dfb
Baligh Uddin [Mon, 19 Aug 2013 18:38:51 +0000 (18:38 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Mon, 19 Aug 2013 18:37:08 +0000 (18:37 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev
Dirk Dougherty [Tue, 9 Jul 2013 20:18:15 +0000 (13:18 -0700)]
doc change: Samples browsing first changes: Samples dir and file starters.
Change-Id: I6cc8c03bf4c2bcc771d4531619db5b3acd62601f
Elliott Hughes [Mon, 19 Aug 2013 18:08:48 +0000 (18:08 +0000)]
Merge "Remove a fixed-length buffer in the wifi code." into klp-dev
Craig Mautner [Mon, 19 Aug 2013 16:01:56 +0000 (16:01 +0000)]
Merge "Allow for more than one home app." into klp-dev
Andreas Huber [Mon, 19 Aug 2013 15:39:29 +0000 (15:39 +0000)]
Merge "Expose KEY_REPEAT_PREVIOUS_FRAME_AFTER and KEY_PUSH_BLANK_BUFFERS_ON_STOP" into klp-dev
Baligh Uddin [Mon, 19 Aug 2013 15:23:40 +0000 (08:23 -0700)]
Import translations. DO NOT MERGE
Change-Id: I7fcd9d781a4d960b3edf245a4ee19f1a6b6bd35c
Auto-generated-cl: translation import
Baligh Uddin [Mon, 19 Aug 2013 14:49:07 +0000 (07:49 -0700)]
Import translations. DO NOT MERGE
Change-Id: I08850d3f6550c9766fcd8ce4338b280ae66c525a
Auto-generated-cl: translation import
John Spurlock [Mon, 19 Aug 2013 14:35:19 +0000 (14:35 +0000)]
Merge "Use panel tracking as signal preventing auto-collapse." into klp-dev
John Spurlock [Mon, 19 Aug 2013 14:34:26 +0000 (14:34 +0000)]
Merge "Transition bars to opaque on user interaction." into klp-dev
John Spurlock [Mon, 19 Aug 2013 14:33:51 +0000 (14:33 +0000)]
Merge "Lose navigation bar icon alpha in transparent modes." into klp-dev
John Spurlock [Sat, 17 Aug 2013 21:18:08 +0000 (17:18 -0400)]
Transition bars to opaque on user interaction.
When the transient bars are revealed, smoothly transition the
bar style to opaque to blend with the other panel chrome.
Bug:
8706719
Change-Id: I65e5b22e2f91a3db0394c0f571127397ba692f46
Lorenzo Colitti [Mon, 12 Aug 2013 11:12:37 +0000 (20:12 +0900)]
Display signal strength on data-only SIMs.
On SIM cards that support data but not voice, we currently
display a null signal strength icon, which is confusing because
data is actually working.
Fix this by displaying signal bars as well as showing the
"emergency calls only" or "no service" text which indicates that
voice service is not available.
Bug:
3339315
Change-Id: I7d888721e8dc5e22fefd1b8fa85ba046d46a8fba
Jeff Sharkey [Mon, 19 Aug 2013 05:26:48 +0000 (22:26 -0700)]
Request more documents when EXTRA_HAS_MORE.
Implement EXTRA_HAS_MORE and EXTRA_REQUEST_MORE contract with
document providers. Providers can include EXTRA_HAS_MORE when
additional data is available with additional cost, such as a network
request.
Listen to content changes based on returned cursor instead of
original Uri. Include a test backend to exercise. UX still under
development.
Bug:
10350207
Change-Id: Iaa8954df55a1a1c0aa96eb8a4fd288e12c2fbb01
Jeff Sharkey [Mon, 19 Aug 2013 00:38:20 +0000 (17:38 -0700)]
Management actions, invalidate caches.
In manage mode, touching launches a VIEW intent for the file. Also
adds actions for sharing and deleting.
Move roots and thumbnail caches into Application object, and flush
cache when thumbnail size changes. Listen for package changes and
broadcasts that should invalidate our roots cache.
Pick default grid/list mode based on provider hint.
Bug:
10329983,
10330210,
10378834,
10330069
Change-Id: I75afb1c58ab71bb9d55852b1059da7257a376248
Jeff Sharkey [Sun, 18 Aug 2013 20:53:29 +0000 (20:53 +0000)]
Merge "Resized thumbnails; async; extend MatrixCursor." into klp-dev
Matthew Xie [Sun, 18 Aug 2013 19:46:42 +0000 (19:46 +0000)]
Merge "Adding support for Absolute Volume" into klp-dev
Ben Murdoch [Sun, 18 Aug 2013 15:11:42 +0000 (15:11 +0000)]
Merge "Update WebView.postUrl documentation." into klp-dev
Jeff Sharkey [Tue, 7 May 2013 19:41:33 +0000 (12:41 -0700)]
Resized thumbnails; async; extend MatrixCursor.
When requesting thumbnails, check if their dimensions are larger
than requested, and downscale to avoid memory pressure. Load them
async and with LruCache.
Extend MatrixCursor so that RowBuilder can offer() columns without
requiring they know the projection map. This makes it easier to
respond to query() calls, where the remote side controls the
projection map. Use it to handle custom projections in external
storage backend.
Update date/time formatting to match spec.
Bug:
10333418,
10331689
Change-Id: I7e947a8e8068af8a39b55e6766b3241de4f3fc16
Craig Mautner [Sun, 18 Aug 2013 00:04:56 +0000 (17:04 -0700)]
Allow for more than one home app.
Having a single mHomeProcess in ActivityManagerService ignores the
possibility of multiple processes serving as home. Particularly when
we have a home activity that only serves to launch the true home
activity.
Fixes bug
b10296766
Change-Id: I9e5c9c955c64f4b3df856b6bc66d6a0d93f85aab
John Spurlock [Sat, 17 Aug 2013 18:05:49 +0000 (14:05 -0400)]
Use panel tracking as signal preventing auto-collapse.
Keeping track of pointer down at the window view level is unreliable
since gestures can be stolen.
Bug:
10328256
Bug:
10226720
Change-Id: I92d72f9eed73f90d2a7c5b30a3f6a4aa6549f799
Jeff Brown [Sat, 10 Aug 2013 00:30:57 +0000 (17:30 -0700)]
Remove setRemoteSubmixOn method.
The submix will be controlled automatically from now on based on
whether there is an active audio recorder.
Bug:
10265163
Change-Id: I90a8592136c6507680e70f054243df70cc82efad
Alan Viverette [Sat, 17 Aug 2013 02:00:39 +0000 (02:00 +0000)]
Merge "Fix padding resolution" into klp-dev
Romain Guy [Sat, 17 Aug 2013 01:41:28 +0000 (01:41 +0000)]
Merge "Fix hardware layers lifecycle Bug #
10075732" into klp-dev
Romain Guy [Sat, 17 Aug 2013 01:38:29 +0000 (18:38 -0700)]
Fix hardware layers lifecycle
Bug #
10075732
Hardware layers could survive across EGL terminate events.
Change-Id: Ie8565d55cb29fe6625fa1584d695edfecd37ab5e
Sascha Haeberling [Sat, 17 Aug 2013 01:16:22 +0000 (01:16 +0000)]
Merge "Fix typo in JavaDoc for TypeEvaluator." into klp-dev
Ruben Brunk [Sat, 17 Aug 2013 00:29:37 +0000 (00:29 +0000)]
Merge "Refactor CameraService to handle errors properly." into klp-dev
Vinit Deshapnde [Sat, 17 Aug 2013 00:16:45 +0000 (17:16 -0700)]
Expose WifiManager.setTdlsEnabled public API
Bug:
10221775
Change-Id: I559e4a2afd525a03c8a13fd151eca4638426d03e
Jeff Sharkey [Sat, 17 Aug 2013 00:05:36 +0000 (00:05 +0000)]
Merge "Richer ParcelFileDescriptor close events." into klp-dev
Dmitry Shmidt [Fri, 16 Aug 2013 23:43:25 +0000 (23:43 +0000)]
Merge "wifi: Do not use prefix for p2p commands" into klp-dev
Chet Haase [Fri, 16 Aug 2013 23:38:47 +0000 (23:38 +0000)]
Merge "Better Transition interruption" into klp-dev
David Christie [Fri, 16 Aug 2013 23:37:48 +0000 (23:37 +0000)]
Merge "Add comments to new hidden API in LocationRequest. Document their purpose and permissions required in case this is unhidden in a different code line." into klp-dev
David Christie [Fri, 16 Aug 2013 23:16:27 +0000 (16:16 -0700)]
Add comments to new hidden API in LocationRequest.
Document their purpose and permissions required in case
this is unhidden in a different code line.
Change-Id: I42f6f950157f488cf51b361e3411861ff98794e8
Matthew Williams [Fri, 16 Aug 2013 23:10:57 +0000 (23:10 +0000)]
Merge "Use pending.xml to persist sync ops." into klp-dev
Jeff Tinker [Fri, 16 Aug 2013 23:04:54 +0000 (23:04 +0000)]
Merge "Fix JNI method called with exception pending" into klp-dev
David Christie [Fri, 16 Aug 2013 22:55:20 +0000 (22:55 +0000)]
Merge "Use default class loader when creating a LocationRequest from Parcel. This seems to be the standard usage, and there are rare reports of requestLocationUpdates giving NullPointerExceptions on the first call to requestLocationUpdates but not on subsequent calls (b/
10207898)." into klp-dev
David Christie [Fri, 16 Aug 2013 22:45:34 +0000 (22:45 +0000)]
Merge "Ensure LocationRequest's worksource defaults to null Helps to make sure the service doesn't throw a SecurityException for not having the UPDATE_DEVICE_STATS permission." into klp-dev
Elliott Hughes [Fri, 16 Aug 2013 22:14:42 +0000 (22:14 +0000)]
Merge "Fix NPE in DateFormat.is24HourFormat." into klp-dev
Alan Viverette [Fri, 16 Aug 2013 22:03:35 +0000 (15:03 -0700)]
Fix padding resolution
BUG:
10361243
Change-Id: I61b03c08b45ca9c921bf787274bdbb3f174bbc7e
Romain Guy [Fri, 16 Aug 2013 21:56:39 +0000 (21:56 +0000)]
Merge "Prevent ANR in apps using drawPath() Bug #
10347089" into klp-dev
Elliott Hughes [Fri, 16 Aug 2013 18:56:35 +0000 (11:56 -0700)]
Fix NPE in DateFormat.is24HourFormat.
In some cases, we end up being called by code that doesn't have a valid
Context. It got away with this historically because it wasn't formatting
times (just dates), so it never went down a path that tried to query the
user's 12/24-hour preference. This patch just ensures that we don't try
to get the preference unless we actually need it.
Bug:
10339015
(cherry picked from commit
8d8ef00c8276200f108433922761401817fd9a50)
Change-Id: If074a67fa52943c0ec7bb5c5bbe5a11f54fb1f97
Elliott Hughes [Fri, 9 Aug 2013 21:59:39 +0000 (14:59 -0700)]
Remove a fixed-length buffer in the wifi code.
Also increase the size of the buffer we do need, simplify the code, and
fix some of the error checking.
(cherry-pick of
56968581ce77d3c0ee4286da6b0d5548874934b9.)
Bug: http://code.google.com/p/android/issues/detail?id=36193
Bug:
10363597
Change-Id: Iadd2ee25469a37ddf06c3292b675a4cbcc4ecfa3