OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Expose a11y overlay window titles to a11y services" into pi-dev
Phil Weaver [Fri, 27 Apr 2018 00:21:09 +0000 (17:21 -0700)]
Merge "Expose a11y overlay window titles to a11y services" into pi-dev
am: 214a8a9510

Change-Id: I0b8d3ad77f42242f76b2a07d89506ddf5a861fe1

6 years agoMerge "Tie FAS service-start to the same idleness state as O+ bg restrictions" into...
Chris Tate [Fri, 27 Apr 2018 00:05:56 +0000 (17:05 -0700)]
Merge "Tie FAS service-start to the same idleness state as O+ bg restrictions" into pi-dev
am: 590ef18e21

Change-Id: I938a015357e69257c4d56c5b93088b842b269d00

6 years agoMerge "Handle accessibility button state on user switch" into pi-dev
Phil Weaver [Fri, 27 Apr 2018 00:00:33 +0000 (17:00 -0700)]
Merge "Handle accessibility button state on user switch" into pi-dev
am: 24fd435070

Change-Id: I512722536ca2ef06c020c0444006d3718e359ece

6 years agoMerge "Revert "WifiManager: Return status from startScan()"" into pi-dev
Doris Ling [Thu, 26 Apr 2018 23:53:28 +0000 (16:53 -0700)]
Merge "Revert "WifiManager: Return status from startScan()"" into pi-dev
am: ebcb2e006b

Change-Id: I328b6e331052a8b2b0717663c65599ed3cee04bc

6 years agoMerge "Expose a11y overlay window titles to a11y services" into pi-dev
Phil Weaver [Thu, 26 Apr 2018 23:51:12 +0000 (23:51 +0000)]
Merge "Expose a11y overlay window titles to a11y services" into pi-dev

6 years agoMerge "Added test API to refresh the UICC Profile" into pi-dev
Gil O'Neil [Thu, 26 Apr 2018 23:36:18 +0000 (16:36 -0700)]
Merge "Added test API to refresh the UICC Profile" into pi-dev
am: 3e6ceafbaa

Change-Id: Icde39b92a744653f1fb71165df4dda8362deee8b

6 years agoMerge "Tie FAS service-start to the same idleness state as O+ bg restrictions" into...
Chris Tate [Thu, 26 Apr 2018 23:33:37 +0000 (23:33 +0000)]
Merge "Tie FAS service-start to the same idleness state as O+ bg restrictions" into pi-dev

6 years agoMerge "Handle accessibility button state on user switch" into pi-dev
Phil Weaver [Thu, 26 Apr 2018 23:26:51 +0000 (23:26 +0000)]
Merge "Handle accessibility button state on user switch" into pi-dev

6 years agoMerge "Revert "WifiManager: Return status from startScan()"" into pi-dev
Doris Ling [Thu, 26 Apr 2018 23:26:09 +0000 (23:26 +0000)]
Merge "Revert "WifiManager: Return status from startScan()"" into pi-dev

6 years agoMerge "Use Empty List for Default PhysicalChannelConfig" into pi-dev
Nathan Harold [Thu, 26 Apr 2018 23:24:57 +0000 (16:24 -0700)]
Merge "Use Empty List for Default PhysicalChannelConfig" into pi-dev
am: 6e2ed97e80

Change-Id: I1cb14020b2bd87db143aab9b3401379b560df18b

6 years agoMerge "Added test API to refresh the UICC Profile" into pi-dev
Gil O'Neil [Thu, 26 Apr 2018 23:20:41 +0000 (23:20 +0000)]
Merge "Added test API to refresh the UICC Profile" into pi-dev

6 years agoMerge "Using a list to store usage events" into pi-dev
Suprabh Shukla [Thu, 26 Apr 2018 23:17:55 +0000 (16:17 -0700)]
Merge "Using a list to store usage events" into pi-dev
am: 10b77a39a2

Change-Id: I92f83289bd5a10b0a17012c2fd993ade0033375e

6 years agoMerge "Correct cropping of windows above decor layer." into pi-dev
Rob Carr [Thu, 26 Apr 2018 23:04:19 +0000 (16:04 -0700)]
Merge "Correct cropping of windows above decor layer." into pi-dev
am: 019ec44307

Change-Id: Ibf45088e2784b0cd74e9b5c04dccdc66217454e2

