OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Expands javadocs for Intent.FLAG_ACTIVITY_MATCH_EXTERNAL" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 18:23:07 +0000 (18:23 +0000)]
Merge "Expands javadocs for Intent.FLAG_ACTIVITY_MATCH_EXTERNAL" into pi-dev

6 years agoMerge "Disallow animating when opening home" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 17:41:28 +0000 (17:41 +0000)]
Merge "Disallow animating when opening home" into pi-dev

6 years agoMerge "[Notif] Limit shown events to manager.show" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 17:40:03 +0000 (17:40 +0000)]
Merge "[Notif] Limit shown events to manager.show" into pi-dev

6 years agoExpands javadocs for Intent.FLAG_ACTIVITY_MATCH_EXTERNAL
Patrick Baumann [Thu, 10 May 2018 17:10:26 +0000 (10:10 -0700)]
Expands javadocs for Intent.FLAG_ACTIVITY_MATCH_EXTERNAL

This change adds much needed detail to the new MATCH_EXTERNAL flag,
explaining some of the behavior changes that come with using it.

Test: none
Bug: 63117034
Bug: 79325769
Change-Id: Iab320d2171ffe8d8012a2928656ea61d5e0f0862

6 years agoMerge "Combine a message as one string and give it to snet_event_log" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 17:02:35 +0000 (17:02 +0000)]
Merge "Combine a message as one string and give it to snet_event_log" into pi-dev

6 years agoMerge "Revert "Add static analysis data."" into pi-dev
Nicolas Geoffray [Thu, 10 May 2018 16:55:46 +0000 (16:55 +0000)]
Merge "Revert "Add static analysis data."" into pi-dev

6 years agoRevert "Add static analysis data."
Nicolas Geoffray [Thu, 10 May 2018 16:54:21 +0000 (16:54 +0000)]
Revert "Add static analysis data."

bug: 64382372

Merged-in: I188a69ad05fffa69be79fec36b180fc9f76998fa

This reverts commit 43293cfd3320661f3bfb19490ab0cf4927c1882f.

Change-Id: I324819bba610426f5ea63077275f792374386b6c

6 years agoMerge "RRO: Fix black screen flashes for splits" into pi-dev
Ryan Mitchell [Thu, 10 May 2018 16:47:09 +0000 (16:47 +0000)]
Merge "RRO: Fix black screen flashes for splits" into pi-dev

6 years agoRRO: Fix black screen flashes for splits
Ryan Mitchell [Wed, 9 May 2018 16:01:12 +0000 (09:01 -0700)]
RRO: Fix black screen flashes for splits

Downloading splits of an app while the app is open lead to black screen
flashes because apps would relaunch unnecessarily. This
change allows OMS to have correct state about targets while no longer
sending OVERLAY_CHANGED events or relaunching activities when packages
are changed or upgraded.

Bug: 79376331
Test: App provided in b/79376331 and regression testing of previous
black screen flash problems
Change-Id: I6e725dbe44b910959bc14304801b314024d9e831

6 years agoMerge "Fix BatterySaverPolicyTest and add more accessibility test" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 16:39:59 +0000 (16:39 +0000)]
Merge "Fix BatterySaverPolicyTest and add more accessibility test" into pi-dev

6 years agoMerge "Move BH test to flaky and change it slightly" into pi-dev
Rohan Shah [Thu, 10 May 2018 16:20:18 +0000 (16:20 +0000)]
Merge "Move BH test to flaky and change it slightly" into pi-dev

6 years agoMerge "Desaturating the icon disabled on app widgets for a suspended app" into pi-dev
Sunny Goyal [Thu, 10 May 2018 16:04:17 +0000 (16:04 +0000)]
Merge "Desaturating the icon disabled on app widgets for a suspended app" into pi-dev

6 years agoCombine a message as one string and give it to snet_event_log
Koji Fukui [Wed, 9 May 2018 02:38:01 +0000 (11:38 +0900)]
Combine a message as one string and give it to snet_event_log

snet_event_log gets 3 arguments. Combine a message of revoking
permission when group changed and give it to 3rd argument of
snet_event_log.

