OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Darker extracted gradients." into oc-dr1-dev
TreeHugger Robot [Thu, 22 Jun 2017 16:54:36 +0000 (16:54 +0000)]
Merge "Darker extracted gradients." into oc-dr1-dev

7 years agoMerge "Use id directly when extensions change fragments" into oc-dr1-dev
TreeHugger Robot [Thu, 22 Jun 2017 16:25:48 +0000 (16:25 +0000)]
Merge "Use id directly when extensions change fragments" into oc-dr1-dev

7 years agoUse id directly when extensions change fragments
Jason Monk [Thu, 22 Jun 2017 14:09:29 +0000 (10:09 -0400)]
Use id directly when extensions change fragments

This avoids a crash if the fragment hasn't been created yet.

Test: manual
Change-Id: I0799c50a3482c3c60fd0e27d486db5214e92f183
Fixes: 37855553

7 years agoMerge "Add CustomDialogPreference and CustomEditTextPreference to SettingsLib." into...
Juan Lang [Thu, 22 Jun 2017 14:05:53 +0000 (14:05 +0000)]
Merge "Add CustomDialogPreference and CustomEditTextPreference to SettingsLib." into oc-dr1-dev

7 years agoMerge "Refactor TISM add/remove code" into oc-dev
Erik Kline [Thu, 22 Jun 2017 13:54:27 +0000 (13:54 +0000)]
Merge "Refactor TISM add/remove code" into oc-dev
am: c0af382a25  -s ours

Change-Id: I3b5e596034d8f5078dac107d754aec0f77d9ba89

7 years agoMerge "Autofill fixes for secondary users:" into oc-dev
Felipe Leme [Thu, 22 Jun 2017 13:51:25 +0000 (13:51 +0000)]
Merge "Autofill fixes for secondary users:" into oc-dev
am: 6358cdcd28

Change-Id: Ic42bd782988bec610281b651346a5809e912c823

7 years agoMerge "Clarify startScan API on how to get results" into oc-dev
Amith Yamasani [Thu, 22 Jun 2017 13:48:51 +0000 (13:48 +0000)]
Merge "Clarify startScan API on how to get results" into oc-dev
am: 78f3a0f722

Change-Id: Ibc04014f224ecbc666c8296a2b25d939fbfc9921

7 years agoMerge "Provide content description for WorkLockActivity." into oc-dev
Pavel Grafov [Thu, 22 Jun 2017 13:45:52 +0000 (13:45 +0000)]
Merge "Provide content description for WorkLockActivity." into oc-dev
am: f044e0b87f

Change-Id: I404ec7b0fa7fecb0e4945beca32c634358e0b33e

7 years agoMerge "Create Splash Screen context with CONTEXT_RESTRICTED." into oc-dev
Rob Carr [Thu, 22 Jun 2017 13:42:47 +0000 (13:42 +0000)]
Merge "Create Splash Screen context with CONTEXT_RESTRICTED." into oc-dev
am: 8bc0aa2559