6 years agoMerge "Use Empty List for Default PhysicalChannelConfig" into pi-dev
Nathan Harold [Thu, 26 Apr 2018 23:03:45 +0000 (23:03 +0000)]
Merge "Use Empty List for Default PhysicalChannelConfig" into pi-dev

6 years agoMerge "Using a list to store usage events" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 22:58:40 +0000 (22:58 +0000)]
Merge "Using a list to store usage events" into pi-dev

6 years agoMerge "Use view order when iterating icons in a slot" into pi-dev
Evan Laird [Thu, 26 Apr 2018 22:57:11 +0000 (15:57 -0700)]
Merge "Use view order when iterating icons in a slot" into pi-dev
am: 29d9832db7

Change-Id: If6aab2493d002ec762541845ff26fd089a0f0cd4

6 years agoMerge "Start recents animation to the target task in the stack" into pi-dev
Winson Chung [Thu, 26 Apr 2018 22:47:59 +0000 (15:47 -0700)]
Merge "Start recents animation to the target task in the stack" into pi-dev
am: 37ccdaa410

Change-Id: I69d1232b7e2b03943937f3be26a7dd25bf808574

6 years agoMerge "Correct cropping of windows above decor layer." into pi-dev
Rob Carr [Thu, 26 Apr 2018 22:41:18 +0000 (22:41 +0000)]
Merge "Correct cropping of windows above decor layer." into pi-dev

6 years agoMerge "Use view order when iterating icons in a slot" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 22:37:46 +0000 (22:37 +0000)]
Merge "Use view order when iterating icons in a slot" into pi-dev

6 years agoMerge "Start recents animation to the target task in the stack" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 22:32:59 +0000 (22:32 +0000)]
Merge "Start recents animation to the target task in the stack" into pi-dev

6 years agoRevert "WifiManager: Return status from startScan()"
Doris Ling [Thu, 26 Apr 2018 22:28:27 +0000 (22:28 +0000)]
Revert "WifiManager: Return status from startScan()"

This reverts commit b81c3d5f9a86e4e1f90be2ffaa81ea5df8fce684.

Bug: 77297012
Change-Id: Ie8727343650b549d4f438643d50a10fe50ab52b1
Reason: this change is breaking the build

6 years agoMerge "Add A2dp.disconnect() hidden API to the greylist" into pi-dev
Pavlin Radoslavov [Thu, 26 Apr 2018 22:21:35 +0000 (15:21 -0700)]
Merge "Add A2dp.disconnect() hidden API to the greylist" into pi-dev
am: 4bc7dc95e3

Change-Id: Ib108325da0979603b0a18a3216fcabe89d0aef37

6 years agoMerge "Allow using reserved package IDs" into pi-dev
Todd Kennedy [Thu, 26 Apr 2018 22:09:29 +0000 (15:09 -0700)]
Merge "Allow using reserved package IDs" into pi-dev
am: 13588dc9e4

Change-Id: If17488c1194560fce69a9bedeb1553795d415c30

6 years agoMerge "AndroidManifest.xml: Add new network permission for setup wizard" into pi-dev
Roshan Pius [Thu, 26 Apr 2018 21:58:10 +0000 (14:58 -0700)]
Merge "AndroidManifest.xml: Add new network permission for setup wizard" into pi-dev
am: 8049afc395

Change-Id: Ifb06fc56cfbcb90e5bca1300c3d97b36735e4ba4

6 years agoMerge "Add missing Insets#top/bottom fields to greylist" into pi-dev
John Reck [Thu, 26 Apr 2018 21:51:51 +0000 (14:51 -0700)]
Merge "Add missing Insets#top/bottom fields to greylist" into pi-dev
am: 4778f6cb0f

Change-Id: I8db1587e8c9bcbdbc20f2b29afe0d6d575279fbf

6 years agoMerge "WifiManager: Return status from startScan()" into pi-dev
Roshan Pius [Thu, 26 Apr 2018 21:42:46 +0000 (14:42 -0700)]
Merge "WifiManager: Return status from startScan()" into pi-dev
am: deb2e6ed8c

Change-Id: I289d25d233c53ab854df32ae418231ece8c5900e

6 years agoMerge "Add A2dp.disconnect() hidden API to the greylist" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 21:39:49 +0000 (21:39 +0000)]
Merge "Add A2dp.disconnect() hidden API to the greylist" into pi-dev

6 years agoMerge "Fix broken resource definition." into pi-dev
Calvin On [Thu, 26 Apr 2018 21:32:37 +0000 (14:32 -0700)]
Merge "Fix broken resource definition." into pi-dev
am: 0c7d6e83af

