OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 14:28:30 +0000 (14:28 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 31 Mar 2018 06:39:07 +0000 (23:39 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Bug: 76058207
Change-Id: I165c658f21866527efa64c72be81afe5b14f56a7

6 years agoMerge "Add callback onProfileAudioStateChanged()" into pi-dev
Ryan Lin [Sat, 31 Mar 2018 06:23:26 +0000 (06:23 +0000)]
Merge "Add callback onProfileAudioStateChanged()" into pi-dev

6 years agoMerge "Fix dead lock between AM and BatterySaverStateMachine" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 05:24:20 +0000 (05:24 +0000)]
Merge "Fix dead lock between AM and BatterySaverStateMachine" into pi-dev

6 years agoMerge "Make changes to MBMS API following recs" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 04:17:41 +0000 (04:17 +0000)]
Merge "Make changes to MBMS API following recs" into pi-dev

6 years agoMerge "Add subtype for layout direction to Slice" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 04:16:35 +0000 (04:16 +0000)]
Merge "Add subtype for layout direction to Slice" into pi-dev

6 years agoMerge "E2e test for periodic alarm." into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 03:04:59 +0000 (03:04 +0000)]
Merge "E2e test for periodic alarm." into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 02:51:37 +0000 (02:51 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Log sync enable/disable too" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 02:19:34 +0000 (02:19 +0000)]
Merge "Log sync enable/disable too" into pi-dev

6 years agoMerge "Migrate to AAPT2" into pi-dev
Alan Viverette [Sat, 31 Mar 2018 02:11:59 +0000 (02:11 +0000)]
Merge "Migrate to AAPT2" into pi-dev

6 years agoMerge "Correctly use int types and fix uint64_t print." into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 02:08:12 +0000 (02:08 +0000)]
Merge "Correctly use int types and fix uint64_t print." into pi-dev

6 years agoMerge "Fingerprint user canceled message should not be delayed" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 01:52:37 +0000 (01:52 +0000)]
Merge "Fingerprint user canceled message should not be delayed" into pi-dev

6 years agoMerge "Fix erroneous protected-broadcast check" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 01:41:57 +0000 (01:41 +0000)]
Merge "Fix erroneous protected-broadcast check" into pi-dev

6 years agoMerge "Null pointer check for Bluetooth traffic" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 01:18:34 +0000 (01:18 +0000)]
Merge "Null pointer check for Bluetooth traffic" into pi-dev

6 years agoMerge "Statsd MAX now obeys refractory periods too" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 01:10:57 +0000 (01:10 +0000)]
Merge "Statsd MAX now obeys refractory periods too" into pi-dev

6 years agoMerge "Expose e.getMessage() from the exceptions in RecoverableKeyStore" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 00:56:22 +0000 (00:56 +0000)]
Merge "Expose e.getMessage() from the exceptions in RecoverableKeyStore" into pi-dev

6 years agoMerge "Adding LauncherApps apis for suspended packages" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 00:39:52 +0000 (00:39 +0000)]
Merge "Adding LauncherApps apis for suspended packages" into pi-dev

6 years agoLog sync enable/disable too
Makoto Onuki [Sat, 31 Mar 2018 00:32:57 +0000 (17:32 -0700)]
Log sync enable/disable too

Bug: 75262099
Test: build, boot, toggle settings from the Settings app
Change-Id: Ic15c66d6c434ab905bbf8a23552fd6ab49a06ac4

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 31 Mar 2018 00:28:38 +0000 (17:28 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I58332b68e3b9bd0578e9e8ee5716bb1eec86af8e

6 years agoMerge "Add some methods to manage slice permissios" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 00:26:06 +0000 (00:26 +0000)]
Merge "Add some methods to manage slice permissios" into pi-dev

6 years agoMerge "Clear fingerprint stats after dump --proto" into pi-dev
Kevin Chyn [Sat, 31 Mar 2018 00:22:11 +0000 (00:22 +0000)]
Merge "Clear fingerprint stats after dump --proto" into pi-dev

6 years agoCorrectly use int types and fix uint64_t print.
Yi Jin [Fri, 30 Mar 2018 18:01:58 +0000 (11:01 -0700)]
Correctly use int types and fix uint64_t print.

Bug: 74118023
Test: atest incidentd_test and atest incident_helper
Change-Id: I951021c12e3d0dc5c83a1bbb03fa0d64d99c0920

