OSDN Git Service
Chris Wren [Fri, 2 Jun 2017 22:44:26 +0000 (22:44 +0000)]
Merge "add channel and group tags to the notificaiton logs" into oc-dev
am:
76e76a5c26
Change-Id: I0386428f5a8f8c8c0ac2cec5dc98ad35f5b3042d
TreeHugger Robot [Fri, 2 Jun 2017 22:34:06 +0000 (22:34 +0000)]
Merge "add channel and group tags to the notificaiton logs" into oc-dev
Brad Ebinger [Fri, 2 Jun 2017 22:33:39 +0000 (22:33 +0000)]
Merge "Adds ACCESS_CLASS_BLOCKED Disconnect cause" am:
75b7ef15f6 am:
bbe9e26247
am:
99533575b2
Change-Id: Ie29e837b6f952249683440f09630a587795238fa
Brad Ebinger [Fri, 2 Jun 2017 22:26:31 +0000 (22:26 +0000)]
Merge "Adds ACCESS_CLASS_BLOCKED Disconnect cause" am:
75b7ef15f6
am:
bbe9e26247
Change-Id: I32989c307a3c251e1d9df65cf6c91b4b29a2452e
Brad Ebinger [Fri, 2 Jun 2017 22:19:31 +0000 (22:19 +0000)]
Merge "Adds ACCESS_CLASS_BLOCKED Disconnect cause"
am:
75b7ef15f6
Change-Id: I7075ab7524d363ade4f42d7d3d33251243707e8a
Brad Ebinger [Fri, 2 Jun 2017 22:09:47 +0000 (22:09 +0000)]
Merge "Adds ACCESS_CLASS_BLOCKED Disconnect cause"
Andrew Zeng [Fri, 2 Jun 2017 22:03:30 +0000 (22:03 +0000)]
Merge "Notify keyguard of when power button is pressed." into oc-dev
am:
dd273de09e
Change-Id: I2e8061b695e1823ea9ab7b46c8fdb78111601ced
TreeHugger Robot [Fri, 2 Jun 2017 21:54:10 +0000 (21:54 +0000)]
Merge "Notify keyguard of when power button is pressed." into oc-dev
Sudheer Shanka [Fri, 2 Jun 2017 21:18:09 +0000 (21:18 +0000)]
Merge "Avoid excessive logging when the necessary proc file is unavailable." into oc-dev
am:
ab17493ef3
Change-Id: I649da92e3f5451886543f7edd8e107166b8c0125
Sudheer Shanka [Fri, 2 Jun 2017 21:10:32 +0000 (21:10 +0000)]
Merge "Avoid excessive logging when the necessary proc file is unavailable." into oc-dev
Peter Qiu [Fri, 2 Jun 2017 20:38:47 +0000 (20:38 +0000)]
Merge "wifi: add utility function to return saved configurations" into oc-dev
am:
ca2f8a2b13
Change-Id: I7d59b064248b7f218972bf461a31545928a6bf0c
TreeHugger Robot [Fri, 2 Jun 2017 20:25:12 +0000 (20:25 +0000)]
Merge "wifi: add utility function to return saved configurations" into oc-dev
Brad Ebinger [Fri, 2 Jun 2017 17:56:40 +0000 (10:56 -0700)]
Adds ACCESS_CLASS_BLOCKED Disconnect cause
Adds the ACCESS_CLASS_BLOCKED Disconnect cause in order
to allow the dialer to take action when this happens
during a VT call.
Bug:
33821263
Test: Build
Change-Id: I9afdd90f0a8a562b626b730dbb1b03cf37776ebd
Chris Wren [Thu, 1 Jun 2017 17:34:46 +0000 (13:34 -0400)]
add channel and group tags to the notificaiton logs
Change-Id: Icf029e42fca46262c9d9f8ff63f26de098f888bf
Fixes:
37714086
Test: runtest systemui-notification
Manu Cornet [Fri, 2 Jun 2017 20:15:45 +0000 (20:15 +0000)]
Merge "Use a PopupWindow to show tooltips" into oc-dev
am:
8493543ce3
Change-Id: I4b026c2f273ee34860f8100b017c56fe627a2d1f
Manu Cornet [Fri, 2 Jun 2017 20:02:44 +0000 (20:02 +0000)]
Merge "Use a PopupWindow to show tooltips" into oc-dev
Andrew Zeng [Fri, 17 Mar 2017 00:25:07 +0000 (17:25 -0700)]
Notify keyguard of when power button is pressed.
This is done on wear power button doesn't turn off the screen,
when the device wakes from keyguard UI isn't visible yet, so
it needs to react to power press in some way.
Bug:
35147955
Change-Id: I22619ea446770d09b53370e9244215646b60a9db
Todd Kennedy [Thu, 1 Jun 2017 20:18:09 +0000 (13:18 -0700)]
Protect instant apps from full apps
Bug:
35871369
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest
Test: Manual; install instant app and ensure it runs
Change-Id: I1835fe58256377f901db38fcc3e4c98886d799ac
(cherry picked from commit
befd4bc33cb7af7b5e36100c3b5421f8d8515f81)
Jason Monk [Fri, 2 Jun 2017 19:33:24 +0000 (19:33 +0000)]
Merge "QS vis tweaks" into oc-dev
am:
2b2221e94b
Change-Id: I5c153c1f6085de0ba5aa00273bde754d0ee149b3
TreeHugger Robot [Fri, 2 Jun 2017 19:28:32 +0000 (19:28 +0000)]
Merge "QS vis tweaks" into oc-dev
Sudheer Shanka [Fri, 2 Jun 2017 00:39:40 +0000 (17:39 -0700)]
Avoid excessive logging when the necessary proc file is unavailable.
Bug:
34133340
Test: manual
Change-Id: Ic00e58a5b7bb7f92a0467df1cab8df5cab7dffda
Wale Ogunwale [Fri, 2 Jun 2017 18:15:06 +0000 (18:15 +0000)]
Merge "Track added/removed window when focus is null" into oc-dev
am:
e8f39b53d4
Change-Id: If6e54f88f66eed33e7d833663dcb7b032eb0080d
Evan Rosky [Fri, 2 Jun 2017 18:04:10 +0000 (18:04 +0000)]
Merge "Improve consistency in focusAfterDescendants behavior" into oc-dev
am:
12ee4bd7a8
Change-Id: I46212487711efebe8efa95bfa28f24e8ee24a2cf
TreeHugger Robot [Fri, 2 Jun 2017 17:58:04 +0000 (17:58 +0000)]
Merge "Track added/removed window when focus is null" into oc-dev
Evan Rosky [Fri, 2 Jun 2017 17:56:22 +0000 (17:56 +0000)]
Merge "Improve consistency in focusAfterDescendants behavior" into oc-dev
Sooraj Sasindran [Fri, 2 Jun 2017 17:47:13 +0000 (17:47 +0000)]
Merge "Testra RSSI compliance" am:
7466567d89 am:
1bb09a713d
am:
27bf5d8afd
Change-Id: I57d969baaa3c9b46753f0f54d8d3f5a7cd836c58
Sooraj Sasindran [Fri, 2 Jun 2017 17:41:35 +0000 (17:41 +0000)]
Merge "Testra RSSI compliance" am:
542ebcd3fb am:
69a3e67e3c
am:
7406715630
Change-Id: Ic50f47187977fbc9163bc3de0a312040c9e6e273
Sooraj Sasindran [Fri, 2 Jun 2017 17:38:02 +0000 (17:38 +0000)]
Merge "Testra RSSI compliance" am:
7466567d89
am:
1bb09a713d
Change-Id: I351f4bc774e57565691485f3bc16897807b02024
Alan Viverette [Fri, 2 Jun 2017 17:34:38 +0000 (17:34 +0000)]
Merge "Annotate test method visibility in WindowManager" into oc-dev
am:
0b83588177
Change-Id: I0393d702b3fd308dd16becefceea15f932fea599
Sooraj Sasindran [Fri, 2 Jun 2017 17:31:39 +0000 (17:31 +0000)]
Merge "Testra RSSI compliance"
am:
7466567d89
Change-Id: I8e348f6433bef87c28ac80e6778ecfd3dede6dc5
Sooraj Sasindran [Fri, 2 Jun 2017 17:31:34 +0000 (17:31 +0000)]
Merge "Testra RSSI compliance" am:
542ebcd3fb
am:
69a3e67e3c
Change-Id: I53331fb51559ede536988061e43dece2b1d54456
TreeHugger Robot [Fri, 2 Jun 2017 17:26:47 +0000 (17:26 +0000)]
Merge "Annotate test method visibility in WindowManager" into oc-dev
Sooraj Sasindran [Fri, 2 Jun 2017 17:25:46 +0000 (17:25 +0000)]
Merge "Testra RSSI compliance"
am:
542ebcd3fb
Change-Id: I5c31472190dc06d1ae5c2c077248b8c8f65f54e8
Jason Monk [Fri, 2 Jun 2017 17:17:27 +0000 (13:17 -0400)]
QS vis tweaks
- QS Header status centering 24dp -> 32dp
- Several fonts condensed -> medium
Test: visual
Change-Id: Ic8bc08d6a4d78ee708c4a890140b87716a883373
Fixes:
38199857
Treehugger Robot [Fri, 2 Jun 2017 17:20:30 +0000 (17:20 +0000)]
Merge "Testra RSSI compliance"
Treehugger Robot [Fri, 2 Jun 2017 17:16:41 +0000 (17:16 +0000)]
Merge "Testra RSSI compliance"
Peter Qiu [Wed, 31 May 2017 17:18:17 +0000 (10:18 -0700)]
wifi: add utility function to return saved configurations
The saved configurations included saved Wi-Fi networks and
Passpoint profiles.
Bug:
62048284
Test: manual test
Change-Id: I55be798d5f36fa678bf69d9f910ca10ed952518a
Winson Chung [Fri, 2 Jun 2017 16:13:20 +0000 (16:13 +0000)]
Merge "Prevent showing voice session when it is already queued to be hidden." into oc-dev
am:
c672cb5ed9
Change-Id: I983396208aa1364884f6b90939c04ef58c2f432c
Winson Chung [Fri, 2 Jun 2017 16:04:46 +0000 (16:04 +0000)]
Merge "Prevent showing voice session when it is already queued to be hidden." into oc-dev
Andrii Kulian [Fri, 2 Jun 2017 16:01:35 +0000 (16:01 +0000)]
Merge "Allow force resize message activity to be resumed" into oc-dev
am:
8cb56d9082
Change-Id: I7fd4ed727a0c548c5e444f77c856eb185427f605
TreeHugger Robot [Fri, 2 Jun 2017 15:55:34 +0000 (15:55 +0000)]
Merge "Allow force resize message activity to be resumed" into oc-dev
Erik Kline [Fri, 2 Jun 2017 15:52:35 +0000 (15:52 +0000)]
Merge "Handle Wi-Fi passing explicit interface name and AP/IP mode" into oc-dev
am:
6d46bc2ed3 -s ours
Change-Id: I719cc01343397345afd5fee9322e588b1b8336b3
TreeHugger Robot [Fri, 2 Jun 2017 15:44:42 +0000 (15:44 +0000)]
Merge "Handle Wi-Fi passing explicit interface name and AP/IP mode" into oc-dev
Wale Ogunwale [Fri, 2 Jun 2017 13:50:50 +0000 (06:50 -0700)]
Track added/removed window when focus is null
Improves the blaming of ANRs by determining if an app added windows
after it was launched.
Bug:
38121026
Test: Log inspection
Change-Id: Id86c1981150cf546c92d786ad45d5c2dda5573e0
Christine Franks [Fri, 2 Jun 2017 15:15:56 +0000 (15:15 +0000)]
Merge "Fix night display activation behavior after reboot" into oc-dev
am:
bd75ee0015
Change-Id: I6c8002fc4ac63f27343a27148c6a18e349a6b883
Christine Franks [Fri, 2 Jun 2017 15:07:19 +0000 (15:07 +0000)]
Merge "Fix night display activation behavior after reboot" into oc-dev
Geoffrey Pitsch [Fri, 2 Jun 2017 14:50:54 +0000 (14:50 +0000)]
Merge "Mock out usageStats in NotificationManagerServiceTests" into oc-dev
am:
fd0b15c196
Change-Id: I56ff2491ee5fd1d72f215e41a4d6ee2ee535ab8a
TreeHugger Robot [Fri, 2 Jun 2017 14:44:21 +0000 (14:44 +0000)]
Merge "Mock out usageStats in NotificationManagerServiceTests" into oc-dev
Erik Kline [Wed, 31 May 2017 06:53:53 +0000 (15:53 +0900)]
Handle Wi-Fi passing explicit interface name and AP/IP mode
Test: as follows
- built
- flashed
- booted
- runtest frameworks-net passes
Bug:
31466854
Bug:
32163131
Bug:
62018531
Bug:
62076211
Merged-In: I599813c4b4d866623344df56f62ed6a40b4025d6
Merged-In: I8f1d172a3514e4fb9230af9e09aeaf638f03091c
Change-Id: I3557a9c14f4e9f1de1869084566a179003d98ffe
(cherry picked from commit
2efb827f61db989ab55792052c99713ef5f5eefa)
Sooraj Sasindran [Tue, 9 May 2017 22:00:55 +0000 (15:00 -0700)]
Testra RSSI compliance
Devices that support 4 bar signal strength
indication should display the bars as follow:
4 bar RSRP > -90
3 bar -90 ≥ RSRP > -100
2 bar -100 ≥ RSRP > -115
1 bar -115 ≥ RSRP > -120
0 bar RSRP ≤ -120
or No Sync to LTE Reference Signals
Bug=
37187586
Change-Id: I2a76aabdf6d8ef1be3a05a90643b1e670f929bc3
Sooraj Sasindran [Fri, 12 May 2017 00:36:37 +0000 (17:36 -0700)]
Testra RSSI compliance
Devices that support 4 bar signal strength
indication should display the bars as follow:
4 bar RSRP > -90
3 bar -90 ≥ RSRP > -100
2 bar -100 ≥ RSRP > -115
1 bar -115 ≥ RSRP > -120
0 bar RSRP ≤ -120
or No Sync to LTE Reference Signals
Add support for mnc 11, 71 and 72
BUG=
37187586
Change-Id: Ia0a71707d1cbc20887bcc00c0519833b522b4a95
Erik Kline [Fri, 2 Jun 2017 05:39:23 +0000 (05:39 +0000)]
Merge "Handle Wi-Fi passing explicit interface name and AP/IP mode" am:
3478ff8c9e am:
1536453059
am:
00956c4f7c
Change-Id: I599813c4b4d866623344df56f62ed6a40b4025d6
Erik Kline [Fri, 2 Jun 2017 05:32:50 +0000 (05:32 +0000)]
Merge "Handle Wi-Fi passing explicit interface name and AP/IP mode" am:
3478ff8c9e
am:
1536453059
Change-Id: I4a9a99c72f8a1d70355d1bf910530ca50cab8a77
Erik Kline [Fri, 2 Jun 2017 05:26:49 +0000 (05:26 +0000)]
Merge "Handle Wi-Fi passing explicit interface name and AP/IP mode"
am:
3478ff8c9e
Change-Id: I489f7e6b8ca4af584879a4c9e8f00570da6e400c
Treehugger Robot [Fri, 2 Jun 2017 05:19:31 +0000 (05:19 +0000)]
Merge "Handle Wi-Fi passing explicit interface name and AP/IP mode"
Erik Kline [Wed, 31 May 2017 06:53:53 +0000 (15:53 +0900)]
Handle Wi-Fi passing explicit interface name and AP/IP mode
Test: as follows
- built
- flashed
- booted
- runtest frameworks-net passes
Bug:
31466854
Bug:
32163131
Bug:
62076211
Change-Id: I3557a9c14f4e9f1de1869084566a179003d98ffe
Adam Lesinski [Fri, 2 Jun 2017 02:35:07 +0000 (02:35 +0000)]
Merge "AAPT2: Allow any value type for <item> without format attr" into oc-dev
am:
1ac325e4d5
Change-Id: I1b1180f2b33a077b2c46a8466c58d83ed618576e
TreeHugger Robot [Fri, 2 Jun 2017 02:30:57 +0000 (02:30 +0000)]
Merge "AAPT2: Allow any value type for <item> without format attr" into oc-dev
Rebecca Silberstein [Fri, 2 Jun 2017 01:51:01 +0000 (01:51 +0000)]
Merge "WifiManager: add unspecified ip mode" am:
dae92faa02 am:
0b9fa27619
am:
610a0db7a2 -s ours
Change-Id: I2ca161f16ec04a12f4bae55ca7ee7a31558d51fb
Rebecca Silberstein [Fri, 2 Jun 2017 01:43:47 +0000 (01:43 +0000)]
Merge "WifiManager: add unspecified ip mode" am:
dae92faa02
am:
0b9fa27619
Change-Id: I52a0e54bf024ffa6871fb8edbcda3301e7e7fbed
Rebecca Silberstein [Fri, 2 Jun 2017 01:37:43 +0000 (01:37 +0000)]
Merge "WifiManager: add unspecified ip mode"
am:
dae92faa02
Change-Id: Ia8fe528fd7cbe8076ea185d21ae7dcfd5654334c
Treehugger Robot [Fri, 2 Jun 2017 01:26:14 +0000 (01:26 +0000)]
Merge "WifiManager: add unspecified ip mode"
Andrii Kulian [Fri, 2 Jun 2017 00:49:02 +0000 (17:49 -0700)]
Allow force resize message activity to be resumed
"Activity may not work with split-screen" message is not showing
because the overlay activity is not allowed to resume without
user action.
Bug:
36205249
Test: Launch an activity with target SDK < 25, enable split-screen
Test: go/wm-smoke
Change-Id: Ic796f4449df1307c75ca5445cbffab218f0f8ae3
Bill Yi [Fri, 2 Jun 2017 01:07:55 +0000 (01:07 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am:
9f7e653d56 -s ours
Change-Id: Iafbfa3a35c305d284ad3a2a2ed06782b80768f7f
Evan Rosky [Fri, 2 Jun 2017 00:59:34 +0000 (00:59 +0000)]
Merge "Enabled (asymmetric) tab selection in GridView" into oc-dev
am:
3653aed87b
Change-Id: Icffef176e1dc3de49191414e57fdf38c4073bff2
TreeHugger Robot [Fri, 2 Jun 2017 00:57:46 +0000 (00:57 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Evan Rosky [Fri, 2 Jun 2017 00:45:09 +0000 (00:45 +0000)]
Merge "Enabled (asymmetric) tab selection in GridView" into oc-dev
Siyamed Sinir [Fri, 2 Jun 2017 00:23:55 +0000 (00:23 +0000)]
Merge "AutoSize TextView - major fixes" into oc-dev
am:
b34c9d3a33
Change-Id: Iec698f291365adf367dd318eaf2d0752f109e82c
Siyamed Sinir [Fri, 2 Jun 2017 00:18:03 +0000 (00:18 +0000)]
Merge "AutoSize TextView - major fixes" into oc-dev
Adam Lesinski [Fri, 2 Jun 2017 00:16:44 +0000 (17:16 -0700)]
AAPT2: Allow any value type for <item> without format attr
TO bring AAPT2 behavior in-line with AAPT, <item> has a default
format of "any", and only becomes restricted with an explicit format
attribute.
Bug:
62260121
Test: make aapt2_tests
Change-Id: Ife416f520e6c2710bb30e3ba3f2d4463794bfa06
Doris Liu [Fri, 2 Jun 2017 00:00:38 +0000 (00:00 +0000)]
Merge "Fix AVD memory leak" into oc-dev
am:
98db1264d4
Change-Id: If5b68f8f34691a5fdac3ec047048ad2c09b1761f
John Reck [Thu, 1 Jun 2017 23:55:23 +0000 (23:55 +0000)]
Merge "Fix ANR & Crash on Ryu" into oc-dev
am:
6890dc95d0
Change-Id: I5f0a2fc7ab40b702e3e81ceb3bebd8ef44d22298
Doris Liu [Thu, 1 Jun 2017 23:46:18 +0000 (23:46 +0000)]
Merge "Fix AVD memory leak" into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 23:43:55 +0000 (23:43 +0000)]
Merge "Fix ANR & Crash on Ryu" into oc-dev
Arun [Thu, 1 Jun 2017 23:42:06 +0000 (23:42 +0000)]
Merge "Optimised hwui rounded corners shader" am:
d7287c96eb am:
ed7bdd6549
am:
92ef0a59f8
Change-Id: I9f5e6ef057ba6049804226d65f2f2f06594efc69
Arun [Thu, 1 Jun 2017 23:33:26 +0000 (23:33 +0000)]
Merge "Optimised hwui rounded corners shader" am:
d7287c96eb
am:
ed7bdd6549
Change-Id: I6acba9bd707a3beec41439cd86cce4cdea6d8b69
Evan Rosky [Thu, 1 Jun 2017 23:30:48 +0000 (23:30 +0000)]
Merge "Directly focus button in touchmode coretests" into oc-dev
am:
6797a20a86
Change-Id: I5aa0b42e08ba9e8c93c9795bc787907336aa6b19
Arun [Thu, 1 Jun 2017 23:24:50 +0000 (23:24 +0000)]
Merge "Optimised hwui rounded corners shader"
am:
d7287c96eb
Change-Id: Idf53faac924be91d4e23da91b54c9ca08be9ad39
Evan Rosky [Thu, 1 Jun 2017 23:21:25 +0000 (23:21 +0000)]
Merge "Directly focus button in touchmode coretests" into oc-dev
Treehugger Robot [Thu, 1 Jun 2017 23:13:24 +0000 (23:13 +0000)]
Merge "Optimised hwui rounded corners shader"
Winson Chung [Thu, 1 Jun 2017 22:35:48 +0000 (15:35 -0700)]
Prevent showing voice session when it is already queued to be hidden.
- It is possible for the session to be requested to be hidden before it
gets the message to be shown and completes showing. This leads to an
inconsistency where the voice interaction service implementation will be
in a different state than the system for the session. Instead, we can
cancel any pending show messages, and also clean up the pending show
callback list immediately when the session is hidden.
- Also fixing up some error message codes when starting the assistant
activity.
Bug:
38379130
Test: android.server.cts.ActivityManagerAssistantStackTests
Test: CtsVoiceInteractionTestCases
Test: CtsAlarmClockTestCases
Change-Id: I0d0e9c024367a47bda82d6a29ca89e18b7d69527
Wale Ogunwale [Thu, 1 Jun 2017 22:12:17 +0000 (22:12 +0000)]
Merge "Add channel group for alert windows notifications" into oc-dev
am:
90a008a0a2
Change-Id: I8728e80027d961d98e39bbbcbbe15788e58f00e9
TreeHugger Robot [Thu, 1 Jun 2017 22:03:10 +0000 (22:03 +0000)]
Merge "Add channel group for alert windows notifications" into oc-dev
Manu Cornet [Thu, 1 Jun 2017 21:44:13 +0000 (14:44 -0700)]
Use a PopupWindow to show tooltips
This allows tooltips to work even in a context where they don't belong
in any activity (and therefore no window token to use). It also
simplifies a tiny bit the logic of how to get the view to show up.
Test: Checked tooltip behavior in and outside an app
Bug:
62065980
Change-Id: I6c02009c4fdd6d4bc4fa2cf8019955360506f0ee
Jason Monk [Thu, 1 Jun 2017 21:45:48 +0000 (21:45 +0000)]
Merge "Fix plugin reloading" into oc-dev
am:
39a259350e
Change-Id: Ifd64484b3e75c7ed860944eac33473d080613bf4
TreeHugger Robot [Thu, 1 Jun 2017 21:39:42 +0000 (21:39 +0000)]
Merge "Fix plugin reloading" into oc-dev
Jorim Jaggi [Thu, 1 Jun 2017 21:17:10 +0000 (21:17 +0000)]
Merge "Fix camera launch delay from Keyguard" into oc-dev
am:
73f2a2a4d7
Change-Id: Ic7c211955b8375d08da9dfbc59c348f71c1c7552
TreeHugger Robot [Thu, 1 Jun 2017 21:11:51 +0000 (21:11 +0000)]
Merge "Fix camera launch delay from Keyguard" into oc-dev
Doris Liu [Wed, 31 May 2017 01:52:26 +0000 (18:52 -0700)]
Fix AVD memory leak
The memory leak was caused by a lingering internal listener
that held a global ref to the AVD java object when the AVD is
infinite. As a result, the native VectorDrawable Tree can
not be destroyed, and therefore leak bitmaps.
This memory leak is fixed by removing all the internal listeners
for all the unfinished AVDs when the animation context is
destroyed.
BUG:
37518414
Test: follow steps in comment #1 of the bug, and inspect memory heap.
Change-Id: Ibbd1547a083b83d0cebd8e304d9b01abda4950ef
Evan Rosky [Thu, 11 May 2017 18:18:45 +0000 (11:18 -0700)]
Improve consistency in focusAfterDescendants behavior
- focusAfterDescendant ViewGroups that were also clusters would
continue to be remembered for restoreFocusedInCluster after
gaining focusable children. This caused undesired cluster-focus
loops
- focusableViewAvailable wasn't being called in all cases (specifically
when views were added). This meant focusAfterDescendant views
wouldn't transfer focus to children in some cases.
- 0-area views which became focusable weren't reporting
focusableViewAvailable. Since views gaining area doesn't report
focusableViewAvailable, this was another case of state change not
being accounted for. Also, this restriction doesn't exist for
gaining focus so these views are actually focusable despite having
0 area.
- focusableViewAvailable was reporting focusable views even when
ancestors (and therefore the new focusables) were not visible.
- restoreFocusNotInCluster tried to focus invisible views
- restoreFocusNotInCluster was sending focus to focusAfterDescendant
viewgroups which had focusable children IN a cluster.
Bug:
38010274
Bug:
38009598
Bug:
38352147
Test: cycling works in situations reported in bugs.
Added CTS tests around focusableViewAvailable and
FOCUS_AFTER_DESCENDANTS
Change-Id: I77f214f5384dcf9092324e08fc1daa3f1155bbad
Jean-Michel Trivi [Thu, 1 Jun 2017 20:44:38 +0000 (20:44 +0000)]
Merge "Delay notification vibration to synchronize with notif sound" into oc-dev
am:
29db4b3556
Change-Id: Icfad056884cfb620cfd27e12146b280a5cb7c300
Arun [Mon, 23 Jan 2017 11:59:21 +0000 (11:59 +0000)]
Optimised hwui rounded corners shader
This is a ~2x performance increase for the rounded corners shader which
was previously shader limited even on many high-end GPUs. It simplifies
the calculations by pre-dividing by the radius, which also allows to
maintain mediump/FP16 precision (this improves performance and might
improve image quality on GPUs that don't support highp e.g. Mali-400).
It also uses a conditional in the shader to save much of the work on
the vast majority of pixels which are not close to the corners.
Test: manual - visual inspection on fugu (nexus player)
Change-Id: I38f491cfb006e2991ef0b9d6b3d67d2c4d328d44
TreeHugger Robot [Thu, 1 Jun 2017 20:34:01 +0000 (20:34 +0000)]
Merge "Delay notification vibration to synchronize with notif sound" into oc-dev
John Reck [Thu, 1 Jun 2017 19:44:58 +0000 (12:44 -0700)]
Fix ANR & Crash on Ryu
Fixes impossible dequeue crash as the wrong
start point of the frame was used. We need
to use the start point for RT, not the start
point for the frame.
Workaround for sysui ANR caused by what appears
to be a driver bug. Drivers with the bug
will have transiently higher memory usage.
Drivers without the bug will be unaffected.
Bug:
62213889
Bug:
62250550
Test: Manual
Change-Id: I9992b224f84bc1c40834bafff7e0013b38270ae0
Adrian Roos [Thu, 1 Jun 2017 19:56:18 +0000 (19:56 +0000)]
Merge "Keyguard: Fix date capitalization context" into oc-dev
am:
f58fae54bf
Change-Id: Iab972cb45304b6b89b63fb49a39e60bf612b2587
Jason Monk [Thu, 1 Jun 2017 19:54:22 +0000 (19:54 +0000)]
Merge "Add checks against incorrect context use in sysui tests" into oc-dev
am:
227e65d818
Change-Id: I3fad5f17321adf92f5f80c8ec04fc8fc1e4128e2
Selim Cinek [Thu, 1 Jun 2017 19:51:01 +0000 (19:51 +0000)]
Merge "Fixed an issue where heads up where invisible in qs edit" into oc-dev
am:
4827cb08cc
Change-Id: I0dd06bb8c617c6553aaecec31918f3b2096d5a90
Geoffrey Pitsch [Thu, 1 Jun 2017 19:45:35 +0000 (15:45 -0400)]
Mock out usageStats in NotificationManagerServiceTests
Shouldn't be doing this db work in tests
Change-Id: Idadadd83bfe984bd0e1c991534f1fba93ca34b53
Fixes:
62251669
Test: runtest systemui-notification
Adrian Roos [Thu, 1 Jun 2017 19:44:42 +0000 (19:44 +0000)]
Merge "Keyguard: Fix date capitalization context" into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 19:43:42 +0000 (19:43 +0000)]
Merge "Add checks against incorrect context use in sysui tests" into oc-dev