96277 Commits

Author SHA1 Message Date
TreeHugger Robot
7317467c39 Merge "Doze: Add plugin hook" 2016-11-19 01:31:46 +00:00
Michael Kwan
5cdf49342c Fix default dialog background colour for watch devices. am: 56c25af274 am: 0995a17481
am: a8ace160bd

Change-Id: I3453581b41c852a38c7d6000c633c0cd63591bf7
2016-11-19 00:23:13 +00:00
Michael Kwan
a8ace160bd Fix default dialog background colour for watch devices. am: 56c25af274
am: 0995a17481

Change-Id: I5cbd81a2a776542190beb669e36146911dc2357c
2016-11-19 00:15:48 +00:00
Michael Kwan
0995a17481 Fix default dialog background colour for watch devices.
am: 56c25af274

Change-Id: I5020e61d35adf3327f4b0e39e5e3e74188392330
2016-11-19 00:12:12 +00:00
Adrian Roos
f9d13f6d7a Doze: Add plugin hook
Test: mmm vendor/google_experimental/users/roosa/DozePlugin/
Change-Id: I7ea55954f0c07be932e8ee7037e03b7c01cc1108
2016-11-18 15:59:00 -08:00
Jeff Davidson
c6bba4b57a Merge "Fix Javadoc errors in CarrierService." 2016-11-18 23:41:02 +00:00
Yifan Hong
0758aee6ec Split libhidl into base and transport. am: c46d1b44eb am: 78f6a7c615
am: 3ca2fb074f

Change-Id: I382d91f4cea8577400bba71bcd51e8e9a947215f
2016-11-18 23:27:18 +00:00
Yifan Hong
3ca2fb074f Split libhidl into base and transport. am: c46d1b44eb
am: 78f6a7c615

Change-Id: I95471e3f90ba796b52c3df555b60ad6f49aae5da
2016-11-18 23:20:38 +00:00
Yifan Hong
78f6a7c615 Split libhidl into base and transport.
am: c46d1b44eb

Change-Id: I0bcf04338d71386249de46c015b0e577c47c6e79
2016-11-18 23:14:27 +00:00
TreeHugger Robot
c58e7899be Merge "Define getLooper() method" 2016-11-18 23:06:15 +00:00
Michael Kwan
56c25af274 Fix default dialog background colour for watch devices.
Bug: 33008587
Change-Id: I0fe4f9a7244958406d2a3466393476f7775ae995
2016-11-18 15:02:43 -08:00
TreeHugger Robot
5448cd6e8a Merge "Introduce RoughtimeClient" 2016-11-18 22:54:03 +00:00
Jeff Sharkey
40f92647ec Merge "Lists returned from OS aren't mutable." 2016-11-18 22:42:53 +00:00
Adam Powell
cd09af7282 Merge "Fix FragmentManager.FragmentLifecycleCallbacks scope" 2016-11-18 22:18:42 +00:00
Julia Reynolds
f22d457eeb Merge "Prioritize channel sound & vibration settings." 2016-11-18 22:12:28 +00:00
Casey Dahlin
89ef028898 Introduce RoughtimeClient
Roughtime is Google's new network time protocol[1] and we'd like to
start using it for some devices in place of/in addition to NTP. This
patch gets the beginnings of an implementation off the ground, with tests.

[1] https://roughtime.googlesource.com/roughtime/

Test: New unit tests pass
Bug: 30834326
Change-Id: I401d8ad59c82dda514fd3c4be63804f46814251d
2016-11-18 13:16:35 -08:00
Mats 2, Åkesson
e1c967ab8f Merge "Customization of LTE Signal Bars" am: 3cbf2c2657 am: 5ee2b9384b am: a16a77781e
am: 6daed59698

Change-Id: Id99e2d155ca8267fd9b5bff5941e5112d27232e6
2016-11-18 21:07:08 +00:00
Jeff Davidson
8e1a4931bd Fix Javadoc errors in CarrierService.
Test: Verified in IntelliJ's Javadoc viewer.
Change-Id: I449a57648b0aa89ba2a9360bfc9b5bad2f9b0d51
2016-11-18 13:07:01 -08:00
Mats 2, Åkesson
6daed59698 Merge "Customization of LTE Signal Bars" am: 3cbf2c2657 am: 5ee2b9384b
am: a16a77781e

Change-Id: Ia9853ec8459355ad3b00e7505dc6af491bf6828d
2016-11-18 21:00:04 +00:00
Mats 2, Åkesson
a16a77781e Merge "Customization of LTE Signal Bars" am: 3cbf2c2657
am: 5ee2b9384b