Change-Id: I9d472f2949ca15a6d39beab27a1aebf80ce34b6e

6 years agoMerge "Allow using reserved package IDs" into pi-dev
Todd Kennedy [Thu, 26 Apr 2018 21:29:17 +0000 (21:29 +0000)]
Merge "Allow using reserved package IDs" into pi-dev

6 years agoMerge "AndroidManifest.xml: Add new network permission for setup wizard" into pi-dev
Roshan Pius [Thu, 26 Apr 2018 21:22:32 +0000 (21:22 +0000)]
Merge "AndroidManifest.xml: Add new network permission for setup wizard" into pi-dev

6 years agoMerge "Add missing Insets#top/bottom fields to greylist" into pi-dev
John Reck [Thu, 26 Apr 2018 21:15:08 +0000 (21:15 +0000)]
Merge "Add missing Insets#top/bottom fields to greylist" into pi-dev

6 years agoMerge "WifiManager: Return status from startScan()" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 21:14:46 +0000 (21:14 +0000)]
Merge "WifiManager: Return status from startScan()" into pi-dev

6 years agoMerge "Fix issue with recent task being replaced by task with another windowing mode...
Winson Chung [Thu, 26 Apr 2018 21:13:58 +0000 (14:13 -0700)]
Merge "Fix issue with recent task being replaced by task with another windowing mode" into pi-dev
am: d4d44c7204

Change-Id: Ie4a37fb7fe7ac2be3f4e62f9a5d5d8478189dc66

6 years agoMerge "Fix broken resource definition." into pi-dev
Calvin On [Thu, 26 Apr 2018 21:10:49 +0000 (21:10 +0000)]
Merge "Fix broken resource definition." into pi-dev

6 years agoMerge "Adjust vol dnd icon layout width" into pi-dev
Beverly [Thu, 26 Apr 2018 21:06:35 +0000 (14:06 -0700)]
Merge "Adjust vol dnd icon layout width" into pi-dev
am: bd8fedee75

Change-Id: If0159e2c4000279260c3c7b93900d3bd211ed721

6 years agoFix broken resource definition.
Calvin On [Thu, 26 Apr 2018 19:17:02 +0000 (12:17 -0700)]
Fix broken resource definition.

notification_right_icon_size_low_ram appears to have been
circularly defined. This reverts the change made to this
field in ag/3938119.

Since the original CL reduced dp value of icon sizes, this
fix also does a best effort/proportional change to the
dp value of the icon, to 38dp (from 40dp).

Test: Build and install on sawfish, crash no longer repros.
Bug: 78598699
Change-Id: I73309fb39cc7cbc286e5a0cec69900590d3f0f54

6 years agoMerge "Compute correct rejected time" into pi-dev
Philip P. Moltmann [Thu, 26 Apr 2018 20:56:02 +0000 (13:56 -0700)]
Merge "Compute correct rejected time" into pi-dev
am: 29e2a3dd92

Change-Id: Ifbbf9fc7ff2b6392bdf3084849b276c9daae3767

6 years agoMerge "Fix issue with recent task being replaced by task with another windowing mode...
TreeHugger Robot [Thu, 26 Apr 2018 20:49:53 +0000 (20:49 +0000)]
Merge "Fix issue with recent task being replaced by task with another windowing mode" into pi-dev

6 years agoMerge "Adjust vol dnd icon layout width" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 20:49:48 +0000 (20:49 +0000)]
Merge "Adjust vol dnd icon layout width" into pi-dev

6 years agoMerge "Compute correct rejected time" into pi-dev
Philip P. Moltmann [Thu, 26 Apr 2018 20:38:43 +0000 (20:38 +0000)]
Merge "Compute correct rejected time" into pi-dev

6 years agoAdd A2dp.disconnect() hidden API to the greylist
Pavlin Radoslavov [Thu, 26 Apr 2018 18:27:01 +0000 (11:27 -0700)]
Add A2dp.disconnect() hidden API to the greylist

Bug: 78635603
Test: Code compilation
Change-Id: Ic407e473f44626fd0b056078b3d9a5d648480cc3

6 years agoHandle accessibility button state on user switch
Phil Weaver [Thu, 26 Apr 2018 20:27:30 +0000 (13:27 -0700)]
Handle accessibility button state on user switch

Bug: 78196203
Test: Enable Magnification with button, switch to guest,
see accessibility button disappear

