OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Pull back attached transform."
TreeHugger Robot [Tue, 28 Nov 2017 23:12:14 +0000 (23:12 +0000)]
Merge "Pull back attached transform."

6 years agoMerge "Fixed the make file for location tests"
TreeHugger Robot [Tue, 28 Nov 2017 23:10:31 +0000 (23:10 +0000)]
Merge "Fixed the make file for location tests"

6 years agoMerge "Re-enable task trimming"
TreeHugger Robot [Tue, 28 Nov 2017 22:56:05 +0000 (22:56 +0000)]
Merge "Re-enable task trimming"

6 years agoMerge "Bypass a11y cache when requested"
Phil Weaver [Tue, 28 Nov 2017 22:47:02 +0000 (22:47 +0000)]
Merge "Bypass a11y cache when requested"

6 years agoMerge "Remove unused code from CompatModePackages, clean up CompileSdk strings"
Alan Viverette [Tue, 28 Nov 2017 22:41:14 +0000 (22:41 +0000)]
Merge "Remove unused code from CompatModePackages, clean up CompileSdk strings"

6 years agoMerge "Add carrier config variable to hide manage IMS conference call button" am...
Jordan Liu [Tue, 28 Nov 2017 22:23:42 +0000 (22:23 +0000)]
Merge "Add carrier config variable to hide manage IMS conference call button" am: dc98d6e44b am: 7a42c3614e
am: 9a1be6187f  -s ours

Change-Id: Iaa42715945ecdf29efd6acc733755979ecde152e

6 years agoMerge "Fixed class and subclass IDs sign extension on byte->int problem."
TreeHugger Robot [Tue, 28 Nov 2017 22:11:51 +0000 (22:11 +0000)]
Merge "Fixed class and subclass IDs sign extension on byte->int problem."

6 years agoMerge "Add carrier config variable to hide manage IMS conference call button" am...
Jordan Liu [Tue, 28 Nov 2017 22:11:38 +0000 (22:11 +0000)]
Merge "Add carrier config variable to hide manage IMS conference call button" am: dc98d6e44b
am: 7a42c3614e

Change-Id: I0bb715785a7ea0286936b1213c5057497b8856de

6 years agoMerge "Provide activity details for task layout in ActivityStarter."
Bryce Lee [Tue, 28 Nov 2017 22:08:16 +0000 (22:08 +0000)]
Merge "Provide activity details for task layout in ActivityStarter."

6 years agoMerge "Add carrier config variable to hide manage IMS conference call button"
Jordan Liu [Tue, 28 Nov 2017 22:00:50 +0000 (22:00 +0000)]
Merge "Add carrier config variable to hide manage IMS conference call button"
am: dc98d6e44b

Change-Id: I474338d3475706f856e63fc8c558850c3afd0bb3

6 years agoMerge "Snapshot Task with the app window crop for Recents"
Chavi Weingarten [Tue, 28 Nov 2017 21:51:43 +0000 (21:51 +0000)]
Merge "Snapshot Task with the app window crop for Recents"

6 years agoMerge "Add carrier config variable to hide manage IMS conference call button"
Jordan Liu [Tue, 28 Nov 2017 21:40:01 +0000 (21:40 +0000)]
Merge "Add carrier config variable to hide manage IMS conference call button"

6 years agoMerge "Add hooks to configure system button text styling."
TreeHugger Robot [Tue, 28 Nov 2017 21:24:02 +0000 (21:24 +0000)]
Merge "Add hooks to configure system button text styling."

6 years agoMerge "Correct ordering of status bar panel layers."
TreeHugger Robot [Tue, 28 Nov 2017 21:17:13 +0000 (21:17 +0000)]
Merge "Correct ordering of status bar panel layers."

6 years agoPull back attached transform.
Robert Carr [Tue, 28 Nov 2017 20:39:46 +0000 (12:39 -0800)]
Pull back attached transform.

Fixes layering of Popups.

Bug: 69590639
Test: Manual
Change-Id: I5a35957999e2eb78b98e1a39a6b44a12c1d34128

6 years agoMerge changes from topic "lifecycle_transaction_base"
Andrii Kulian [Tue, 28 Nov 2017 20:47:34 +0000 (20:47 +0000)]
Merge changes from topic "lifecycle_transaction_base"

