111904 Commits

Author SHA1 Message Date
Joe Fernandez
75026c547f Support Library 18.1 Release Notes
adding release notes for v8 support library containing RenderScript

Change-Id: I12d48c26e6b99cacfb8f36750c3f1ce80da5ef23
2013-09-13 14:26:34 -07:00
Victoria Lease
54769862ff NotoColorEmoji.ttf is the new AndroidEmoji.ttf
Bug: 10144988
Change-Id: I04ebb86e283b752c43597b5f908f5c28f7806ee1
2013-09-13 14:11:58 -07:00
Wink Saville
7770dcc3d3 Merge "checkMobileProvisioning should not block." into klp-dev 2013-09-13 20:59:16 +00:00
Glenn Kasten
53d1537606 Miscellaneous fixes to SoundPool unit test
Explicitly specify API level 8, to permit same .apk be used with multiple platform versions.
In the priority test, use different samples for low and priority sounds,
    so it is possible to hear the difference.
Increase sleep times to make it easier to hear.
Only use Log.e for errors.
Add more logs and sleeps.
Pan more slowly.
Fix typos in logs about the test names.
Fix typo in pan comment.

Change-Id: Iebce07ca0cf3d6fa1b04faa8577faa1c6d25f8e6
2013-09-13 13:48:38 -07:00
Jason Monk
312c495f4b Merge "Guarantee that PAC Local Proxy owns Port" into klp-dev 2013-09-13 20:31:54 +00:00
Zhijun He
bbae94a02e Camera2: Rename TEMPLATE_MANUAL to TEMPLATE_ZERO_SHUTTER_LAG
It collides with HAL ZSL template, rename it to TEMPLATE_ZERO_SHUTTER_LAG and
hide it for now.

Bug: 10690122
Change-Id: I793154849aa7aa4bf4874e2ff3f3890dd05b1f9e
2013-09-13 13:27:03 -07:00
Scott Main
cac2428da4 am a73e5df0: am cdde6dc6: am 95e7df91: fix title for uses-sdk doc
* commit 'a73e5df060262d1fc92f76fcc7a3a3d4537f9a0a':
  fix title for uses-sdk doc
2013-09-13 13:04:43 -07:00
Scott Main
a73e5df060 am cdde6dc6: am 95e7df91: fix title for uses-sdk doc
* commit 'cdde6dc6675207708020fbe7458b13ccf22fe492':
  fix title for uses-sdk doc
2013-09-13 13:02:20 -07:00
Christopher Tate
7560c256ec Merge "Add hidden API for querying available 'home' activities" into klp-dev 2013-09-13 20:01:17 +00:00
Jeff Sharkey
0bf2ed90c4 Merge "Move search to roots; Documents root; hide empty." into klp-dev 2013-09-13 20:00:14 +00:00
Scott Main
cdde6dc667 am 95e7df91: fix title for uses-sdk doc
* commit '95e7df915fd3c173b4d8d71c1ac5cbeaa8c8e7ed':
  fix title for uses-sdk doc
2013-09-13 12:59:59 -07:00
Scott Main
95e7df915f fix title for uses-sdk doc
Change-Id: I544868d209f04cb46928861148e9320fc0118f56
2013-09-13 12:55:20 -07:00
Maggie Benthall
0469f41010 CA cert monitoring: add notifications and actions for dialog
In DevicePolicyManagementService, on boot and when certs are installed,
post notification to tell the user that their traffic may be
monitored.
Have QuickSettings use the MonitoringCertInfoActivity instead
of building the dialog itself.

Bug: 10633199

Change-Id: Ie4b97295a9fc25867c87872feccdb17f4bea071d
2013-09-13 15:46:30 -04:00
Wink Saville
d95ccc5c6a checkMobileProvisioning should not block.
In checkMobileProvisioning the call to mdst.isProvisioningNetwork() is
a blocking call and during monkey testing without SIM this is causing
ANR's. Move the initial test for provisioning into isMobileOk so
checkMobileProvisioning doesn't block.