Change-Id: I4feda07243a6c17a5985f29dbea9d4ad0adcb0cf

6 years agoUse view order when iterating icons in a slot
Evan Laird [Thu, 26 Apr 2018 20:05:46 +0000 (16:05 -0400)]
Use view order when iterating icons in a slot

Before, slots handed out holders in the order they were added, meaning
you may try to insert the N+1th icon before the Nth

Change-Id: If993cf7233989ff22633f9b026aa3627bbc72d6b
Fixes: 69527817
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/StatusBarIconListTest.java

6 years agoMerge "Fixes null-ref when trying to start Guest session." into pi-dev
Jovana Knezevic [Thu, 26 Apr 2018 19:55:30 +0000 (12:55 -0700)]
Merge "Fixes null-ref when trying to start Guest session." into pi-dev
am: 8491304cf6

Change-Id: I71133790a4b5be41c05cede67c2122e6681199fe

6 years agoMerge "Fixes null-ref when trying to start Guest session." into pi-dev
Jovana Knezevic [Thu, 26 Apr 2018 19:40:02 +0000 (19:40 +0000)]
Merge "Fixes null-ref when trying to start Guest session." into pi-dev

6 years agoMerge "Ignore dumpsys -a option" into pi-dev
Fyodor Kupolov [Thu, 26 Apr 2018 19:14:12 +0000 (12:14 -0700)]
Merge "Ignore dumpsys -a option" into pi-dev
am: eb71027d25

Change-Id: Ie1becdc71094339a953cb2858f5cc0fedbb353de

6 years agoMerge "Ignore dumpsys -a option" into pi-dev
Fyodor Kupolov [Thu, 26 Apr 2018 18:58:47 +0000 (18:58 +0000)]
Merge "Ignore dumpsys -a option" into pi-dev

6 years agoMerge "Use correct package when pinning a slice" into pi-dev
Jason Monk [Thu, 26 Apr 2018 18:56:44 +0000 (11:56 -0700)]
Merge "Use correct package when pinning a slice" into pi-dev
am: 79b9929f58

Change-Id: Idbdf08e1a453a83bf1d8dc46750b16887a6f1493

6 years agoMerge "Use correct package when pinning a slice" into pi-dev
Jason Monk [Thu, 26 Apr 2018 18:40:37 +0000 (18:40 +0000)]
Merge "Use correct package when pinning a slice" into pi-dev

6 years agoMerge "Systrace support for NNAPI" am: ecb0302ae9
Mika Raento [Thu, 26 Apr 2018 18:24:39 +0000 (11:24 -0700)]
Merge "Systrace support for NNAPI" am: ecb0302ae9
am: ae359622a6

Change-Id: I7e7ae0ff8560368cdb5719550876ea68630eac84

6 years agoMerge "Systrace support for NNAPI"
Mika Raento [Thu, 26 Apr 2018 18:12:53 +0000 (11:12 -0700)]
Merge "Systrace support for NNAPI"
am: ecb0302ae9

Change-Id: I16dbb15a6139105b7e04761cdbcffff32b8b1706

6 years agoMerge "Makes static shared libs visible to installer" into pi-dev
Patrick Baumann [Thu, 26 Apr 2018 18:07:16 +0000 (11:07 -0700)]
Merge "Makes static shared libs visible to installer" into pi-dev
am: d79759a2d7

Change-Id: I610be30792c5e54e197ff4af4da244ace10e4721

6 years agoCompute correct rejected time
Philip P. Moltmann [Thu, 26 Apr 2018 18:01:08 +0000 (11:01 -0700)]
Compute correct rejected time

Fixes: 78632929
Test: atest FrameworksServicesTests:AppOpsServiceTest
            CtsPermissionTestCases:AppOpsTest

Change-Id: I34e1de6658c89c40cae3a8bb6e9fdb4e7fd80795

6 years agoMerge "Makes static shared libs visible to installer" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 17:51:16 +0000 (17:51 +0000)]
Merge "Makes static shared libs visible to installer" into pi-dev

6 years agoFix issue with recent task being replaced by task with another windowing mode
Winson Chung [Thu, 19 Apr 2018 21:45:03 +0000 (14:45 -0700)]
Fix issue with recent task being replaced by task with another windowing mode

- ag/3762067 is not sufficient to fix the regression from stack id to
  activity type and windowing mode.  When finding a task in the recents
  list to remove and replace with a new task, we need to treat tasks with
  different windowing modes as separate tasks.