6 years agoMerge "Dynamics Processing Effect" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 00:05:32 +0000 (00:05 +0000)]
Merge "Dynamics Processing Effect" into pi-dev

6 years agoMerge "Fix regression to drawBitmapArray" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 00:03:49 +0000 (00:03 +0000)]
Merge "Fix regression to drawBitmapArray" into pi-dev

6 years agoMerge "Adding debug message inside NetworkServiceCallback." into pi-dev
Xiangyu/Malcolm Chen [Sat, 31 Mar 2018 00:02:10 +0000 (00:02 +0000)]
Merge "Adding debug message inside NetworkServiceCallback." into pi-dev

6 years agoFix erroneous protected-broadcast check
Makoto Onuki [Fri, 30 Mar 2018 23:46:19 +0000 (16:46 -0700)]
Fix erroneous protected-broadcast check

This happens because isPermittedShellBroadcast() is called twice,
one for runtime receivers and the other manifest receivers, and
when SysUI sends a broadcast to its own runtime receiver, another
check also happens for manifest receivers but there's no receivers.

Fixes: 77154348
Test: Manual test with the following steps:
- adb shell dumpsys battery unplug
- adb shell settings delete secure low_power_manual_activation_count
- adb shell settings delete secure low_power_warning_acknowledged
- adb shell settings delete secure suppress_auto_battery_saver
- Then enable battery saver
- Make sure there's no error on logcat.

Change-Id: I9e4305016e10059bd067f06d05433102864b2036

6 years agoNull pointer check for Bluetooth traffic
Chenjie Yu [Fri, 30 Mar 2018 23:41:38 +0000 (16:41 -0700)]
Null pointer check for Bluetooth traffic

Bug: 77340376
Change-Id: I558c020636564437e040097a2d0f86519c343c4a
Fix: 77340376
Test: manual test

6 years agoMake changes to MBMS API following recs
Hall Liu [Wed, 28 Mar 2018 22:54:07 +0000 (15:54 -0700)]
Make changes to MBMS API following recs

* Change all error handling logic to return an error code via the async
callback
* Add an UNKNOWN code for errors for future backwards compatibility, and
prohibit the middleware from sending this code.
* Add IntDef for errors through the async callback
* Amend documentation for download()
* Implement support for arranging downloaded files into a hierarchy
following that of the server.

Change-Id: I4d5c8f6229b216d9aa84397e628e62279033cc74
Fixes: 76449215
Test: CTS

6 years agoMerge "Require signing cert history certs to be unique." into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 23:35:54 +0000 (23:35 +0000)]
Merge "Require signing cert history certs to be unique." into pi-dev

6 years agoMerge "Remove getCurrentUser call to find an alternative" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 23:26:38 +0000 (23:26 +0000)]
Merge "Remove getCurrentUser call to find an alternative" into pi-dev

6 years agoStatsd MAX now obeys refractory periods too
Bookatz [Fri, 30 Mar 2018 23:21:17 +0000 (16:21 -0700)]
Statsd MAX now obeys refractory periods too

The logic of where refractory period enforcement was moved out of the
anomaly tracker and into the metric's predictAnomalyTimestamp. It was
done for ORING, but not for MAX. This fixes MAX.

Bug: 74446029
Test: adb sync data && adb shell data/nativetest64/statsd_test/statsd_test
Change-Id: I51e43c7c132f424af8fe20a37f2ad10cc55b5989

6 years agoFix dead lock between AM and BatterySaverStateMachine
Makoto Onuki [Fri, 30 Mar 2018 23:15:35 +0000 (16:15 -0700)]
Fix dead lock between AM and BatterySaverStateMachine

Change-Id: If641ad1a0961376de65fdb9d557e7e2e601af389
Fixes: 77308319
Test: Boot, toggle battery saver
Test: atest $ANDROID_BUILD_TOP/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/BatterySaverStateMachineTest.java

6 years agoMerge "Fix BackgroundDexOptTest" into pi-dev
Calin Juravle [Fri, 30 Mar 2018 23:12:31 +0000 (23:12 +0000)]
Merge "Fix BackgroundDexOptTest" into pi-dev

6 years agoFingerprint user canceled message should not be delayed
Kevin Chyn [Fri, 30 Mar 2018 22:26:03 +0000 (15:26 -0700)]
Fingerprint user canceled message should not be delayed

