Commit Graph

368893 Commits

Author SHA1 Message Date
Mike Digman
2dafb1bf01 Make rotate nav+qs icon consistent, understandable
Now using the same iconography (but different angle) for nav
and qs. Note nav viewport, size and pivot (for motion) change
is intentional to match other navbar icon sizing.

Test: manual
Change-Id: I1abb33130cc724b6e63e008cf7301ebce383c8d1
Fixes: 110052596
(cherry picked from commit 2657757c43)
2018-06-13 00:28:28 +00:00
Selim Cinek
ef82468980 Keeping the lockdown state in sync with the notification list
Whenever the lockdown was changed, the UI wasn't consistently
updated, but only once another notification / update came
in, which lead to notifications being invisisible or visible
when they shouldn't have been.

Change-Id: I17c1b4e0ef58d6aa05f4404e52e07a098d4fce4e
Fixes: 78020486
Test: manual, hit lockdown observe notification gone, coming back when unlocked
(cherry picked from commit ddb7b47dd0)
2018-06-13 00:28:23 +00:00
android-build-team Robot
96d0c0cf93 Merge cherrypicks of [4315359, 4315389, 4315390, 4315519, 4315520, 4315360, 4317665, 4317701, 4315391, 4316085] into pi-release
Change-Id: I35248f1228a04b847fdb7ecdb15d48190fbaf759
2018-06-12 01:49:32 +00:00
Winson Chung
d48abfc562 Revert "Defer stop for all activities becoming invisible"
This reverts commit b824f87c65 (for b/80313326)

Reason for revert: Cts issues (b/110032866)

Bug: 80313326
Bug: 110032866

Change-Id: Iaca3a8650d30b475ef4331e98b4b14377072ee4d
(cherry picked from commit f49b106dca)
2018-06-12 01:48:48 +00:00
Jean-Michel Trivi
18424bb7a4 AudioService: fix deallock setBluetoothScoOn vs setMode
In AudioService:
setBluetoothScoOn()
  > setBluetoothScoOnInt()
     > synchronized(mSettingsLock)
     > muteRingerModeStreams()
	> synchronized (VolumeStreamState.class)
vs
setMode()
  > setModeInt()
     > synchronized (mSettingsLock)
        > synchronized (VolumeStreamState.class)

The issue comes from setBluetoothScoOnInt() releasing the lock
  on mSettingsLock before calling muteRingerModeStreams(). This
  breaks the expected lock ordering in AudioService, where
  mSettingsLock must be locked before VolumeStreamState.class.

Bug: 109746821
Test: see bug
Change-Id: I853ca60781efc506626b6345f27da701655ac359
(cherry picked from commit c106d9f958)
2018-06-12 01:48:42 +00:00
android-build-team Robot
b96cfb97ac Snap for 4832339 from 9b1f560ee5 to pi-release
Change-Id: Ib743f4471d6d2db801d874d397b68a81ff59c6cc
2018-06-10 19:04:32 +00:00
bsears
9b1f560ee5 Merge "Include "emergency calls only" in disabled SIM strings." into pi-dev 2018-06-10 05:50:30 +00:00
TreeHugger Robot
e0f55c35a5 Merge "Revert "Fix DefaultPermissionGrantPolicyTest"" into pi-dev 2018-06-08 23:45:29 +00:00
Nan Zhang
a13de3dac2 Merge "Revert "Added online-sdk & off-sdk for Metalava"" into pi-dev 2018-06-08 23:26:16 +00:00
Nan Zhang
4f75ee2295 Revert "Added online-sdk & off-sdk for Metalava"
This reverts commit 726df7efc9.

Reason for revert: <Didn't add Merged-in which flows this change down to pi-dev-plus-aosp>
Bug: b/78245848

Change-Id: Ie15181bcb91314718ee9902402179cd010f17553
2018-06-08 23:15:24 +00:00
Selim Cinek
70a9cd292b Merge "Revert "Consider icon scale when calculating icon offset in shelf"" into pi-dev 2018-06-08 22:51:07 +00:00
Selim Cinek
40e41a6299 Merge "Fixed a flickering of the icon when it goes into the shelf" into pi-dev 2018-06-08 22:50:12 +00:00
Eugene Susla
4b87011385 Revert "Fix DefaultPermissionGrantPolicyTest"
This ended up being not the right fix for the bug, and
had a consequence of AiAi permissions becoming fixed.
Per recent email thread, reverting this back to how it was

This reverts commit 0988f24dff.