Change-Id: I45a7ed913929eeb8d1b6eda6855fe7976fa64a14

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Thu, 22 Jun 2017 13:39:36 +0000 (13:39 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 7c23c990f1  -s ours

Change-Id: Ib192e1569074bcd19d38d8e67a8378f63ca99164

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Thu, 22 Jun 2017 13:35:55 +0000 (13:35 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 242c3c497c  -s ours

Change-Id: Idbb294776a7400de5aebb99b9a45f7121c7415f6

7 years agoMerge "Merge commit '6a651f81b52dcdc6518f1fc138985365feae4bfb' into oc-dr1-dev" into...
TreeHugger Robot [Thu, 22 Jun 2017 13:31:40 +0000 (13:31 +0000)]
Merge "Merge commit '6a651f81b52dcdc6518f1fc138985365feae4bfb' into oc-dr1-dev" into oc-dr1-dev

7 years agoMerge "Only disable Wi-Fi IP serving on specific interface, if available" into oc...
Erik Kline [Thu, 22 Jun 2017 09:31:03 +0000 (09:31 +0000)]
Merge "Only disable Wi-Fi IP serving on specific interface, if available" into oc-dr1-dev

7 years agoOnly disable Wi-Fi IP serving on specific interface, if available
Erik Kline [Fri, 9 Jun 2017 07:36:29 +0000 (16:36 +0900)]
Only disable Wi-Fi IP serving on specific interface, if available

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

Merged-In: Id8d9c3f67f7a850af69069abee86adfc62841b28
Merged-In: Iac19359fd8712fa6a135f31bed9f0da97b3f2977
Merged-In: I99b170ebacc4135d1a09ce1ec3d43f76c6765de4
Change-Id: Ifd9131bad20810ee24c9436d8c0df7a81fae11d5
(cherry picked from commit 218c226b0882640a351deb0dd945a30b8bc32fff)
(cherry picked from commit 798a93b0df76c4feb5ddd619b788f2cf9ea5bf77)

7 years agoMerge "Refactor TISM add/remove code" into oc-dev
TreeHugger Robot [Thu, 22 Jun 2017 04:52:32 +0000 (04:52 +0000)]
Merge "Refactor TISM add/remove code" into oc-dev

7 years agoMerge "Clean up dismiss target when last activity is unpinned." into oc-dr1-dev
TreeHugger Robot [Thu, 22 Jun 2017 03:43:42 +0000 (03:43 +0000)]
Merge "Clean up dismiss target when last activity is unpinned." into oc-dr1-dev

7 years agoMerge "Autofill fixes for secondary users:" into oc-dev
TreeHugger Robot [Thu, 22 Jun 2017 03:11:17 +0000 (03:11 +0000)]
Merge "Autofill fixes for secondary users:" into oc-dev

7 years agoRefactor TISM add/remove code
Erik Kline [Wed, 26 Apr 2017 02:11:07 +0000 (11:11 +0900)]
Refactor TISM add/remove code

This de-duplicates all the TISM adding and teardown code.
It does not yet change the locking or threading semantics.

Test: as follows
    - built
    - flashed
    - booted
    - "runtest frameworks-net" passes
    - manual tethering of WiFi and USB start normally
Bug: 32163131
Bug: 36216864
Bug: 62343300

Merged-In: I8ed82272183022a0469011a1f993704ecf771e3f
Merged-In: Ic1bcb3ca011bdc886086f34be18409eb5b12f521
Merged-In: I44a57660d23e76a7c13368cb8f60eaeac5830a0a
Change-Id: I44a57660d23e76a7c13368cb8f60eaeac5830a0a
(cherry picked from commit 4dd9bb83e2779b309dcc7a7db389b16fa3cb05be)

7 years agoMerge "Clarify startScan API on how to get results" into oc-dev
TreeHugger Robot [Thu, 22 Jun 2017 01:14:12 +0000 (01:14 +0000)]
Merge "Clarify startScan API on how to get results" into oc-dev

7 years agoClean up dismiss target when last activity is unpinned.
Winson Chung [Tue, 20 Jun 2017 00:01:51 +0000 (17:01 -0700)]
Clean up dismiss target when last activity is unpinned.

Bug: 37309693
Test: Enter PIP, drag to show dismiss target, force kill application and
      ensure target is hidden.

Change-Id: Ia41f8252e32a2ff3396796562874a6c47777030d

7 years agoAutofill fixes for secondary users:
Felipe Leme [Thu, 22 Jun 2017 00:33:41 +0000 (17:33 -0700)]
Autofill fixes for secondary users:

- Display the SaveUI on all users.
- Dismiss the UI when switching users.
- Fix security check on disableOwnedAutofillServicesLocked()

Test: manual verification
Change-Id: I4e9167314f1feeda618db6c57735cc31d84486c1
Fixes: 62828906

7 years agoAdd CustomDialogPreference and CustomEditTextPreference to SettingsLib.
Juan Lang [Thu, 11 May 2017 00:04:29 +0000 (17:04 -0700)]
Add CustomDialogPreference and CustomEditTextPreference to SettingsLib.

These classes provides extends features provided by the platform's
versions to users of the support library's versions.

Test: make RunSettingsLibRoboTests
Bug: 30046624
Merged-In: I995d5755113a8fb6d2ecc2df9322ff59c8662fe4
Change-Id: I385c92762f61c8836fffd37b24a26939cc5bc864

7 years agoMerge commit '6a651f81b52dcdc6518f1fc138985365feae4bfb' into oc-dr1-dev
Evan Laird [Wed, 21 Jun 2017 22:24:36 +0000 (18:24 -0400)]
Merge commit '6a651f81b52dcdc6518f1fc138985365feae4bfb' into oc-dr1-dev

Picked up a fudge factor along a the way because of the way that the
rounded edges of oc-dr1 change the imaginary bounds of the triangle.
This should look good though.

Test: visual; runtest systemui
Change-Id: Ie79025c74bfeb136bb7f5ee7fe5604b2c12ab71e

7 years agoUse "%s Wi-Fi" as WFC SPN for 302-{720,370}
Meng Wang [Wed, 21 Jun 2017 22:09:29 +0000 (15:09 -0700)]
Use "%s Wi-Fi" as WFC SPN for 302-{720,370}

Bug: 62647106
Test: make
Change-Id: I109f4b78446f96a5cb10e0fc84935ad180c9146c

7 years agoMerge "Add enum to log psd bundle creation duration." into oc-dr1-dev
TreeHugger Robot [Wed, 21 Jun 2017 21:47:29 +0000 (21:47 +0000)]
Merge "Add enum to log psd bundle creation duration." into oc-dr1-dev

7 years agoMerge "Provide content description for WorkLockActivity." into oc-dev
Pavel Grafov [Wed, 21 Jun 2017 21:18:31 +0000 (21:18 +0000)]
Merge "Provide content description for WorkLockActivity." into oc-dev

7 years agoDarker extracted gradients.
Lucas Dupin [Sun, 18 Jun 2017 03:57:28 +0000 (20:57 -0700)]
Darker extracted gradients.

Bug: 62589787
Bug: 62572852
Test: visual
Change-Id: I88091af5f52227a2f79cd119a3ddcd1aa672a5e3

7 years agoClarify startScan API on how to get results
Amith Yamasani [Wed, 21 Jun 2017 21:06:44 +0000 (14:06 -0700)]
Clarify startScan API on how to get results

Make it clear in BluetoothLeScanner on how to get results
when starting a scan for a PendingIntent.

Bug: 38365430
Test: make offline-sdk-docs
Change-Id: I0bf88d751c89a8a478db985713357e153ac08595

7 years agoMerge "Create Splash Screen context with CONTEXT_RESTRICTED." into oc-dev
Rob Carr [Wed, 21 Jun 2017 21:01:42 +0000 (21:01 +0000)]
Merge "Create Splash Screen context with CONTEXT_RESTRICTED." into oc-dev

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

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

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 "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Wed, 21 Jun 2017 19:50:19 +0000 (19:50 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev

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:08:44 +0000 (19:08 +0000)]
Merge "Fixed a bug where the panel could be stuck" into oc-dev
am: e8dceabd98

Change-Id: I717e03ac52383494403aaaf886e970d86bb3f3e2

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

Change-Id: Idebc4fa9cb0b2512043b0aa817a96926ec0a0d2a

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 agoAdd enum to log psd bundle creation duration.
Matthew Fritze [Mon, 12 Jun 2017 21:23:59 +0000 (14:23 -0700)]
Add enum to log psd bundle creation duration.

Bug:62271803
Test: None. Enum change.
Change-Id: I46921e9330542e981f7983915127832096f6bcd2

7 years agoMerge "Add customs accessibility actions to snooze, allow it to be focused" into...
TreeHugger Robot [Wed, 21 Jun 2017 18:31:28 +0000 (18:31 +0000)]
Merge "Add customs accessibility actions to snooze, allow it to be focused" into oc-dr1-dev

7 years agoMerge "Make the log message in setInteractive a local variable." into oc-dr1-dev
TreeHugger Robot [Wed, 21 Jun 2017 18:26:53 +0000 (18:26 +0000)]
Merge "Make the log message in setInteractive a local variable." into oc-dr1-dev

7 years agoMerge "Support native shared libs" into oc-dr1-dev
TreeHugger Robot [Wed, 21 Jun 2017 17:30:59 +0000 (17:30 +0000)]
Merge "Support native shared libs" into oc-dr1-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: Ic213b2675ee5571449c74b19184da7cb91331c01

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 agoImport translations. DO NOT MERGE
Bill Yi [Wed, 21 Jun 2017 16:30:45 +0000 (09:30 -0700)]
Import translations. DO NOT MERGE

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

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 agoSupport native shared libs
Svetoslav Ganov [Wed, 21 Jun 2017 02:35:51 +0000 (19:35 -0700)]
Support native shared libs

resolve merge conflict for ac9b6706b

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: Ie3f203db12a3f3826e114c219a8341d9acab604f

7 years agoMake the log message in setInteractive a local variable.
Michael Wright [Tue, 20 Jun 2017 20:21:27 +0000 (21:21 +0100)]
Make the log message in setInteractive a local variable.

If the error message isn't a local variable, it will go out of scope
immediately after LogIfSlow is constructed. Unfortunately, LogIfSlow
maintains a pointer to String8s internal char* member... which causes a
use after free when it goes to log. Oops.

Bug: 62820330
Test: none
Change-Id: Ie1da3be723f8aae165822002ff42954480a43aa5

7 years agoMerge "Always allow Ethernet to be an upstream" into oc-dr1-dev
TreeHugger Robot [Wed, 21 Jun 2017 13:22:54 +0000 (13:22 +0000)]
Merge "Always allow Ethernet to be an upstream" into oc-dr1-dev

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

Change-Id: Ifd33084351941d2fe58f6534014940a18d57528f

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

Merged-In: I97737f4c12285f0bbeed0bd2efdfec6fbe95fd03
Merged-In: Id60706e623febcc35063ccb96c797fc4f9a223b1
Merged-In: I97cc3c5ad7dcd4359c28e6aa817856a226a4f8cc
Change-Id: Ie61d1358f73d518de23f6ca48ca2765ca14a1067
(cherry picked from commit 0e61baa0ac83e580429217f8394e1790d6510158)

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 agoMerge "Camera: remove capture session lock" into oc-dr1-dev
TreeHugger Robot [Wed, 21 Jun 2017 04:21:29 +0000 (04:21 +0000)]
Merge "Camera: remove capture session lock" into oc-dr1-dev

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

Change-Id: Ibd7aebe46d1bb419ca33f8f38999fa9ab0d981ff

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

Change-Id: I55eb6f4a11e28ef2a8171c62848eb2b067f05ba1

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 "Add metric for bluetooth pairing page" into oc-dr1-dev
TreeHugger Robot [Wed, 21 Jun 2017 03:16:31 +0000 (03:16 +0000)]
Merge "Add metric for bluetooth pairing page" into oc-dr1-dev

7 years agoMerge "Add action for launching Assist Gesture settings" into oc-dr1-dev
TreeHugger Robot [Wed, 21 Jun 2017 02:52:00 +0000 (02:52 +0000)]
Merge "Add action for launching Assist Gesture settings" into oc-dr1-dev

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

Change-Id: Iac5b780a9894ce3a5433d1c434286e01313e7f99

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

Change-Id: I88d205835ce91ea21d77a15649aad2d3b9c187d7

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

Change-Id: I5f6d29e1e6d2710fe5b119d8fd1a470fbdf0d8cd

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 21 Jun 2017 02:17:54 +0000 (19:17 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 21 Jun 2017 02:04:51 +0000 (19:04 -0700)]
Import translations. DO NOT MERGE

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

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 agoCamera: remove capture session lock
Yin-Chia Yeh [Mon, 19 Jun 2017 21:17:29 +0000 (14:17 -0700)]
Camera: remove capture session lock

Use CameraDeviceImpl#mInterfaceLock for all device/session locking

Test: CTS/stress testing camera open/close
Bug: 62767980
Change-Id: I4e57e9e1d4548c3f9ae85799b742bebed9a0e451

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:06:14 +0000 (01:06 +0000)]
Merge "[DO NOT MERGE] Support native shared libs" into oc-dev