The user canceled message is different than the other fingerprint errors
since it is caused by the user explicitly tapping on the UI at which
point the dialog will be already dismissing/dismissed. So the error
should be sent immediately to the application.

Test: manual test with FingerprintDialog, modified to show when the
      error messages are received

Change-Id: Ia2a3b0a7ac9c8cfcbd6055045a95fc06aa02c61a
Fixes: 77337939

6 years agoMerge "Disallow Reserved SPI Allocation" into pi-dev
Benedict Wong [Fri, 30 Mar 2018 22:29:26 +0000 (22:29 +0000)]
Merge "Disallow Reserved SPI Allocation" into pi-dev

6 years agoMerge "Document expected colors, deprecate old ones" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 22:28:25 +0000 (22:28 +0000)]
Merge "Document expected colors, deprecate old ones" into pi-dev

6 years agoRemove getCurrentUser call to find an alternative
Brian C. Young [Fri, 30 Mar 2018 21:03:15 +0000 (14:03 -0700)]
Remove getCurrentUser call to find an alternative

The call the framework uses to get the current user ID requires the
INTERACT_ACROSS_USERS permission, which not a lot of apps will have.
Find a better way to do that.

Bug: 76430246

Test: CtsKeystoreTestCases
Change-Id: I8a0637d351fff9cfbf40e02946325f90466b68c5

6 years agoMerge "Unhide @SystemApi Constructor" into pi-dev
Brad Ebinger [Fri, 30 Mar 2018 21:36:35 +0000 (21:36 +0000)]
Merge "Unhide @SystemApi Constructor" into pi-dev

6 years agoMerge "Guardrail for dimension in condition in duration tracker." into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 21:27:11 +0000 (21:27 +0000)]
Merge "Guardrail for dimension in condition in duration tracker." into pi-dev

6 years agoAdd subtype for layout direction to Slice
Mady Mellor [Fri, 30 Mar 2018 21:06:26 +0000 (14:06 -0700)]
Add subtype for layout direction to Slice

Test: make
Bug: 73123366
Change-Id: I1446dadd8a50e7682d640aa55a7d4a20faf52416

6 years agoMerge "Restored focusableViewAvailable logic on visibility change" into pi-dev
Evan Rosky [Fri, 30 Mar 2018 21:23:32 +0000 (21:23 +0000)]
Merge "Restored focusableViewAvailable logic on visibility change" into pi-dev

6 years agoAdding LauncherApps apis for suspended packages
Suprabh Shukla [Tue, 27 Mar 2018 05:35:13 +0000 (22:35 -0700)]
Adding LauncherApps apis for suspended packages

The suspending app can provide a Bundle of information to be used by the
launcher for handling suspended packages. Added APIs:
 - getSuspendedPackageLauncherExtras(String, UserHandle): To retrieve
 the launcher extras for the given package and user.
 - Callback#onPackagesSuspended(String[], UserHandle, Bundle): A
 callback that will be invoked with the package names and the launcher
 extras whenever sent packages are suspended.

Test: atest com.android.server.pm.SuspendPackagesTest

Bug: 76119578
Change-Id: I505d134809639a57c3314f994af34d576d905e74

6 years agoMerge "Control the QS label marquees." into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 21:13:04 +0000 (21:13 +0000)]
Merge "Control the QS label marquees." into pi-dev

6 years agoMerge "Disable optimize startInput in IMMS" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 21:08:07 +0000 (21:08 +0000)]
Merge "Disable optimize startInput in IMMS" into pi-dev

6 years agoMerge "Revert "[Notif] Disable "Customize" for blocking helper"" into pi-dev
Rohan Shah [Fri, 30 Mar 2018 21:05:07 +0000 (21:05 +0000)]
Merge "Revert "[Notif] Disable "Customize" for blocking helper"" into pi-dev

6 years agoFix BackgroundDexOptTest
Calin Juravle [Fri, 30 Mar 2018 19:38:59 +0000 (12:38 -0700)]
Fix BackgroundDexOptTest

Test: atest BackgroundDexOptServiceIntegrationTests
Bug: 76425903
Change-Id: I19b72b95ee19ebe1807e1ce108a39dec6196a097

6 years agoRevert "[Notif] Disable "Customize" for blocking helper"
Rohan Shah [Fri, 30 Mar 2018 20:54:37 +0000 (20:54 +0000)]
Revert "[Notif] Disable "Customize" for blocking helper"