Change-Id: I82d61b23560e4bdf84caca7e49ddcd367662cb47
2016-11-18 20:56:03 +00:00
Todd Kennedy
63d7a9dd6a Define getLooper() method
The default implementation uses the main looper to handle service
operations. This is generally okay until we have to make network
calls to retrieve resolution data.

Bug: 25119046
Test: manual
Change-Id: I22b0f279e6c1fde21f207578d2930ab4858bbc78
2016-11-18 12:55:41 -08:00
Mats 2, Åkesson
5ee2b9384b Merge "Customization of LTE Signal Bars"
am: 3cbf2c2657

Change-Id: I33c625ec49547fde582462687e6229ddf0269b15
2016-11-18 20:50:20 +00:00
Treehugger Robot
3cbf2c2657 Merge "Customization of LTE Signal Bars" 2016-11-18 20:44:14 +00:00
Michael Kwan
ed5ccb47d1 Enable swipe to dismiss for watch devices. am: 686de42711 am: ba28331c3a
am: 07e8c18ff8

Change-Id: Icee05d6c599ab4bbdacaf05d96722d39a88a3a57
2016-11-18 19:37:10 +00:00
Michael Kwan
07e8c18ff8 Enable swipe to dismiss for watch devices. am: 686de42711
am: ba28331c3a

Change-Id: I1a11c42470c21dced393428eeb5206f34cc8cbc3
2016-11-18 19:30:25 +00:00
Michael Kwan
ba28331c3a Enable swipe to dismiss for watch devices.
am: 686de42711

Change-Id: I3f9b9dcf8f7094bcf59eec643a5f87922486371e
2016-11-18 19:24:27 +00:00
Erik Wolsheimer
d841ee9c81 Merge "Enable swipe to dismiss for watch devices." into cw-f-dev 2016-11-18 19:17:56 +00:00
Sudheer Shanka
12b3f27e1c Merge "Remove transaction ids in IActivityManager.aidl." 2016-11-18 18:55:41 +00:00
Jeff Sharkey
97449fa389 Lists returned from OS aren't mutable.
Data returned via ParceledListSlice is a snapshot of data from the
system, and should not be mutated directly.

In particular, this can cause developer confusion if they call
Collection.remove(), which doesn't actually mutate the value in the
system.  There are other mutation APIs that developers should be
using instead, such as JobScheduler.cancel().

Test: builds, boots, common operations work
Bug: 27856974
Change-Id: I72528dee4d79e483aa295bd91d1ed80d0d72d21c
2016-11-18 11:06:06 -07:00
Scott Main
22a15906f9 Add cross-links between FINE and COARSE location permissions. bug: 25371600 am: 3fef783359 am: c8b11fb7cb am: 192a8c4973 am: 97be8864e5 am: ec9f41356c
am: e42d88323a

Change-Id: Ic5587ed1d9d4932133a2017c1cf9fc4a5373a2ff
2016-11-18 17:32:12 +00:00
Scott Main
e42d88323a Add cross-links between FINE and COARSE location permissions. bug: 25371600 am: 3fef783359 am: c8b11fb7cb am: 192a8c4973 am: 97be8864e5
am: ec9f41356c

Change-Id: I7cd3a82a73707b1f61c82897c0e7fbc63f33d226
2016-11-18 15:42:08 +00:00
Scott Main
ec9f41356c Add cross-links between FINE and COARSE location permissions. bug: 25371600 am: 3fef783359 am: c8b11fb7cb am: 192a8c4973
am: 97be8864e5

Change-Id: I340207420e0811c74751a96dc30e929a411ea207
2016-11-18 15:36:33 +00:00
Scott Main
97be8864e5 Add cross-links between FINE and COARSE location permissions. bug: 25371600 am: 3fef783359 am: c8b11fb7cb
am: 192a8c4973

Change-Id: Ib54b2bafcf87a4f27e6a541a4cde0b01c41780b0
2016-11-18 15:30:06 +00:00
Scott Main
192a8c4973 Add cross-links between FINE and COARSE location permissions. bug: 25371600 am: 3fef783359
am: c8b11fb7cb

Change-Id: I6db78aa2008d2bdd675a87daeae132e5f5c09371
2016-11-18 15:24:18 +00:00
Scott Main
c8b11fb7cb Add cross-links between FINE and COARSE location permissions. bug: 25371600
am: 3fef783359

Change-Id: I7a7e25c37fcd7863f51ea116f624d0bdc2d0c5c6
2016-11-18 15:17:06 +00:00
Yifan Hong
d6658ac131 Split libhidl into base and transport.
Bug: 32756130