Test: Repo'd scenario and looked at log
Bug: 79443138
Change-Id: Iecf0505bb7927891aa879d0cacedcf94872b9452

6 years agoMerge "Revert "Change the root of trust for CryptAuth Vault Service"" into pi-dev
Bo Zhu [Thu, 10 May 2018 15:56:48 +0000 (15:56 +0000)]
Merge "Revert "Change the root of trust for CryptAuth Vault Service"" into pi-dev

6 years agoRevert "Change the root of trust for CryptAuth Vault Service"
Bo Zhu [Thu, 10 May 2018 15:37:41 +0000 (15:37 +0000)]
Revert "Change the root of trust for CryptAuth Vault Service"

This reverts commit 1f4097860987a7e8337f7ffb101488512698e69c.

Reason for revert: Will resubmit once the server side change is ready

Bug: 79513473
Bug: 78920513
Change-Id: I4c94d307a9181390a59cdc1602cc9d04c1661ad0

6 years agoMerge "Only set text when it actually changes" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 15:50:47 +0000 (15:50 +0000)]
Merge "Only set text when it actually changes" into pi-dev

6 years agoMerge "Add static analysis data." into pi-dev
Nicolas Geoffray [Thu, 10 May 2018 15:25:44 +0000 (15:25 +0000)]
Merge "Add static analysis data." into pi-dev

6 years agoMerge "Disable APF memory clear on pre-APFv4 devices" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 15:14:20 +0000 (15:14 +0000)]
Merge "Disable APF memory clear on pre-APFv4 devices" into pi-dev

6 years agoAdd static analysis data.
Nicolas Geoffray [Wed, 9 May 2018 20:55:50 +0000 (21:55 +0100)]
Add static analysis data.

bug: 64382372
Test: m

Merged-in: I188a69ad05fffa69be79fec36b180fc9f76998fa
Change-Id: I1320c833bf2084d03627fca6bb1f5d365cf289c2

6 years agoDisable APF memory clear on pre-APFv4 devices
Bernie Innocenti [Wed, 9 May 2018 08:58:50 +0000 (17:58 +0900)]
Disable APF memory clear on pre-APFv4 devices

Fixes a system crash on HU when connecting to a wifi AP.

Change-Id: I8b71323985b6c5fc8a75f99470c9f86343d57f90
Bug: 78905546
Test: manually on android auto device

6 years agoMerge "Fix colorized messaging layout and smart replies." into pi-dev
Kenny Guy [Thu, 10 May 2018 11:37:38 +0000 (11:37 +0000)]
Merge "Fix colorized messaging layout and smart replies." into pi-dev

6 years agoMerge "Add navbar magnification to critical accessibility check" into pi-dev
Annie Meng [Thu, 10 May 2018 09:47:29 +0000 (09:47 +0000)]
Merge "Add navbar magnification to critical accessibility check" into pi-dev

6 years agoFix colorized messaging layout and smart replies.
Kenny Guy [Wed, 2 May 2018 18:10:36 +0000 (19:10 +0100)]
Fix colorized messaging layout and smart replies.

Modify messaging style and smart replies view to
cope with colorized backgrounds.

Bug: 78928664
Bug: 77927019
Test: atest SystemUITests (with patch from ag/3992401)
Test: visual - see bug for screenshots

Change-Id: Iee66931574fb48d0340986bf520532f798ef59fc

6 years agoMerge "Fixing a couple crashes in the SoundTriggerTestApp" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 06:57:32 +0000 (06:57 +0000)]
Merge "Fixing a couple crashes in the SoundTriggerTestApp" into pi-dev

6 years agoMerge "AOD group notification style" into pi-dev
Lucas Dupin [Thu, 10 May 2018 06:49:42 +0000 (06:49 +0000)]
Merge "AOD group notification style" into pi-dev

6 years agoMerge "Dismiss Quickstep onboarding tip sooner." into pi-dev
Tracy Zhou [Thu, 10 May 2018 06:45:02 +0000 (06:45 +0000)]
Merge "Dismiss Quickstep onboarding tip sooner." into pi-dev

