OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Wed, 21 Jun 2017 19:56:07 +0000 (19:56 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 242c3c497c  -s ours

Change-Id: Iaa7d2555bdcab5be052515f8f5d9c5c38360b4e9

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Wed, 21 Jun 2017 19:51:45 +0000 (19:51 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Fix mobile signal icon when in airplane mode" into oc-dev
Evan Laird [Wed, 21 Jun 2017 19:42:21 +0000 (19:42 +0000)]
Merge "Fix mobile signal icon when in airplane mode" into oc-dev
am: 6a651f81b5

Change-Id: Ie1fc63cf41efbe8006dad8ab80217f7d945b2de7

7 years agoMerge "Fix mobile signal icon when in airplane mode" into oc-dev
Evan Laird [Wed, 21 Jun 2017 19:31:22 +0000 (19:31 +0000)]
Merge "Fix mobile signal icon when in airplane mode" into oc-dev

7 years agoFix mobile signal icon when in airplane mode
Evan Laird [Tue, 20 Jun 2017 20:10:44 +0000 (16:10 -0400)]
Fix mobile signal icon when in airplane mode

1. Empty state was drawing a line too thing and not dark enough to be
seen.
2. Airplane mode should be the slashed, full signal, not the
empty one

Going into airplane mode now draws the full signal, lighter than normal,
with a slash. And the empty state now has a thicker line.

Test: runtest systemui
Fixes: 62794461
Change-Id: Ic5e40d2e0f6ebe0d270129f10883a1fcb146d717

7 years agoMerge "Fixed a bug where the panel could be stuck" into oc-dev
Selim Cinek [Wed, 21 Jun 2017 19:07:12 +0000 (19:07 +0000)]
Merge "Fixed a bug where the panel could be stuck" into oc-dev
am: e8dceabd98

Change-Id: I8f6b3e2f853ff5a066de02ae0a006ebb4f157078

7 years agoMerge "Fixed a a11y regression to click notifications" into oc-dev
Selim Cinek [Wed, 21 Jun 2017 18:58:02 +0000 (18:58 +0000)]
Merge "Fixed a a11y regression to click notifications" into oc-dev
am: b792f98446

Change-Id: I7d4a437367d40492effa95fcd0970389da7db592

7 years agoMerge "Fixed a bug where the panel could be stuck" into oc-dev
TreeHugger Robot [Wed, 21 Jun 2017 18:57:42 +0000 (18:57 +0000)]
Merge "Fixed a bug where the panel could be stuck" into oc-dev

7 years agoMerge "Fixed a a11y regression to click notifications" into oc-dev
Selim Cinek [Wed, 21 Jun 2017 18:48:53 +0000 (18:48 +0000)]
Merge "Fixed a a11y regression to click notifications" into oc-dev

7 years agoMerge "DnD: Total silence doesn't suppress A11y" into oc-dev
Jean-Michel Trivi [Wed, 21 Jun 2017 17:23:30 +0000 (17:23 +0000)]
Merge "DnD: Total silence doesn't suppress A11y" into oc-dev
am: 9f1494368b

Change-Id: Iaa671d4c7008609f0be7430b8f6c35f1021c7586

7 years agoMerge "DnD: Total silence doesn't suppress A11y" into oc-dev
Jean-Michel Trivi [Wed, 21 Jun 2017 17:15:31 +0000 (17:15 +0000)]
Merge "DnD: Total silence doesn't suppress A11y" into oc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 21 Jun 2017 16:53:11 +0000 (09:53 -0700)]
Import translations. DO NOT MERGE

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

7 years agoFixed a bug where the panel could be stuck
Selim Cinek [Wed, 21 Jun 2017 16:44:52 +0000 (09:44 -0700)]
Fixed a bug where the panel could be stuck

Test: collapse the panels, let go, tap quickly, panel isn't stuck
Bug: 62602000
Change-Id: I449bcd4a6207c054eb5d536ba48ff8f05e26eb9a

7 years agoFixed a a11y regression to click notifications
Selim Cinek [Wed, 21 Jun 2017 16:01:26 +0000 (09:01 -0700)]
Fixed a a11y regression to click notifications

Test: add notification, try clicking it on the lockscreen with talkback
Change-Id: I27dd75cab6bfdff3f534c31ebfb4df7a43129a6d
Fixes: 62767220

7 years agoMerge "Cleanup a.t.TestGrouping" am: 01dcf54e9a
Paul Duffin [Wed, 21 Jun 2017 09:18:01 +0000 (09:18 +0000)]
Merge "Cleanup a.t.TestGrouping" am: 01dcf54e9a
am: e6ac3a4efc

Change-Id: Id41ba23de38e5131460cad283fd5d7bea66d2156

7 years agoMerge "Cleanup a.t.TestGrouping"
Paul Duffin [Wed, 21 Jun 2017 09:11:24 +0000 (09:11 +0000)]
Merge "Cleanup a.t.TestGrouping"
am: 01dcf54e9a

Change-Id: I58a278b7c45afe27309cf0029e9fb8fd452b22f2

7 years agoMerge "Cleanup a.t.TestGrouping"
Treehugger Robot [Wed, 21 Jun 2017 09:03:26 +0000 (09:03 +0000)]
Merge "Cleanup a.t.TestGrouping"

7 years agoMerge "Merge "Allow Instant Apps to call getPermissionControllerPackageName" into...
Android Build Merger (Role) [Wed, 21 Jun 2017 08:20:47 +0000 (08:20 +0000)]
Merge "Merge "Allow Instant Apps to call getPermissionControllerPackageName" into oc-dev am: 88f98985d5" into oc-dev-plus-aosp

7 years agoMerge "Allow Instant Apps to call getPermissionControllerPackageName" into oc-dev
Chad Brubaker [Wed, 21 Jun 2017 08:19:51 +0000 (08:19 +0000)]
Merge "Allow Instant Apps to call getPermissionControllerPackageName" into oc-dev
am: 88f98985d5

Change-Id: Ifc85ffb37f139cd499fd2ebef4cfc6f6d9fcd932

7 years agoMerge "Remove unused a.t.InstrumentationUtils" am: 0e4f1358d6
Paul Duffin [Wed, 21 Jun 2017 08:16:42 +0000 (08:16 +0000)]
Merge "Remove unused a.t.InstrumentationUtils" am: 0e4f1358d6
am: 08c12d21f5

Change-Id: I46ab06228623aa4e350b1285761e062e1d7393c0

7 years agoMerge "Allow Instant Apps to call getPermissionControllerPackageName" into oc-dev
TreeHugger Robot [Wed, 21 Jun 2017 08:14:06 +0000 (08:14 +0000)]
Merge "Allow Instant Apps to call getPermissionControllerPackageName" into oc-dev

7 years agoMerge "Cleanup a.t.InstrumentationTestRunner" am: 9d5576e081
Paul Duffin [Wed, 21 Jun 2017 08:13:05 +0000 (08:13 +0000)]
Merge "Cleanup a.t.InstrumentationTestRunner" am: 9d5576e081
am: 66b8ef6615

Change-Id: I3ca3f23c2f8a741daf867aad08f57bac373e5d91

7 years agoMerge "Remove unused a.t.s.InstrumentationTestSuiteBuilder" am: 1935dce8eb
Paul Duffin [Wed, 21 Jun 2017 08:07:14 +0000 (08:07 +0000)]
Merge "Remove unused a.t.s.InstrumentationTestSuiteBuilder" am: 1935dce8eb
am: a4d2464189

Change-Id: I88278d5cfd8fc3466cce39de3de54e34d67cbe0f

7 years agoMerge "Remove unused a.t.InstrumentationUtils"
Paul Duffin [Wed, 21 Jun 2017 08:03:58 +0000 (08:03 +0000)]
Merge "Remove unused a.t.InstrumentationUtils"
am: 0e4f1358d6

Change-Id: Id4f1845ec46d9b79fbfbc8a7ca6f75279fef69f0

7 years agoMerge "Remove unused android.test.DatabaseTestUtils" am: 3724e7e5e9
Paul Duffin [Wed, 21 Jun 2017 08:03:56 +0000 (08:03 +0000)]
Merge "Remove unused android.test.DatabaseTestUtils" am: 3724e7e5e9
am: e6e0601862

Change-Id: I2c5e4c7af30893d9183ee35326814fcb4506d0e8

7 years agoMerge "Cleanup a.t.InstrumentationTestRunner"
Paul Duffin [Wed, 21 Jun 2017 08:00:45 +0000 (08:00 +0000)]
Merge "Cleanup a.t.InstrumentationTestRunner"
am: 9d5576e081

Change-Id: I376079be6f5e56adf51fec62ed3f89969029c0a1

7 years agoMerge "Remove unused a.t.s.InstrumentationTestSuiteBuilder"
Paul Duffin [Wed, 21 Jun 2017 07:57:54 +0000 (07:57 +0000)]
Merge "Remove unused a.t.s.InstrumentationTestSuiteBuilder"
am: 1935dce8eb

Change-Id: If6e86d76bd8dfca6e91cc6eeda20cd1492980b1e

7 years agoMerge "Remove unused android.test.DatabaseTestUtils"
Paul Duffin [Wed, 21 Jun 2017 07:55:06 +0000 (07:55 +0000)]
Merge "Remove unused android.test.DatabaseTestUtils"
am: 3724e7e5e9

Change-Id: Iebf38b15aaae0317935fe00e07d00cf806ab5942

7 years agoMerge "Remove unused a.t.InstrumentationUtils"
Paul Duffin [Wed, 21 Jun 2017 07:46:41 +0000 (07:46 +0000)]
Merge "Remove unused a.t.InstrumentationUtils"

7 years agoMerge "Cleanup a.t.InstrumentationTestRunner"
Paul Duffin [Wed, 21 Jun 2017 07:46:04 +0000 (07:46 +0000)]
Merge "Cleanup a.t.InstrumentationTestRunner"

7 years agoMerge "Remove unused a.t.s.InstrumentationTestSuiteBuilder"
Paul Duffin [Wed, 21 Jun 2017 07:46:02 +0000 (07:46 +0000)]
Merge "Remove unused a.t.s.InstrumentationTestSuiteBuilder"

7 years agoMerge "Remove unused android.test.DatabaseTestUtils"
Paul Duffin [Wed, 21 Jun 2017 07:46:00 +0000 (07:46 +0000)]
Merge "Remove unused android.test.DatabaseTestUtils"

7 years agoMerge "Always allow Ethernet to be an upstream" am: ecbe6fa147
Erik Kline [Wed, 21 Jun 2017 07:20:54 +0000 (07:20 +0000)]
Merge "Always allow Ethernet to be an upstream" am: ecbe6fa147
am: 9cec380720

Change-Id: I97cc3c5ad7dcd4359c28e6aa817856a226a4f8cc

7 years agoMerge "Always allow Ethernet to be an upstream"
Erik Kline [Wed, 21 Jun 2017 07:13:46 +0000 (07:13 +0000)]
Merge "Always allow Ethernet to be an upstream"
am: ecbe6fa147

Change-Id: Ic9fd4bfd6ba7ecc00552019f804b87bc203ea98a

7 years agoMerge "Always allow Ethernet to be an upstream"
Treehugger Robot [Wed, 21 Jun 2017 07:06:47 +0000 (07:06 +0000)]
Merge "Always allow Ethernet to be an upstream"

7 years agoAllow Instant Apps to call getPermissionControllerPackageName
Chad Brubaker [Wed, 21 Jun 2017 06:13:21 +0000 (23:13 -0700)]
Allow Instant Apps to call getPermissionControllerPackageName

This is needed for requesting permissions to work.

Bug: 62791664
Test: Requesting a runtime permission doesn't crash the app
Change-Id: If18ac8e4c903f3804ec24df39d169fa9145f449e

7 years agoAlways allow Ethernet to be an upstream
Erik Kline [Thu, 9 Mar 2017 02:44:11 +0000 (11:44 +0900)]
Always allow Ethernet to be an upstream

If there are any upstream types defined at all, make sure that
either TYPE_ETHERNET is included somewhere within the sorted list
or force it to be at the front.

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 32163131
Bug: 36076442
Change-Id: Ie61d1358f73d518de23f6ca48ca2765ca14a1067

7 years agoMerge changes from topics 'bug_62802026_take_2', 'bug_62802026' into oc-dev
Felipe Leme [Wed, 21 Jun 2017 04:02:25 +0000 (04:02 +0000)]
Merge changes from topics 'bug_62802026_take_2', 'bug_62802026' into oc-dev
am: 4f7fd183eb

Change-Id: Id26a5cdd53035eb94d4de3c0acf4378268b24c2e

7 years agoFixed how FillEventHistory is reset and clarified javadoc.
Felipe Leme [Wed, 21 Jun 2017 04:00:28 +0000 (04:00 +0000)]
Fixed how FillEventHistory is reset and clarified javadoc.
am: 2e30c6f371

Change-Id: Ib4722f448f977e79d6d9dd8e3132db7167e91b03

7 years agoMerge changes from topics 'bug_62802026_take_2', 'bug_62802026' into oc-dev
TreeHugger Robot [Wed, 21 Jun 2017 03:45:42 +0000 (03:45 +0000)]
Merge changes from topics 'bug_62802026_take_2', 'bug_62802026' into oc-dev

* changes:
  Don't add FillEventHistory events to the wrong session.
  Fixed how FillEventHistory is reset and clarified javadoc.

7 years agoMerge "Small doc fix." into oc-dev
Dianne Hackborn [Wed, 21 Jun 2017 02:02:48 +0000 (02:02 +0000)]
Merge "Small doc fix." into oc-dev
am: 0f98ddaa01

Change-Id: Ib0da1db5f79b054f3826e0b3b3d0d3e4716530f2

7 years agoMerge "Small doc fix." into oc-dev
TreeHugger Robot [Wed, 21 Jun 2017 01:58:56 +0000 (01:58 +0000)]
Merge "Small doc fix." into oc-dev

7 years agoMerge "SurfaceView: Fix positioning issue when toggling visibility." into oc-dev
Rob Carr [Wed, 21 Jun 2017 01:56:41 +0000 (01:56 +0000)]
Merge "SurfaceView: Fix positioning issue when toggling visibility." into oc-dev
am: 70f1565b55

Change-Id: Id6fa287aa7c7edb2fd59a3bcbeef2aade35961e7

7 years agoMerge "SurfaceView: Fix positioning issue when toggling visibility." into oc-dev
Rob Carr [Wed, 21 Jun 2017 01:47:51 +0000 (01:47 +0000)]
Merge "SurfaceView: Fix positioning issue when toggling visibility." into oc-dev

7 years agoMerge "[DO NOT MERGE] Support native shared libs" into oc-dev
Svetoslav Ganov [Wed, 21 Jun 2017 01:19:42 +0000 (01:19 +0000)]
Merge "[DO NOT MERGE] Support native shared libs" into oc-dev
am: 324c41ba89

Change-Id: Ia774a4f3bd1af7c334b2844f87fa8850de48f2f7

7 years agoMerge "[DO NOT MERGE] Support native shared libs" into oc-dev
Svetoslav Ganov [Wed, 21 Jun 2017 01:06:14 +0000 (01:06 +0000)]
Merge "[DO NOT MERGE] Support native shared libs" into oc-dev

7 years agoDon't add FillEventHistory events to the wrong session.
Felipe Leme [Wed, 21 Jun 2017 00:15:45 +0000 (17:15 -0700)]
Don't add FillEventHistory events to the wrong session.

The AutofillSession.getFillEventHistory() method returns only the event history
for the last onFillRequest(). In the scenario where the user switches
activities and the server has multiple sessions open, only the events for the
last session should be recorded.

Test: existing CtsAutoFillServiceTestCases pass
Test: LoginActivityTest.checkFillSelectionFromPreviousSessionIsDiscarded

Fixes: 62802026

Change-Id: I447ed77c2167095867b35d616b5cf2ae43aa28db

7 years agoMerge "Added dumsys activity starter" into oc-dev
Wale Ogunwale [Tue, 20 Jun 2017 23:29:56 +0000 (23:29 +0000)]
Merge "Added dumsys activity starter" into oc-dev
am: ea0de895bb

Change-Id: I7212c30b68f1dbd76b9478975da2b4232eec5ee4

7 years agoMerge "Added dumsys activity starter" into oc-dev
TreeHugger Robot [Tue, 20 Jun 2017 23:18:05 +0000 (23:18 +0000)]
Merge "Added dumsys activity starter" into oc-dev

7 years agoMerge "Retrying the remoteview application on the ui thread" into oc-dev
Selim Cinek [Tue, 20 Jun 2017 22:56:33 +0000 (22:56 +0000)]
Merge "Retrying the remoteview application on the ui thread" into oc-dev
am: 07b93779ba

Change-Id: I827a9c9d1ece9fec41200c03400bcdf88b248cce

7 years agoMerge "Removed deprecated, hidden method." into oc-dev
Felipe Leme [Tue, 20 Jun 2017 22:46:50 +0000 (22:46 +0000)]
Merge "Removed deprecated, hidden method." into oc-dev
am: 17efecf48f

Change-Id: Ic78e1312a1230ef6765551c6104b3caba8ca6a08

7 years agoDnD: Total silence doesn't suppress A11y
Jean-Michel Trivi [Tue, 20 Jun 2017 21:58:18 +0000 (14:58 -0700)]
DnD: Total silence doesn't suppress A11y

When entering Total silence mode, text prompts from a11y were losing
 AppOpsManager.OP_PLAY_AUDIO, causing them to play muted (amplification
 of 0.0f) even though the STREAM_ACCESSIBILITY volume was not.
The fix consists in adding another category of sound suppression
 behavior in AudioAttributes, for usage types that should never be
 suppressed (== muted), and using it for USAGE_ACCESSIBILITY.
 When ZenModeHelper iterates over usages to mute/unmute players,
 consider whether that usage's suppression behavior is SUPPRESSIBLE_NEVER.

Test: turn Talkback on, then enter Total silence and verify Talkback is heard
Bug 62827456

Change-Id: I48cae48797ef9bc6bcaee82484ba078ee445345c

7 years agoMerge "[Companion] Fix notification access dialog being in new task" into oc-dev
Eugene Susla [Tue, 20 Jun 2017 22:44:46 +0000 (22:44 +0000)]
Merge "[Companion] Fix notification access dialog being in new task" into oc-dev
am: 2eacbac8c3

Change-Id: Ic1566785ba2efae73469729f70b43775af02e57c

7 years agoMerge "Retrying the remoteview application on the ui thread" into oc-dev
Selim Cinek [Tue, 20 Jun 2017 22:40:59 +0000 (22:40 +0000)]
Merge "Retrying the remoteview application on the ui thread" into oc-dev

7 years agoMerge "Add a new flag to check if provisioning is completed on ATV" into oc-dev
Sujith Ramakrishnan [Tue, 20 Jun 2017 22:36:25 +0000 (22:36 +0000)]
Merge "Add a new flag to check if provisioning is completed on ATV" into oc-dev
am: 59c6385bf9

Change-Id: I61b688030f11cbe745dadd0a541d9196eb36d21c

7 years agoMerge "Removed deprecated, hidden method." into oc-dev
TreeHugger Robot [Tue, 20 Jun 2017 22:31:17 +0000 (22:31 +0000)]
Merge "Removed deprecated, hidden method." into oc-dev

7 years agoMerge "[Companion] Fix notification access dialog being in new task" into oc-dev
TreeHugger Robot [Tue, 20 Jun 2017 22:22:54 +0000 (22:22 +0000)]
Merge "[Companion] Fix notification access dialog being in new task" into oc-dev

7 years agoMerge "Limit creating new surface for legacy apps to size changes." into oc-dev
Bryce Lee [Tue, 20 Jun 2017 22:17:39 +0000 (22:17 +0000)]
Merge "Limit creating new surface for legacy apps to size changes." into oc-dev
am: d523125679

Change-Id: I191b285ed3785f9937c91162d3aa875a285cb51a

7 years agoMerge "Add a new flag to check if provisioning is completed on ATV" into oc-dev
TreeHugger Robot [Tue, 20 Jun 2017 22:13:09 +0000 (22:13 +0000)]
Merge "Add a new flag to check if provisioning is completed on ATV" into oc-dev

7 years agoMerge "Limit creating new surface for legacy apps to size changes." into oc-dev
Bryce Lee [Tue, 20 Jun 2017 22:05:22 +0000 (22:05 +0000)]
Merge "Limit creating new surface for legacy apps to size changes." into oc-dev

7 years agoSurfaceView: Fix positioning issue when toggling visibility.
Robert Carr [Tue, 20 Jun 2017 21:55:21 +0000 (14:55 -0700)]
SurfaceView: Fix positioning issue when toggling visibility.

There is an issue (seemingly preexisting) with getPositionInWindow
after toggling view visibility. We see it when showing a view,
hiding it, and then showing it again. At this point we end up
with this call-stack:
   SurfaceView#setVisibility->SurfaceView#updateSurface
   ->View#getPositionInWindow
and getPositionInWindow fills in the wrong values. This newly discovered
bug is tracked as 62839113.

In a second bug, introduced in the SurfaceView refactoring,
we are not appropriately clearing the last RenderThread reported
position when toggling visibility. This means that even after the
setVisibility call when getPositionInWindow begins returning
the correct values, we don't update the position. This CL fixes
that and fixes 62653411 as a result. However we still have a flicker
as we did in N as the initial position is wrong.

Test: Manual from bug, go/wm-smoke
Change-Id: I1037b8dfdb343f9ce8c8616eb9197c6d039ed133
Fixes: 62653411
Bug: 62839113

7 years agoFixed how FillEventHistory is reset and clarified javadoc.
Felipe Leme [Tue, 20 Jun 2017 17:55:01 +0000 (10:55 -0700)]
Fixed how FillEventHistory is reset and clarified javadoc.

Test: existing CtsAutoFillServiceTestCases pass
Test: checkFillSelectionIsResetAfterReturningNull()
Test: checkFillSelectionIsResetAfterReturningError()
Test: checkFillSelectionIsResetAfterTimeout()

Bug: 62802026

Change-Id: I389d95fc13c08f1056960e5f67e131c8dc306401

7 years agoAdded dumsys activity starter
Wale Ogunwale [Tue, 20 Jun 2017 20:38:14 +0000 (13:38 -0700)]
Added dumsys activity starter

Dumps the last state of ActivityStarter to help debug ANR issue.
Also log reason for starting an activity.

Bug: 38121026
Test: adb shell dumpsys activity starter
Change-Id: Ib77ff974b1122946fac96f8835ab3fdfc732cf7b

7 years agoMerge "Disable activity leak detection by default for userdebug" into oc-dev
Mathieu Chartier [Tue, 20 Jun 2017 20:05:29 +0000 (20:05 +0000)]
Merge "Disable activity leak detection by default for userdebug" into oc-dev
am: 956ea5f09d

Change-Id: Iadacd64e92c1963b2417bad96838ba2c128ec8cb

7 years agoMerge "Fix battery percent text not updating on Font size change" into oc-dev
Evan Laird [Tue, 20 Jun 2017 19:59:02 +0000 (19:59 +0000)]
Merge "Fix battery percent text not updating on Font size change" into oc-dev
am: 2ca91661f0

Change-Id: I26680deb22ded21d970cd213e20f6d96d7ae8cc3

7 years agoMerge "Disable activity leak detection by default for userdebug" into oc-dev
Mathieu Chartier [Tue, 20 Jun 2017 19:55:19 +0000 (19:55 +0000)]
Merge "Disable activity leak detection by default for userdebug" into oc-dev

7 years agoMerge "Fix battery percent text not updating on Font size change" into oc-dev
Evan Laird [Tue, 20 Jun 2017 19:49:34 +0000 (19:49 +0000)]
Merge "Fix battery percent text not updating on Font size change" into oc-dev

7 years ago[DO NOT MERGE] Support native shared libs
Svet Ganov [Fri, 16 Jun 2017 22:04:01 +0000 (15:04 -0700)]
[DO NOT MERGE] Support native shared libs

Add the shared libs that are APKs to the native library
path when creating application class loaders. Also don't
allow shared libraries hosting native libs to request
extraction of the native libs out of the APK. Lastly,
shared libraries hosting native libs must be declared
as multi-architecture.

Test: CTS tests in this topic

bug:62720360

Change-Id: I0a398593ebe41b2976cb706ca8a388005f5aec83

7 years agoRetrying the remoteview application on the ui thread
Selim Cinek [Mon, 19 Jun 2017 23:58:35 +0000 (16:58 -0700)]
Retrying the remoteview application on the ui thread

Because of various reasons, the async inflation could spuriously
fail, leading to dropped notifications.
We're now retrying them on the UI thread before we fail completely.

Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationInflaterTest.java
Bug: 38190555
Change-Id: I13feaeaad925b72798a22194add16528c9438412

7 years agoMerge "remove the lock-use for prunePrintService in case blocking main thread" into...
Philip P. Moltmann [Tue, 20 Jun 2017 18:41:53 +0000 (18:41 +0000)]
Merge "remove the lock-use for prunePrintService in case blocking main thread" into oc-dev
am: c06746ce46  -s ours

Change-Id: Ide56fc37ebe8e06c6914e8212b232876d535f716

7 years agoMerge "remove the lock-use for prunePrintService in case blocking main thread" into...
Philip P. Moltmann [Tue, 20 Jun 2017 18:28:03 +0000 (18:28 +0000)]
Merge "remove the lock-use for prunePrintService in case blocking main thread" into oc-dev

7 years agoMerge "Look on all displays if can't launch on a source secondary one" into oc-dev
Andrii Kulian [Tue, 20 Jun 2017 18:11:02 +0000 (18:11 +0000)]
Merge "Look on all displays if can't launch on a source secondary one" into oc-dev
am: d883070267

Change-Id: I92bd1ad211fb97bf27fe34a8d1fe4c57c6c46d89

7 years agoMerge "Look on all displays if can't launch on a source secondary one" into oc-dev
Andrii Kulian [Tue, 20 Jun 2017 18:01:14 +0000 (18:01 +0000)]
Merge "Look on all displays if can't launch on a source secondary one" into oc-dev

7 years agoLimit creating new surface for legacy apps to size changes.
Bryce Lee [Tue, 20 Jun 2017 17:47:55 +0000 (10:47 -0700)]
Limit creating new surface for legacy apps to size changes.

Creating the surface for every change (such as creation and
visibility) can lead to issues swapping buffers. This
changelist limits the action to only when the size changes.

Change-Id: Ic549d244613a93a43a9f4ddf284bbfb0c13300fa
Fixes: 62801621
Test: follow repro steps in bug, verified no crash.
Test: go/wm-smoke

7 years agoMerge "Fix QS wifi accessibility announcements" into oc-dev
Jason Monk [Tue, 20 Jun 2017 17:46:52 +0000 (17:46 +0000)]
Merge "Fix QS wifi accessibility announcements" into oc-dev
am: accdadae9d

Change-Id: I9ffba74a945475525a60226ba4c106af9ca99579

7 years agoMerge "Fix QS wifi accessibility announcements" into oc-dev
Jason Monk [Tue, 20 Jun 2017 17:32:26 +0000 (17:32 +0000)]
Merge "Fix QS wifi accessibility announcements" into oc-dev

7 years agoRemoved deprecated, hidden method.
Felipe Leme [Tue, 20 Jun 2017 17:16:59 +0000 (10:16 -0700)]
Removed deprecated, hidden method.

Test: existing CtsAutoFillServiceTestCases pass
Bug: 37563972

Change-Id: I10c5a2b16b422694d72b3ccaf6629d50247c7f49

7 years agoFix QS wifi accessibility announcements
Jason Monk [Tue, 20 Jun 2017 17:16:05 +0000 (13:16 -0400)]
Fix QS wifi accessibility announcements

The state was being inverted in events to try to get clicks correct,
but events can occur at other times, so really we want to invert
the state between when the click happens and when the next state
change occurs. Also add a toString to fix equals checks on the content
description to make the announcements less noisy.

Test: manual
Change-Id: Ie4159664e9a81fd1719dbf7c06fba5e7b827cc6d
Fixes: 62679498

7 years agoMerge "Correct lastId on onCreate with unexpected state" into oc-dev
Philip P. Moltmann [Tue, 20 Jun 2017 15:48:50 +0000 (15:48 +0000)]
Merge "Correct lastId on onCreate with unexpected state" into oc-dev
am: aed0c10d52

Change-Id: I821aba22236152a8a0230a0db7a3710ad7731d12

7 years agoMerge "Correct lastId on onCreate with unexpected state" into oc-dev
Philip P. Moltmann [Tue, 20 Jun 2017 15:42:13 +0000 (15:42 +0000)]
Merge "Correct lastId on onCreate with unexpected state" into oc-dev

7 years agoMerge "Remove unused a.t.InstrumentationCoreTestRunner" am: 1bfccadc81
Paul Duffin [Tue, 20 Jun 2017 15:05:46 +0000 (15:05 +0000)]
Merge "Remove unused a.t.InstrumentationCoreTestRunner" am: 1bfccadc81
am: dfc6939ed5

Change-Id: I5ccdb58bbcde73a33bdce9b65d95aad2bf7b931f

7 years agoMerge "Track TimeZoneDistroInstaller method changes" am: ba6b96d978
Neil Fuller [Tue, 20 Jun 2017 15:02:37 +0000 (15:02 +0000)]
Merge "Track TimeZoneDistroInstaller method changes" am: ba6b96d978
am: 7ab9d93fa4

Change-Id: I0388475b92a6b4f981d5027992af461f48181ab2

7 years agoMerge "Remove unused a.t.InstrumentationCoreTestRunner"
Paul Duffin [Tue, 20 Jun 2017 14:54:46 +0000 (14:54 +0000)]
Merge "Remove unused a.t.InstrumentationCoreTestRunner"
am: 1bfccadc81

Change-Id: Id624c17f7d5da6fa81cfac9a21726042b793c270

7 years agoMerge "Remove unused a.t.InstrumentationCoreTestRunner"
Treehugger Robot [Tue, 20 Jun 2017 14:44:57 +0000 (14:44 +0000)]
Merge "Remove unused a.t.InstrumentationCoreTestRunner"

7 years agoCleanup a.t.TestGrouping
Paul Duffin [Tue, 20 Jun 2017 13:53:48 +0000 (14:53 +0100)]
Cleanup a.t.TestGrouping

TestGrouping is not part of the API but is used by classes that are and
so will need to be included in the static library we ship as part of the
SDK. As that library will be built directly from the source (as opposed
to android.jar which is built from stubs) developers will be able to see
classes and methods that are hidden and so not present in the stubs.

This change makes TestGrouping and its members as inaccessible as
possible. Unused methods and fields were removed and the TestGrouping
class was simplified by passing the ClassLoader into the constructor,
initializing the classLoader, making the classLoader field final,
and removing the setClassLoader(ClassLoader) method.

Bug: 30188076
Test: make checkbuild
Change-Id: Ie0545b1a61b74cdbc78667417f360b5197e2e128

7 years agoRemove unused a.t.InstrumentationUtils
Paul Duffin [Tue, 20 Jun 2017 13:04:27 +0000 (14:04 +0100)]
Remove unused a.t.InstrumentationUtils

Bug: 30188076
Test: make checkbuild
Change-Id: Ia06e4ae77f2c0ca341ef7c04f5f32bdd6a06d59c

7 years agoCleanup a.t.InstrumentationTestRunner
Paul Duffin [Tue, 20 Jun 2017 13:41:20 +0000 (14:41 +0100)]
Cleanup a.t.InstrumentationTestRunner

ARGUMENT_TEST_CLASS, ARGUMENT_TEST_PACKAGE, ARGUMENT_TEST_SIZE_PREDICATE
and ARGUMENT_DELAY_MSEC were made package private because they are not
part of the API and are only used from within the same package.

The JavaDoc comment was changed to a multi-line comment because it is
not and should not be associated with any member.

Fixed a couple of minor JavaDoc issues.

Bug: 30188076
Test: make checkbuild
Change-Id: If28460aec2fd0080e0f5346a83abae393b7a9fb2

7 years agoRemove unused a.t.s.InstrumentationTestSuiteBuilder
Paul Duffin [Tue, 20 Jun 2017 13:03:28 +0000 (14:03 +0100)]
Remove unused a.t.s.InstrumentationTestSuiteBuilder

Bug: 30188076
Test: make checkbuild
Change-Id: I30514123c077e6047227f888f5f1a20e71ee1988

7 years agoRemove unused a.t.InstrumentationCoreTestRunner
Paul Duffin [Tue, 20 Jun 2017 10:05:25 +0000 (11:05 +0100)]
Remove unused a.t.InstrumentationCoreTestRunner

The only usage of this was in the unused
cts/tests/vm-tests-tf/AndroidManifest.xml which was deleted in
https://android-review.googlesource.com/#/c/418900/.

Bug: 30188076
Test: make checkbuild
Change-Id: I96f3586a7017f4cd14fa31207e0fff19c92f0de4

7 years agoresolve merge conflicts of 9e6b6e2a58d4 to oc-dev-plus-aosp
Erik Kline [Tue, 20 Jun 2017 12:18:31 +0000 (21:18 +0900)]
resolve merge conflicts of 9e6b6e2a58d4 to oc-dev-plus-aosp

Test: I solemnly swear I tested this conflict resolution.
Change-Id: I2104ecf8102c8f9541ee2d3ce6589b0081db4fe3

7 years agoRemove unused android.test.DatabaseTestUtils
Paul Duffin [Tue, 20 Jun 2017 13:00:03 +0000 (14:00 +0100)]
Remove unused android.test.DatabaseTestUtils

Bug: 30188076
Test: make checkbuild
Change-Id: I11b1a3b90b9d17af9278ec8b28483eee01b75e81

7 years agoMerge "Track TimeZoneDistroInstaller method changes"
Neil Fuller [Tue, 20 Jun 2017 12:12:11 +0000 (12:12 +0000)]
Merge "Track TimeZoneDistroInstaller method changes"
am: ba6b96d978

Change-Id: I9352872ceb2d11739a4372589f69bb473f3457d3

7 years agoMerge "Track TimeZoneDistroInstaller method changes"
Treehugger Robot [Tue, 20 Jun 2017 12:06:29 +0000 (12:06 +0000)]
Merge "Track TimeZoneDistroInstaller method changes"

7 years agoMerge "Create a TetherInterfaceStateMachine when told the interface name."
Erik Kline [Tue, 20 Jun 2017 11:12:00 +0000 (11:12 +0000)]
Merge "Create a TetherInterfaceStateMachine when told the interface name."
am: 51ee00785c

Change-Id: If79a096375e6b9665d5ba4aa0bcd9dbec6a8adab

7 years agoMerge "Create a TetherInterfaceStateMachine when told the interface name."
Erik Kline [Tue, 20 Jun 2017 11:01:13 +0000 (11:01 +0000)]
Merge "Create a TetherInterfaceStateMachine when told the interface name."

7 years agoCreate a TetherInterfaceStateMachine when told the interface name.
Erik Kline [Tue, 20 Jun 2017 08:18:27 +0000 (17:18 +0900)]
Create a TetherInterfaceStateMachine when told the interface name.

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 32163131
Bug: 62343300

Change-Id: I93f3bdcf20dc4f03cd621d7ab6066344642550e3

7 years agoresolve merge conflicts of 48bc4c1f420d to stage-aosp-master
Hugo Benichi [Tue, 20 Jun 2017 07:18:25 +0000 (07:18 +0000)]
resolve merge conflicts of 48bc4c1f420d to stage-aosp-master
am: ca0c91b9f1

Change-Id: I941327a914d4a44e63a5f57fc0aa98d778fef949

7 years agoresolve merge conflicts of 48bc4c1f420d to stage-aosp-master
Hugo Benichi [Tue, 20 Jun 2017 07:02:33 +0000 (16:02 +0900)]
resolve merge conflicts of 48bc4c1f420d to stage-aosp-master

Change-Id: I41889b0497463e8a63cf2d1e983e7e54298c5c2e

7 years agoMerge "Better errors from unregisterNetworkCallback" am: 04e89ad631
Hugo Benichi [Tue, 20 Jun 2017 05:19:46 +0000 (05:19 +0000)]
Merge "Better errors from unregisterNetworkCallback" am: 04e89ad631
am: ca6ebb0f39

Change-Id: Ib380ee7c3fc85db353682ee7abfe97842eaeeb29

7 years agoMerge "Better errors from unregisterNetworkCallback"
Hugo Benichi [Tue, 20 Jun 2017 05:12:39 +0000 (05:12 +0000)]
Merge "Better errors from unregisterNetworkCallback"
am: 04e89ad631

Change-Id: Icbd68ff14db55c6546c7de6353774a3622b32f9e