7 years agoAdd metric for bluetooth pairing page
jackqdyulei [Mon, 19 Jun 2017 20:11:05 +0000 (13:11 -0700)]
Add metric for bluetooth pairing page

Bug: 38383542
Test: Build
Change-Id: Iabc31726528ce8348858cb0aabf5defecee8ea04

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 agoCreate Splash Screen context with CONTEXT_RESTRICTED.
Robert Carr [Wed, 21 Jun 2017 00:26:06 +0000 (17:26 -0700)]
Create Splash Screen context with CONTEXT_RESTRICTED.

It seems we need to do this to prevent loading and parsing
of downloadable fonts.

Bug: 62813533
Test: go/wm-smoke
Change-Id: I9bf9cfac7feba955217e0f3a0fcaa0d7e09d5991

7 years agoMerge "Update jobscheduler dumpsys" into oc-dr1-dev
TreeHugger Robot [Tue, 20 Jun 2017 23:46:27 +0000 (23:46 +0000)]
Merge "Update jobscheduler dumpsys" into oc-dr1-dev

7 years agoMerge "Reset last activated time after auto mode changed" into oc-dr1-dev
TreeHugger Robot [Tue, 20 Jun 2017 23:45:07 +0000 (23:45 +0000)]
Merge "Reset last activated time after auto mode changed" into oc-dr1-dev