6 years agoMerge "Make system server profiling an explicit runtime intent" into pi-dev
Calin Juravle [Thu, 10 May 2018 06:03:08 +0000 (06:03 +0000)]
Merge "Make system server profiling an explicit runtime intent" into pi-dev

6 years agoMerge "Fix SSID not being logged by the validation logs" into pi-dev
Chalard Jean [Thu, 10 May 2018 05:58:24 +0000 (05:58 +0000)]
Merge "Fix SSID not being logged by the validation logs" into pi-dev

6 years agoMerge "Further flesh out app ops foreground state." into pi-dev
Dianne Hackborn [Thu, 10 May 2018 05:49:08 +0000 (05:49 +0000)]
Merge "Further flesh out app ops foreground state." into pi-dev

6 years agoMerge "Allow keep showing to bypass bouncer" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 05:43:33 +0000 (05:43 +0000)]
Merge "Allow keep showing to bypass bouncer" into pi-dev

6 years agoDismiss Quickstep onboarding tip sooner.
Tracy Zhou [Tue, 8 May 2018 22:24:17 +0000 (15:24 -0700)]
Dismiss Quickstep onboarding tip sooner.

We want to dismiss the quickstep tip immediately after swipe up gesture
crosses threshold.

Bug: 70180942
Test: Manual test
Change-Id: I760e2b5cad4b38c84b1199729f9d5f2a8827af4c

6 years agoMerge "MediaSessionService: Provide caller information for media key events" into...
Jaewan Kim [Thu, 10 May 2018 04:48:35 +0000 (04:48 +0000)]
Merge "MediaSessionService: Provide caller information for media key events" into pi-dev

6 years agoMerge "Enhance adding subscription logs" into pi-dev
Shuo Qian [Thu, 10 May 2018 04:32:36 +0000 (04:32 +0000)]
Merge "Enhance adding subscription logs" into pi-dev

6 years agoAllow keep showing to bypass bouncer
Rohan Shah [Thu, 10 May 2018 03:32:15 +0000 (20:32 -0700)]
Allow keep showing to bypass bouncer

User experience improvement that alleviates the current bouncer bug with
the blocking helper (where users can't swipe after interacting with the
blocking helper).

Bug: 78222122
Test: Added test case, verified on device with lock screen pin + helper
Change-Id: I54806df8b960ea305b120aef6217a6b90f30590b

6 years ago[Notif] Limit shown events to manager.show
Rohan Shah [Thu, 10 May 2018 02:55:30 +0000 (19:55 -0700)]
[Notif] Limit shown events to manager.show

We have a slight over-fire of show events due to bindNotification being
called multiple times on density or user config changes. To be extra
careful, limit the show events to only get called with
perhapsShowBlockingHelper.

Bug:74609669
Test: Through adb logcat -b events + thru config changes
Change-Id: I0719052869e53ff1cba5030579daf512f324e99c

6 years agoMerge "Fix the gauge metric data size estimation." into pi-dev
TreeHugger Robot [Thu, 10 May 2018 02:43:20 +0000 (02:43 +0000)]
Merge "Fix the gauge metric data size estimation." into pi-dev

6 years agoMerge "Add a sampling method to pull gauge when condition changes to true." into...
Yang Lu [Thu, 10 May 2018 02:37:49 +0000 (02:37 +0000)]
Merge "Add a sampling method to pull gauge when condition changes to true." into pi-dev

6 years agoMerge "Skip writing metrics to disk if it's entirely composed of no_report_metric...
TreeHugger Robot [Thu, 10 May 2018 02:02:37 +0000 (02:02 +0000)]
Merge "Skip writing metrics to disk if it's entirely composed of no_report_metric" into pi-dev

6 years agoMove BH test to flaky and change it slightly
Rohan Shah [Thu, 10 May 2018 01:59:44 +0000 (18:59 -0700)]
Move BH test to flaky and change it slightly

Marked the test as flaky. Additionally, changed how mocks are created.
This may or may not affect the test's passing rate. Also updated the
double spy horribleness.

Bug: 79444334
Test: Ran atest, no functional changes
Change-Id: Ieb901a1702ab15bdf98f37cb4b37d5068882162d