Fixes: 109665265
Change-Id: Ibf39c3b788c09f189d941f830ebbe8f371fc6f6a
2018-06-08 22:08:55 +00:00
TreeHugger Robot
ce30fd3904 Merge "More light grey APIs." into pi-dev 2018-06-08 21:21:29 +00:00
Dan Sandler
f058cc6211 Include "emergency calls only" in disabled SIM strings.
This message appears in the QS footer when the SIM has been
disabled permanently (IccCardConstants.State.PERM_DISABLED).

Required in Australia, harmless elsewhere.

Test: runtest systemui
Bug: 109874640
Change-Id: Ib2b3fcf2bd84c54b61f0bd45fe0b83209d9c9bd0
2018-06-08 15:34:52 -04:00
Nan Zhang
726df7efc9 Added online-sdk & off-sdk for Metalava
Test: m -j metalava online-sdk-docs
Bug: b/78245848
Change-Id: I2cf92b14d20ecb2898e90c5e5956612f49acd33c
2018-06-08 11:50:42 -07:00
Nan Zhang
cb3dd2889c Merge "Enabled annotations for api-stubs, system-api-stubs, and test-api-stubs" into pi-dev 2018-06-08 17:28:37 +00:00
TreeHugger Robot
c5b828df68 Merge "Fixed typo on TextValueSanitizer sample." into pi-dev 2018-06-08 17:20:27 +00:00
Selim Cinek
3ddda6dc4c Fixed a flickering of the icon when it goes into the shelf
We can adjust the Pivot such that the scaling doesn't happen
irregularly and that the animation is smooth.

Change-Id: Ib2e42a20430e1c10950a197a4c04e7c64c7dec67
Test: add notification, no flicker
Fixes: 80270979
2018-06-08 16:06:52 +00:00
Nicolas Geoffray
d8b064e2f3 More light grey APIs.
bug: 109894533
bug: 109889637

Test: m
Change-Id: I3bf3f5b846a48fe189131fb0f6a3be217c274554
2018-06-08 13:09:18 +01:00
Bill Lin
e6065e3f75 Revert "Consider icon scale when calculating icon offset in shelf"
This reverts commit 5dad60e692.
The patch may cause latest Notification do not align center
Bug: 109868942
Test: atest & manual use notify observe only last 1 notification visual

Change-Id: I81e5de4d0a2822c96ce9a815519bb0413f26f27c
2018-06-08 12:02:46 +00:00
android-build-team Robot
33cc8b70f9 Snap for 4829593 from 551328eaaa to pi-release
Change-Id: I9fd67c3d6af565d3aac7aaeb54485637c53cdc53
2018-06-08 07:27:45 +00:00
Chris Forbes
551328eaaa Merge "pm: Exposing Vulkan 1.1 does not guarantee AHB extension support" into pi-dev 2018-06-08 05:14:12 +00:00
TreeHugger Robot
e7bd4e7e8f Merge "Don't access keyguard from instant apps." into pi-dev 2018-06-08 04:49:39 +00:00
TreeHugger Robot
eaf3590eda Merge "Revert "Let sendShowMessage called from hide to show"" into pi-dev 2018-06-08 03:48:21 +00:00
TreeHugger Robot
c28e772042 Merge "Animate owner info during wake-up transition" into pi-dev 2018-06-08 03:38:01 +00:00
Svet Ganov
3ea66c319c Don't access keyguard from instant apps.
Test: cts-instant-tradefed run cts-instant -m CtsViewTestCases

bug:109652548

Change-Id: I6f8bb714bd98fd53068b2662633a9155d64b274c
2018-06-07 20:20:38 -07:00
TreeHugger Robot
97995da6e1 Merge "Revert "Allow instant apps to send broadcasts to themselves"" into pi-dev 2018-06-08 03:00:26 +00:00
TreeHugger Robot
0f5f09844d Merge "Docs: noted that setting proxy hostnames on an ApnSetting requires an internet connection for DNS." into pi-dev 2018-06-08 02:24:22 +00:00
TreeHugger Robot
a88cf78009 Merge changes from topic "volume-change-flags" into pi-dev
* changes:
  Only show the volume dialog if the AudioManager.FLAG_SHOW_UI bit is set
  Comply with the volume callback change
2018-06-08 01:58:10 +00:00
Lin Guo
f37d0ebe8c Only show the volume dialog if the AudioManager.FLAG_SHOW_UI bit is set
Bug: 109841417
Test: manual