This reverts commit 3cfc950708fe22ded741da9e99ac0b86a0de763c.

Reason for revert:
Apparently a breakage got through treehugger - I hadn't synced my changes and one of the params was incorrect. Reverting for now and rebasing before resubmit...

Bug: 77321231
Change-Id: Ib306759d6344a69f17331a6c3c9cc78d1345508b

6 years agoMerge "Update QS edit layout." into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 21:00:06 +0000 (21:00 +0000)]
Merge "Update QS edit layout." into pi-dev

6 years agoMerge "Remove bad configs by counting the number of statsd deaths" into pi-dev
Howard Ro [Fri, 30 Mar 2018 20:58:51 +0000 (20:58 +0000)]
Merge "Remove bad configs by counting the number of statsd deaths" into pi-dev

6 years agoMerge "Use unique_fd with the clear ownership." into pi-dev
Yi Jin [Fri, 30 Mar 2018 20:53:30 +0000 (20:53 +0000)]
Merge "Use unique_fd with the clear ownership." into pi-dev

6 years agoMerge "Clean up atoms.proto" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 20:48:09 +0000 (20:48 +0000)]
Merge "Clean up atoms.proto" into pi-dev

6 years agoFix regression to drawBitmapArray
John Reck [Fri, 30 Mar 2018 20:44:35 +0000 (13:44 -0700)]
Fix regression to drawBitmapArray

253f2c213f6ecda63b6872aee77bd30d5ec07c82 accidentally
broke drawBitmapArray with hasAlpha=false. Revert the change
made as we have no need to support colorspaces in this
deprecated API

Change-Id: If858fad870faee33cc32e3361d0869351f6b0857
Fixes: 77310904
Test: sample app in bug

6 years agoMerge "Clarified app behavior on REQUEST_TYPE_NONE" into pi-dev
Rahul Frias [Fri, 30 Mar 2018 20:33:24 +0000 (20:33 +0000)]
Merge "Clarified app behavior on REQUEST_TYPE_NONE" into pi-dev

6 years agoMerge changes from topic "encap-api" into pi-dev
Benedict Wong [Fri, 30 Mar 2018 20:28:19 +0000 (20:28 +0000)]
Merge changes from topic "encap-api" into pi-dev

* changes:
  Require explicitly supplied truncation length
  Clarify UDP encapsulation socket API

6 years agoMerge "Remove SignalClusterView in favor of IconManager" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 20:22:16 +0000 (20:22 +0000)]
Merge "Remove SignalClusterView in favor of IconManager" into pi-dev

6 years agoExpose e.getMessage() from the exceptions in RecoverableKeyStore
Bo Zhu [Fri, 30 Mar 2018 19:20:06 +0000 (12:20 -0700)]
Expose e.getMessage() from the exceptions in RecoverableKeyStore

Bug: 77327780
Test: runtest frameworks-services -p \
      com.android.server.locksettings.recoverablekeystore

Change-Id: Ibf04d6405e6468bfdfef0a8cb8e6e96bffbbf3a2

6 years agoMerge "[Notif] Disable "Customize" for blocking helper" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 20:03:11 +0000 (20:03 +0000)]
Merge "[Notif] Disable "Customize" for blocking helper" into pi-dev

6 years agoMerge "Don't clear mPattern when clearing visual pattern." into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 20:00:22 +0000 (20:00 +0000)]
Merge "Don't clear mPattern when clearing visual pattern." into pi-dev

6 years agoUpdate QS edit layout.
Amin Shaikh [Thu, 29 Mar 2018 21:27:26 +0000 (17:27 -0400)]
Update QS edit layout.

- Update TileLayout to lay out tiles rows in a similar fashion to
LinearLayout.
- Update edit screen layout to show rounded corners, margins, and
ensure that QS tiles line up with the tiles in QS.
- Show QS status bar header above the edit screen.

Change-Id: I6c8d644787bf1875ad0d7ad056e9909dc4919ce4
Fixes: 36076720
Test: visual

6 years agoRemove chaining from ImageDecoder setters
Leon Scroggins III [Tue, 27 Mar 2018 11:47:07 +0000 (07:47 -0400)]
Remove chaining from ImageDecoder setters

Bug: 76448408
Test: Infeasible
Change-Id: Ib0ef0a9a9b0f36481ed1bbb16ecaccd180df8915