6 years agoFurther flesh out app ops foreground state.
Dianne Hackborn [Wed, 9 May 2018 00:30:48 +0000 (17:30 -0700)]
Further flesh out app ops foreground state.

Fix some bugs, add the ability to monitor state changes, improve
dumpsys output to help debugging, add a new check API that allows
the caller to get the real state.

Bug: 78480444
Test: atest FrameworksServicesTests:AppOpsServiceTest
Test: atest CtsPermissionTestCases:AppOpsTest
Change-Id: I3d41be9968c1d95a1456f4052da958ea64aa068d

6 years agoMerge "Fix an accidentally reverted condition" into pi-dev
Svetoslav Ganov [Thu, 10 May 2018 01:02:17 +0000 (01:02 +0000)]
Merge "Fix an accidentally reverted condition" into pi-dev

6 years agoMerge "Fix the flaky gauge/value e2e test due to cached events." into pi-dev
TreeHugger Robot [Thu, 10 May 2018 01:02:10 +0000 (01:02 +0000)]
Merge "Fix the flaky gauge/value e2e test due to cached events." into pi-dev

6 years agoFix an accidentally reverted condition
Svet Ganov [Wed, 9 May 2018 22:27:43 +0000 (15:27 -0700)]
Fix an accidentally reverted condition

The conditional was accidentally reversed so bringing it
back to the correct state and also bringing back the security
exception being thrown on violation.

Test: manual

bug:67773960

Change-Id: I1223297b8662e94413cc0bdcbe86089d1af296c2

6 years agoOnly set text when it actually changes
Lucas Dupin [Thu, 10 May 2018 00:40:20 +0000 (17:40 -0700)]
Only set text when it actually changes

Bug: 77823972
Test: runtest systemui-jank -c android.platform.systemui.tests.jank.SystemUiJankTests -m testUnlock
Change-Id: Ie056d3c0d9bf413f10864356ba1f57913b87d066

6 years agoMerge "Adds overlay field for Swipe Up gesture's default opt-in value" into pi-dev
Mehdi Alizadeh [Thu, 10 May 2018 00:38:50 +0000 (00:38 +0000)]
Merge "Adds overlay field for Swipe Up gesture's default opt-in value" into pi-dev

6 years agoMerge "Fixed name of autofill service on save UI." into pi-dev
Felipe Leme [Wed, 9 May 2018 23:48:50 +0000 (23:48 +0000)]
Merge "Fixed name of autofill service on save UI." into pi-dev

6 years agoFix the gauge metric data size estimation.
Yangster-mac [Wed, 11 Apr 2018 20:55:04 +0000 (13:55 -0700)]
Fix the gauge metric data size estimation.

Test: statsd test
BUG: b/77906846
Change-Id: Ie5ab54771acadde1e825289fe5ec491cc2225458

6 years agoSkip writing metrics to disk if it's entirely composed of
yro [Wed, 9 May 2018 23:03:27 +0000 (16:03 -0700)]
Skip writing metrics to disk if it's entirely composed of
no_report_metric

Test: unit test, cts
Bug: 79488249
Change-Id: I3e13a6271cc36665a43d0f09d8663e5996224477

6 years agoAdd a sampling method to pull gauge when condition changes to true.
Yangster [Wed, 9 May 2018 22:51:07 +0000 (15:51 -0700)]
Add a sampling method to pull gauge when condition changes to true.

Test: statsd test

BUG: b/79490890
Change-Id: I82ed6681151f8a217e74bd0d855f817b4fa0619c

6 years agoMerge "add install action for carrier id to system API" into pi-dev
TreeHugger Robot [Wed, 9 May 2018 22:47:40 +0000 (22:47 +0000)]
Merge "add install action for carrier id to system API" into pi-dev

6 years agoMerge "Allow ImageDecoder to read SkFILEStream directly" into pi-dev
Leon Scroggins [Wed, 9 May 2018 22:44:39 +0000 (22:44 +0000)]
Merge "Allow ImageDecoder to read SkFILEStream directly" into pi-dev

6 years agoDesaturating the icon disabled on app widgets for a suspended app
Sunny Goyal [Wed, 9 May 2018 22:39:23 +0000 (15:39 -0700)]
Desaturating the icon disabled on app widgets for a suspended app