* changes:
  Add transaction unit tests
  Add basic lifecycle transaction containers

6 years agoRe-enable task trimming
Winson Chung [Thu, 26 Oct 2017 18:38:30 +0000 (11:38 -0700)]
Re-enable task trimming

- Skip trimming tasks that are behind the home stack as they can not be
  returned to.
- Adding tag to event log when trimming the task to indicate it was trimmed
  by the recent tasks list
- Update tests to use task builder

Bug: 34270611
Test: Launch task from assistant, ensure that the assistant is not removed
Test: com.android.server.am.RecentTasksTest
Test: #testBackStackTasks_expectNoTrim
Test: #testBehindHomeStackTasks_expectTaskTrimmed
Test: #testOtherDisplayTasks_expectNoTrim
Change-Id: I538c9010f7ce7844bfa93ff3c8900dea6f91bc95

6 years agoMerge "@Ignore flaky test in QSTileImplTest"
TreeHugger Robot [Tue, 28 Nov 2017 20:33:59 +0000 (20:33 +0000)]
Merge "@Ignore flaky test in QSTileImplTest"

6 years agoMerge "Revert "Revert "Access already-read descriptors on device connect. (Eliminate...
TreeHugger Robot [Tue, 28 Nov 2017 20:28:52 +0000 (20:28 +0000)]
Merge "Revert "Revert "Access already-read descriptors on device connect. (Eliminate extra read)"""

6 years agoMerge "KeyChain: Provide public & private keys"
Eran Messeri [Tue, 28 Nov 2017 20:24:22 +0000 (20:24 +0000)]
Merge "KeyChain: Provide public & private keys"

6 years agoMerge changes from topics "ProvisioningCallback", "PASSPOINT_APIs"
Sohani Rao [Tue, 28 Nov 2017 20:14:11 +0000 (20:14 +0000)]
Merge changes from topics "ProvisioningCallback", "PASSPOINT_APIs"

* changes:
  Introduce Status and Failure code for Provisioning
  Provide APIs for HS2.0 provisioning

6 years agoMerge "Extreme battery saver: Tweak to file saver"
Makoto Onuki [Tue, 28 Nov 2017 20:02:54 +0000 (20:02 +0000)]
Merge "Extreme battery saver: Tweak to file saver"

6 years agoMerge "Extend SearchIndexablesProvider to support query sitemap."
TreeHugger Robot [Tue, 28 Nov 2017 19:39:02 +0000 (19:39 +0000)]
Merge "Extend SearchIndexablesProvider to support query sitemap."

6 years agoMerge "New API to specify accessibility focus grouping"
TreeHugger Robot [Tue, 28 Nov 2017 19:24:22 +0000 (19:24 +0000)]
Merge "New API to specify accessibility focus grouping"

6 years agoCorrect ordering of status bar panel layers.
Robert Carr [Wed, 22 Nov 2017 20:47:58 +0000 (12:47 -0800)]
Correct ordering of status bar panel layers.

Not sure what bug was hiding this before but seems pretty clear,
that this is the ordering we need. See the documentation, APPLICATION_PANEL, etc...

Bug: 69591927
Test: Manual
Change-Id: I82fc011aff6122efa5c3ed63da154761e7065612

6 years agoMerge "Moved DataProfile from telephony internal hidden API to System API" am: 24cd7c...
Jack Yu [Tue, 28 Nov 2017 19:02:26 +0000 (19:02 +0000)]
Merge "Moved DataProfile from telephony internal hidden API to System API" am: 24cd7cbd1e am: 3221d23138
am: aa3bdbe815  -s ours

Change-Id: I9f2ea24fa32c0bd87897549c021051f4419feadc

6 years agoSnapshot Task with the app window crop for Recents
chaviw [Sat, 11 Nov 2017 00:14:49 +0000 (16:14 -0800)]
Snapshot Task with the app window crop for Recents

Snapshot a specific task and its children instead of taking a snapshot
of the whole screen with max and min layer values. This makes it clear
what the desired screenshot is instead of trying to determine what the
max and min z layers should be.

