147058 Commits

Author SHA1 Message Date
Zoltan Szatmary-Ban
3f1ddf83a4 Add AsUser versions of existing DevicePolicyManager methods
Some API methods on DevicePolicyManager call underlying IDevicePolicyManager methods
that can be parameterised with a user id. DPM however only exposed methods for the current user.
This CL makes it possible to call them with any user id by introducing hidden methods on
DevicePolicyManager.

Bug: 15558397
Change-Id: I1786a64fa7cf5f6590ddd04cbf4527bb159f8795
2014-08-01 09:27:19 +00:00
Eric Laurent
9aa499ac42 Merge "unhide AudioFormat getters" into lmp-dev 2014-08-01 02:00:00 +00:00
Jean-Michel Trivi
cc58c76cf0 AudioAttributes: always build formatted tags from tag array
An AudioAttributes instance can either be built through the
 Builder, or from unmarshalling: the mFormattedTags field
 should always be in sync with the array of tags.
In toString() method, use the more compact mFormattedTags.

Change-Id: Ie06cd7758bf4f2d2693fedaa8c3ba4245802d921
2014-08-01 17:51:46 +00:00
Roozbeh Pournader
cc5889dcad Merge "Fix GSUB ccmp rule to use non-spacing marks." into lmp-dev 2014-08-01 02:00:00 +00:00
Roozbeh Pournader
ffa7985489 Fix GSUB ccmp rule to use non-spacing marks.
The fonts are updated to upstream version 2.001047.