Bug: 76454418
Test: Verified preview for a disabled widget on device
Change-Id: Ie5903c547bbb642c2fe72ddcb2a50e428f6832be

6 years agoMerge "Add full unlock gesture to FalsingManager" into pi-dev
TreeHugger Robot [Wed, 9 May 2018 22:09:20 +0000 (22:09 +0000)]
Merge "Add full unlock gesture to FalsingManager" into pi-dev

6 years agoMerge "Added unit test for activity start interceptor" into pi-dev
TreeHugger Robot [Wed, 9 May 2018 21:52:53 +0000 (21:52 +0000)]
Merge "Added unit test for activity start interceptor" into pi-dev

6 years agoMake system server profiling an explicit runtime intent
Calin Juravle [Fri, 4 May 2018 02:51:18 +0000 (19:51 -0700)]
Make system server profiling an explicit runtime intent

Pass an explicit flag to the runtime when we need to profile the system
server. This ensures that we only start the ProfileSaver and allocate the
code cache when needed.

Test: manual, on a device with system server profiling enabled
Bug: 74081010

(cherry picked from commit 8eb891be6f53118cb4b116fe29d131de166957c1)

Merged-In: I756682a9644796afb53f0c010d2bd2764ea5a828
Change-Id: I756682a9644796afb53f0c010d2bd2764ea5a828

6 years agoMerge "ActivityManagerService: explicitly break connection cycles" into pi-dev
TreeHugger Robot [Wed, 9 May 2018 21:34:00 +0000 (21:34 +0000)]
Merge "ActivityManagerService: explicitly break connection cycles" into pi-dev

6 years agoMerge "Allows disk reads when adding native paths to classloader" into pi-dev
TreeHugger Robot [Wed, 9 May 2018 21:19:53 +0000 (21:19 +0000)]
Merge "Allows disk reads when adding native paths to classloader" into pi-dev

6 years agoMerge "DO NOT MERGE: Allow to control behavior of loadSafeLabel" into pi-dev
TreeHugger Robot [Wed, 9 May 2018 21:17:51 +0000 (21:17 +0000)]
Merge "DO NOT MERGE: Allow to control behavior of loadSafeLabel" into pi-dev

6 years agoMerge "Fix night light and COLOR_MODE_AUTOMATIC" into pi-dev
Chia-I Wu [Wed, 9 May 2018 21:04:08 +0000 (21:04 +0000)]
Merge "Fix night light and COLOR_MODE_AUTOMATIC" into pi-dev

6 years agoMerge "Fix shutter sound cannot enable." into pi-dev
Jiabin Huang [Wed, 9 May 2018 20:43:14 +0000 (20:43 +0000)]
Merge "Fix shutter sound cannot enable." into pi-dev

6 years agoMerge "Add cmd package shell command for taking profile snapshots" into pi-dev
Calin Juravle [Wed, 9 May 2018 20:39:25 +0000 (20:39 +0000)]
Merge "Add cmd package shell command for taking profile snapshots" into pi-dev

6 years agoMerge "Process "dalvik.vm.profilebootimage" system property" into pi-dev
Calin Juravle [Wed, 9 May 2018 19:56:59 +0000 (19:56 +0000)]
Merge "Process "dalvik.vm.profilebootimage" system property" into pi-dev

6 years agoFixed name of autofill service on save UI.
Felipe Leme [Wed, 9 May 2018 19:42:53 +0000 (12:42 -0700)]
Fixed name of autofill service on save UI.

Test: atest CtsAutoFillServiceTestCases
Bug: 62537081
Fixes: 79201521

Change-Id: I9ae7137719390b61c38da1e52fcb13fd59333792

6 years agoDO NOT MERGE: Allow to control behavior of loadSafeLabel
Philip P. Moltmann [Wed, 9 May 2018 16:13:24 +0000 (09:13 -0700)]
DO NOT MERGE: Allow to control behavior of loadSafeLabel

(Minimal change for P, full change already in master)

Test: looked at package installer UI and saw that labels are not
truncated anymore.
Bug: 77964730