6 years agoMerge "Enable "Unlocked device required" API" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 18:54:39 +0000 (18:54 +0000)]
Merge "Enable "Unlocked device required" API" into pi-dev

6 years agoDynamics Processing Effect
rago [Wed, 28 Feb 2018 21:51:22 +0000 (13:51 -0800)]
Dynamics Processing Effect

Fixing parameter integration with Dynamics Processing engine.

Bug: 64161702
Bug: 38266419

Test: manual testing and CTS tests
Change-Id: I0ff66d6fd60f2854aa93a45044cfa91c7ef344b3

6 years agoDocument expected colors, deprecate old ones
Chris Craik [Thu, 29 Mar 2018 18:28:02 +0000 (11:28 -0700)]
Document expected colors, deprecate old ones

Fixes:67369752
Test: make -j offline-sdk-docs

Change-Id: I94d58b778c48f8d8031f2efd2c2d508b60577b66

6 years agoRemove SignalClusterView in favor of IconManager
Evan Laird [Tue, 20 Mar 2018 20:58:01 +0000 (16:58 -0400)]
Remove SignalClusterView in favor of IconManager

Refactors SignalClusterView into StatusBarSignalPolicy so that it can be
used in a StatusBarIconContainer and solve all of our status bar
problems.

- Remove all uses of SignalClusterView and references to
  R.id.signal_cluster. The class still exists it's just unused now

- Add StatusBarIconHolder, which can point to StatusBarIcon,
  WifiIconState, or PhoneIconState

- StatusBarIconList.Slot. Allows for easier indexing of icons now that
  there can be multiple icons per slot

- Add StatusBarWifiView to be inflated inside of the
  StatusBarIconController when needed

- StatusBarMobile view. similar to above

- Upgrade StatusBarIconControllerImpl and StatusBarIconList to
  understand the holders and added 2 new methods to specifically handle
  wifi / phone state changes

- Create IStatusBarIconView (todo: rename). Abstracts the properties we
  want away from StatusBarIconView so that we can use an arbitrary view
  type

- NeutralGoodDrawable. Draws a light and a dark icon when needed.

- Fixes a few demo mode bugs: multi sim was broken and also turning off
  demo mode was a little broken

TODO: More tests are needed for StatusBarSignalPolicy and maybe the
IconManagers

Test: runtest systemui; visual
Bug: 63772836
Bug: 73778753
Bug: 74985733
Fixes: 74427768
Fixes: 74338687
Fixes: 74388467

Change-Id: I5621b3013cdc9638b61552bd4d7211f211eddf1b

6 years agoMerge "Add auto-grant permission slice API" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 18:45:00 +0000 (18:45 +0000)]
Merge "Add auto-grant permission slice API" into pi-dev

6 years agoMerge "Fix fs-verity per fs-verity spec change" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 18:43:24 +0000 (18:43 +0000)]
Merge "Fix fs-verity per fs-verity spec change" into pi-dev

6 years agoAdd some methods to manage slice permissios
Jason Monk [Fri, 30 Mar 2018 18:14:51 +0000 (14:14 -0400)]
Add some methods to manage slice permissios

Test: update-api
Bug: 77323760
Change-Id: I72284957c7dfc3bcf12bb24a6be4902762e95fed

6 years agoMerge "Fix MemoryFileTest coretest" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 18:01:21 +0000 (18:01 +0000)]
Merge "Fix MemoryFileTest coretest" into pi-dev

6 years agoDon't clear mPattern when clearing visual pattern.
Vishwath Mohan [Thu, 29 Mar 2018 17:56:33 +0000 (17:56 +0000)]
Don't clear mPattern when clearing visual pattern.

This CL ensures that when clearing the lockscreen pattern in
onHandleUp(), we retain mPattern. This fixes a bug that prevents
changing from Pattern to other modalities.

Bug: 77257848
Test: Change from pattern to pin/password

Change-Id: Ied74eafd17939214c62bdd617ecef7a9974f755d

6 years agoMerge "wifi metrics(proto): Add scan throttling metrics" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 17:58:36 +0000 (17:58 +0000)]
Merge "wifi metrics(proto): Add scan throttling metrics" into pi-dev

6 years agoMerge "Update Bluetooth codec related strings" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 17:51:04 +0000 (17:51 +0000)]
Merge "Update Bluetooth codec related strings" into pi-dev

