OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Fix issue with jumping PIP when IME shows." into oc-dev
Winson Chung [Sat, 3 Jun 2017 00:44:58 +0000 (00:44 +0000)]
Merge "Fix issue with jumping PIP when IME shows." into oc-dev
am: 52a4125ffd

Change-Id: Ifc985e6368555fa1332315a1a6a52ced7fb705bd

7 years agoMerge "Fix issue with jumping PIP when IME shows." into oc-dev
TreeHugger Robot [Sat, 3 Jun 2017 00:35:38 +0000 (00:35 +0000)]
Merge "Fix issue with jumping PIP when IME shows." into oc-dev

7 years agoMerge "Add UDP Encap Socket Support to IpSecManager" am: 4f6ec3d11d am: c530c01744
nharold [Sat, 3 Jun 2017 00:04:41 +0000 (00:04 +0000)]
Merge "Add UDP Encap Socket Support to IpSecManager" am: 4f6ec3d11d am: c530c01744
am: 3c1484c715

Change-Id: Idc082c1ab2aac63ad61e5fc74be7fa75cf6e686f

7 years agoMerge "Add UDP Encap Socket Support to IpSecManager" am: 4f6ec3d11d
nharold [Fri, 2 Jun 2017 23:57:05 +0000 (23:57 +0000)]
Merge "Add UDP Encap Socket Support to IpSecManager" am: 4f6ec3d11d
am: c530c01744

Change-Id: I529711b4a658cdf82e223194ebae4ecf1a7f3ce2

7 years agoMerge "Add UDP Encap Socket Support to IpSecManager"
nharold [Fri, 2 Jun 2017 23:49:33 +0000 (23:49 +0000)]
Merge "Add UDP Encap Socket Support to IpSecManager"
am: 4f6ec3d11d

Change-Id: If2b8a92171f9d9f7d1b9aa89cf6fc90efe2f386d

7 years agoMerge "Add UDP Encap Socket Support to IpSecManager"
nharold [Fri, 2 Jun 2017 23:40:16 +0000 (23:40 +0000)]
Merge "Add UDP Encap Socket Support to IpSecManager"

7 years agoMerge "add channel and group tags to the notificaiton logs" into oc-dev
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

7 years agoMerge "add channel and group tags to the notificaiton logs" into oc-dev
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

7 years agoMerge "Adds ACCESS_CLASS_BLOCKED Disconnect cause" am: 75b7ef15f6 am: bbe9e26247
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

7 years agoMerge "Adds ACCESS_CLASS_BLOCKED Disconnect cause" am: 75b7ef15f6
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

7 years agoMerge "Adds ACCESS_CLASS_BLOCKED Disconnect cause"
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

7 years agoMerge "Adds ACCESS_CLASS_BLOCKED Disconnect cause"
Brad Ebinger [Fri, 2 Jun 2017 22:09:47 +0000 (22:09 +0000)]
Merge "Adds ACCESS_CLASS_BLOCKED Disconnect cause"

7 years agoMerge "Notify keyguard of when power button is pressed." into oc-dev
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

7 years agoMerge "Notify keyguard of when power button is pressed." into oc-dev
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

7 years agoMerge "Avoid excessive logging when the necessary proc file is unavailable." into...
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

7 years agoMerge "Avoid excessive logging when the necessary proc file is unavailable." into...
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

7 years agoMerge "wifi: add utility function to return saved configurations" 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

7 years agoMerge "wifi: add utility function to return saved configurations" into oc-dev
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

7 years agoAdds ACCESS_CLASS_BLOCKED Disconnect cause
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

7 years agoadd channel and group tags to the notificaiton logs
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

7 years agoMerge "Use a PopupWindow to show tooltips" into oc-dev
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

7 years agoMerge "Use a PopupWindow to show tooltips" into oc-dev
Manu Cornet [Fri, 2 Jun 2017 20:02:44 +0000 (20:02 +0000)]
Merge "Use a PopupWindow to show tooltips" into oc-dev

7 years agoNotify keyguard of when power button is pressed.
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

7 years agoProtect instant apps from full apps
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)

7 years agoMerge "QS vis tweaks" into oc-dev
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

7 years agoMerge "QS vis tweaks" into oc-dev
TreeHugger Robot [Fri, 2 Jun 2017 19:28:32 +0000 (19:28 +0000)]
Merge "QS vis tweaks" into oc-dev

7 years agoAvoid excessive logging when the necessary proc file is unavailable.
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

7 years agoMerge "Track added/removed window when focus is null" into oc-dev
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

7 years agoMerge "Improve consistency in focusAfterDescendants behavior" into oc-dev
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

7 years agoMerge "Track added/removed window when focus is null" into oc-dev
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

7 years agoMerge "Improve consistency in focusAfterDescendants behavior" 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

7 years agoMerge "Testra RSSI compliance" am: 7466567d89 am: 1bb09a713d
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

7 years agoMerge "Testra RSSI compliance" am: 542ebcd3fb am: 69a3e67e3c
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