In the process of updating the snapshot code, I split the code that
captures a layer from the code that captures the whole screen. This
simplified the code so the capture screen doesn't need to invoke the
frame calculations since it will be capturing the whole screen anyway.

Test: Recents snapshots work correctly without the IME, status, and
navigation bar

Change-Id: I8776c1ddb9cd8a23a482b045720960702796fd5f

6 years agoMerge "Revert "Revert "Eliminate native/JNI/callback USB Descriptor parsing mechanism"""
Paul Mclean [Tue, 28 Nov 2017 18:47:48 +0000 (18:47 +0000)]
Merge "Revert "Revert "Eliminate native/JNI/callback USB Descriptor parsing mechanism"""

6 years agoMerge "Add Multicast wakelock stats in battery-stats dump"
TreeHugger Robot [Tue, 28 Nov 2017 18:43:55 +0000 (18:43 +0000)]
Merge "Add Multicast wakelock stats in battery-stats dump"

6 years agoRemove unused code from CompatModePackages, clean up CompileSdk strings
Alan Viverette [Tue, 28 Nov 2017 18:39:16 +0000 (13:39 -0500)]
Remove unused code from CompatModePackages, clean up CompileSdk strings

"Preview version" didn't translate well.

Fixes: 69791947
Test: make (no behavior change so didn't run CTS)
Change-Id: I8249dc1c4569fd2444dcbdf525eb5638ca448d4a

6 years agoMerge "Remove scanFile argument"
TreeHugger Robot [Tue, 28 Nov 2017 18:37:55 +0000 (18:37 +0000)]
Merge "Remove scanFile argument"

6 years ago@Ignore flaky test in QSTileImplTest
Geoffrey Pitsch [Tue, 28 Nov 2017 18:33:13 +0000 (13:33 -0500)]
@Ignore flaky test in QSTileImplTest

Bug: 67842810
Test: runtest systemui
Change-Id: I09a7328af120cebb1bc3e0b528c96a2ea8e8c815

6 years agoMerge "Fix window cropping issue."
TreeHugger Robot [Tue, 28 Nov 2017 18:27:24 +0000 (18:27 +0000)]
Merge "Fix window cropping issue."

6 years agoAdd carrier config variable to hide manage IMS conference call button
Wei Huang [Fri, 22 Apr 2016 06:33:55 +0000 (14:33 +0800)]
Add carrier config variable to hide manage IMS conference call button

Add carrier config to determine whether manage IMS conference calls
is supported by a carrier.

Test: not tested since a new config is just added
Bug: 28729600
Change-Id: I1000830a85814150658b62ea9add72bfb83bbba0
Merged-In: I1000830a85814150658b62ea9add72bfb83bbba0

6 years agoExtend SearchIndexablesProvider to support query sitemap.
Fan Zhang [Mon, 27 Nov 2017 20:39:52 +0000 (12:39 -0800)]
Extend SearchIndexablesProvider to support query sitemap.

Bug: 67359411
Bug: 64938328
Test: manual
Change-Id: Ic6e1ba4fc518b3aa7a26303d195c1119f6eeaafc

6 years agoMerge "Add persistent state for Hearing Aid Profile" am: 2282e2f57f am: 0f9b8c2c60
Jakub Pawlowski [Tue, 28 Nov 2017 17:54:19 +0000 (17:54 +0000)]
Merge "Add persistent state for Hearing Aid Profile" am: 2282e2f57f am: 0f9b8c2c60
am: 08d6f6a60a  -s ours

Change-Id: Ibbd740ca67bf73b7418aae1d277c3a99cd08327b

6 years agoMerge "Moved DataProfile from telephony internal hidden API to System API" am: 24cd7cbd1e
Jack Yu [Tue, 28 Nov 2017 17:53:48 +0000 (17:53 +0000)]
Merge "Moved DataProfile from telephony internal hidden API to System API" am: 24cd7cbd1e
am: 3221d23138

Change-Id: I3b1e2d475721de9388de5cb4acb52a003cc16e62

6 years agoExtreme battery saver: Tweak to file saver
Makoto Onuki [Tue, 28 Nov 2017 01:50:41 +0000 (17:50 -0800)]
Extreme battery saver: Tweak to file saver

- Restore the default values after a runtime restart.
- debug.batterysaver.no_write_files sysprop to avoid writing max_freq

Bug 63527520
Test: manual
Test: atest $ANDROID_BUILD_TOP/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/FileUpdaterTest.java

Change-Id: Ic4783f181252b063cfe7ea6fee47b9241f1688cc

6 years agoProvide activity details for task layout in ActivityStarter.
Bryce Lee [Thu, 16 Nov 2017 05:25:03 +0000 (21:25 -0800)]
Provide activity details for task layout in ActivityStarter.

When a task is created as the result of an activity starter, there
are details present in the starter than can be useful for layout,
such as the source and launching activity records. This changelist
adds these details to the layout invocation.

Change-Id: I2d6d22c8390b03004d020d6d92196bb2a85fdd3d
Fixes: 68719294
Test: go/wm-smoke

6 years agoMerge "Add persistent state for Hearing Aid Profile" am: 2282e2f57f
Jakub Pawlowski [Tue, 28 Nov 2017 17:42:08 +0000 (17:42 +0000)]
Merge "Add persistent state for Hearing Aid Profile" am: 2282e2f57f
am: 0f9b8c2c60

Change-Id: I971ab43aed9d0f656e0878e7277ec8e416b1867f

6 years agoMerge "Moved DataProfile from telephony internal hidden API to System API"
Jack Yu [Tue, 28 Nov 2017 17:39:01 +0000 (17:39 +0000)]
Merge "Moved DataProfile from telephony internal hidden API to System API"
am: 24cd7cbd1e

Change-Id: Ica76a82b03f6bb0623a98480ae1c2fbc34d07337

6 years agoMerge "Add persistent state for Hearing Aid Profile"
Jakub Pawlowski [Tue, 28 Nov 2017 17:32:19 +0000 (17:32 +0000)]
Merge "Add persistent state for Hearing Aid Profile"
am: 2282e2f57f

Change-Id: Iff05733aeb2214b1720883f6c7c28a3357887ec2

6 years agoMerge "Moved DataProfile from telephony internal hidden API to System API"
Jack Yu [Tue, 28 Nov 2017 17:21:40 +0000 (17:21 +0000)]
Merge "Moved DataProfile from telephony internal hidden API to System API"

6 years agoMerge "Add persistent state for Hearing Aid Profile"
Jakub Pawlowski [Tue, 28 Nov 2017 17:21:10 +0000 (17:21 +0000)]
Merge "Add persistent state for Hearing Aid Profile"

6 years agoMerge "Display Cutout: Add Cutout to WindowInsets"
TreeHugger Robot [Tue, 28 Nov 2017 17:11:21 +0000 (17:11 +0000)]
Merge "Display Cutout: Add Cutout to WindowInsets"

6 years agoMerge "Skip FDE-specific operations, mkdir() throwing."
Jeff Sharkey [Tue, 28 Nov 2017 16:57:19 +0000 (16:57 +0000)]
Merge "Skip FDE-specific operations, mkdir() throwing."

6 years agoMerge "Trim away some dead code"
Neil Fuller [Tue, 28 Nov 2017 16:16:53 +0000 (16:16 +0000)]
Merge "Trim away some dead code"

6 years agoMerge "WM: Stop tampering with sysuiVisibility for layout"
Adrian Roos [Tue, 28 Nov 2017 16:15:07 +0000 (16:15 +0000)]
Merge "WM: Stop tampering with sysuiVisibility for layout"

6 years agoMerge "WM: Add PhoneWindowManagerLayoutTest"
TreeHugger Robot [Tue, 28 Nov 2017 16:14:35 +0000 (16:14 +0000)]
Merge "WM: Add PhoneWindowManagerLayoutTest"

6 years agoAdd hooks to configure system button text styling.
Andrew Sapperstein [Tue, 14 Nov 2017 00:08:46 +0000 (16:08 -0800)]
Add hooks to configure system button text styling.

Adds configuration values to change the styling of buttons on system
surfaces. Specifically, adds config_fontFamilyButton and
config_buttonTextAllCaps to control the default font and whether text
is all caps.

Additionally, adds plumbing so that these configs are utilized by
Theme.DeviceDefault (and descendent) themes. Some styles are added/updated
for this support.

Bug: 64122537
Bug: 69314526
Test: ag/3228846
Change-Id: I08406633bd744c6f58d5144d035aa27bf9c175df

6 years agoDisplay Cutout: Add Cutout to WindowInsets
Adrian Roos [Fri, 10 Nov 2017 14:48:01 +0000 (15:48 +0100)]
Display Cutout: Add Cutout to WindowInsets

Adds a facility for communicating the display cutout to
windows. A follow-up CL will make this a public API.

Bug: 65689439
Test: runtest -x $ANDROID_BUILD_TOP/frameworks/base/core/tests/coretests/src/android/view/DisplayCutoutTest.java
Change-Id: I2290adea0130a7e5764a9412616fd3192800e06a

6 years agoMerge "Move legacy-test to test-base"
Paul Duffin [Tue, 28 Nov 2017 14:45:28 +0000 (14:45 +0000)]
Merge "Move legacy-test to test-base"

6 years agoMerge "Remove unused target android.test.mock.sdk"
TreeHugger Robot [Tue, 28 Nov 2017 14:26:22 +0000 (14:26 +0000)]
Merge "Remove unused target android.test.mock.sdk"

6 years agoMerge "Add id to NetworkEvent."
Naomi Musgrave [Tue, 28 Nov 2017 13:30:19 +0000 (13:30 +0000)]
Merge "Add id to NetworkEvent."

6 years agoWM: Stop tampering with sysuiVisibility for layout
Adrian Roos [Fri, 24 Nov 2017 12:24:28 +0000 (13:24 +0100)]
WM: Stop tampering with sysuiVisibility for layout

Instead of changing the sysuiVisibility to get the desired layout behavior
calculate the implied sysuiVisibility flags at layout time. This allows us
to check what the window originally requested, which will be needed later
for cutout-aware layout.

Bug: 65689439
Test: runtest -x services/tests/servicestests/src/com/android/server/policy/PhoneWindowManagerLayoutTest.java
Change-Id: I195f7b8ad535731614ea8f5fb2af2f001fd13036

6 years agoWM: Add PhoneWindowManagerLayoutTest
Adrian Roos [Fri, 24 Nov 2017 18:39:12 +0000 (19:39 +0100)]
WM: Add PhoneWindowManagerLayoutTest

Test: runtest -x services/tests/servicestests/src/com/android/server/policy/PhoneWindowManagerLayoutTest.java
Change-Id: I85af4bdd023a274233362d42628de19483b0c4ea

6 years agoMerge "White media notifications are now dimmable"
Selim Cinek [Tue, 28 Nov 2017 13:03:42 +0000 (13:03 +0000)]
Merge "White media notifications are now dimmable"

6 years agoMove legacy-test to test-base
Paul Duffin [Thu, 16 Nov 2017 15:47:05 +0000 (15:47 +0000)]
Move legacy-test to test-base

Make it consistent with the test-mock and test-runner directories.
Also renames the files in api/ subdirectory.

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

6 years agoRemove unused target android.test.mock.sdk
Paul Duffin [Thu, 16 Nov 2017 13:02:37 +0000 (13:02 +0000)]
Remove unused target android.test.mock.sdk

Bug: 30188076
Test: make checkbuild

Change-Id: I9b613969425e6c4d8700f6275484d6452a3cc3af

6 years agoMerge "New Autofill API: Validators.not"
TreeHugger Robot [Tue, 28 Nov 2017 08:04:26 +0000 (08:04 +0000)]
Merge "New Autofill API: Validators.not"

6 years agoAdd persistent state for Hearing Aid Profile
Jakub Pawlowski [Wed, 22 Nov 2017 18:57:42 +0000 (10:57 -0800)]
Add persistent state for Hearing Aid Profile

Defines the flag used in code and the Settings.Global key names for
persisting state of the Bluetooth Hearing Aid Profile.

Test: manual
Bug: 69623109
Change-Id: I19e68be55a80f338bdc5d39d6c3c6d251f1cb514
Merged-In: I19e68be55a80f338bdc5d39d6c3c6d251f1cb514

6 years agoMerge "Some fixes in StatsdStats, and add some unit tests"
TreeHugger Robot [Tue, 28 Nov 2017 06:58:54 +0000 (06:58 +0000)]
Merge "Some fixes in StatsdStats, and add some unit tests"

6 years agoMerge "Rip out WindowContainer#isScreenOverlay"
TreeHugger Robot [Tue, 28 Nov 2017 05:20:58 +0000 (05:20 +0000)]
Merge "Rip out WindowContainer#isScreenOverlay"

6 years agoMerge "Thread-safe metric producers."
TreeHugger Robot [Tue, 28 Nov 2017 05:16:35 +0000 (05:16 +0000)]
Merge "Thread-safe metric producers."

6 years agoMerge "Add tests for validating cpu freq times in batterystats dump."
Sudheer Shanka [Tue, 28 Nov 2017 04:52:44 +0000 (04:52 +0000)]
Merge "Add tests for validating cpu freq times in batterystats dump."

6 years agoSome fixes in StatsdStats, and add some unit tests
Yao Chen [Tue, 28 Nov 2017 01:25:36 +0000 (17:25 -0800)]
Some fixes in StatsdStats, and add some unit tests

+ Add timestamp for when metric data is reported.

Test: statsd_test

Change-Id: Ief5ec5172feed4ec74b7422b77cf69ec8361ef2f

6 years agoFixed class and subclass IDs sign extension on byte->int problem.
Paul McLean [Fri, 17 Nov 2017 21:11:36 +0000 (15:11 -0600)]
Fixed class and subclass IDs sign extension on byte->int problem.

Devices - Skylab, Mir, HTC dongle, Presonus AudioBox 44VSL, HP mouse
Hard coded class ID of 0xFF and subclass 0xFD to match b/68944518 symptoms.

Bug: 68944518

Test: Manual - see above

Change-Id: I7330c57b15278158a2eb449f0463b91244a3e176

6 years agoRevert "Revert "Access already-read descriptors on device connect. (Eliminate extra...
Paul Mclean [Fri, 17 Nov 2017 13:58:41 +0000 (13:58 +0000)]
Revert "Revert "Access already-read descriptors on device connect. (Eliminate extra read)""

This reverts commit 95966880171a8cdf7c1f6471a2794a0d3b07f69f.

Change-Id: I6f8f965fa4529ac5a027a2abac981f32b07d8659

6 years agoRevert "Revert "Eliminate native/JNI/callback USB Descriptor parsing mechanism""
Paul Mclean [Fri, 17 Nov 2017 13:51:19 +0000 (13:51 +0000)]
Revert "Revert "Eliminate native/JNI/callback USB Descriptor parsing mechanism""

This reverts commit 115cd64f168e14401ba3a2062c8cbe9361416802.

Change-Id: I8be17cf939397b3c8ac6b11759b8195f5febab10

6 years agoMerge "Speed up initiating resizing."
TreeHugger Robot [Tue, 28 Nov 2017 03:36:16 +0000 (03:36 +0000)]
Merge "Speed up initiating resizing."

6 years agoMerge "Add persistent state for Hearing Aid Profile"
TreeHugger Robot [Tue, 28 Nov 2017 03:05:01 +0000 (03:05 +0000)]
Merge "Add persistent state for Hearing Aid Profile"

6 years agoRip out WindowContainer#isScreenOverlay
Robert Carr [Wed, 22 Nov 2017 20:21:46 +0000 (12:21 -0800)]
Rip out WindowContainer#isScreenOverlay

Messes up ordering of the windows that should be above
the navigation bar and status bar. It seems better to
achieve the IME layering we need directly.

Bug: 69591927
Test: Manual
Change-Id: I69202bca0b84cec5d9f5176645e31c5bd0af767e

6 years agoMerge "Deeper sanity checking of emitted types."
Jeff Sharkey [Tue, 28 Nov 2017 02:36:17 +0000 (02:36 +0000)]
Merge "Deeper sanity checking of emitted types."

6 years agoAdd transaction unit tests
Andrii Kulian [Thu, 16 Nov 2017 22:36:36 +0000 (14:36 -0800)]
Add transaction unit tests

Bug: 64797980
Test: android.app.servertransaction.ClientTransactionTests
Test: android.app.servertransaction.TransactionParcelTests
Change-Id: I108bacc819e9d43d0a2f5a30338ae88674a53239

6 years agoMerge "Fix race between AnimationListener and DragState"
TreeHugger Robot [Tue, 28 Nov 2017 02:03:52 +0000 (02:03 +0000)]
Merge "Fix race between AnimationListener and DragState"

6 years agoMerge "statsd informs incidentd of anomalies"
TreeHugger Robot [Tue, 28 Nov 2017 01:59:57 +0000 (01:59 +0000)]
Merge "statsd informs incidentd of anomalies"

6 years agoMerge "Add carrier config variable to hide manage IMS conference call button"
Jordan Liu [Tue, 28 Nov 2017 01:50:56 +0000 (01:50 +0000)]
Merge "Add carrier config variable to hide manage IMS conference call button"

6 years agoMerge "Fix removal of IME target."
TreeHugger Robot [Tue, 28 Nov 2017 01:19:48 +0000 (01:19 +0000)]
Merge "Fix removal of IME target."

6 years agoMerge "Statsd anomaly detection - fixes"
TreeHugger Robot [Tue, 28 Nov 2017 01:17:44 +0000 (01:17 +0000)]
Merge "Statsd anomaly detection - fixes"

6 years agoNew API to specify accessibility focus grouping
Phil Weaver [Tue, 7 Nov 2017 23:28:21 +0000 (15:28 -0800)]
New API to specify accessibility focus grouping

We've been telling developers to use the focusable
attribute to control grouping for accessibility focus. This
new API can be used in place of the focusable attribute.

Bug: 63889180
Test: Adding new CTS tests for new api.

Change-Id: I5cbeb736a3b206f87aa3d921a39c43861c7ff082

6 years agoAdd persistent state for Hearing Aid Profile
Jakub Pawlowski [Wed, 22 Nov 2017 18:57:42 +0000 (10:57 -0800)]
Add persistent state for Hearing Aid Profile

Defines the flag used in code and the Settings.Global key names for
persisting state of the Bluetooth Hearing Aid Profile.

Test: manual
Bug: 69623109
Change-Id: I19e68be55a80f338bdc5d39d6c3c6d251f1cb514

6 years agoMerge "Add documentation for O and O_MR1 target SDK changes." into oc-mr1-dev am...
Dianne Hackborn [Tue, 28 Nov 2017 01:02:23 +0000 (01:02 +0000)]
Merge "Add documentation for O and O_MR1 target SDK changes." into oc-mr1-dev am: b94e697dcf
am: 532c2f8a36

Change-Id: I27d9a43ec394fd9634d380b385b7317d1d92d89c

6 years agoMerge "Applies last scroll position in recents after rotation"
TreeHugger Robot [Tue, 28 Nov 2017 00:55:46 +0000 (00:55 +0000)]
Merge "Applies last scroll position in recents after rotation"

6 years agoMerge "Check for /dev/memcg/system/tasks before writing to it"
TreeHugger Robot [Tue, 28 Nov 2017 00:54:26 +0000 (00:54 +0000)]
Merge "Check for /dev/memcg/system/tasks before writing to it"

6 years agoMerge "Add documentation for O and O_MR1 target SDK changes." into oc-mr1-dev
Dianne Hackborn [Tue, 28 Nov 2017 00:50:13 +0000 (00:50 +0000)]
Merge "Add documentation for O and O_MR1 target SDK changes." into oc-mr1-dev
am: b94e697dcf

Change-Id: I40ef78ee243cbb2f5967115e40740a3f36b253ef

6 years agoMerge "Fix issue #68002319: Allow current VoiceInteractionService to avoid..."
TreeHugger Robot [Tue, 28 Nov 2017 00:42:46 +0000 (00:42 +0000)]
Merge "Fix issue #68002319: Allow current VoiceInteractionService to avoid..."

6 years agoMerge "Add documentation for O and O_MR1 target SDK changes." into oc-mr1-dev
TreeHugger Robot [Tue, 28 Nov 2017 00:28:07 +0000 (00:28 +0000)]
Merge "Add documentation for O and O_MR1 target SDK changes." into oc-mr1-dev

6 years agoMerge "Reject the config if condition config has errors. And add log tag."
TreeHugger Robot [Tue, 28 Nov 2017 00:21:07 +0000 (00:21 +0000)]
Merge "Reject the config if condition config has errors. And add log tag."

6 years agoMerge "Don't show the battery saver toast when the screen turns on"
TreeHugger Robot [Tue, 28 Nov 2017 00:14:29 +0000 (00:14 +0000)]
Merge "Don't show the battery saver toast when the screen turns on"

6 years agoMerge "Fix nine patch scaling"
TreeHugger Robot [Tue, 28 Nov 2017 00:12:54 +0000 (00:12 +0000)]
Merge "Fix nine patch scaling"

6 years agoDeeper sanity checking of emitted types.
Jeff Sharkey [Mon, 27 Nov 2017 22:02:10 +0000 (15:02 -0700)]
Deeper sanity checking of emitted types.

When emitting a method or field, verify that we're able to reference
all mentioned types.  This ensures that we don't accidentally
reference undefined classes/interfaces.

Test: manual inspection of API files
Bug: 69791141
Change-Id: I84e0c87fe83daa118661f61dbdf17b58ea5282d4

6 years agostatsd informs incidentd of anomalies
Bookatz [Wed, 22 Nov 2017 23:21:03 +0000 (15:21 -0800)]
statsd informs incidentd of anomalies

When an anomaly is detected by statsd, it passes to incidentd the
information specified in the config.

Test: manual (using the fake config) saw in logcat that incidentd was
called (reportIncident)
Change-Id: I0a257b49db706d7b14a2976fb7e62c3c3535725f

6 years agoIntroduce Status and Failure code for Provisioning
Sohani Rao [Thu, 16 Nov 2017 00:33:50 +0000 (16:33 -0800)]
Introduce Status and Failure code for Provisioning

Passpoint Provisioning status and failure codes to be used by callback
API to provide information to the caller about the provisioning flow

Bug: 67914151
Test: Unit test
Change-Id: If1bf28ac8e2e0b7d8141d1b9cb12e3a6e46cb126

6 years agoStatsd anomaly detection - fixes
Bookatz [Tue, 21 Nov 2017 22:36:23 +0000 (14:36 -0800)]
Statsd anomaly detection - fixes

Fixes a few items in AnomalyTracker, especially to do with what happens
when an anomaly alarm fires.

Test: unit tests still pass
Change-Id: Ia89bd617442e952e587336b890c3ca67430b5e21

6 years agoThread-safe metric producers.
Yangster [Mon, 27 Nov 2017 21:48:29 +0000 (13:48 -0800)]
Thread-safe metric producers.

Test: unit test passed
Change-Id: Ie47404e8649b63ee8ac32e40189a47f6cb7a9def

6 years agoMerge "Migrate some preference theme attributes from SettingsLib"
TreeHugger Robot [Mon, 27 Nov 2017 23:14:07 +0000 (23:14 +0000)]
Merge "Migrate some preference theme attributes from SettingsLib"

6 years agoProvide APIs for HS2.0 provisioning
Sohani Rao [Wed, 11 Oct 2017 20:48:31 +0000 (13:48 -0700)]
Provide APIs for HS2.0 provisioning

Created a new hidden API to be called for starting subscription
provisioning with a certain provider. Create a callback interface and a
callback object to be used by the caller to get provisioning status
updates.

Bug: 67645546
Test: Unit tests
Change-Id: I9592222cfe79c5859c455c5a658956120558059f

6 years agoMerge "Fix a bug in StorageManager."
TreeHugger Robot [Mon, 27 Nov 2017 23:06:55 +0000 (23:06 +0000)]
Merge "Fix a bug in StorageManager."

6 years agoMerge "AAPT2 - Make raw files of type unknown."
Pierre Lecesne [Mon, 27 Nov 2017 23:04:33 +0000 (23:04 +0000)]
Merge "AAPT2 - Make raw files of type unknown."

6 years agoApplies last scroll position in recents after rotation
Matthew Ng [Mon, 20 Nov 2017 23:30:47 +0000 (15:30 -0800)]
Applies last scroll position in recents after rotation

Record the scroll position whenever recents scrolls. When screen is
rotated, reapply the same position to match it from last orientation.

Test: manual - rotate screen
Change-Id: I129bb91a01161c512736a17738a52e5b6bd0e35e
Fixes: 64291223