OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "DO NOT MERGE - 2D Recents: Make sure thumbnail fills task view in all orientat...
TreeHugger Robot [Fri, 13 Jan 2017 19:54:18 +0000 (19:54 +0000)]
Merge "DO NOT MERGE - 2D Recents: Make sure thumbnail fills task view in all orientations" into nyc-mr2-dev

7 years agoMerge "[DPM] Improvements to the network logs batch finalization mechanism" into...
Michal Karpinski [Fri, 13 Jan 2017 09:47:21 +0000 (09:47 +0000)]
Merge "[DPM] Improvements to the network logs batch finalization mechanism" into nyc-mr2-dev

7 years agoMerge "DO NOT MERGE - Also scale down thumbnail in app transitions for grid recents...
TreeHugger Robot [Fri, 13 Jan 2017 02:31:08 +0000 (02:31 +0000)]
Merge "DO NOT MERGE - Also scale down thumbnail in app transitions for grid recents" into nyc-mr2-dev

7 years agoDO NOT MERGE - 2D Recents: Make sure thumbnail fills task view in all orientations
Manu Cornet [Wed, 11 Jan 2017 20:32:54 +0000 (12:32 -0800)]
DO NOT MERGE - 2D Recents: Make sure thumbnail fills task view in all orientations

Bug: 32101881
Test: Checked layout in various situations when switching orientation
Change-Id: Iae1f142f6568890512e24787d78cfb1e15280feb

7 years agoDO NOT MERGE - Also scale down thumbnail in app transitions for grid recents
Manu Cornet [Thu, 12 Jan 2017 23:05:13 +0000 (15:05 -0800)]
DO NOT MERGE - Also scale down thumbnail in app transitions for grid recents

Bug: 32101881
Test: Checked the effect on app -> recents transition on local sw600dp device
Change-Id: Ic3e3af6e8db4a62028e1283e915a7cd12db49607

7 years agoMerge "2D Recents: Use a different task dismiss animation" into nyc-mr2-dev
Manu Cornet [Fri, 13 Jan 2017 00:23:44 +0000 (00:23 +0000)]
Merge "2D Recents: Use a different task dismiss animation" into nyc-mr2-dev

7 years agoMerge "Create a global registry for system message IDs" into nyc-mr2-dev
Andrew Sapperstein [Thu, 12 Jan 2017 21:18:23 +0000 (21:18 +0000)]
Merge "Create a global registry for system message IDs" into nyc-mr2-dev

7 years agoMerge "Revert "DO NOT MERGE ANYWHERE default_wallpaper: replace with black"" into...
TreeHugger Robot [Thu, 12 Jan 2017 18:52:38 +0000 (18:52 +0000)]
Merge "Revert "DO NOT MERGE ANYWHERE default_wallpaper: replace with black"" into nyc-mr2-dev

7 years agoMerge "2D Recents: Show shadows behind task views." into nyc-mr2-dev
Jiaquan He [Thu, 12 Jan 2017 18:50:06 +0000 (18:50 +0000)]
Merge "2D Recents: Show shadows behind task views." into nyc-mr2-dev