7 years agoMerge "Testra RSSI compliance" am: 7466567d89
Sooraj Sasindran [Fri, 2 Jun 2017 17:38:02 +0000 (17:38 +0000)]
Merge "Testra RSSI compliance" am: 7466567d89
am: 1bb09a713d

Change-Id: I351f4bc774e57565691485f3bc16897807b02024

7 years agoMerge "Annotate test method visibility in WindowManager" into oc-dev
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

7 years agoMerge "Testra RSSI compliance"
Sooraj Sasindran [Fri, 2 Jun 2017 17:31:39 +0000 (17:31 +0000)]
Merge "Testra RSSI compliance"
am: 7466567d89

Change-Id: I8e348f6433bef87c28ac80e6778ecfd3dede6dc5

7 years agoMerge "Testra RSSI compliance" am: 542ebcd3fb
Sooraj Sasindran [Fri, 2 Jun 2017 17:31:34 +0000 (17:31 +0000)]
Merge "Testra RSSI compliance" am: 542ebcd3fb
am: 69a3e67e3c

Change-Id: I53331fb51559ede536988061e43dece2b1d54456

7 years agoMerge "Annotate test method visibility in WindowManager" into oc-dev
TreeHugger Robot [Fri, 2 Jun 2017 17:26:47 +0000 (17:26 +0000)]
Merge "Annotate test method visibility in WindowManager" into oc-dev

7 years agoMerge "Testra RSSI compliance"
Sooraj Sasindran [Fri, 2 Jun 2017 17:25:46 +0000 (17:25 +0000)]
Merge "Testra RSSI compliance"
am: 542ebcd3fb

Change-Id: I5c31472190dc06d1ae5c2c077248b8c8f65f54e8

7 years agoQS vis tweaks
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

7 years agoMerge "Testra RSSI compliance"
Treehugger Robot [Fri, 2 Jun 2017 17:20:30 +0000 (17:20 +0000)]
Merge "Testra RSSI compliance"

7 years agoMerge "Testra RSSI compliance"
Treehugger Robot [Fri, 2 Jun 2017 17:16:41 +0000 (17:16 +0000)]
Merge "Testra RSSI compliance"

7 years agowifi: add utility function to return saved configurations
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

7 years agoMerge "Prevent showing voice session when it is already queued to be hidden." into...
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

7 years agoMerge "Prevent showing voice session when it is already queued to be hidden." into...
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

7 years agoFix issue with jumping PIP when IME shows.
Winson Chung [Wed, 31 May 2017 23:25:30 +0000 (16:25 -0700)]
Fix issue with jumping PIP when IME shows.

- Removing extraneous content frame adjustment for the visible IME in
  WindowState, which conflicts with new IME adjustment logic in the
  PinnedStackController.

Bug: 36820637
Test: Launch YT PIP, bring up IME
Test: go/wm-smoke
Change-Id: I6d5e647aa0cd75ff48c1efff50cc42093dcb1129

7 years agoMerge "Allow force resize message activity to be resumed" 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

7 years agoMerge "Allow force resize message activity to be resumed" into oc-dev
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

7 years agoMerge "Handle Wi-Fi passing explicit interface name and AP/IP mode" 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

7 years agoMerge "Handle Wi-Fi passing explicit interface name and AP/IP mode" into oc-dev
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

7 years agoTrack added/removed window when focus is null
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

7 years agoMerge "Fix night display activation behavior after reboot" into oc-dev
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

7 years agoMerge "Fix night display activation behavior after reboot" into oc-dev
Christine Franks [Fri, 2 Jun 2017 15:07:19 +0000 (15:07 +0000)]
Merge "Fix night display activation behavior after reboot" into oc-dev

7 years agoMerge "Mock out usageStats in NotificationManagerServiceTests" 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

7 years agoMerge "Mock out usageStats in NotificationManagerServiceTests" into oc-dev
TreeHugger Robot [Fri, 2 Jun 2017 14:44:21 +0000 (14:44 +0000)]
Merge "Mock out usageStats in NotificationManagerServiceTests" into oc-dev

7 years agoHandle 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: 62018531
Bug: 62076211
Merged-In: I599813c4b4d866623344df56f62ed6a40b4025d6
Merged-In: I8f1d172a3514e4fb9230af9e09aeaf638f03091c
Change-Id: I3557a9c14f4e9f1de1869084566a179003d98ffe
(cherry picked from commit 2efb827f61db989ab55792052c99713ef5f5eefa)

7 years agoTestra RSSI compliance
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

7 years agoTestra RSSI compliance
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

7 years agoMerge "Handle Wi-Fi passing explicit interface name and AP/IP mode" am: 3478ff8c9e...
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

7 years agoMerge "Handle Wi-Fi passing explicit interface name and AP/IP mode" am: 3478ff8c9e
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

7 years agoMerge "Handle Wi-Fi passing explicit interface name and AP/IP mode"
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