6 years agoMerge "Workaround HAL 1.1 program list fetching limitation by preferring FM." into...
TreeHugger Robot [Fri, 30 Mar 2018 17:50:11 +0000 (17:50 +0000)]
Merge "Workaround HAL 1.1 program list fetching limitation by preferring FM." into pi-dev

6 years ago[Notif] Disable "Customize" for blocking helper
Rohan Shah [Fri, 30 Mar 2018 17:14:22 +0000 (10:14 -0700)]
[Notif] Disable "Customize" for blocking helper

Update UI to hide customize when blocking helper is showing. Fixed a
small problem with context.getString too where it was unnecessarily
passing in a format string argument.

Test: Visually
Test: Ran atest NotifInfoTest with new test case
Fixes: 77321231
Change-Id: Ia03ea7badc7aa7ccd7b3a0e235cce2363ace9953

6 years agoMerge "Don't send idle-maint trigger broadcast as ordered" into pi-dev
Chris Tate [Fri, 30 Mar 2018 17:47:15 +0000 (17:47 +0000)]
Merge "Don't send idle-maint trigger broadcast as ordered" into pi-dev

6 years agoMerge "[Notif] Dont show blocking helper for non-blockable notifs" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 17:43:33 +0000 (17:43 +0000)]
Merge "[Notif] Dont show blocking helper for non-blockable notifs" into pi-dev

6 years agoMerge "Fix memory leak in ShaderCache" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 17:33:13 +0000 (17:33 +0000)]
Merge "Fix memory leak in ShaderCache" into pi-dev

6 years agoMerge "Update triggering logic for hybrid notification" into pi-dev
Salvador Martinez [Fri, 30 Mar 2018 17:25:00 +0000 (17:25 +0000)]
Merge "Update triggering logic for hybrid notification" into pi-dev

6 years agoMerge "Move HIDL calls away from the main thread" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 17:20:26 +0000 (17:20 +0000)]
Merge "Move HIDL calls away from the main thread" into pi-dev

6 years agoMerge "Skip waiting for draw when triggering split screen from global action." into...
Winson Chung [Fri, 30 Mar 2018 17:16:59 +0000 (17:16 +0000)]
Merge "Skip waiting for draw when triggering split screen from global action." into pi-dev

6 years agoClean up atoms.proto
Chenjie Yu [Tue, 6 Mar 2018 23:48:54 +0000 (15:48 -0800)]
Clean up atoms.proto

changes are:
1) for pushed atoms, use attribution node in place of uid when
appropriate
2) name changes to be more consistent

Bug: 73823969
Test: manual test
Change-Id: Iacf7186dbd7a2282f7fe481f43dbbf92e1165b47

6 years agoMerge "Add more AppComponentFactory docs" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 17:08:23 +0000 (17:08 +0000)]
Merge "Add more AppComponentFactory docs" into pi-dev

6 years agoMerge "Make back mic available when getting all available mic." into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 16:59:41 +0000 (16:59 +0000)]
Merge "Make back mic available when getting all available mic." into pi-dev

6 years agoMerge "Remove deprecated generateAndStoreKey method implementation" into pi-dev
Dmitry Dementyev [Fri, 30 Mar 2018 16:44:53 +0000 (16:44 +0000)]
Merge "Remove deprecated generateAndStoreKey method implementation" into pi-dev

6 years agoMerge "Catch unbinding errors" into pi-dev
Julia Reynolds [Fri, 30 Mar 2018 16:33:40 +0000 (16:33 +0000)]
Merge "Catch unbinding errors" into pi-dev

6 years agoMerge "Add OEM_PAID capability to system api" into pi-dev
Pavel Maltsev [Fri, 30 Mar 2018 16:32:52 +0000 (16:32 +0000)]
Merge "Add OEM_PAID capability to system api" into pi-dev

6 years agoMerge "API council requested tweaks to NetworkRequest." into pi-dev
Jeff Sharkey [Fri, 30 Mar 2018 16:30:24 +0000 (16:30 +0000)]
Merge "API council requested tweaks to NetworkRequest." into pi-dev

6 years agoMerge "Show media stream always when a11y is active stream" into pi-dev
Julia Reynolds [Fri, 30 Mar 2018 16:28:04 +0000 (16:28 +0000)]
Merge "Show media stream always when a11y is active stream" into pi-dev

6 years agoMerge "[QS] Override/add long click accessibility action" into pi-dev
Rohan Shah [Fri, 30 Mar 2018 15:45:53 +0000 (15:45 +0000)]
Merge "[QS] Override/add long click accessibility action" into pi-dev

