Commit Graph

15081 Commits

Author SHA1 Message Date
Jason Monk
6ca235de02 Add primaryContentAlpha attribute
And create a generic primary text selector that can be used for all
themes.

Test: Manual
Change-Id: I274da909209188d7a8f4924ee8c64eff7011b7e2
2017-01-18 16:34:45 -05:00
TreeHugger Robot
1280b310f9 Merge "System API for a proxy for registered players" 2017-01-18 18:19:32 +00:00
Makoto Onuki
ca66f302a0 Merge "Add ProviderStatus.DATABASE_CREATION_TIMESTAMP" 2017-01-18 17:04:26 +00:00
Pavel Grafov
eaed75d923 Merge "Make ENSURE_VERIFY_APPS global even when set by PO." 2017-01-18 11:15:28 +00:00
Narayan Kamath
c634c5724e Merge "API: Unhide MethodHandles API (java.lang.invoke)." am: 71b1d50531 am: ec667adb56 am: aa90336510
am: fc9c93c2dd

Change-Id: I5db4fe68e1f1e160097503d69312bf2a24a45f2b
2017-01-18 10:09:12 +00:00
Narayan Kamath
ec667adb56 Merge "API: Unhide MethodHandles API (java.lang.invoke)."
am: 71b1d50531

Change-Id: I4813654889a3a088cf8ee5dae0c5655aa520c341
2017-01-18 09:53:09 +00:00
Narayan Kamath
71b1d50531 Merge "API: Unhide MethodHandles API (java.lang.invoke)." 2017-01-18 09:46:16 +00:00
TreeHugger Robot
03ab3520a8 Merge "Color API to create/store wide-gamut colors in a long" 2017-01-18 04:17:47 +00:00
TreeHugger Robot
38f8292234 Merge "Adding Notification.TvExtender API" 2017-01-18 02:20:47 +00:00
Makoto Onuki
729a87b09e Add ProviderStatus.DATABASE_CREATION_TIMESTAMP
Bug 33390320
Test: Adding a constant only; "m -j32"

Change-Id: Ie601978afd1f6da0e3fecd50e64d8af1f84a94af
2017-01-17 16:07:22 -08:00
Jean-Michel Trivi
70efb52691 System API for a proxy for registered players
PlayerProxy is a wrapper on IPlayer for system components
  to control players.

Test: use vendor/google_toolbox/team/audio/cmds/ClPlaybackActivity
Bug 30258418

Change-Id: I6a40290c7f711fc0242597a5c016fc71cb4baa10
2017-01-17 15:42:42 -08:00
Romain Guy
77b161e0b1 Color API to create/store wide-gamut colors in a long
This change also includes the ability to create instances of
the Color class to represent more complex colors (any number
of components, etc.).

Test: CtsGraphicsTestCase
Bug: 32984164

Change-Id: I59399547c4aa2580901c93dd16e626fe07f8f23a
2017-01-17 14:32:10 -08:00
Glen Kuhne
3cdde18e3c Merge "Unhide WifiConfiguration proxy accessors" 2017-01-17 21:38:29 +00:00
TreeHugger Robot
04e7b6c6de Merge "Deprecate all inconvenient methods" 2017-01-17 20:52:45 +00:00
Ta-wei Yen
ea0e111468 Merge "Add getNetworkSpecifier() and getCarrierConfig()"
am: 68d03b23bb

Change-Id: Ib4cf1d7f986a5ed4cc761f9abc10609de0bd22ff
2017-01-17 19:47:24 +00:00
Ta-wei Yen
68d03b23bb Merge "Add getNetworkSpecifier() and getCarrierConfig()" 2017-01-17 19:38:27 +00:00
Makoto Onuki
3453194360 Deprecate all inconvenient methods
Test: builds fine
Change-Id: I52a26d160cff44b2fa0f3a807d23a6ed586d16ce
2017-01-17 11:20:41 -08:00
Przemyslaw Szczepaniak
d41d449897 Merge "Track libcore change 7d105d591c14afd00f894e8f3483adcbee6e901a" am: 751e3af81e am: 6b9cd13b05 am: cc1074f6f4
am: bc5fd99347

Change-Id: Ia67028ec5f41df5c4f2e357562e5ab7cc2166878
2017-01-17 19:16:54 +00:00
TreeHugger Robot
91f5cbf3a0 Merge "Add OFFSET and LENGTH args for paged queries." 2017-01-17 19:14:52 +00:00
Tobias Thierer
bb7a35ae86 Merge "API: Update java.util.Date to OpenJDK8u60" am: a2343a7e78 am: d8d1d9682d am: d6be4be618
am: 191806932e

Change-Id: Ifb7ff642d1bbcaea2b14b20327a9046dec952be7
2017-01-17 19:10:43 +00:00
Przemyslaw Szczepaniak
6b9cd13b05 Merge "Track libcore change 7d105d591c14afd00f894e8f3483adcbee6e901a"
am: 751e3af81e