7 years agoMerge "Fixed a bug where notifications could stay expanded" into nyc-mr2-dev
Selim Cinek [Thu, 12 Jan 2017 18:37:04 +0000 (18:37 +0000)]
Merge "Fixed a bug where notifications could stay expanded" into nyc-mr2-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
TreeHugger Robot [Thu, 12 Jan 2017 17:19:00 +0000 (17:19 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
TreeHugger Robot [Thu, 12 Jan 2017 17:17:46 +0000 (17:17 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev

7 years ago[DPM] Improvements to the network logs batch finalization mechanism
Michal Karpinski [Thu, 12 Jan 2017 14:45:01 +0000 (14:45 +0000)]
[DPM] Improvements to the network logs batch finalization mechanism

The full batch will still be available to DPC if there were no
network logs pending.
Added some more debug logging to better investigate the issues.

Test: manual for both cases - pending batch was empty and non-empty,
      with locally decreased timeout
Test: cts-tradefed run cts --module DevicePolicyManager --test com.android.cts.devicepolicy.DeviceOwnerTest#testNetworkLoggingWithSingleUser

Bug: 34245471
Bug: 29748723
Change-Id: Iee229d74d4b0a06025b305a15687f336a0aa337e

7 years agoMerge changes I1d04a92e,I8d7596fa,If63c5434 into nyc-mr2-dev
Selim Cinek [Thu, 12 Jan 2017 15:55:26 +0000 (15:55 +0000)]
Merge changes I1d04a92e,I8d7596fa,If63c5434 into nyc-mr2-dev

* changes:
  Allowing heads-up notifications now on the lock screen
  Introduced the visual stability manager
  Removing notifications always immediately when swiping them away

7 years agoFixed a bug where notifications could stay expanded
Selim Cinek [Thu, 22 Dec 2016 15:39:54 +0000 (16:39 +0100)]
Fixed a bug where notifications could stay expanded

When expanding and locking the screen, the notification
could be stuck in a userlocked state and therefore look
expanded even on the lock screen.
Another case where this could happen was when there was
a race between locking the screen and collapsing a group.

Merged-In: I4f359d727013ee8c9e4174d2855896ba8d3d1a0b
Change-Id: I4f359d727013ee8c9e4174d2855896ba8d3d1a0b
Test: have group on locked shade, expand, click on middle space during expansion
Bug: 33614507

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 12 Jan 2017 11:41:01 +0000 (03:41 -0800)]
Import translations. DO NOT MERGE

Change-Id: I6119a209e99f4e301961a07b18b181b8069cfd3e
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 12 Jan 2017 11:29:23 +0000 (03:29 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ib976549750fe35328391038a3f7bf3e3e7f6f13b
Auto-generated-cl: translation import

7 years agoMerge "Captive portal: better detect empty responses" into nyc-mr2-dev
TreeHugger Robot [Thu, 12 Jan 2017 08:51:31 +0000 (08:51 +0000)]
Merge "Captive portal: better detect empty responses" into nyc-mr2-dev

7 years agoCaptive portal: better detect empty responses
Hugo Benichi [Wed, 11 Jan 2017 07:23:26 +0000 (16:23 +0900)]
Captive portal: better detect empty responses

The captive portal detection logic treats empty http responses with a
Content-Length of 0 as not coming from a portal.

However when the Content-Length is missing from the response header, the
empty response is not detected as such and is classified as a captive
portal answer.

When this happens for the http probe, the portal detection logic will
short circuit the detection and wrongly report a portal. The system
validates the network in such conditions only if the https probe
returns a successful connection faster than the http probe.

This patch attempts to better detect empty responses by trying to read
the first byte from the response body when the Content-Length is missing
for 200 responses.

Test: build, flashed + manual tests.
Bug: 33498325
Change-Id: Ie2e5c6a9dc3740e4a2304034879b5ed60f277ade

7 years agoSync the startConsentUiIfNeeded logics to master. We are missing the package name...
Shijian Li [Thu, 12 Jan 2017 03:07:10 +0000 (03:07 +0000)]
Sync the startConsentUiIfNeeded logics to  We are missing the package name when starting the activity now.
am: 5e7fc7ccc8

Change-Id: I4214dc072d3155cd417ee3577918570e515fa1cf

7 years agoAllowing heads-up notifications now on the lock screen
Selim Cinek [Wed, 21 Dec 2016 17:23:11 +0000 (18:23 +0100)]
Allowing heads-up notifications now on the lock screen

In order to isolate notifications properly from their group
and in order to allow them to visually reorder, we now allow
heads up notifications on the lock screen.

Merged-In: I1d04a92e66ae92ecee4f8ee23b218c2b167dadd4
Change-Id: I1d04a92e66ae92ecee4f8ee23b218c2b167dadd4
Test: existing tests pass
Test: add heads up on lockscreen
Test: heads up group child on lockscreen
Bug: 33773401

7 years agoIntroduced the visual stability manager
Selim Cinek [Tue, 6 Dec 2016 22:34:47 +0000 (14:34 -0800)]
Introduced the visual stability manager

Notifications used to roam around and reorder whenever
they wished. Those little beasts must be tamed, hence
a new visual stability manager is introduced that
dictates the terms of their interplay.

Test: manual: add heads-up and see if they correctly appear
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/notification/VisualStabilityManagerTest.java
Bug: 33773401
Merged-In: I8d7596fa7c14e0df68459a77d445f618d517ad51
Change-Id: I8d7596fa7c14e0df68459a77d445f618d517ad51

7 years agoRemoving notifications always immediately when swiping them away
Selim Cinek [Thu, 15 Dec 2016 22:44:36 +0000 (14:44 -0800)]
Removing notifications always immediately when swiping them away

When swiping away notifications we were previously relying on the
notification manager to cancel the notification for us. If the state
diverges however (due to bugs) this leads to unrecoverable empty
holes which is super bad.

Merged-In: If63c5434b4e438fea560e0013a12c60655103977
Change-Id: If63c5434b4e438fea560e0013a12c60655103977
Test: existing tests pass
Bug: 33457118

7 years agoMerge "add additional logging to ActiityManagerService" into nyc-mr2-dev
Tim Murray [Thu, 12 Jan 2017 00:24:27 +0000 (00:24 +0000)]
Merge "add additional logging to ActiityManagerService" into nyc-mr2-dev

7 years ago2D Recents: Show shadows behind task views.
Jiaquan He [Thu, 5 Jan 2017 22:34:44 +0000 (14:34 -0800)]
2D Recents: Show shadows behind task views.

Test: Checked that there's a shadow behind each task view in Grid-based
Recents on local sw600dp device.
Bug: 32101881
Change-Id: I2cb2c0f73cbe23c4dcce5a4839965fdff13a0df5

7 years ago2D Recents: Use a different task dismiss animation
Manu Cornet [Wed, 11 Jan 2017 23:14:14 +0000 (15:14 -0800)]
2D Recents: Use a different task dismiss animation

Bug: 32101881
Test: Checked layout and animation on local sw600dp device
Change-Id: Ic92a6a5aa0c25fac5553de9a0145a0b39ae6ddb1

7 years agoMerge "Added BUGREPORT_OPTION_TELEPHONY." into nyc-mr2-dev
TreeHugger Robot [Wed, 11 Jan 2017 22:55:34 +0000 (22:55 +0000)]
Merge "Added BUGREPORT_OPTION_TELEPHONY." into nyc-mr2-dev

7 years agoadd additional logging to ActiityManagerService
Tim Murray [Wed, 11 Jan 2017 17:52:38 +0000 (09:52 -0800)]
add additional logging to ActiityManagerService

add logging to help debugging issues with attachApplication/attachApplicationLocked.

bug 34193533
Tests: boots and starts apps

Change-Id: I6ef46dd92e893b71c164bfb28eeba1835dddffee

7 years agoSync the startConsentUiIfNeeded logics to master. We are missing the package
Shijian Li [Wed, 11 Jan 2017 17:32:12 +0000 (17:32 +0000)]
Sync the startConsentUiIfNeeded logics to  We are missing the package
name when starting the activity now.

Bug: 34216066
Change-Id: Ic8c8576ce2c65bc554bbf4794e169838c2ccbbe1

7 years agoAdd ticker text for network logging notification
phweiss [Tue, 10 Jan 2017 18:31:07 +0000 (19:31 +0100)]
Add ticker text for network logging notification

Set ticker text to title for accessibility.

Bug:31207965
Test: manual

Change-Id: I0b78f9e6464dd470b74e0db97813623b335835d9
(cherry picked from commit d4a54bbfd1902dccb0e4de03f15bfbbba50b9531)

7 years agoMerge "Add Brightness setting for VR Mode." into nyc-mr2-dev
Santos Cordon [Wed, 11 Jan 2017 03:02:52 +0000 (03:02 +0000)]
Merge "Add Brightness setting for VR Mode." into nyc-mr2-dev

7 years agoAdded BUGREPORT_OPTION_TELEPHONY.
Felipe Leme [Thu, 5 Jan 2017 22:57:12 +0000 (14:57 -0800)]
Added BUGREPORT_OPTION_TELEPHONY.

This option takes a lightweight version of bugreport that only includes a few,
urgent sections used to report telephony bugs.

BUG: 32589463
BUG: 26849505
Test: manual
Merged-In: I6f90c02779a1e8aead690428626e3b9f06aa04df
Change-Id: I6f90c02779a1e8aead690428626e3b9f06aa04df

7 years agoMerge "Re-Add VPN-"Settings" button to QSFooter dialog" into nyc-mr2-dev
Philipp Weiß [Tue, 10 Jan 2017 13:54:25 +0000 (13:54 +0000)]
Merge "Re-Add VPN-"Settings" button to QSFooter dialog" into nyc-mr2-dev

7 years agoRe-Add VPN-"Settings" button to QSFooter dialog
phweiss [Mon, 9 Jan 2017 14:56:00 +0000 (15:56 +0100)]
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 a99a3f70e2a07e7c85d25fed1881d1a6ef70a93c)

7 years agoDismiss network logging notification when disabling logging
phweiss [Mon, 9 Jan 2017 16:43:14 +0000 (17:43 +0100)]
Dismiss network logging notification when disabling logging

Bug:34116213
Bug:29748723
Test: CTSVerifier in a separate CL.

Change-Id: Ie652505ff57665f626712c67837577833f1595d6
(cherry picked from commit 82ed31c1efeb98acba60d79d1fc0a291b1440dc2)

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
TreeHugger Robot [Tue, 10 Jan 2017 07:12:54 +0000 (07:12 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
TreeHugger Robot [Tue, 10 Jan 2017 07:12:11 +0000 (07:12 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 10 Jan 2017 04:17:25 +0000 (20:17 -0800)]
Import translations. DO NOT MERGE

Change-Id: I61019454236fb311bf7a428d077ddfd8a670da50
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 10 Jan 2017 04:05:48 +0000 (20:05 -0800)]
Import translations. DO NOT MERGE

Change-Id: Idb74740bc5560b78a7b3d3cd7f2d92aee4ba411e
Auto-generated-cl: translation import

7 years agoAdd Brightness setting for VR Mode.
Santos Cordon [Tue, 20 Sep 2016 22:50:35 +0000 (15:50 -0700)]
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

7 years agoMerge "Check if the activity translucency was converted before converted back." into...
Michael Kwan [Mon, 9 Jan 2017 23:06:24 +0000 (23:06 +0000)]
Merge "Check if the activity translucency was converted before converted back." into cw-f-dev
am: 6d7dc11e01

Change-Id: I1331dadb63009eb7acf693b59f16aebe1557d51e

7 years agoCheck if the activity translucency was converted before converted back.
Michael Kwan [Mon, 9 Jan 2017 23:06:22 +0000 (23:06 +0000)]
Check if the activity translucency was converted before converted back.
am: 39dd370d8e

Change-Id: Ibf6e7b3a1d2767c91cca402fabcc1a0a3616733e

7 years agoMerge "Check if the activity translucency was converted before converted back." into...
TreeHugger Robot [Mon, 9 Jan 2017 22:59:50 +0000 (22:59 +0000)]
Merge "Check if the activity translucency was converted before converted back." into cw-f-dev

7 years agoHold a wake lock while DeviceIdleController is going idle.
Joe Onorato [Mon, 9 Jan 2017 22:43:46 +0000 (22:43 +0000)]
Hold a wake lock while DeviceIdleController is going idle.
am: b08db484c2

Change-Id: I12a3f0a0edc1d8393267ef1ab34b650a7c1036f2

7 years agoCheck if the activity translucency was converted before converted back.
Michael Kwan [Mon, 9 Jan 2017 21:43:52 +0000 (13:43 -0800)]
Check if the activity translucency was converted before converted back.

Bug: 34084490
Change-Id: Ib04c76549a31c7e523649f9d284637d44d7477ae

7 years agoHold a wake lock while DeviceIdleController is going idle.
Joe Onorato [Fri, 9 Dec 2016 01:48:49 +0000 (17:48 -0800)]
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 8f0e9cede145bbc1668e25cfd6f850fe3fde3ae3)

7 years agoMerge "Omit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN" into...
Mark Renouf [Mon, 9 Jan 2017 19:13:44 +0000 (19:13 +0000)]
Merge "Omit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN" into cw-f-dev
am: 5df216f209

Change-Id: I8ef2a5de5ff83be475c41b1202950bfb953c348f

7 years agoOmit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN
Mark Renouf [Mon, 9 Jan 2017 19:13:41 +0000 (19:13 +0000)]
Omit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN
am: 9b32a35aa7

Change-Id: I1576235d933d467963a4522e138036fca3e49891

7 years agoMerge "Omit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN" into...
Mark Renouf [Mon, 9 Jan 2017 19:00:02 +0000 (19:00 +0000)]
Merge "Omit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN" into cw-f-dev

7 years agoMerge "Force Grid-based Recents to show at most 8 tasks." into nyc-mr2-dev
TreeHugger Robot [Mon, 9 Jan 2017 17:56:43 +0000 (17:56 +0000)]
Merge "Force Grid-based Recents to show at most 8 tasks." into nyc-mr2-dev

7 years agoForce Grid-based Recents to show at most 8 tasks.
Jiaquan He [Fri, 6 Jan 2017 19:53:02 +0000 (11:53 -0800)]
Force Grid-based Recents to show at most 8 tasks.

Bug: 32101881
Bug: 33975969

Change-Id: Icbadaa3ca12f53e57e06dd19d7809a23e0efa88c

7 years agoMerge "Fix message for screen unpinning" into nyc-mr2-dev
Jorim Jaggi [Mon, 9 Jan 2017 12:52:47 +0000 (12:52 +0000)]
Merge "Fix message for screen unpinning" into nyc-mr2-dev

7 years agoMerge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev am: 101f88582...
David Friedman [Sat, 7 Jan 2017 02:51:15 +0000 (02:51 +0000)]
Merge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev am: 101f885826 am: c3b564e266 am: bcc449eeca
am: d8e95f6bda

Change-Id: I566c5345fee98650766f31af2c5723d8b423fbd5

7 years agoDocs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe am: e0fd4c8a3b...
Dave Friedman [Sat, 7 Jan 2017 02:50:17 +0000 (02:50 +0000)]
Docs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe am: e0fd4c8a3b am: a111e0f7f0
am: eedb695579

Change-Id: Icd2ded633cf7211ef9d1a2106216450db7773408

7 years agoMerge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev am: 101f88582...
David Friedman [Sat, 7 Jan 2017 02:46:33 +0000 (02:46 +0000)]
Merge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev am: 101f885826 am: c3b564e266
am: bcc449eeca

Change-Id: I070f5c7088ce237995f995c2aa097e1f04cc4000

7 years agoDocs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe am: e0fd4c8a3b
Dave Friedman [Sat, 7 Jan 2017 02:43:44 +0000 (02:43 +0000)]
Docs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe am: e0fd4c8a3b
am: a111e0f7f0

Change-Id: Ic5d7e0ce01bd573e0882122d0709cbc2da56f448

7 years agoMerge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev am: 101f885826
David Friedman [Sat, 7 Jan 2017 02:39:33 +0000 (02:39 +0000)]
Merge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev am: 101f885826
am: c3b564e266

Change-Id: I23fdc92b08e32c643de8009bebf4e02c41741c7e

7 years agoDocs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe
Dave Friedman [Sat, 7 Jan 2017 02:38:45 +0000 (02:38 +0000)]
Docs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe
am: e0fd4c8a3b

Change-Id: I8f65ad71433efbe1121e0617c6d7575b7db3a051

7 years agoMerge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev
David Friedman [Sat, 7 Jan 2017 02:30:48 +0000 (02:30 +0000)]
Merge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev
am: 101f885826

Change-Id: I5e6d948373c8f8ff2892c843329a7d2b540b8706

7 years agoDocs: Updates Javadoc documentation. Bug: 32532540
Dave Friedman [Sat, 7 Jan 2017 02:30:45 +0000 (02:30 +0000)]
Docs: Updates Javadoc documentation. Bug: 32532540
am: 2a3ebadcbe

Change-Id: Ibee55c5e73d9b51e5f5df24be01b0b797fa8a7a5

7 years agoMerge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev
David Friedman [Sat, 7 Jan 2017 02:24:54 +0000 (02:24 +0000)]
Merge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev

7 years agoDocs: Updates Javadoc documentation.
Dave Friedman [Thu, 5 Jan 2017 02:27:26 +0000 (18:27 -0800)]
Docs: Updates Javadoc documentation.
Bug: 32532540

Change-Id: Ia811d9a51812206b18b75a98f6c5a55b92627404

7 years agoMerge "nfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings." into nyc...
TreeHugger Robot [Fri, 6 Jan 2017 22:18:22 +0000 (22:18 +0000)]
Merge "nfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings." into nyc-mr2-dev

7 years agoMerge "Fix unexpected VR mode exit on package update." into nyc-mr2-dev
TreeHugger Robot [Fri, 6 Jan 2017 21:07:26 +0000 (21:07 +0000)]
Merge "Fix unexpected VR mode exit on package update." into nyc-mr2-dev

7 years agoMerge "Update CHAR LIMIT for notification body." into nyc-mr2-dev
TreeHugger Robot [Fri, 6 Jan 2017 20:46:24 +0000 (20:46 +0000)]
Merge "Update CHAR LIMIT for notification body." into nyc-mr2-dev

7 years agonfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings.
Ruchi Kandoi [Thu, 29 Dec 2016 21:31:43 +0000 (13:31 -0800)]
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>
7 years agoCreate a global registry for system message IDs
Chris Wren [Thu, 5 Jan 2017 17:57:06 +0000 (12:57 -0500)]
Create a global registry for system message IDs

Port all system UI notifications to use the registry.  Retain stable
integer IDs where they exist. Assign new stable IDs where resource IDs
were previously used.

Using "message" rather than "notification" since we may eventually
want to include dialogs and toasts.

Bug: 32584866
Bug: 30995038
Test: runtest systemui
Change-Id: Iec4d7cebbd88683e339ada29a279315222699942
(cherry picked from commit 5e6c0ffd3e91cf0c5872de3e2d99e225ad1468f4)

7 years agoFix unexpected VR mode exit on package update.
Ruben Brunk [Fri, 6 Jan 2017 19:23:49 +0000 (11:23 -0800)]
Fix unexpected VR mode exit on package update.

Bug: 33809651
Change-Id: Ifbaf705e74eda2bde3e4b2d9092360a1c658e660

7 years agoUpdate CHAR LIMIT for notification body.
Andrew Sapperstein [Fri, 6 Jan 2017 18:54:04 +0000 (10:54 -0800)]
Update CHAR LIMIT for notification body.

Test: is comment change
Bug: 34097363
Change-Id: I8ae19c3b5108c9c2f00614cd5d32cee06082a052

7 years agoAdd temperature config for high temp warning.
Andrew Sapperstein [Fri, 6 Jan 2017 00:45:37 +0000 (16:45 -0800)]
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 7518471ab69a23130b8cc6852e1b3d58809c97b2)

7 years agobools: fix use_lock_pattern_drawable javadoc.
Alain Vongsouvanh [Fri, 6 Jan 2017 17:41:37 +0000 (17:41 +0000)]
bools: fix use_lock_pattern_drawable javadoc.
am: c4046b5542

Change-Id: Ifd50a1780a232d3902e5a232c2b3445aeb6db178

7 years agoFix message for screen unpinning
Jorim Jaggi [Fri, 6 Jan 2017 15:57:47 +0000 (07:57 -0800)]
Fix message for screen unpinning

Test: Pin app, touch home button
Change-Id: Ic7cf5c9151977a5517dc259802a1489cc6cdf519
Fixes: 34052116

7 years agobools: fix use_lock_pattern_drawable javadoc.
Alain Vongsouvanh [Fri, 6 Jan 2017 06:54:07 +0000 (22:54 -0800)]
bools: fix use_lock_pattern_drawable javadoc.

Change-Id: If135544edb499ee64117bf81c6e3d0eebbfcff00

7 years agowidget: Adding support for custom LockPatternView.
Alain Vongsouvanh [Thu, 5 Jan 2017 19:45:02 +0000 (19:45 +0000)]
widget: Adding support for custom LockPatternView.
am: 2fda2ce159

Change-Id: Ib0d53bd7258f784dc3cb0661757b7c6d4979007f

7 years agoMerge "Add logging for task view thumbnail state." into nyc-mr2-dev
TreeHugger Robot [Thu, 5 Jan 2017 19:33:44 +0000 (19:33 +0000)]
Merge "Add logging for task view thumbnail state." into nyc-mr2-dev

7 years agoRevert "DO NOT MERGE ANYWHERE default_wallpaper: replace with black"
Andrew Rossignol [Thu, 15 Dec 2016 23:40:06 +0000 (23:40 +0000)]
Revert "DO NOT MERGE ANYWHERE default_wallpaper: replace with black"

This reverts commit d8ca8922e3d193f67acfadb0eaab3f85fa4e427a.

Bug: 34104268
Change-Id: I8d29b1044f9fac378641f093f6d2b69e50a463e9

7 years agoOmit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN
Mark Renouf [Thu, 5 Jan 2017 17:44:50 +0000 (12:44 -0500)]
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

7 years agowidget: Adding support for custom LockPatternView.
Alain Vongsouvanh [Fri, 18 Nov 2016 21:27:16 +0000 (13:27 -0800)]
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

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
TreeHugger Robot [Thu, 5 Jan 2017 10:08:41 +0000 (10:08 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
TreeHugger Robot [Thu, 5 Jan 2017 10:06:44 +0000 (10:06 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 5 Jan 2017 08:27:04 +0000 (00:27 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ic18109adbc1f4e2e3f8bf15aa6d5cf0cb703b601
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 5 Jan 2017 08:18:30 +0000 (00:18 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ia63b58c348cd9978df4b800cdff5926ec9f487fa
Auto-generated-cl: translation import

7 years agoMerge changes from topics 'thermal-notif-3', 'thermal-notif' into nyc-mr2-dev
TreeHugger Robot [Thu, 5 Jan 2017 03:00:56 +0000 (03:00 +0000)]
Merge changes from topics 'thermal-notif-3', 'thermal-notif' into nyc-mr2-dev

* changes:
  Added alert icon to high temp dialog.
  Add VR mode check for thermal notification
  Show notif when device reaches throttling temp

7 years agoAdded alert icon to high temp dialog.
Andrew Sapperstein [Wed, 4 Jan 2017 19:25:20 +0000 (11:25 -0800)]
Added alert icon to high temp dialog.

Test: manual
Bug: 30995038
Change-Id: I966294c5fb0b8297b2f336102996291f66c08d2c
(cherry picked from commit e26dc3d194f87ab3fbfdd5a843109b2f4b248383)

7 years agoAdd VR mode check for thermal notification
Andrew Sapperstein [Mon, 19 Dec 2016 22:36:33 +0000 (14:36 -0800)]
Add VR mode check for thermal notification

When in VR mode, don't show the high temp notification
since VR shows its own notification.

Test: manual
Bug: 30995038
Change-Id: I845480d968a9b0da9997f035875885bc261c577a
(cherry picked from commit 65d8a5fc73aac05633d42d7161ca38151aa5f675)

7 years agoShow notif when device reaches throttling temp
Andrew Sapperstein [Wed, 14 Dec 2016 23:39:20 +0000 (15:39 -0800)]
Show notif when device reaches throttling temp

Adds logic to SystemUI that shows a notification alerting the user
that their phone has reached a certain temperature and has throttled
itself in order to cool down.

The logic is controlled by a configuration resource:
R.bool.config_showTemperatureWarning. If false, no action is taken.

When true, PowerUI checks every 30 seconds if the current temp of
HardwarePropertiesManager.DEVICE_TEMPERATURE_SKIN is greater than
the throttling temp of HardwarePropertiesManager.DEVICE_TEMPERATURE_SKIN.
If any one of the temperatures returned is greater, a notification is shown.

Clicking on the notification will show a dialog explaining more details
about what the device is doing in response to the high temperature.

The notification will disappear once the temperature drops below
the throttling temperature.

In order to check the temperature in SystemUI, HardwarePropertiesManager
has been updated to also allow any calls made by callers holding the
signature-level DEVICE_POWER permission.

Test: runtest systemui
Bug: 30995038

Change-Id: I1b3f122341911c68e90c8a49ad35267ac382b356
(cherry picked from commit b7caf1d06d5e4ef21cadcc6a68d4b4c4552fb7bc)

7 years agoMerge "DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode." into...
Julius D'souza [Wed, 4 Jan 2017 23:05:45 +0000 (23:05 +0000)]
Merge "DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode." into cw-f-dev
am: b60eb1a854

Change-Id: I86ef53eec2bbeff07c52e079e925719c3923941c

7 years agoDO NOT MERGE: Allow regular ambient light sensor sampling in doze mode.
Julius D'souza [Wed, 4 Jan 2017 23:05:41 +0000 (23:05 +0000)]
DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode.
am: bbfdf7ad23

Change-Id: Ic6b72d6b72df516d4cec3b7a38e12366f7e334a1

7 years agoMerge "DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode." into...
Julius D'souza [Wed, 4 Jan 2017 22:59:57 +0000 (22:59 +0000)]
Merge "DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode." into cw-f-dev

7 years agoMerge "Get account features before taking lock (cherry-pick from master)" into nyc...
TreeHugger Robot [Wed, 4 Jan 2017 18:54:05 +0000 (18:54 +0000)]
Merge "Get account features before taking lock (cherry-pick from master)" into nyc-mr2-dev

7 years agoGet account features before taking lock (cherry-pick from master)
Makoto Onuki [Thu, 15 Dec 2016 22:26:55 +0000 (14:26 -0800)]
Get account features before taking lock (cherry-pick from master)

Test: cts-tradefed run cts --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.AccountCheckHostSideTest
* without having Id49f2bd5dfa80ecf35b3a23c789100ade38c2656 *

Test: adb shell am instrument -e class com.android.server.devicepolicy.DevicePolicyManagerTest -w com.android.frameworks.servicestests

Bug: 33481725
Change-Id: Ie2fe9aea87d1a7167581f4cd74ae063ef24a4567
Merged-in: I1e4dd9701a76ca366f86fdaf2fc6c282e9dbe5c1

7 years agodocs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am...
Kevin Hufnagle [Wed, 4 Jan 2017 01:45:22 +0000 (01:45 +0000)]
docs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am: 4418907d50 am: c32df53fc7 am: d7c1e9bcd0 am: fb99d1450d
am: 63d1963345

Change-Id: Ie101eda01c3b772c0944c56cfede1514acadf1e1

7 years agodocs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am...
Kevin Hufnagle [Wed, 4 Jan 2017 01:41:25 +0000 (01:41 +0000)]
docs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am: 4418907d50 am: c32df53fc7 am: d7c1e9bcd0
am: fb99d1450d

Change-Id: Ibe527fb777ca3975fed67a951f2ddb8f2b81a833

7 years agodocs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am...
Kevin Hufnagle [Wed, 4 Jan 2017 01:37:00 +0000 (01:37 +0000)]
docs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am: 4418907d50 am: c32df53fc7
am: d7c1e9bcd0

Change-Id: I7f9ce1b661f8defca2918eece234a9c26d5f08a3

7 years agoMerge "docs: Added note - test subscriptions cannot use reserved IDs" into nyc-dev...
Kevin Hufnagle [Wed, 4 Jan 2017 01:33:39 +0000 (01:33 +0000)]
Merge "docs: Added note - test subscriptions cannot use reserved IDs" into nyc-dev am: dbe9b81ef5 am: 2ff9c02bdc am: b7c9651555
am: d99f3b7214

Change-Id: I9a86dda9da8d525a23af69817044453fdf083ee4

7 years agodocs: Added note - test subscriptions cannot use reserved IDs am: 98a11580ef am:...
Kevin Hufnagle [Wed, 4 Jan 2017 01:32:53 +0000 (01:32 +0000)]
docs: Added note - test subscriptions cannot use reserved IDs am: 98a11580ef am: c8ccc66e85 am: 1c85b504e2
am: 01e3564a0d

Change-Id: Ic1454c9328a54777ba21cdee438e8d1bf91d5130

7 years agodocs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am...
Kevin Hufnagle [Wed, 4 Jan 2017 01:32:24 +0000 (01:32 +0000)]
docs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am: 4418907d50
am: c32df53fc7

Change-Id: Ib2ac681a13b8d3b80feba803f25fdc8dbdcfe4f9

7 years agoMerge "docs: Added note - test subscriptions cannot use reserved IDs" into nyc-dev...
Kevin Hufnagle [Wed, 4 Jan 2017 01:29:30 +0000 (01:29 +0000)]
Merge "docs: Added note - test subscriptions cannot use reserved IDs" into nyc-dev am: dbe9b81ef5 am: 2ff9c02bdc
am: b7c9651555

Change-Id: I8c06b2b162ca5837ba9157ef91bb5a8d1489e36a

7 years agodocs: Added descriptions of IAB subscription-specific settings. am: 145b377b38
Kevin Hufnagle [Wed, 4 Jan 2017 01:28:19 +0000 (01:28 +0000)]
docs: Added descriptions of IAB subscription-specific settings. am: 145b377b38
am: 4418907d50

Change-Id: I486f53410a427f373daec719bac522289d812e7a

7 years agodocs: Added note - test subscriptions cannot use reserved IDs am: 98a11580ef am:...
Kevin Hufnagle [Wed, 4 Jan 2017 01:28:17 +0000 (01:28 +0000)]
docs: Added note - test subscriptions cannot use reserved IDs am: 98a11580ef am: c8ccc66e85
am: 1c85b504e2

Change-Id: Iabd407dce1b3f01da5bbbd576536d0b77415d300