Bug: 78291664
Test: Launch play movies, enter PIP and ensure that the main activity task
      still shows in overview

Change-Id: Id1fddfe580bd6bfab8e618930cec82e1e4363ce0

6 years agoAdjust vol dnd icon layout width
Beverly [Thu, 26 Apr 2018 15:17:29 +0000 (11:17 -0400)]
Adjust vol dnd icon layout width

When only one volume row is visible, adjust the
width of the volume dnd icon FrameLayout so the
icon floats on the top right.  Icon was previously
inset by padding introcued by volume_dialog_rows minWidth
attribute.

Test: visual inspection (with 1+ streams)
Fixes: 78275139
Change-Id: I8f34ba21545823ac8431396696adb4e9347b40db

6 years agoAllow using reserved package IDs
Todd Kennedy [Wed, 25 Apr 2018 23:45:59 +0000 (16:45 -0700)]
Allow using reserved package IDs

Pre-O, the platform treats negative resource IDs [those with
a package ID of 0x80 or higher] as invalid.  In order to work
around this limitation, we allow the use of traditionally
reserved resource IDs [those between 0x02 and 0x7E].

Bug: 78041707
Test: ./out/host/linux-x86/nativetest64/aapt2_tests/aapt2_tests
Test: ./out/host/linux-x86/nativetest/libandroidfw_tests/libandroidfw_tests
Test: Manual. Create a feature split with a package ID of 0x7E and see it runs and can reference base resources.

Change-Id: I3d9782cc05d3a55e1a2467bf39566788847e1160

6 years agoMerge "Systrace support for NNAPI"
Mika Raento [Thu, 26 Apr 2018 17:01:32 +0000 (17:01 +0000)]
Merge "Systrace support for NNAPI"

6 years agoMerge "Autofill: new UX for TV and support themes" into pi-dev
Dake Gu [Thu, 26 Apr 2018 17:00:09 +0000 (10:00 -0700)]
Merge "Autofill: new UX for TV and support themes" into pi-dev
am: 9ea13ca0b6

Change-Id: Ia0efba56b4568cab3f2f84bd866480cbbc6f5929

6 years agoMerge "Default vibration amplitude resolution added" into pi-dev
Alexey Kuzmin [Thu, 26 Apr 2018 16:54:14 +0000 (09:54 -0700)]
Merge "Default vibration amplitude resolution added" into pi-dev
am: 39cfdf1325

Change-Id: Ib14c3c9cdaf3e9217bcbd6b6238a8840cb11a8cc

6 years agoMerge "Autofill: new UX for TV and support themes" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 16:40:40 +0000 (16:40 +0000)]
Merge "Autofill: new UX for TV and support themes" into pi-dev

6 years agoMerge "Default vibration amplitude resolution added" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 16:39:29 +0000 (16:39 +0000)]
Merge "Default vibration amplitude resolution added" into pi-dev

6 years agoMerge "Only ripple rotate btn if attached to window" into pi-dev
Mike Digman [Thu, 26 Apr 2018 16:20:34 +0000 (09:20 -0700)]
Merge "Only ripple rotate btn if attached to window" into pi-dev
am: 412a362c74

Change-Id: Ic50d17e4cca85c35899961a9cc3c250478d264f1

6 years agoMerge "Only ripple rotate btn if attached to window" into pi-dev
Mike Digman [Thu, 26 Apr 2018 16:07:18 +0000 (16:07 +0000)]
Merge "Only ripple rotate btn if attached to window" into pi-dev

6 years agoDefault vibration amplitude resolution added
Alexey Kuzmin [Tue, 24 Apr 2018 11:58:13 +0000 (12:58 +0100)]
Default vibration amplitude resolution added

Test: On sailfish, set vibration intensity to High, lock the phone and
unlock with FPS. Vibration should be played.
Bug: 76129874

Change-Id: I546341e55fa0e6de0af1d22c8e8e07d67670f0b9
Merged-In: I546341e55fa0e6de0af1d22c8e8e07d67670f0b9

6 years agoMerge "Generate @removed DEX API signatures" am: eddd165c20
David Brazdil [Thu, 26 Apr 2018 14:41:56 +0000 (07:41 -0700)]
Merge "Generate @removed DEX API signatures" am: eddd165c20
am: 86cd9642c3

Change-Id: I936c3b375a4c1a58c301965f6a2922e135699663