Test: mma
Change-Id: I0df309a1096b663cc51ce8badacf05e2a47836a8
2016-11-18 15:15:32 +00:00
Julia Reynolds
0c299d4d63 Prioritize channel sound & vibration settings.
Unless the app is not targeting O and the user hasn't set
a preference in Settings.

Also apps no longer need the vibration permission to vibrate with
a notification.

Test: runtest systemui-notification
Change-Id: Ia84b1c97d13cb479db07035ca622b1fe52261329
2016-11-18 09:29:26 -05:00
Yifan Hong
c46d1b44eb Split libhidl into base and transport.
Bug: 32756130

Test: mma
Change-Id: I0df309a1096b663cc51ce8badacf05e2a47836a8
2016-11-18 00:03:59 +00:00
TreeHugger Robot
29993074b0 Merge "Keep track of admin actions for DO disclosures" 2016-11-17 21:40:46 +00:00
TreeHugger Robot
3613a0caee Merge "Wire up PM.getInstalledApplicationsAsUser(flags, userId) as hidden API" 2016-11-17 21:34:08 +00:00
Sean Stout
aaf30fb8ed Merge "Update ringtone picker strings." 2016-11-17 20:57:53 +00:00
TreeHugger Robot
5bec219934 Merge "Phase-2 API takes a hostname" 2016-11-17 20:39:54 +00:00
Adam Powell
74827260a8 Fix FragmentManager.FragmentLifecycleCallbacks scope
Static class is much more useful here.

Bug: 32938039
Test: n/a
Change-Id: I0010fde25e3b2a4f59b360c0035505c831c07c53
2016-11-17 12:20:26 -08:00
Bartosz Fabianowski
b21b241f0f Keep track of admin actions for DO disclosures
This CL adds bookkeeping to DPMS which will allow us to tell the user
in the Settings UI whether/when the admin requested a bug report or
retrieved logs from the device.

Bug: 32692748
Test: Full DevicePolicyManagerTest unit test coverage; end-to-end tests
        will follow as Settings CTS verifier tests

Change-Id: I89728fce4b7e0ff061b354c73caf3742e95a3a3e
2016-11-17 20:52:03 +01:00
Sudheer Shanka
d9a42f2e2c Merge "Remove transaction ids in IApplicationThread." 2016-11-17 19:49:39 +00:00
Bartosz Fabianowski
1133424c2b Wire up PM.getInstalledApplicationsAsUser(flags, userId) as hidden API
Settings needs to access a variant of getInstalledApplications() which
takes a |userId| argument. Since this is not currently exposed by
PackageManager, Settings calls into PackageManagerService directly. This
is ugly and breaks the regular abstraction layer hierarchy.

The CL fixes the problem by exposing the required variant of
getInstalledApplications() as a hidden API, analogously to what was done
before with getInstalledPackages().

Bug: 32692748
Test: Will be CTS-verifier-tested together with Settings
Change-Id: Id9c4e8e18524d312159821f1a4d5527263c7e950
2016-11-17 20:49:16 +01:00
Dimitry Ivanov
fcb4024e65 Merge "Fix coretests: Remove dependency on libnativehelper" am: f68cb55cc1 am: 6a5e1a7f4a am: b8e43f60c2
am: c8ff9b50ed

Change-Id: Id5eef00a490e971b025937c34b372cd272c72087
2016-11-17 19:11:20 +00:00
Dimitry Ivanov
c8ff9b50ed Merge "Fix coretests: Remove dependency on libnativehelper" am: f68cb55cc1 am: 6a5e1a7f4a
am: b8e43f60c2

Change-Id: I449cd9a5ceabb13abce3a5d345137025fca33579
2016-11-17 19:06:02 +00:00
Dimitry Ivanov
b8e43f60c2 Merge "Fix coretests: Remove dependency on libnativehelper" am: f68cb55cc1
am: 6a5e1a7f4a

Change-Id: I096fb9b30c2e11bf7054aefa1bd3deb6974a9d36
2016-11-17 18:57:58 +00:00
Todd Kennedy
194e4eeb0e Phase-2 API takes a hostname
For phase-2, instead of taking a hash prefix, we will send the
hostname to the resolver.

Bug: 25119046
Test: build & install the sample resolver and run 'adb shell am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d "https://www.tripadvisor.com/Tourism-g33020-San_Jose_California-Vacations.html"'
Change-Id: I6e621139e182f9a9cfcf608c26d4763f1379bdb2
2016-11-17 10:56:37 -08:00