Change-Id: Ia181288a90501f4f563d24dacd6edb0c81406b82

6 years agoMerge "Log wipe failure" into pi-dev
Pavel Grafov [Wed, 9 May 2018 19:46:05 +0000 (19:46 +0000)]
Merge "Log wipe failure" into pi-dev

6 years agoMerge "Acquire lock before calling getDeviceOwnerAdminLocked" into pi-dev
Pavel Grafov [Wed, 9 May 2018 19:46:00 +0000 (19:46 +0000)]
Merge "Acquire lock before calling getDeviceOwnerAdminLocked" into pi-dev

6 years agoAdd cmd package shell command for taking profile snapshots
Calin Juravle [Sat, 5 May 2018 00:35:29 +0000 (17:35 -0700)]
Add cmd package shell command for taking profile snapshots

Test: adb shell cmd package snapshot-profile pkgname
Bug: 74081010

(cherry picked from commit 21216c6a0323b0b63c9c5712f98fc8f7879dd8c1)

Merged-In: I96d73959cb46194667c7801767a9ebd44fd72d90
Change-Id: I96d73959cb46194667c7801767a9ebd44fd72d90

6 years agoFix night light and COLOR_MODE_AUTOMATIC
Chia-I Wu [Mon, 7 May 2018 20:17:04 +0000 (13:17 -0700)]
Fix night light and COLOR_MODE_AUTOMATIC

The native mode methods in DisplayTransformManager were used to
decide whether the color matrix works in linear or gamma space.  For
COLOR_MODE_AUTOMATIC, the color matrix works in lienar instead of
gamma space.

Fix the native mode methods to be more clear about the intention to
avoid future breakage.

Bug: 79257138
Test: manual and atest FrameworksServicesTests:ColorDisplayServiceTest
Change-Id: Ied60a62bd7330e87c3207f2183d7e83af9e51fb7

6 years agoMerge "Allow only selected priv apps to run OOB" into pi-dev
Victor Hsieh [Wed, 9 May 2018 19:21:22 +0000 (19:21 +0000)]
Merge "Allow only selected priv apps to run OOB" into pi-dev

6 years agoMerge "Add DIALOG_UPDATABLE_LIST_PREFERENCE into metrics_constants.proto" into pi-dev
android-build-team Robot [Wed, 9 May 2018 19:18:28 +0000 (19:18 +0000)]
Merge "Add DIALOG_UPDATABLE_LIST_PREFERENCE into metrics_constants.proto" into pi-dev

6 years agoMerge "Reset password field instead of keyguard" into pi-dev
android-build-team Robot [Wed, 9 May 2018 18:35:53 +0000 (18:35 +0000)]
Merge "Reset password field instead of keyguard" into pi-dev

6 years agoMerge "Update the Open Mobile API version" into pi-dev
android-build-team Robot [Wed, 9 May 2018 18:35:47 +0000 (18:35 +0000)]
Merge "Update the Open Mobile API version" into pi-dev

6 years agoMerge "Lock profiles when lockdown is invoked." into pi-dev
Pavel Grafov [Wed, 9 May 2018 18:29:24 +0000 (18:29 +0000)]
Merge "Lock profiles when lockdown is invoked." into pi-dev

6 years agoAllows disk reads when adding native paths to classloader
Patrick Baumann [Wed, 9 May 2018 18:12:49 +0000 (11:12 -0700)]
Allows disk reads when adding native paths to classloader

In the cases that the classloader is being updated on the main thread,
temporarily allows disk reads so that native paths can be checked for
directory vs. APK.

Change-Id: I89cab9c7fcb71b8eff8891db974285844affe220
Fixes: 79425683
Test: atest WebViewHostSideStartupTest

6 years agoAdds overlay field for Swipe Up gesture's default opt-in value
Mehdi Alizadeh [Fri, 4 May 2018 22:51:56 +0000 (15:51 -0700)]
Adds overlay field for Swipe Up gesture's default opt-in value

Bug: 78641268
Test: Manual test
Change-Id: I0386629ee55a3752fdf211b36cacdcc10ac00f97