7 years agoMerge "Only enable wide color gamut support on capable devices" into oc-dr1-dev
TreeHugger Robot [Tue, 20 Jun 2017 23:41:35 +0000 (23:41 +0000)]
Merge "Only enable wide color gamut support on capable devices" into oc-dr1-dev

7 years agoMerge "Vary opacity based on number of tasks." into oc-dr1-dev
TreeHugger Robot [Tue, 20 Jun 2017 23:35:57 +0000 (23:35 +0000)]
Merge "Vary opacity based on number of tasks." into oc-dr1-dev

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

Change-Id: I6d66510b54cf5a3c40fcbd87b671f3551ca0d3e8

7 years agoMerge "Add logging constant to track settings entity header clicks" into oc-dr1-dev
TreeHugger Robot [Tue, 20 Jun 2017 23:23:38 +0000 (23:23 +0000)]
Merge "Add logging constant to track settings entity header clicks" into oc-dr1-dev

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:51:24 +0000 (22:51 +0000)]
Merge "Retrying the remoteview application on the ui thread" into oc-dev
am: 07b93779ba

Change-Id: I21c7d62b1cb775a2992d4abcf5c4cfdae91c09a3

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 "Removed deprecated, hidden method." into oc-dev
Felipe Leme [Tue, 20 Jun 2017 22:43:23 +0000 (22:43 +0000)]
Merge "Removed deprecated, hidden method." into oc-dev
am: 17efecf48f

