Commit Graph

257857 Commits

Author SHA1 Message Date
Daichi Hirono
ef161dd6ef Add isChildDocument to MtpDocumentsProvider.
Bug: 32687127
Test: adb shell am instrument -w -e class com.android.mtp.MtpDocumentsProviderTest#testIsChildDocument com.android.mtp.tests/com.android.mtp.TestResultInstrumentation
Change-Id: I44ded3c73443735229a8b3465122f7e10c4da178
2017-01-11 16:40:20 +09:00
Santos Cordon
a00c235600 Merge "Add Brightness setting for VR Mode." into nyc-mr2-dev 2017-01-11 03:02:55 +00:00
Philipp Weiß
a7c6324340 Merge "Re-Add VPN-"Settings" button to QSFooter dialog" into nyc-mr2-dev 2017-01-10 13:54:28 +00:00
phweiss
d361b181e5 Re-Add VPN-"Settings" button to QSFooter dialog
Button was removed during a redesign of the dialog in the case
of active device owner. However, when no DO is set, the button should
still be there.

Also, when VPN configuration is restricted, do not show the button, and
also do not show the link that is visible in the DO-version of the dialog.

Bug:34156553
Bug:29748723
Test: manual

Change-Id: I177afdc94dc396754fc7703e4316edaa7ce104cd
(cherry picked from commit a99a3f70e2)
2017-01-10 10:16:35 +00:00
phweiss
971236480c Dismiss network logging notification when disabling logging
Bug:34116213
Bug:29748723
Test: CTSVerifier in a separate CL.

Change-Id: Ie652505ff57665f626712c67837577833f1595d6
(cherry picked from commit 82ed31c1ef)
2017-01-10 10:16:12 +00:00
TreeHugger Robot
3faf3467e3 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-01-10 07:12:57 +00:00
TreeHugger Robot
0ffe43ecd7 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-01-10 07:12:15 +00:00
Bill Yi
5ef189ddeb Import translations. DO NOT MERGE
Change-Id: I61019454236fb311bf7a428d077ddfd8a670da50
Auto-generated-cl: translation import
2017-01-09 20:17:25 -08:00
Bill Yi
4fcf5b1813 Import translations. DO NOT MERGE
Change-Id: Idb74740bc5560b78a7b3d3cd7f2d92aee4ba411e
Auto-generated-cl: translation import
2017-01-09 20:05:48 -08:00
Santos Cordon
d6a5660a2c Add Brightness setting for VR Mode.
This change saves and loads a different brightness setting when the user
goes in and out of VR Mode.

Bug: 30984614
Change-Id: If3c3e81b592e0c6fd037e5783559683e5cb58379
2017-01-09 17:33:14 -08:00
Michael Kwan
4ebbea26cc Merge "Check if the activity translucency was converted before converted back." into cw-f-dev
am: 6d7dc11e01

Change-Id: I1331dadb63009eb7acf693b59f16aebe1557d51e
2017-01-09 23:06:24 +00:00
Michael Kwan
fe9e68a63c Check if the activity translucency was converted before converted back.
am: 39dd370d8e

Change-Id: Ibf6e7b3a1d2767c91cca402fabcc1a0a3616733e
2017-01-09 23:06:22 +00:00
TreeHugger Robot
6d7dc11e01 Merge "Check if the activity translucency was converted before converted back." into cw-f-dev 2017-01-09 22:59:53 +00:00
Joe Onorato
e678f29684 Hold a wake lock while DeviceIdleController is going idle.
am: b08db484c2

Change-Id: I12a3f0a0edc1d8393267ef1ab34b650a7c1036f2
2017-01-09 22:43:46 +00:00
Michael Kwan
39dd370d8e Check if the activity translucency was converted before converted back.
Bug: 34084490
Change-Id: Ib04c76549a31c7e523649f9d284637d44d7477ae
2017-01-09 13:43:52 -08:00
Joe Onorato
b08db484c2 Hold a wake lock while DeviceIdleController is going idle.
The inputs to DeviceIdleController (alarm manager, sensors)
hold wake locks while they call it.  But then the real work
happens in a handler which is outside of the wakelock, so
listeners don't get a chance to run right away, which in
the case of NetworkPolicyManager means the device is in a
higher power state than it should be.