6 years agoMerge "QQS visual fixes." into pi-dev
Amin Shaikh [Thu, 26 Apr 2018 14:36:41 +0000 (07:36 -0700)]
Merge "QQS visual fixes." into pi-dev
am: 032ab15256

Change-Id: I01e06e8895c969b3f62601a7ee8ac0dc95ee1e3d

6 years agoMerge "QQS visual fixes." into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 14:16:29 +0000 (14:16 +0000)]
Merge "QQS visual fixes." into pi-dev

6 years agoMerge "Add more API accesses from bugreports." into pi-dev
Mathew Inwood [Thu, 26 Apr 2018 14:16:06 +0000 (07:16 -0700)]
Merge "Add more API accesses from bugreports." into pi-dev
am: 677ffbc40b

Change-Id: I5d0bcdb4d69ff86096c125db2c39cf2b3b23133c

6 years agoMerge "Add more API accesses from bugreports." into pi-dev
Mathew Inwood [Thu, 26 Apr 2018 14:04:44 +0000 (14:04 +0000)]
Merge "Add more API accesses from bugreports." into pi-dev

6 years agoMerge "Generate @removed DEX API signatures"
David Brazdil [Thu, 26 Apr 2018 13:40:43 +0000 (06:40 -0700)]
Merge "Generate @removed DEX API signatures"
am: eddd165c20

Change-Id: Iff6c84e82f5127ba896dd838952e86facef58fd7

6 years agoMerge "Generate @removed DEX API signatures"
David Brazdil [Thu, 26 Apr 2018 12:39:41 +0000 (12:39 +0000)]
Merge "Generate @removed DEX API signatures"

6 years agoMerge "Pipe the user restriction to the admin dialog" into pi-dev
Tony Mak [Thu, 26 Apr 2018 11:17:35 +0000 (04:17 -0700)]
Merge "Pipe the user restriction to the admin dialog" into pi-dev
am: c76929eb92

Change-Id: Iaba71e51075c6c1ce7c3e4bf71750c8baace89a3

6 years agoMerge "Pipe the user restriction to the admin dialog" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 11:05:21 +0000 (11:05 +0000)]
Merge "Pipe the user restriction to the admin dialog" into pi-dev

6 years agoMerge "[Magnifier-40] Always child of main window" into pi-dev
Mihai Popa [Thu, 26 Apr 2018 11:01:44 +0000 (04:01 -0700)]
Merge "[Magnifier-40] Always child of main window" into pi-dev
am: 977871a96c

Change-Id: I4b4a74dbf13828b3c2f3df479f418c16d561d935

6 years agoMerge "[Magnifier-40] Always child of main window" into pi-dev
Mihai Popa [Thu, 26 Apr 2018 10:48:23 +0000 (10:48 +0000)]
Merge "[Magnifier-40] Always child of main window" into pi-dev

6 years ago[Magnifier-40] Always child of main window
Mihai Popa [Mon, 16 Apr 2018 13:27:05 +0000 (14:27 +0100)]
[Magnifier-40] Always child of main window

Previously, we were making the magnifier surface a child of the main
window unless the magnified view was a SurfaceView, in which case we
were setting the SurfaceView to be the parent of the magnifier. In
Chrome, where the magnified views are usually SurfaceViews, this caused
the magnifier to be displayed underneath the omnibox, which was a
terrible user experience when trying to magnify the first lines of text
on a page. This was because the omnibox had a higher Z than the
SurfaceView, and therefore a higher Z than all children of the
SurfaceView (including the magnifier).

This CL sets the parent of the magnifier surface to be the main window's
surface when the magnified view is a SurfaceView as well. Therefore, the
magnifier becomes a sibling of the Chrome omnibox and, by giving the
magnifier a higher Z, it ends up being rendered on top.

Bug: 77926365
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: Ic5b5f6ca687db8b5d842f0ab20eac70f1fd2f85e

6 years agoSystrace support for NNAPI
Mika Raento [Mon, 23 Apr 2018 21:08:57 +0000 (22:08 +0100)]
Systrace support for NNAPI

Change-Id: Ie73d28937eba33e2d90f1447f17fd6d8e5719a65
Bug: 78137932
Test: mm

6 years ago[automerger skipped] Merge "Fix CaptivePortalLoginActivity probes to bypass Private...
Erik Kline [Thu, 26 Apr 2018 07:44:25 +0000 (00:44 -0700)]
[automerger skipped] Merge "Fix CaptivePortalLoginActivity probes to bypass Private DNS" into pi-dev
am: 45a3a6ec33  -s ours