Change-Id: Id79feb953db68214e848e9bb3f8f3aaec6d56824

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 "[Companion] Fix notification access dialog being in new task" into oc-dev
Eugene Susla [Tue, 20 Jun 2017 22:40:28 +0000 (22:40 +0000)]
Merge "[Companion] Fix notification access dialog being in new task" into oc-dev
am: 2eacbac8c3

Change-Id: I08da454829489d51ae109ad20ee67aa705f9dcc2

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 "Add a new flag to check if provisioning is completed on ATV" into oc-dev
Sujith Ramakrishnan [Tue, 20 Jun 2017 22:27:53 +0000 (22:27 +0000)]
Merge "Add a new flag to check if provisioning is completed on ATV" into oc-dev
am: 59c6385bf9

Change-Id: Iba2e6a6fe6c76c6ae1776f9ce430223ed6222dc4

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: Ie1c199bbc721f282dc0de788d36481fef9530460

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 agoMerge "Fix confusing javadoc for WifiManager.EXTRA_RESULTS_UPDATED" into oc-dr1-dev
TreeHugger Robot [Tue, 20 Jun 2017 21:45:59 +0000 (21:45 +0000)]
Merge "Fix confusing javadoc for WifiManager.EXTRA_RESULTS_UPDATED" into oc-dr1-dev

7 years agoUpdate jobscheduler dumpsys
Makoto Onuki [Tue, 20 Jun 2017 19:20:34 +0000 (12:20 -0700)]
Update jobscheduler dumpsys

- Show job IDs in the history.
- Show "last successful/failed run time" for existing jobs.

Bug 62052247
Test: Manual test with dumpsys jobscheduler

Change-Id: Ic0cdab58e4c5b454a3df8300607e9c24c4b1f438

7 years agoOnly enable wide color gamut support on capable devices
Romain Guy [Tue, 20 Jun 2017 19:23:42 +0000 (12:23 -0700)]
Only enable wide color gamut support on capable devices

Bug: 62827458
Test: CtsColorModeTests, more tests going in MR1
Change-Id: Idca2804b04ae6bdcbec6bcda6fd74dc6ada89c31

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 "Update lockscreen to use config_headlineFontFamilyLight" into oc-dr1-dev
Andrew Sapperstein [Tue, 20 Jun 2017 20:49:13 +0000 (20:49 +0000)]
Merge "Update lockscreen to use config_headlineFontFamilyLight" into oc-dr1-dev

7 years agoReset last activated time after auto mode changed
Justin Klaassen [Tue, 20 Jun 2017 17:08:50 +0000 (10:08 -0700)]
Reset last activated time after auto mode changed

Fixes: 62749129
Test: runtest -c com.android.server.NightDisplayServiceTest \
      frameworks-services
Change-Id: I7e5a4c56cd20be70e693aa2327972b5da77b6f27