It's not clear that this will 100% fix the bug, because
NetworkPolicyManagerService also has its own internal
Handler, and isn't holding its own wakelock for this,
but this change allows NPMS to be fixed if it really
needed to be.

Bug: 31900521
Test: adb shell dumpsys deviceidle step ... adb shell dumpsys power has no wakelocks held
Change-Id: I799f45221a6b327e7f63745cadc95ca644c064c6
(cherry picked from commit 8f0e9cede1)
2017-01-09 21:37:53 +00:00
Mark Renouf
1831698768 Merge "Omit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN" into cw-f-dev
am: 5df216f209

Change-Id: I8ef2a5de5ff83be475c41b1202950bfb953c348f
2017-01-09 19:13:44 +00:00
Mark Renouf
bf30b430d4 Omit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN
am: 9b32a35aa7

Change-Id: I1576235d933d467963a4522e138036fca3e49891
2017-01-09 19:13:41 +00:00
Mark Renouf
5df216f209 Merge "Omit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN" into cw-f-dev 2017-01-09 19:00:05 +00:00
TreeHugger Robot
b100a9ac58 Merge "Force Grid-based Recents to show at most 8 tasks." into nyc-mr2-dev 2017-01-09 17:56:46 +00:00
Jiaquan He
883887eac9 Force Grid-based Recents to show at most 8 tasks.
Bug: 32101881
Bug: 33975969

Change-Id: Icbadaa3ca12f53e57e06dd19d7809a23e0efa88c
2017-01-09 09:51:24 -08:00
Jorim Jaggi
b0181b634e Merge "Fix message for screen unpinning" into nyc-mr2-dev 2017-01-09 12:52:51 +00:00
David Friedman
a303af44f9 Merge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev am: 101f885826 am: c3b564e266 am: bcc449eeca
am: d8e95f6bda

Change-Id: I566c5345fee98650766f31af2c5723d8b423fbd5
2017-01-07 02:51:15 +00:00
Dave Friedman
89f96e8fa4 Docs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe am: e0fd4c8a3b am: a111e0f7f0
am: eedb695579

Change-Id: Icd2ded633cf7211ef9d1a2106216450db7773408
2017-01-07 02:50:17 +00:00
David Friedman
d8e95f6bda Merge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev am: 101f885826 am: c3b564e266
am: bcc449eeca

Change-Id: I070f5c7088ce237995f995c2aa097e1f04cc4000
2017-01-07 02:46:33 +00:00
Dave Friedman
eedb695579 Docs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe am: e0fd4c8a3b
am: a111e0f7f0

Change-Id: Ic5d7e0ce01bd573e0882122d0709cbc2da56f448
2017-01-07 02:43:44 +00:00
David Friedman
bcc449eeca Merge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev am: 101f885826
am: c3b564e266

Change-Id: I23fdc92b08e32c643de8009bebf4e02c41741c7e
2017-01-07 02:39:33 +00:00
Dave Friedman
a111e0f7f0 Docs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe
am: e0fd4c8a3b

Change-Id: I8f65ad71433efbe1121e0617c6d7575b7db3a051
2017-01-07 02:38:45 +00:00
David Friedman
c3b564e266 Merge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev
am: 101f885826

Change-Id: I5e6d948373c8f8ff2892c843329a7d2b540b8706
2017-01-07 02:30:48 +00:00
Dave Friedman
e0fd4c8a3b Docs: Updates Javadoc documentation. Bug: 32532540
am: 2a3ebadcbe

Change-Id: Ibee55c5e73d9b51e5f5df24be01b0b797fa8a7a5
2017-01-07 02:30:45 +00:00
David Friedman
101f885826 Merge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev 2017-01-07 02:24:57 +00:00
Dave Friedman
2a3ebadcbe Docs: Updates Javadoc documentation.
Bug: 32532540

Change-Id: Ia811d9a51812206b18b75a98f6c5a55b92627404
2017-01-06 16:41:19 -08:00
TreeHugger Robot
cb4f643b95 Merge "nfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings." into nyc-mr2-dev 2017-01-06 22:18:26 +00:00
TreeHugger Robot
0d8c4765b2 Merge "Fix unexpected VR mode exit on package update." into nyc-mr2-dev 2017-01-06 21:07:29 +00:00
TreeHugger Robot
e553cebbeb Merge "Update CHAR LIMIT for notification body." into nyc-mr2-dev 2017-01-06 20:46:28 +00:00
Ruchi Kandoi
3a1ff62e5a nfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings.
Bug: 32881476
Test: Manual; backup, change settings, restore