6 years agowifi metrics(proto): Add scan throttling metrics
Roshan Pius [Tue, 27 Mar 2018 21:33:01 +0000 (14:33 -0700)]
wifi metrics(proto): Add scan throttling metrics

Bug: 76429171
Test: Unit tests
Change-Id: I77cd03d323e1edbb93369945532c8d2f24bffd68

6 years agoAdd auto-grant permission slice API
Jason Monk [Fri, 30 Mar 2018 15:26:56 +0000 (11:26 -0400)]
Add auto-grant permission slice API

Test: slice manager tests
Bug: 77313888
Change-Id: I21e9200c5c8cd7ff812d3f5eac997a704a9b86a2

6 years agoMerge "System notif channels updated on locale change" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 15:39:27 +0000 (15:39 +0000)]
Merge "System notif channels updated on locale change" into pi-dev

6 years ago[Notif] Dont show blocking helper for non-blockable notifs
Rohan Shah [Thu, 29 Mar 2018 02:05:52 +0000 (19:05 -0700)]
[Notif] Dont show blocking helper for non-blockable notifs

If the notification is considered non-blockable, we don't want to show
it. Moved necessary logic around into the appropriate classes (minor
refactor).

Cached system info (IPC) in ExpandableNotifRow instead of calling so
late in the game.

Updated tests & added nonblocking checks.

Change-Id: Ic010a0b32cf6df42e9d0d2c600cbbe95a68ffde2
Bug: 74115090
Test: atest {notif tests}
Test: Visually via debug flag on sys notif

6 years agoRequire signing cert history certs to be unique.
Daniel Cashman [Wed, 28 Mar 2018 22:58:14 +0000 (15:58 -0700)]
Require signing cert history certs to be unique.

Bug: 73943012
Test: android.appsecurity.cts.PkgInstallSignatureVerificationTest
Change-Id: Id7e91c60f1619ef793d73a9dd736debf7ad2ae0c
(cherry picked from commit ef05408bcdcb32d005f91ca295a1e514845a58f4)

6 years agoMerge "Slices: Fix up some formatting and add examples" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 15:09:26 +0000 (15:09 +0000)]
Merge "Slices: Fix up some formatting and add examples" into pi-dev

6 years agoMerge "Enable Last Kmsg, also fix the GZipSection test." into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 14:54:55 +0000 (14:54 +0000)]
Merge "Enable Last Kmsg, also fix the GZipSection test." into pi-dev

6 years agoMerge "Allow for the different nav bars before the device is provisioned Split window...
TreeHugger Robot [Fri, 30 Mar 2018 14:38:34 +0000 (14:38 +0000)]
Merge "Allow for the different nav bars before the device is provisioned Split window creation from content creation so I could remove and add new content once the provisioned state changed." into pi-dev

6 years agoWorkaround HAL 1.1 program list fetching limitation by preferring FM.
Tomasz Wasilczyk [Fri, 30 Mar 2018 14:37:01 +0000 (07:37 -0700)]
Workaround HAL 1.1 program list fetching limitation by preferring FM.

Bug: 75970985
Test: manual
Change-Id: I842e9b4765c5ec2479950e88b6f33aa2264a9d0b

6 years agoMerge "Make battery saver suggestion configurable" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 14:29:30 +0000 (14:29 +0000)]
Merge "Make battery saver suggestion configurable" into pi-dev

6 years agoMerge changes from topics "niap-asym-write-pi-dev", "niap-asym-write-api-pi-dev"...
Brian Young [Fri, 30 Mar 2018 14:21:19 +0000 (14:21 +0000)]
Merge changes from topics "niap-asym-write-pi-dev", "niap-asym-write-api-pi-dev" into pi-dev

* changes:
  Restore "Add "Unlocked device required" parameter to keys"
  Add "Unlocked device required" key API

6 years agoFix memory leak in ShaderCache
Stan Iliev [Thu, 29 Mar 2018 17:33:53 +0000 (13:33 -0400)]
Fix memory leak in ShaderCache

Fix memory leak in a limited memory situation within
ShaderCache::load().

Bug: 76213660
Test: Passed ShaderCacheTest unit test, ran a build on device.
Change-Id: Ibb6ea8fe167eb22bcbbaffc4cfffac12eda98c42