The previous version had buggy ccmp rules that were mistakenly replacing
sequences such as A` <U+0041, U+0060> with À <U+00C0>.  The new fonts
replace those with corrected rules that use combining accents instead, such
as U+0300 COMBINING GRAVE ACCENT instead of U+0060 GRAVE.

Also, a GSUB rule that mistakenly replaced aʾ <U+0061, U+02BE> with
ẚ <U+1E9A> is removed, and U+2117 SOUND RECORDING COPYRIGHT that was missing
from the Thin and Thin Italic fonts is added to them.

Bug: 16727859
Bug: 16719701
Change-Id: Ibd0a63ea3f51992c0e56fb255e68352915cc6c3a
2014-08-01 13:25:27 -07:00
Wink Saville
6d13bc8e3b Turn off extra debugging
Change-Id: I3d7c68d3d7bcef5be084398807389f4a485bedb0
2014-08-01 12:36:54 -07:00
Jason Monk
2daf62ce40 Don't show guest when user switcher is simple
Bug: 15729059
Change-Id: I9e88f0e7d01044a7096d6fc8d67bcd328014a625
2014-08-01 18:37:01 +00:00
Behdad Esfahbod
fb72b6b10f Merge "Add fontFeatureSettings to TextView and attrs" into lmp-dev 2014-08-01 17:53:35 +00:00
Behdad Esfahbod
e9ad3931fa Add fontFeatureSettings to TextView and attrs
New API is hidden.

Bug: 15246510
Change-Id: I8cdbbd3a36fc280e07569dbb130f8c237062fff5
2014-08-01 21:35:05 +00:00
Wei Wang
166e5afa5d Merge "Add a default impelementation of IBluetoothGattCallback(1/2)." into lmp-dev 2014-08-01 13:51:29 +00:00
Wei Wang
e0d4afb2d4 Add a default impelementation of IBluetoothGattCallback(1/2).
Also cleaned up a few TODOs and fixed bug.
b/16410260 AdvertiseCallback null onSuccess callback

Change-Id: I75a582c03be1e2ef6964c2cbeba42aaaf9f9e17c
2014-08-01 14:34:25 -07:00
Wink Saville
bfa96fb382 Merge "Fix double DBG check." into lmp-dev 2014-08-01 01:46:21 +00:00
Wink Saville
063b8d665e Fix double DBG check.
Change-Id: I45e175df698240b80374f98043b50a014fd9779a
2014-08-01 13:14:50 -07:00
Wei Wang
3f55577bae Merge "Revert "Revert "Service data and manufacturer data can be repeated fields.""" into lmp-dev 2014-08-01 13:40:04 +00:00
Wei Wang
6bf513d32d Revert "Revert "Service data and manufacturer data can be repeated fields.""
This reverts commit 14c797702543bb5ced989565d90abcfa55c7db46.
2014-08-01 11:12:37 -07:00
Mike Lockwood
e619d86723 Merge "Add accessorytest Linux host tool for testing USB accessory audio and HID support." into lmp-dev 2014-08-01 01:46:21 +00:00
Deepanshu Gupta
b80e42f93f Replace more Locale methods.
This change replaces some methods of java.util.Locale. Some of them were
added in 1.7 and some are not present in the Desktop VM.

Change-Id: Ifdf8451bb2acf55e01dce8b5e15c40c8160107cc
2014-08-04 23:02:02 +00:00
Deepanshu Gupta
1840e8f2c7 Fix Delegates
Change-Id: I2b6a6b679b7a5b2532b76b723155bc2763b70768
2014-08-04 23:00:43 +00:00
Deepanshu Gupta
d2a411840c Fix LayoutLib Create tests.
Change-Id: Ica3efe417d54da7dc74b21d28215199d37600744
2014-08-04 22:59:38 +00:00
Deepanshu Gupta
86eb8b4e29 Add testing framework to LayoutLib.
This change adds an end to end test which loads the framework resources
and a test app and ensures that no exceptions or warnings are thrown.

The change also adds project configuration for intelliJ.

Change-Id: I7b67c0f1a2af2dac95df7f3231cab537b9826d7d
2014-08-04 22:58:39 +00:00
Winson Chung
b99b18e78e Fixing scrolling regression with layout changes.
Change-Id: Ic440d147ca13bf13d7f311b6d9876e3c02d4f189
2014-08-04 22:55:43 +00:00
Mike Lockwood
6b524d9b45 Add accessorytest Linux host tool for testing USB accessory audio and HID support.
The tool supports testing USB audio by default.
It reads audio from the ALSA device for the android phone in accessory mode
and outputs it to the ALSA device for the PC's speaker.
The default values work on my PC, but can be changed via command line options.

When the -a option is specified, accessorytest also acts as the host side of the
AccessoryChat test, so audio can be tested side by side with the accessory bulk endpoint support.

When the -h option is specified, accessorytest will look for HID devices on the PC and proxy them
to the phone over the accessory protocol. This requires running accessorytest as root.

Change-Id: I1ea06d7201cd845b95a92a42594464783a90189b
2014-08-04 15:29:18 -07:00
Andrew Flynn
4f1f7ba3a8 am c08203c2: am 4881578e: am ea12f0fd: Fix some sync adapter docs typos.
* commit 'c08203c22c8407d9a9777eb6f436bfb79edb1f74':
  Fix some sync adapter docs typos.
2014-08-04 21:26:44 +00:00
Chris Craik
6efd17588b Set default outline alpha to 1.0f
bug:16795461
Change-Id: I7ccecee84b47a2bbf91fc11ad3005160f913ba77
2014-08-04 20:53:41 +00:00
Andrew Flynn
c08203c22c am 4881578e: am ea12f0fd: Fix some sync adapter docs typos.
* commit '4881578e6ccd8b51606750e3fd4e20b2204287c7':
  Fix some sync adapter docs typos.
2014-08-01 18:33:48 +00:00
Andrew Flynn
4881578e6c am ea12f0fd: Fix some sync adapter docs typos.
* commit 'ea12f0fd7ed236fa38f73cfff5be5fa36f016690':
  Fix some sync adapter docs typos.
2014-08-01 18:29:27 +00:00
Andrew Flynn
ea12f0fd7e Fix some sync adapter docs typos.
Change-Id: Icb108bcfd7835049ff7d50660d1f8084ebc3c8e9
2014-08-01 18:25:04 +00:00
Geoff Mendal
f6b0c2f31b Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-01 08:29:25 +00:00
Geoff Mendal
d809436c92 Import translations. DO NOT MERGE
Change-Id: I11a53b337e1607794c52fd0e60fd6fefac76f9ef
Auto-generated-cl: translation import
2014-08-04 18:21:48 +00:00
Geoff Mendal
2b2dc01b99 Import translations. DO NOT MERGE
Change-Id: I1060b2e4a480058c4949575c31cc2806d0d921bb
Auto-generated-cl: translation import
2014-08-04 11:11:44 -07:00
Christoph Studer
273f246c27 Merge "NoMan: Fix notification sqlite log schema" into lmp-dev 2014-08-04 08:01:05 +00:00
Christoph Studer
1ad856e17f NoMan: Fix notification sqlite log schema
The 'log' table creation SQLite code had syntax errors
and left the table in a weird state.

This CL fixes the creation syntax and drops old tables
since they might be in an inconsistent state.

Bug: 16726344
Change-Id: I241d08c9e30cedf27ca37bfaf349975077de222d
2014-08-04 16:18:29 +02:00
Torne (Richard Coles)
5f3278ba1e Don't let failures to load the null WebView propagate.
We load the null WebView if the real WebView package is not available to
support devices that aren't intended to have a WebView, but this results
in confusing log messages if the real WebView is supposed to be present
but is broken/unloadable for some reason. Since the null WebView is in
the system classpath on devices that should use it, swallow any failures
to load it on the assumption that this is actually just a failure of the
real WebView to be loaded.

Change-Id: I15820da3517daffde6169343c648a4486c0309d7
2014-08-04 14:26:16 +01:00
Jorim Jaggi
611393560e Merge "Faster timings when a notification comes out from more card" into lmp-dev 2014-08-01 17:53:35 +00:00
Jorim Jaggi
ff9c9c473f Faster timings when a notification comes out from more card
Change-Id: I1cc759aa8a2c235c4ca1962b41a406480b4277b2
2014-08-04 14:01:03 +02:00
Christoph Studer
b305f7d63a Merge "NoMan: Fix speedbump when no low-prio notifs" into lmp-dev 2014-08-01 17:53:35 +00:00
Christoph Studer
ce2e23ff69 NoMan: Fix speedbump when no low-prio notifs
Bug: 16705179
Change-Id: I32329710c27052c35b64ba91759200341ed0b127
2014-08-04 12:54:21 +02:00
Christoph Studer
7851e4643a Merge "Notif: Fix profile badge for stripped RemoteViews" into lmp-dev 2014-08-01 18:14:18 +00:00
Christoph Studer
943aa6778f Notif: Fix profile badge for stripped RemoteViews
Stash the profile badge into the extras such that rebuild() can read
it back.

Bug: 16735645
Change-Id: I620da121615a01c27fb31ee292088701e364d223
2014-08-04 12:26:18 +02:00
Yuncheol Heo
e5aa75cabf Merge "Add the CEC message handler for the standby mode." into lmp-dev 2014-08-01 16:06:20 +00:00
Yuncheol Heo
25c20298ad Add the CEC message handler for the standby mode.
- Associate the state of AutoWakeUp with the pref value.

Bug: 16661406
Change-Id: I1299c6ca287aac4127e397a08b5af00190aa5b0b
2014-08-04 14:35:43 +09:00
Tadashi G. Takaoka
8d70ad22a5 Merge "Fix input method picker using Material design language" into lmp-dev 2014-08-01 16:06:20 +00:00
Tadashi G. Takaoka
d130b803b0 Fix input method picker using Material design language
Note that the button text color will be fixed in the future change.

Bug: 14860252
Change-Id: I8a6a4a7efce50bfaec114117e33f97f27b1ef950
2014-08-04 17:57:39 +09:00
Jaewan Kim
36bf310f7e Merge "Fix typo in tv_content_rating_systems.xml" into lmp-dev 2014-08-01 15:55:40 +00:00
Jaewan Kim
5c8a7012dc Fix typo in tv_content_rating_systems.xml
Change-Id: I4c92bd884b744d7b8342e106a9c0cf868cb0a114
2014-08-04 13:31:16 +09:00
John Spurlock
d54da8a0c8 Doze: coordinate keyguard status bar visibility.
Play nice with recent NotificationPanelView changes that
also drive its visibility.

Bug: 15863249
Change-Id: I60021f415089d5508af7fe9ec792a2871a52910d
2014-08-03 23:32:46 -04:00
Wonsik Kim
ca17a9029d TIF: allow TIS to override default sink from audio policy
Bug: 16635576
Change-Id: I995cfca084950f96675aeb086c5055f76d1c4752
2014-08-04 11:26:56 +09:00
Yorke Lee
b942035837 Merge "Update documentation for ContactCounts" into lmp-dev 2014-08-01 02:00:00 +00:00
Yorke Lee
a4aa9dc614 Update documentation for ContactCounts
Change-Id: I71262dbe83ffd258954075103ceb4ef5ae70156e
2014-08-04 13:47:50 -07:00
Jeff Tinker
8694f24432 Merge "Allow device to be unprovisioned" into lmp-dev 2014-08-01 13:40:04 +00:00