Change-Id: Icc803a4b22ceccff7d3e788b9164975a8e395a3b
2018-06-07 17:09:43 -07:00
Anarghya Mitra
10422896ed Change Quick Settings to account for branded VPNs.
Screenshots: https://photos.app.goo.gl/FrnK69TXR86npFmY2
Test: runtest --path frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs
Bug: 109837832
Change-Id: Ie447e6598ff593ff5d14ec8787db82ba39c9ea54
2018-06-07 23:53:27 +00:00
Yu-Han Yang
a364b3111a Merge "Disable REQUEST_LOCATION from GNSS HAL by default" into pi-dev 2018-06-07 23:50:08 +00:00
Chris Forbes
98f34402cc pm: Exposing Vulkan 1.1 does not guarantee AHB extension support
Bug: b/109875843
Change-Id: Ib53fb1a4f7a5a6c055b575b4d8775f8bd62db7a8
2018-06-07 16:41:19 -07:00
Svetoslav Ganov
971dbcd633 Revert "Allow instant apps to send broadcasts to themselves"
This reverts commit 7b40358fa3.

Reason for revert: False positive - this works and patch not needed.

bug:109583877

Change-Id: If708350b03292cfa3bf9841199739e06c82f6c4f
2018-06-07 23:27:52 +00:00
Hongwei Wang
c8cdc59322 Comply with the volume callback change
Bug: 109841417
Test: m -j
Change-Id: I43a139b97f89a666088db39579b068dc76babd56
2018-06-07 15:35:25 -07:00
TreeHugger Robot
a0d475a43f Merge "Remove usage of deprecated DayNightStyle values." into pi-dev 2018-06-07 22:23:12 +00:00
TreeHugger Robot
e4e9ee7951 Merge "Move nulling of nextFrameCallback" into pi-dev 2018-06-07 22:14:51 +00:00
TreeHugger Robot
f55cce3008 Merge "Increase Binder Proxy Limit to 6000 for SYSTEM" into pi-dev 2018-06-07 21:43:50 +00:00
TreeHugger Robot
36fc3b1a53 Merge "Show the bouncer at start up if the headless user flag is set" into pi-dev 2018-06-07 21:42:59 +00:00
TreeHugger Robot
beb11a582a Merge "Camera: update tonemap image in html doc" into pi-dev 2018-06-07 21:33:59 +00:00
Benjamin Miller
ab57d7fe6c Docs: noted that setting proxy hostnames on an ApnSetting requires an internet connection for DNS.
Doc-only change.
Also improved the class descriptions and fixed some typos.

Staged at:
  http://go/dac-stage/reference/android/telephony/data/ApnSetting_new
  http://go/dac-stage/reference/android/telephony/data/ApnSetting.Builder_new

Bug: 80238372
Test: make ds-docs with visual inspection of generated HTML
Change-Id: Id4a00c1a44dc3cbbaefc94c0438eb1a077f06e5e
2018-06-07 21:20:57 +00:00
Jaewan Kim
2aac6195e6 Merge "MediaSessionService: Fix NPE" into pi-dev 2018-06-07 21:19:03 +00:00
Yao Chen
38b92986df Merge "Disable statsd and make StatsLog no-op if ro.statsd.enable=false" into pi-dev 2018-06-07 21:10:16 +00:00
TreeHugger Robot
e752b75dad Merge "Hide backdrop when waking up from fp" into pi-dev 2018-06-07 20:40:33 +00:00
TreeHugger Robot
0631de5772 Merge "Fixed flickering when quick tap on brightness bar" into pi-dev 2018-06-07 20:28:36 +00:00
Nan Zhang
b3871a64ac Enabled annotations for api-stubs, system-api-stubs, and test-api-stubs
Test: manually cp stub-annotations.jar to pi-dev; and m -j metalava_android_stubs
Bug: b/78245848

Change-Id: Ib7ea5d847d50e3c863891e0f59228a40d1b8c41b
Merged-In: I116643925a3a9594e8590c3714e93d0fb0ac372f
2018-06-07 13:15:22 -07:00
Benjamin Miller
d97f38f69c Merge "docs: Backup requestRestore() doesn't kill app during restore." into pi-dev 2018-06-07 20:12:43 +00:00
Nicolas Geoffray
208c0ad30f Merge "Add more APIs to light grey list" into pi-dev 2018-06-07 20:03:42 +00:00
Yu-Han Yang
639f759f7b Disable REQUEST_LOCATION from GNSS HAL by default
Bug: 109883154
Fixes: 109883154
Test: manually tested and verified it's disabled.
Change-Id: Ib42a14c776e32d20d79d8ce76a4acdbfa13a70a1
2018-06-07 12:51:12 -07:00