6 years agoAOD group notification style
Lucas Dupin [Mon, 7 May 2018 22:32:13 +0000 (15:32 -0700)]
AOD group notification style

Change-Id: Ibcabb20f6d4eb48bf36204f8068f48176844f88d
Fixes: 76110106
Test: visual

6 years agoMerge "Move libstatssocket to system/ so that lmkd can build on PDK." into pi-dev
android-build-team Robot [Wed, 9 May 2018 18:08:46 +0000 (18:08 +0000)]
Merge "Move libstatssocket to system/ so that lmkd can build on PDK." into pi-dev

6 years agoMerge "Fix partial bucket unit tests." into pi-dev
android-build-team Robot [Wed, 9 May 2018 18:07:24 +0000 (18:07 +0000)]
Merge "Fix partial bucket unit tests." into pi-dev

6 years agoUpdate the snap targets in minimized mode to reflect the correct targets
Matthew Ng [Fri, 4 May 2018 22:42:54 +0000 (15:42 -0700)]
Update the snap targets in minimized mode to reflect the correct targets

In minimized mode there is only 1 split snap target compared to regular
portrait that has 30%, 50%, 70% targets. Update the accessibility options
for minimized mode to reflect the correct targets. Also removed the
middle target if there is only 1 split snap target.

Test: using talkback, see custom options on divider handle in minimized
mode
Fixes: 78304300

Change-Id: I8421499616cf0fe503c1f6a081a2151098640a9c

6 years agoMerge "Allow the shell user to snapshot profiles for debuggable apps" into pi-dev
Calin Juravle [Wed, 9 May 2018 17:41:00 +0000 (17:41 +0000)]
Merge "Allow the shell user to snapshot profiles for debuggable apps" into pi-dev

6 years agoMerge "Change the root of trust for CryptAuth Vault Service" into pi-dev
android-build-team Robot [Wed, 9 May 2018 17:29:06 +0000 (17:29 +0000)]
Merge "Change the root of trust for CryptAuth Vault Service" into pi-dev

6 years agoLog wipe failure
Pavel Grafov [Tue, 8 May 2018 17:06:22 +0000 (18:06 +0100)]
Log wipe failure

Test: injected an error into RecoverySystem.rebootWipeUserData
Fixes: 79417596
Change-Id: I3fef4bdd2f6357b08be4976c35c651908e9b3599

6 years agoMerge "[DO NOT MERGE] Use INetd Constant for IpSec Interface Prefix" into pi-dev
Nathan Harold [Wed, 9 May 2018 17:27:13 +0000 (17:27 +0000)]
Merge "[DO NOT MERGE] Use INetd Constant for IpSec Interface Prefix" into pi-dev

6 years agoActivityManagerService: explicitly break connection cycles
Tim Murray [Wed, 2 May 2018 22:14:35 +0000 (15:14 -0700)]
ActivityManagerService: explicitly break connection cycles

Currently, it is possible for two services to bind to each other and
receive each other's oom_adj, even if there are no other bindings that
would cause either process to be promoted. This causes a pair of
services to remain at a higher oom_adj level than they intended if
one service was promoted by a binding that was later destroyed.

To fix this, any process that encounters a cycle will be marked for a
later adjustment, and those bindings that encounter a cycle will not be
used to promote processes. After the initial oom_adj adjustments, all
processes that encountered a cycle will be retried. These retries will
continue until no process that encountered a cycle changes its process
state, at which point the process states should be stable.

Test: CTS; boots; runs normally
bug 78894563

Change-Id: I7cb2aa2fc461c08bc8e7f687a673249aef78351b

6 years agoMerge "Set app name when notification is updated" into pi-dev
android-build-team Robot [Wed, 9 May 2018 17:20:02 +0000 (17:20 +0000)]
Merge "Set app name when notification is updated" into pi-dev

6 years agoLock profiles when lockdown is invoked.
Pavel Grafov [Wed, 2 May 2018 12:44:46 +0000 (13:44 +0100)]
Lock profiles when lockdown is invoked.

Change-Id: I3abfa464255b0fc04a09657b8ca43bcc154621c0
Bug: 76208903
Test: manually invoked lockdown in all combinations.