Change-Id: I6c0ebb09325ab2f37469c9d4a5408f812380efc1
2017-01-17 18:26:57 +00:00
Phil Weaver
0a78adea72 Merge "Provide hint text to accessibility." 2017-01-17 18:11:22 +00:00
Treehugger Robot
751e3af81e Merge "Track libcore change 7d105d591c14afd00f894e8f3483adcbee6e901a" 2017-01-17 17:55:18 +00:00
Narayan Kamath
0ad648f301 API: Unhide MethodHandles API (java.lang.invoke).
Tracks libcore change 58a12375dd5c2dc721f8d0433b5cb11737bc349d.

Test: make docs
Change-Id: I6e35fef1078d3c26a56bcea79eb2a3e993ca8714
2017-01-17 13:33:46 +00:00
Tobias Thierer
d8d1d9682d Merge "API: Update java.util.Date to OpenJDK8u60"
am: a2343a7e78

Change-Id: Ic56a141a6ffad9c0080ac3d942d2b669f8ca37d5
2017-01-17 11:05:24 +00:00
Tobias Thierer
a2343a7e78 Merge "API: Update java.util.Date to OpenJDK8u60" 2017-01-17 10:41:36 +00:00
Polina Bondarenko
55b6e279ae Merge "Make TelephonyManager.getImei a system APIs." am: dc61ad0ad8 am: e2b306e30e am: d4c48e911e
am: 55745eca73

Change-Id: I273a1a3ae6d59e52bae6c529a6c0ef43c904b78a
2017-01-17 06:52:59 +00:00
TreeHugger Robot
c70e581564 Merge "Add supportsDismissingSelfWindow attribute of IME" 2017-01-16 23:09:48 +00:00
Kang Li
0bf67a29d9 Merge "Adds annotations to Intent, and enables ChooserActivity to rank apps according to annotations." 2017-01-16 21:36:09 +00:00
Pavel Grafov
6a40f09083 Make ENSURE_VERIFY_APPS global even when set by PO.
Currently only device owner can set global user restrictions.
With this CL ENSURE_VERIFY_APPS will be global no matter who
enforces it, DO or PO.

To make it possible for system apps to check who enforces a
particular restriction in this case a new API method is added
to UserManager: getUserRestrictionSources which returns a list
of users who enforce the restriction.

Bug:31000521
Test: cts-tradefed run cts -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.UserRestrictionsTest (ag/1732744)
Test: runtest --path frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java
Test: runtest --path frameworks/base/services/tests/servicestests/src/com/android/server/pm/UserRestrictionsUtilsTest.java
Test: runtest --path frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerServiceMigrationTest.java
Test: installed M on a Nexus5x device, created a managed profile with some user restrictions, and checked that after upgrading M->O all restrictions are preserved and split correctly into base, global and local.
Change-Id: I543d3ec9ef0cf2b730da6f7406021c0bba43b785
2017-01-16 18:29:01 +00:00
Polina Bondarenko
e2b306e30e Merge "Make TelephonyManager.getImei a system APIs."
am: dc61ad0ad8

Change-Id: Iaffe54fdf263eaf1cc248ceb0dad9b8787861475
2017-01-16 17:57:04 +00:00
Treehugger Robot
dc61ad0ad8 Merge "Make TelephonyManager.getImei a system APIs." 2017-01-16 17:49:59 +00:00
Przemyslaw Szczepaniak
2ad3ce4175 Track libcore change 7d105d591c14afd00f894e8f3483adcbee6e901a
Test: CtsLibcoreTestCases
Bug: 30964930
Change-Id: Ia3cacc2256c5fd84c97eb50d52ebf23d3181a8ba
2017-01-16 17:21:17 +00:00
Tadashi G. Takaoka
e12a6fff14 Add supportsDismissingSelfWindow attribute of IME
When a virtual keyboard is shown on some configurations (e.g. Phone),
the System UI may change the back navigation button to a different UI
element in order to dismiss the virtual keyboard. Such UI modification
is unnecessary when the virtual keyboard has a dismissing button on
its own window. This new attribute hints the System UI that the
virtual keyboard may have a UI element to dismiss itself. This will be
also useful for Tablet System UI which may not show a navigation bar
when a virtual keyboard is shown.