7 years agoMerge "Handle Wi-Fi passing explicit interface name and AP/IP mode"
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"

7 years agoHandle 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

7 years agoAdd UDP Encap Socket Support to IpSecManager
Nathan Harold [Wed, 5 Apr 2017 02:37:48 +0000 (19:37 -0700)]
Add UDP Encap Socket Support to IpSecManager

-Implement the UdpEncapsulationSocket
-Convert all ManagedResources to use resourceIds
-Rework ManagedResource to track resourceIds

Bug: 30984788
Test: cts - IpSecManagerTest#testUdpEncapsulation()

Change-Id: I7b1099c487051a8d951c1485791c4b6cef2deb1d

7 years agoMerge "AAPT2: Allow any value type for <item> without format attr" into oc-dev
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

7 years agoMerge "AAPT2: Allow any value type for <item> without format attr" into oc-dev
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

7 years agoMerge "WifiManager: add unspecified ip mode" am: dae92faa02 am: 0b9fa27619
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

7 years agoMerge "WifiManager: add unspecified ip mode" am: dae92faa02
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

7 years agoMerge "WifiManager: add unspecified ip mode"
Rebecca Silberstein [Fri, 2 Jun 2017 01:37:43 +0000 (01:37 +0000)]
Merge "WifiManager: add unspecified ip mode"
am: dae92faa02

Change-Id: Ia8fe528fd7cbe8076ea185d21ae7dcfd5654334c

7 years agoMerge "WifiManager: add unspecified ip mode"
Treehugger Robot [Fri, 2 Jun 2017 01:26:14 +0000 (01:26 +0000)]
Merge "WifiManager: add unspecified ip mode"

7 years agoAllow force resize message activity to be resumed
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

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
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

7 years agoMerge "Enabled (asymmetric) tab selection in GridView" into oc-dev
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

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Fri, 2 Jun 2017 00:57:46 +0000 (00:57 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Enabled (asymmetric) tab selection in GridView" 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

7 years agoMerge "AutoSize TextView - major fixes" 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

7 years agoMerge "AutoSize TextView - major fixes" into oc-dev
Siyamed Sinir [Fri, 2 Jun 2017 00:18:03 +0000 (00:18 +0000)]
Merge "AutoSize TextView - major fixes" into oc-dev

7 years agoAAPT2: Allow any value type for <item> without format attr
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

7 years agoMerge "Fix AVD memory leak" into oc-dev
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

7 years agoMerge "Fix ANR & Crash on Ryu" into oc-dev
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

7 years agoMerge "Fix AVD memory leak" into oc-dev
Doris Liu [Thu, 1 Jun 2017 23:46:18 +0000 (23:46 +0000)]
Merge "Fix AVD memory leak" into oc-dev

7 years agoMerge "Fix ANR & Crash on Ryu" 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

7 years agoMerge "Optimised hwui rounded corners shader" am: d7287c96eb am: ed7bdd6549
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

7 years agoMerge "Optimised hwui rounded corners shader" am: d7287c96eb
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

7 years agoMerge "Directly focus button in touchmode coretests" into oc-dev
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

7 years agoMerge "Optimised hwui rounded corners shader"
Arun [Thu, 1 Jun 2017 23:24:50 +0000 (23:24 +0000)]
Merge "Optimised hwui rounded corners shader"
am: d7287c96eb

Change-Id: Idf53faac924be91d4e23da91b54c9ca08be9ad39

7 years agoMerge "Directly focus button in touchmode coretests" into oc-dev
Evan Rosky [Thu, 1 Jun 2017 23:21:25 +0000 (23:21 +0000)]
Merge "Directly focus button in touchmode coretests" into oc-dev

7 years agoMerge "Optimised hwui rounded corners shader"
Treehugger Robot [Thu, 1 Jun 2017 23:13:24 +0000 (23:13 +0000)]
Merge "Optimised hwui rounded corners shader"

7 years agoPrevent showing voice session when it is already queued to be hidden.
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

7 years agoMerge "Add channel group for alert windows notifications" into oc-dev
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

7 years agoMerge "Add channel group for alert windows notifications" into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 22:03:10 +0000 (22:03 +0000)]
Merge "Add channel group for alert windows notifications" into oc-dev

7 years agoUse a PopupWindow to show tooltips
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

7 years agoMerge "Fix plugin reloading" into oc-dev
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

7 years agoMerge "Fix plugin reloading" into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 21:39:42 +0000 (21:39 +0000)]
Merge "Fix plugin reloading" into oc-dev

7 years agoMerge "Fix camera launch delay from Keyguard" 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

7 years agoMerge "Fix camera launch delay from Keyguard" into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 21:11:51 +0000 (21:11 +0000)]
Merge "Fix camera launch delay from Keyguard" into oc-dev

7 years agoFix AVD memory leak
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

7 years agoImprove consistency in focusAfterDescendants behavior
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

7 years agoMerge "Delay notification vibration to synchronize with notif sound" into oc-dev
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

7 years agoOptimised hwui rounded corners shader
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