6 years agoMerge "Greylist updates, Wednesday edition." into pi-dev
android-build-team Robot [Wed, 9 May 2018 17:13:26 +0000 (17:13 +0000)]
Merge "Greylist updates, Wednesday edition." into pi-dev

6 years agoMerge "Fix a typo in the API doc of TextView#setKeyListener()" into pi-dev
android-build-team Robot [Wed, 9 May 2018 17:06:33 +0000 (17:06 +0000)]
Merge "Fix a typo in the API doc of TextView#setKeyListener()" into pi-dev

6 years agoMerge "Print correct version code when skipping outdated system packages" into pi-dev
android-build-team Robot [Wed, 9 May 2018 17:01:27 +0000 (17:01 +0000)]
Merge "Print correct version code when skipping outdated system packages" into pi-dev

6 years agoMerge changes I5851dd16,Id196307f into pi-dev
android-build-team Robot [Wed, 9 May 2018 16:55:26 +0000 (16:55 +0000)]
Merge changes I5851dd16,Id196307f into pi-dev

* changes:
  OMS: harden permission checks
  Add missing fields to OverlayInfo.hashCode

6 years agoMerge "Changed doze-light timeouts" into pi-dev
android-build-team Robot [Wed, 9 May 2018 16:54:17 +0000 (16:54 +0000)]
Merge "Changed doze-light timeouts" into pi-dev

6 years agoAcquire lock before calling getDeviceOwnerAdminLocked
Pavel Grafov [Wed, 9 May 2018 16:19:04 +0000 (17:19 +0100)]
Acquire lock before calling getDeviceOwnerAdminLocked

Change-Id: I318c7cea8e9b7de2dc9fa05f786524848c9c76dd
Fixes: 79418618
Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.DeviceOwnerTest#testKeyManagement

6 years agoMerge "Allow AssetStreamAdaptor to be seekable" into pi-dev
Leon Scroggins [Wed, 9 May 2018 16:40:01 +0000 (16:40 +0000)]
Merge "Allow AssetStreamAdaptor to be seekable" into pi-dev

6 years agoMerge "Use filtering when drawing nine-patches" into pi-dev
Leon Scroggins [Wed, 9 May 2018 16:38:41 +0000 (16:38 +0000)]
Merge "Use filtering when drawing nine-patches" into pi-dev

6 years agoReset password field instead of keyguard
Lucas Dupin [Wed, 9 May 2018 00:06:06 +0000 (17:06 -0700)]
Reset password field instead of keyguard

Reseting the keyguard has bigger implications, like hiding the bouncer
and resetting the StatusBarKeyguardViewManager.

Change-Id: Ib17e292c8c95ba19f4149ee04fc9680c69029a42
Fixes: 79187948
Test: go/sysui-bouncer-tests

6 years agoMerge "AudioService: Do not disconnect SCO started externally" into pi-dev
android-build-team Robot [Wed, 9 May 2018 16:20:20 +0000 (16:20 +0000)]
Merge "AudioService: Do not disconnect SCO started externally" into pi-dev

6 years agoMerge "Fix NPE in package manager when asserting overlays" into pi-dev
android-build-team Robot [Wed, 9 May 2018 16:15:45 +0000 (16:15 +0000)]
Merge "Fix NPE in package manager when asserting overlays" into pi-dev

6 years agoMerge "Allow profile owner to disable iris/face on personal keyguard" into pi-dev
Rubin Xu [Wed, 9 May 2018 16:06:43 +0000 (16:06 +0000)]
Merge "Allow profile owner to disable iris/face on personal keyguard" into pi-dev

6 years agoMerge "[Notif] Rename/reset blocking helper stats file" into pi-dev
Rohan Shah [Wed, 9 May 2018 15:33:04 +0000 (15:33 +0000)]
Merge "[Notif] Rename/reset blocking helper stats file" into pi-dev

6 years agoMerge "[Notif] Revert dismiss-to-view threshold to .8" into pi-dev
android-build-team Robot [Wed, 9 May 2018 15:30:44 +0000 (15:30 +0000)]
Merge "[Notif] Revert dismiss-to-view threshold to .8" into pi-dev