If mobile is not supported return CMP_RESULT_NO_CONNECTION.

Cleaned up some debug.

Bug: 10674404
Change-Id: I10a0e922cd6ea9790f66e2083f37e68cb0a8861f
2013-09-13 12:40:11 -07:00
Baligh Uddin
195752a3a6 Import translations. DO NOT MERGE
Change-Id: Ic199dafb31a9f2245f771d8a39c39c152338cf71
Auto-generated-cl: translation import
2013-09-13 12:23:22 -07:00
Christopher Tate
a2a0850de8 Add hidden API for querying available 'home' activities
To support improved home-app selection UX in Settings.

Bug 9958444

Change-Id: I106090784618bf7bea6fce28f4f9b9fb8480d310
2013-09-13 12:16:00 -07:00
Daniel Sandler
0e9925ad3d Point the QS alarm tile at AlarmClock.ACTION_SHOW_ALARMS.
Bug: 10506871
Change-Id: I4582d63013c24f08c81e6c8fcccbe1eb6e053068
2013-09-13 14:49:39 -04:00
Jeff Sharkey
3e1189b359 Move search to roots; Documents root; hide empty.
Documents searches now happen root-wide, instead of only under a
subdirectory.  Updates abstract class and flags to match.  Add flag
for a root to indicate it's empty, and hide empty roots in UI unless
creating.

Define "Documents" public directory and storage backend to contain
files.

Bug: 10712057, 10710865, 10710758
Change-Id: I8716367568969f9cb1d83927b2bf5a7013809350
2013-09-13 11:35:04 -07:00
Adam Powell
76d915955f Don't recycle action button views
Recycling action button views interferes with transition
animations. Suppress menu item view recycling for them.

Change-Id: I69d7561e337be7e4a89b7cf30b6c9439f2d49cc2
2013-09-13 10:57:06 -07:00
Glenn Kasten
db8c1655ea Remove obsolete assets from target /system/media/video/
These were previously used for background replacement effect, but it seems
like they aren't needed any more and just take up space in filesystem.

Change-Id: I0782ac0c8f109e4f28e9f43c20d30dc6ccd82ef7
2013-09-13 10:27:40 -07:00
Dianne Hackborn
9210bc8554 Implement #10744011: Serialize running of background services
Added some code to the activity manager to keep track of
services that are launching and limit the number that can
be launched concurrently.  This only comes into play under
specific circumstances: when the service launch is a background
request (so timing is not important) and its process is not
already running at a high priority.

In this case, we have a list of services that are currently
launching and when that gets too big we start delaying the
launch of future services until currently launching ones are
finished.

There are some important tuning parameters for this: how many
background services we allow to launch concurrently (currently
1 on low-ram devices, 3 on other devices), and how long we
wait for a background service to run before consider it to be
a more long-running service and go on to the next pending
launch (currently set to 15 seconds).

Also while in here, did some cleanup of the service code:

- A little refactoring to make per-user data cleaner.
- Switch to ArrayMap.

Change-Id: I09f372eb5e0f81a8de7c64f8320af41e84b90aa3
2013-09-13 09:58:48 -07:00
Adam Powell
758d5a4563 Check RelativeLayout's access of its own LayoutParams during measurement
RelativeLayout's use of its own LayoutParams is really old behavior
and something it probably never should have done in the first
place. However at this point it's enshrined compatibility behavior as
fixing this would change the end results of measurement in some cases,
and we've found that apps really love doing strange things with
RelativeLayout that hit all of those edge cases.

The existing behavior ignores this code path if set to MATCH_PARENT or
WRAP_CONTENT, so we'll simply treat missing LayoutParams as the same
case.

Bug 10733375