Change-Id: Ief0679f560a683d03aa3e2d18494fd648819e4a9

6 years agoMerge "Fix CaptivePortalLoginActivity probes to bypass Private DNS" into pi-dev
Erik Kline [Thu, 26 Apr 2018 07:29:45 +0000 (07:29 +0000)]
Merge "Fix CaptivePortalLoginActivity probes to bypass Private DNS" into pi-dev

6 years agoFix CaptivePortalLoginActivity probes to bypass Private DNS
Erik Kline [Wed, 25 Apr 2018 08:27:28 +0000 (17:27 +0900)]
Fix CaptivePortalLoginActivity probes to bypass Private DNS

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
    - manual testing on captive portal networks
Bug: 64133961
Bug: 77140445
Bug: 78548486

Merged-In: I749e8b5dba3b4af9ecb82bfb558c6f0e664531a4
Merged-In: Ic76d55861f385d1aecd360adda7f10142d083a47
Change-Id: Idbc4d90eeec257b36c5f374d61dea4600a0f8ebb
(cherry picked from commit 848d842a3ad94720e1d70db3337048e9568bb9d6)

6 years agoMerge "Fix CaptivePortalLoginActivity probes to bypass Private DNS" am: ec629e2f43
Erik Kline [Thu, 26 Apr 2018 05:39:31 +0000 (22:39 -0700)]
Merge "Fix CaptivePortalLoginActivity probes to bypass Private DNS" am: ec629e2f43
am: 66d8d2a5b6

Change-Id: I749e8b5dba3b4af9ecb82bfb558c6f0e664531a4

6 years agoMerge "Fix CaptivePortalLoginActivity probes to bypass Private DNS"
Erik Kline [Thu, 26 Apr 2018 05:31:56 +0000 (22:31 -0700)]
Merge "Fix CaptivePortalLoginActivity probes to bypass Private DNS"
am: ec629e2f43

Change-Id: Ieca1a7b245f08b71e56deaaea870f6dd6c6844c4

6 years agoMerge "Fix CaptivePortalLoginActivity probes to bypass Private DNS"
Erik Kline [Thu, 26 Apr 2018 04:15:20 +0000 (04:15 +0000)]
Merge "Fix CaptivePortalLoginActivity probes to bypass Private DNS"

6 years agoMerge "Do not magnify if surface control is not set" into pi-dev
Yuki Awano [Thu, 26 Apr 2018 03:34:56 +0000 (20:34 -0700)]
Merge "Do not magnify if surface control is not set" into pi-dev
am: 1072d0d18a

Change-Id: I672e8ad0363775c846dcfbb86ef1c98242a8c40a

6 years agoMerge "Do not magnify if surface control is not set" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 03:22:29 +0000 (03:22 +0000)]
Merge "Do not magnify if surface control is not set" into pi-dev

6 years agoFix CaptivePortalLoginActivity probes to bypass Private DNS
Erik Kline [Wed, 25 Apr 2018 08:27:28 +0000 (17:27 +0900)]
Fix CaptivePortalLoginActivity probes to bypass Private DNS

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
    - manual testing on captive portal networks
Bug: 64133961
Bug: 77140445
Bug: 78548486

Change-Id: Idbc4d90eeec257b36c5f374d61dea4600a0f8ebb

6 years agoUse Empty List for Default PhysicalChannelConfig
Nathan Harold [Wed, 25 Apr 2018 19:53:04 +0000 (12:53 -0700)]
Use Empty List for Default PhysicalChannelConfig

If a caller registers to listen() for a physical
channel config message, the beavior is to immediately
trigger an unsol. In the case that a list hasn't been
sent from the modem, we should send a default empty
list rather than a null. This is the preferred
approach for Android APIs because it reduces the
reliance on null checks by callers.

Bug: 78536847
Test: ¯\_(ツ)_/¯
Change-Id: I9e59195f5d64264ab473b2fd7e4f7eb6446c4829

6 years agoMerge "Refactor GnssMeasurementsProvider" into pi-dev
Yu-Han Yang [Thu, 26 Apr 2018 01:42:39 +0000 (18:42 -0700)]
Merge "Refactor GnssMeasurementsProvider" into pi-dev
am: 13d650d7cf