Change-Id: Ibc31b23f632c50a2c7120734fc96e7d855df062e
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2017-01-06 12:02:33 -08:00
Ruben Brunk
1ad4a2d32e Fix unexpected VR mode exit on package update.
Bug: 33809651
Change-Id: Ifbaf705e74eda2bde3e4b2d9092360a1c658e660
2017-01-06 11:23:49 -08:00
Andrew Sapperstein
429cafb85e Update CHAR LIMIT for notification body.
Test: is comment change
Bug: 34097363
Change-Id: I8ae19c3b5108c9c2f00614cd5d32cee06082a052
2017-01-06 18:57:41 +00:00
Andrew Sapperstein
1cac83218c Add temperature config for high temp warning.
Adds an integer resource (config_warningTemperature) that is used
to display the high temp warning. If it is set to less than 0,
the value from HardwarePropertiesManager#getDeviceTemperatures(
HardwarePropertiesManager.DEVICE_TEMPERATURE_SKIN,
HardwarePropertiesManager.TEMPERATURE_THROTTLING) is used instead.

Test: manual
Bug: 30995038
Change-Id: I05aa1b5930c6c151ebac439dfd5c00b3305dc46d
(cherry picked from commit 7518471ab6)
2017-01-06 18:28:10 +00:00
Alain Vongsouvanh
f36beac956 bools: fix use_lock_pattern_drawable javadoc.
am: c4046b5542

Change-Id: Ifd50a1780a232d3902e5a232c2b3445aeb6db178
2017-01-06 17:41:37 +00:00
Jorim Jaggi
8a28aa54c7 Fix message for screen unpinning
Test: Pin app, touch home button
Change-Id: Ic7cf5c9151977a5517dc259802a1489cc6cdf519
Fixes: 34052116
2017-01-06 07:57:47 -08:00
Alain Vongsouvanh
c4046b5542 bools: fix use_lock_pattern_drawable javadoc.
Change-Id: If135544edb499ee64117bf81c6e3d0eebbfcff00
2017-01-05 22:54:07 -08:00
Alain Vongsouvanh
cb29c97907 widget: Adding support for custom LockPatternView.
am: 2fda2ce159

Change-Id: Ib0d53bd7258f784dc3cb0661757b7c6d4979007f
2017-01-05 19:45:02 +00:00
TreeHugger Robot
1d513b28e3 Merge "Add logging for task view thumbnail state." into nyc-mr2-dev 2017-01-05 19:33:48 +00:00
Mark Renouf
9b32a35aa7 Omit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN
In some cases (e.g. Android Wear) SystemWindowInsets can be non-zero
due to overscan layout hints even when no SystemUI is present.

This change resepects the overscan flag on input method windows
allowing an IME to opt-out of the navigation bar guard and receive
full-height content view.

BUG: 32700226
Change-Id: Ic38f204a892bf34e8dae65990d5aa8c95af555d8
2017-01-05 13:52:59 -05:00
Alain Vongsouvanh
2fda2ce159 widget: Adding support for custom LockPatternView.
OEMs can overlay the default 9 dots by providing two drawables that represent
those dots:
  * lockscreen_notselected: asset to display when a cell has not been selected.
  * lockscreen_selected: asset to display when a cell has been selected.

BUG: 33755663
Change-Id: Ic595b01f5e1321696b7a3feb0ff73c1acccfb942
2017-01-05 16:16:49 +00:00
TreeHugger Robot
20088b3e31 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-01-05 10:08:44 +00:00
TreeHugger Robot
9e8b15b953 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-01-05 10:06:47 +00:00
Bill Yi
a51dba4ca5 Import translations. DO NOT MERGE
Change-Id: Ic18109adbc1f4e2e3f8bf15aa6d5cf0cb703b601
Auto-generated-cl: translation import
2017-01-05 00:27:04 -08:00
Bill Yi
319605a34b Import translations. DO NOT MERGE
Change-Id: Ia63b58c348cd9978df4b800cdff5926ec9f487fa
Auto-generated-cl: translation import
2017-01-05 00:18:30 -08:00