Don't write partial requests, and don't return (or throw) early after
partially reading a response.
bug: 30143607
Change-Id: I5881fdd5e81023cd21fb4d23a471a5031987a1f1
In the class description, fixed the reference link that points to the
Fragments guide.
Bug: 29007808
Change-Id: I3399e5f10c461eb6666a04f8829c6cde774948e0
In the "Saving Data in SQL Databases" page, this commit makes the
following updates:
-the create snippet now includes the subtitle column
-the insert and query snippets no longer references undefined variables
-the delete snippet now references the table with "FeedEntry.TABLE_NAME"
Bug: 25856493
Change-Id: I4fdf8e271a1141776c2427c0b3fef8ec403dc423
This commit contains the following changes:
- Renamed instances of Google Now to Google Voice Actions
- Removed the Intents fired by Google Now section as it is obselete
- Added link to the Google Voice Actions page
- Changed the voice-icon.png's reference link to the System Actions reference
section on the Google Voice Actions page
- Revised the HTML comment and local CSS by replacing Google Now box with
Google Voice Actions box.
Bug: 19501778
Change-Id: I3e4364aaceaff4f5bceb090dd4f8da548dfa5c30
This is a squashed rollup of backup/restore infrastructural work in
the N release. It intentionally omits semantic/API changes such
as the introduction of the onQuotaExceeded() callback.
This patchset should not be merged beyond M maintenance releases.
Bug 29617908
Bug 29848715
Change-Id: I1eb25ad07f3bbf1132198d8a233722c41f1ac4cc
Let RuntimeInit use an UncaughtExceptionPreHandler to log an exception
rather than relying on UncaughtHandler, which apps can replace. This
makes it easier to diagnose application death, especially during app
compatibility testing for a new version of Android.
Test: Verified manually, with the help of a small sample app (not
checked in), that stacktraces for RuntimeExceptions thrown on main
or background threads are logged even when the app set a default
UncaughtExceptionHandler that swallows the exception with no action.
Note that such an inappropriate UncaughtExceptionHandler will still
cause threads to die without the app being killed, which it should be.
In an exception then happens on the main thread, the app will freeze
until the ANR dialog kicks in after a few seconds. I have manually
verified that this behavior is unchanged from before this CL.
No new integration tests are included because the default system
behavior has not changed.
Bug: 29624607
Change-Id: Ie87377b0bcadc3ba4083a8ab1bedb8f3dd95a4bd
(cherry pick from commit 0e86d328d67658d49cb3153356e92092c873927f)
increase select_logpersist_title character limit to 60
increase select_logpersist_titles character limit to 26
Bug: 29313564
Change-Id: I15f000bf155f33a7d4a1cc6c5434552f43803f58
Generic types, such as List<String>, must be escaped when they are
used in XML. For example, List<String>. This commit adds
escape characters to the XML samples in the data binding page.
Bug: 30691285
Change-Id: If55ed55d13fb11038e2495884c79698e67219108