Change-Id: I9ff93b600fb0fdb1cf46ce569811f4f5eba75c88

6 years agoMerge "Refactor GnssMeasurementsProvider" into pi-dev
Yu-Han Yang [Thu, 26 Apr 2018 01:31:51 +0000 (01:31 +0000)]
Merge "Refactor GnssMeasurementsProvider" into pi-dev

6 years agoAdded test API to refresh the UICC Profile
goneil [Fri, 6 Apr 2018 22:22:54 +0000 (15:22 -0700)]
Added test API to refresh the UICC Profile

Bug: 74016670
Test: GTS tests - vendor/xts/gts-tests/hostsidetests/simappdialog
Change-Id: I8f8ffdad8666d523172b035d24b96278d4d1a1ee

6 years agoMerge "Fix WTF in PendingIntentRecord.unregisterCancelListenerLocked()" into pi-dev
Makoto Onuki [Thu, 26 Apr 2018 01:04:21 +0000 (18:04 -0700)]
Merge "Fix WTF in PendingIntentRecord.unregisterCancelListenerLocked()" into pi-dev
am: 16fb966442

Change-Id: I5308791dfb3a8fc7138e4dc3af0acef308d5010e

6 years agoMerge "Fix WTF in PendingIntentRecord.unregisterCancelListenerLocked()" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 00:50:56 +0000 (00:50 +0000)]
Merge "Fix WTF in PendingIntentRecord.unregisterCancelListenerLocked()" into pi-dev

6 years agoExpose a11y overlay window titles to a11y services
Phil Weaver [Wed, 25 Apr 2018 00:09:26 +0000 (17:09 -0700)]
Expose a11y overlay window titles to a11y services

Bug: 78463085
Test: Adding CTS test: atest AccessibilityOverlayTest
Change-Id: I9b8ec7368b6684018a43c8bca07fd1eac5969a4e

6 years agoTie FAS service-start to the same idleness state as O+ bg restrictions
Christopher Tate [Wed, 25 Apr 2018 17:47:23 +0000 (10:47 -0700)]
Tie FAS service-start to the same idleness state as O+ bg restrictions

Change-Id: I5b80519f7006fcee63644235d91435f0a591ea50
Fixes: 78322423
Test: ApiDemos outside FAS with startService() in Activity#onStop()
Test: ApiDemos in FAS service exercises (checking regressions)
Test: Maps navigation (checking regressions)

6 years agoOnly ripple rotate btn if attached to window
Mike Digman [Wed, 25 Apr 2018 18:25:59 +0000 (11:25 -0700)]
Only ripple rotate btn if attached to window

Change-Id: I164ba4ed9166941fe5b8fb96539d4b8e70beb6f7
Fixes: 78532076
Fixes: 78568790
Test: boot test without crash

6 years agoMerge "Add ADAPTIVE_BATTERY_MANAGEMENT_ENABLED" into pi-dev
Lei Yu [Thu, 26 Apr 2018 00:02:26 +0000 (17:02 -0700)]
Merge "Add ADAPTIVE_BATTERY_MANAGEMENT_ENABLED" into pi-dev
am: 4620d9b3a3

Change-Id: I4890f4b4e1f8dbcf144b2e613165382d67b70de3

6 years agoMerge "Revert "Edit dnd icon in volume dialog"" into pi-dev
Beverly Tai [Wed, 25 Apr 2018 23:57:36 +0000 (16:57 -0700)]
Merge "Revert "Edit dnd icon in volume dialog"" into pi-dev
am: 630f58ea04

Change-Id: I21798a70399579f32f2a34453e585b4f0758cf01

6 years agoMerge "Add ADAPTIVE_BATTERY_MANAGEMENT_ENABLED" into pi-dev
TreeHugger Robot [Wed, 25 Apr 2018 23:37:43 +0000 (23:37 +0000)]
Merge "Add ADAPTIVE_BATTERY_MANAGEMENT_ENABLED" into pi-dev

6 years agoUsing a list to store usage events
Suprabh Shukla [Wed, 25 Apr 2018 01:52:46 +0000 (18:52 -0700)]
Using a list to store usage events

Moving UsageEvent.Event objects to an array list sorted on the event
timestamps as there can be multiple events with the same timestamps.

Test: atest android.app.usage.EventListTest
Existing tests:
atest android.app.usage.cts.UsageStatsTest

Bug: 74406113
Change-Id: Idc7f2a8db6e5a9499b3b0b74efbf014b17fa495f