Change-Id: I8b40b8557d19695ebcd5329aefc1603e2bf4234e
2013-09-13 09:26:16 -07:00
Michael Jurka
e8d1bf7a43 Add new intent/method for cropping and setting wallpapers
Also, create a system fallback WallpaperCropper

Bug: 4225598

Change-Id: I6bc6d5a3bb3df1dc00f3db701978aa172020c568
2013-09-13 17:04:46 +02:00
Jason Monk
6f8a68f49a Guarantee that PAC Local Proxy owns Port
This changes the PAC support to not broadcast the Proxy information until
the Local Proxy has started up and successfully bound to a port so that
the local proxy information can be guaranteed to be owned by the proxy.

Bug: 10459877
Change-Id: I175cd3388c758c55e341115e4a8241884b90d633
2013-09-13 09:53:26 -04:00
John Spurlock
49580cf1f7 Merge "SystemUI status bar/quick settings updates." into klp-dev 2013-09-13 08:42:06 +00:00
Lajos Molnar
ab62870c7e Merge "MediaFormat: add getInteger with default value convenience method" into klp-dev 2013-09-13 02:18:23 +00:00
John Spurlock
2062abfa13 SystemUI status bar/quick settings updates.
Status bar:
 - Update remaining mute/speakerphone icons.
 - Remove orange versions of wifi/signal icons.
 - Use only full versions of data type overlays.
 - Remove obsolete light versions of data type overlays.
 - Low battery color back to red.

Quick settings:
 - Update to indicate problem (orange) status.
 - Update to new battery style.

And a few remaining xx assets.

Bug:10680149
Bug:10502089
Bug:10729729
Bug:10316062
Change-Id: Iccd936d90271e4ec5c48e688917225136e7d45aa
2013-09-13 02:18:14 +00:00
Jean Chalard
940a2ad69e Merge "Don't send the same values to onUpdateSelection repeatedly" into klp-dev 2013-09-13 02:16:47 +00:00
Lajos Molnar
8c16943ef3 Merge "Fix CalledFromWrongThreadException in MediaPlayer's subtitle support" into klp-dev 2013-09-13 02:16:27 +00:00
Kim Schulz
0d37605374 Fixed review comments
- fixed review comments (internal+google)
- corrected tabs/spaces
- Add connection id header for obex client operations
- added support for implementing ProfileService class

Change-Id: Idab8b4fa54a0f31bec4ffa263a69a9850a07f858

Bug:10692365
2013-09-12 19:07:28 -07:00
Alan Viverette
2a65a2839e Merge "Add live region politeness to View, AccessibilityNodeInfo" into klp-dev 2013-09-13 01:45:10 +00:00
Svetoslav
b72ff5aa4b Merge "Remove unneeded print APIs and update the min margins APIs." into klp-dev 2013-09-13 01:43:41 +00:00
Romain Guy
4801a4f907 Merge "Always disable the clip for layers Bug #8149344" into klp-dev 2013-09-13 01:18:31 +00:00
Jeff Sharkey
95a6560f63 Merge "DocumentsUI tablet support." into klp-dev 2013-09-13 00:21:53 +00:00
Alan Viverette
77e9a28e2f Add live region politeness to View, AccessibilityNodeInfo
Alters the content change API to contain a bit mask of types of
changes represented by the event. Live regions send CONTENT_CHANGED
events immediately. Removes unused APIs for EXPANDABLE/EXPANDED.

BUG: 10527284
Change-Id: I21523e85e47df23706976dc0a8bf615f83072c04
2013-09-12 17:16:09 -07:00
Marc Wilson
76b02e4e14 Update documentation for speech APIs.
Makes it clear that the intent and service APIs are likely to stream
audio over the network and notes that impact this has on bandwidth and
battery life.
Also clarifies that the service API should not be used for continuous
recognition as a result. The intent API only runs when the activity is
in the foreground so I didn't mention continuous recognition for it.