Bug: 34133139
Test: Add unit test InputMethodInfoTest
Change-Id: I0f6b130a7df57557e40b52a7b7ac00be965a17c3
2017-01-16 12:22:54 +09:00
Jean-Michel Trivi
c1fdd5df4a Merge "AudioPlaybackConfiguration has a player control interface" 2017-01-14 23:39:12 +00:00
TreeHugger Robot
18de051c98 Merge "Send EXTRA_USER with DevicePolicy lock broadcasts" 2017-01-14 17:12:57 +00:00
Bartosz Fabianowski
9e0642287e Merge "Add install reason" 2017-01-14 12:58:20 +00:00
Dmitri Plotnikov
9e9cfd93f1 Adding Notification.TvExtender API
Bug: 30972434
Change-Id: Iccdaa6253fd5a118893f2869bfb876b1d1e015c7
Test: No tests yet. Want to get a preliminary OK for the new API. Will add a test before submitting.
2017-01-13 18:13:59 -08:00
Kang Li
9fa2a2cd46 Adds annotations to Intent, and enables ChooserActivity to rank apps
according to annotations.

Test: Unit tests and manul tests. More unit tests to be added.
Change-Id: I3cbfd0cc10007290585fa3e7e3c92e1731f1f7b8
2017-01-13 17:40:44 -08:00
Ta-wei Yen
eca691efcb Add getNetworkSpecifier() and getCarrierConfig()
This allows making network request and getting carrier config on a
specfic SIM.

Bug: 32414216
Test: cts-tradefed run cts-dev --module CtsTelephonyTestCases
Merged-In: Id52688d73b74bc55ee2da71a22454957fdd7b57b
Change-Id: Iebe2d883e193afdde13303d76014dfd7f4fb06dd
2017-01-13 23:53:51 +00:00
Jean-Michel Trivi
9dc22c227c AudioPlaybackConfiguration has a player control interface
An AudioPlaybackConfiguration contains an IPlayer
  interface for system control of a player. It is not
  exposed to non-system signature components.
AudioService, through PlaybackActivityMonitor, is monitoring
  the death of the IPlayer so the matching player can get
  unregistered  in case it meets its maker.

Test: use vendor/google_toolbox/team/audio/cmds/ClPlaybackActivity
Bug: 30258418

Change-Id: Ibf3bceba91882ff16bffbf1219c55a1f89ccb13f
2017-01-13 23:49:29 +00:00
Zak Cohen
9013325c3a Merge changes from topic 'vrmode'
* changes:
  Set ui mode in UiModeManagerService to vrheadset when VR mode is enabled.
  Introduce new UI_MODE_TYPE_VR_HEADSET and qualifier.
2017-01-13 23:15:00 +00:00
Tobias Thierer
26e2c852e5 API: Update java.util.Date to OpenJDK8u60
Test: make update-api
Change-Id: I116e13977427e714c6dbe4a843687220fd18a043
2017-01-13 21:53:40 +00:00
Joachim Sauer
3b4abbd4df Merge "Add java.time APIs." am: 0938b22c0a am: d05e19954b am: 88002e8e38
am: b26cc7f971

Change-Id: Ib52d788a1787fa3689c14135673de044e2a7c989
2017-01-13 21:41:52 +00:00
Ashutosh Joshi
24f2a6f939 Merge "Add an uncalibrated acclerometer sensor type." 2017-01-13 17:47:33 +00:00
Kalle Raita
836320ff12 Merge "Add EGL_RECORDABLE_ANDROID enum in EGLExt" 2017-01-13 17:39:09 +00:00
Bartosz Fabianowski
a34f53f61b Add install reason
This CL allows a reason to be specified when installing a package. The
install reason is a sticky piece of metadata: When a package is e.g.
installed via enterprise policy and an update is then manually
installed or sideloaded, the install reason will remain "policy."
The install reason is tracked separately for each user.

With this CL, two install reasons exist: "policy" and "unknown." Other
install reasons will likely be supported in the future.

Bug: 32692748
Bug: 33415829
Test: Tested manually with "adb install" / "adb uninstall"

Change-Id: I0c9b9e1b8eb666bb6962564f6efd97e41703cd86
2017-01-13 16:51:28 +01:00
Andrei Stingaceanu
564328b21e AutoSize TextView (part 6) - introduce autoSizeMaxTextSize
Using textSize as maxTextSize for autosizing is buggy and
unclean. Introduce and use new autoSizeMaxTextSize attribute for
TextView.

Also while doing this optimized the auto-size process by removing
unnecessary computations:

1. If auto-size is enabled than setTextSize(...) is no-op.
2. After setting the text size internally and from the auto-size
context onMeasure() will stop doing another round of redundant
measurements..

Bug: 33449596
Bug: 32221168
Test: atttached in the same topic
Change-Id: Ieecaea6df0aebb4c182bdd1114e3c6fc5066bed1
2017-01-13 11:52:00 +00:00
Joachim Sauer
d05e19954b Merge "Add java.time APIs."
am: 0938b22c0a

Change-Id: Ie1169d1af12228ac63f43efdf7f18e7dcb705bee
2017-01-13 10:27:05 +00:00
Joachim Sauer
0938b22c0a Merge "Add java.time APIs." 2017-01-13 10:18:20 +00:00