Bug: 10674392
Change-Id: Ib5e0c16b3124f4b7d892ef5bd4167f23662d2ca3
(cherry picked from commit 2921cee3048f7e64ba6645d50a1c1705ef9658f8)
2013-09-13 00:14:26 +00:00
Robert Greenwalt
14e5599672 Merge "Fix Batched Scan Results to give Timestamp in uS" into klp-dev 2013-09-13 00:04:30 +00:00
Leon Scroggins III
37b82e3232 Do not allocate so much memory on the stack.
Instead, allocate a smaller amount and grow as necessary.

BUG:10697851
Change-Id: Iec57a8a374a4a76a3770e241cf561d58f3c8e1dc
2013-09-12 20:00:46 -04:00
Svetoslav
651dd4e6ee Remove unneeded print APIs and update the min margins APIs.
1. Removed unneeded code in Resolution that was storing its
   label as resource and package name. We do not have predefined
   resolutions, therefore we always persist the label.

2. Renamed the print attribute margins to minMargins to reflect
   that these are the minimal margins the printer support. Updated
   the docs as well.

3. Renamed the create method of all builder to build.

bug:10727487

Change-Id: Ie72ab8aaa5215b8bd2853885011b3b4efa4deb2e
2013-09-12 16:58:58 -07:00
Igor Murashkin
5e712064df media: Update ImageReader APIs
Bug: 10461757
Change-Id: Ic04e4c41965e3d417b29004f3f08e0cd56b8f4cb
2013-09-12 16:57:57 -07:00
Wink Saville
5fbfb81d31 Merge "Define config_volte_replacement_rat." into klp-dev 2013-09-12 23:49:50 +00:00
Jeff Sharkey
88f322c311 DocumentsUI tablet support.
Shows as a faux dialog on larger tablets, since the normal dialog
themes from framework don't support action bars.  Instead, this hacks
itself to look like a dialog with an InsetDrawable.  Detects touches
in dim area to dismiss dialog.

Show all action bar icons on tablets, and roots panel is always
visible with a different shadow. Show settings in dialog. Allow mode
switches in recents.

Bug: 10329832
Change-Id: Id02982ce7b0d4694962d32f8d5286fdfcc207208
2013-09-12 16:39:50 -07:00
Stephen Hines
9d5c33c584 Merge "Fix build break with missing VDBG." into klp-dev 2013-09-12 23:33:25 +00:00
Raph Levien
7558ec405f Merge "Fix for AIOBE at android.text.AndroidBidi.directions" into klp-dev 2013-09-12 23:28:29 +00:00
Selim Gurun
76ffaa5808 Merge "Publish Print Api for Webview" into klp-dev 2013-09-12 23:22:29 +00:00
Raph Levien
68669a42fb Fix for AIOBE at android.text.AndroidBidi.directions
This fixes bug 9900288: Multiple apps crashing; AIOBE at
android.text.AndroidBidi.directions.

The AndroidBidi.directions() method was not correctly handling the case
of a run of length 0, causing ArrayIndexOutOfBoundsException. This
patch simply avoids accessing the levels array in that case.

Change-Id: I036a85b7792ea3364725a87033ca74b94f0e93a1
2013-09-12 16:21:39 -07:00
Stephen Hines
cbaf152588 Fix build break with missing VDBG.
Change-Id: Iaf64cf49300a6a0a91374efa3030d6894367c9b8
2013-09-12 16:16:00 -07:00
Romain Guy
1de466fc91 Always disable the clip for layers
Bug #8149344

Change-Id: Ifd413cadb171232eb846b3d91b05b2d2457b9f35
2013-09-12 23:13:38 +00:00
Svetoslav
25f17f295b Merge "Not change the print options on printer change if possible." into klp-dev 2013-09-12 22:38:35 +00:00
Lajos Molnar
24390c11b2 MediaFormat: add getInteger with default value convenience method
Change-Id: I58947a2f4a286fef74f74cb189469278056d4759
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 10326117
2013-09-12 15:35:31 -07:00