OSDN Git Service

android-x86/frameworks-base.git
6 years agoWifiConfiguration: Undeprecate WPA_PSK
Roshan Pius [Wed, 14 Mar 2018 22:10:18 +0000 (15:10 -0700)]
WifiConfiguration: Undeprecate WPA_PSK

This is needed for client mode operations for configuring WPA_PSK
networks. There is no alternative public value for WPA_PSK.
The intention was to deprecate usage of this value for AP
mode, but since we share the same object across client & AP mode
operations, we cannot mark this field deprecated.

Bug: 72332080
Test: make update-api
Change-Id: I75f675b630080d853422f945d7cbc37c5f205fde

6 years agoMerge "Allow controlling SystemUI flags during RecentsAnimation" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 16:00:49 +0000 (16:00 +0000)]
Merge "Allow controlling SystemUI flags during RecentsAnimation" into pi-dev

6 years agoMerge "Add new set of APIs to light grey." into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 15:59:42 +0000 (15:59 +0000)]
Merge "Add new set of APIs to light grey." into pi-dev

6 years agoMerge "Cutout: add runtime switch for screenshotting screen decorations" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 15:32:06 +0000 (15:32 +0000)]
Merge "Cutout: add runtime switch for screenshotting screen decorations" into pi-dev

6 years agoMerge "Set options on startingActivity instead of topActivity" into pi-dev
Chavi Weingarten [Wed, 14 Mar 2018 15:19:01 +0000 (15:19 +0000)]
Merge "Set options on startingActivity instead of topActivity" into pi-dev

6 years agoMerge "Check if last resumed activity is null before resuming." into pi-dev
Bryce Lee [Wed, 14 Mar 2018 14:37:48 +0000 (14:37 +0000)]
Merge "Check if last resumed activity is null before resuming." into pi-dev

6 years agoAllow controlling SystemUI flags during RecentsAnimation
Jorim Jaggi [Fri, 9 Mar 2018 16:29:48 +0000 (17:29 +0100)]
Allow controlling SystemUI flags during RecentsAnimation

Such that the bars can flip from light/dark depending on animation
progress.

Test: go/wm-smoke
Test: Swipe up from light bar app
Test: WindowStateTests
Bug: 73498721
Change-Id: Ie4b99c75840474a01225720fcd7372191f035a3e

6 years agoMerge "Add PrintRecommendationService to hidden API package whitelist" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 13:44:51 +0000 (13:44 +0000)]
Merge "Add PrintRecommendationService to hidden API package whitelist" into pi-dev

6 years agoMerge "DO NOT MERGE Create a key value settings observer for backup parameters" into...
Annie Meng [Wed, 14 Mar 2018 13:40:46 +0000 (13:40 +0000)]
Merge "DO NOT MERGE Create a key value settings observer for backup parameters" into pi-dev

6 years agoCutout: add runtime switch for screenshotting screen decorations
Adrian Roos [Thu, 8 Mar 2018 22:22:19 +0000 (23:22 +0100)]
Cutout: add runtime switch for screenshotting screen decorations

Bug: 65689439
Test: adb shell setprop debug.screenshot_rounded_corners true && adb shell kill `pid systemui` && adb exec-out screencap -p > out.png
Change-Id: Ibd2e8c94c0f1ad58b2357e8db1b20846588b1cce

6 years agoAdd new set of APIs to light grey.
Nicolas Geoffray [Wed, 14 Mar 2018 10:58:42 +0000 (10:58 +0000)]
Add new set of APIs to light grey.

bug:64382372
Test: m
Change-Id: I2ba92e8a7c04dca9c77f8ce58c5b9e85726c52d8
(cherry picked from commit ba0be3aaedf45b0f1cf4a589acfcea17fd65cd64)

6 years agoMerge "Add more uses of hidden APIs into light greylist" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 12:14:39 +0000 (12:14 +0000)]
Merge "Add more uses of hidden APIs into light greylist" into pi-dev

6 years agoMerge "Don't re-inflate bouncer" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 11:34:13 +0000 (11:34 +0000)]
Merge "Don't re-inflate bouncer" into pi-dev

6 years agoAdd PrintRecommendationService to hidden API package whitelist
David Brazdil [Tue, 13 Mar 2018 16:14:03 +0000 (16:14 +0000)]
Add PrintRecommendationService to hidden API package whitelist

This app builds directly against the platform. Add it to the whitelist.

Bug: 64382372
Test: make
Test: device boots
Change-Id: I16574374d2c233221cd1305f031f78aca1947f05
(cherry picked from commit 06c8a439f7641b59e3648f691ae1a1921244c68e)

6 years agoMerge "MediaSession2: Refactor incoming binder calls to the MediaSession2Stub" into...
Jaewan Kim [Wed, 14 Mar 2018 10:18:22 +0000 (10:18 +0000)]
Merge "MediaSession2: Refactor incoming binder calls to the MediaSession2Stub" into pi-dev

6 years agoAdd more uses of hidden APIs into light greylist
David Brazdil [Wed, 14 Mar 2018 09:37:55 +0000 (09:37 +0000)]
Add more uses of hidden APIs into light greylist

Uses from tests and common apps.

Bug: 64382372
Bug: 73094390
Bug: 74575101
Bug: 74525273
Bug: 74340334
Test: make
Change-Id: I51ab73184b34b0240afccfebcb166687d14b94ae

6 years agoMerge "Disable immersive mode confirmation when device is in lock task mode" into...
Benjamin Franz [Wed, 14 Mar 2018 08:36:11 +0000 (08:36 +0000)]
Merge "Disable immersive mode confirmation when device is in lock task mode" into pi-dev

6 years agoMerge "Add vendor-logged stats to statsd." into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 05:35:03 +0000 (05:35 +0000)]
Merge "Add vendor-logged stats to statsd." into pi-dev

6 years agoAdd vendor-logged stats to statsd.
Andrew Chant [Thu, 22 Feb 2018 23:17:05 +0000 (15:17 -0800)]
Add vendor-logged stats to statsd.

Add atoms to statsd that are logged by code residing in /vendor.
These atoms are reported from code in /vendor, and
rely on a vendor-provided /system daemon to log the atoms to statslogd.

Test: Built & reported manually.
Bug: 74261180
Bug: 74261750
Bug: 74258154
Bug: 74260998

Change-Id: I858a1266c4c212808fb63276439f1dd6cf2a387e

6 years agoMerge "Additional log for when power is pressed" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 05:12:36 +0000 (05:12 +0000)]
Merge "Additional log for when power is pressed" into pi-dev

6 years agoMerge "Centralized quick step/scrub/switch logic (1/2)" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 04:54:24 +0000 (04:54 +0000)]
Merge "Centralized quick step/scrub/switch logic (1/2)" into pi-dev

6 years agoMerge "Fix issue #62342672: API Review: OPSTR_ACTIVATE_VPN SystemApi" into pi-dev
Dianne Hackborn [Wed, 14 Mar 2018 03:02:20 +0000 (03:02 +0000)]
Merge "Fix issue #62342672: API Review: OPSTR_ACTIVATE_VPN SystemApi" into pi-dev

6 years agoMerge "Display shortcut modifiers in menu" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 02:48:57 +0000 (02:48 +0000)]
Merge "Display shortcut modifiers in menu" into pi-dev

6 years agoCheck if last resumed activity is null before resuming.
Bryce Lee [Wed, 14 Mar 2018 02:23:03 +0000 (19:23 -0700)]
Check if last resumed activity is null before resuming.

Previous implementation did not encounter this issue as the resumed
activity was simply assigned to the stack member variable. Since we
now rely on a callback from the activity record, we must check to
see if the record is null before invoking #setState on it.

Test: atest CtsAutoFillServiceTestCases:android.autofillservice.cts.SessionLifecycleTest#testDatasetVisibleWhileAutofilledAppIsLifecycled
Bug: 74604879
Change-Id: Icead81d44a826260145f72549a9caa0fb62d6af3

6 years agoMediaSession2: Refactor incoming binder calls to the MediaSession2Stub
Jaewan Kim [Tue, 13 Mar 2018 10:15:59 +0000 (19:15 +0900)]
MediaSession2: Refactor incoming binder calls to the MediaSession2Stub

This CL refactors methods in MediaSession2Stub that handles incoming
binder calls from the controller by adding methods to do followings
in one place.
  1. Check if the session hasn't closed.
  2. Check if the controller is allowed for the command
  3. Call SessionCallback#onCommandRequest() for APIs that would be
     sent directly to the MediaPlayerBase or MediaPlaylistAgent if
     allowed.

This CL also adds missing command code for setRating().

Bug: 74581821
Test: Run CTS tests with MediaComponents/runcts.sh
Change-Id: I9b96e26b7644cff3c54269773590c73ff30f956c

6 years agoMerge "Allow apps in /odm/app and /odm/priv-app (2/2)" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 00:49:26 +0000 (00:49 +0000)]
Merge "Allow apps in /odm/app and /odm/priv-app (2/2)" into pi-dev

6 years agoMerge "Add IntDef for MBMS download result" into pi-dev
Hall Liu [Wed, 14 Mar 2018 00:37:37 +0000 (00:37 +0000)]
Merge "Add IntDef for MBMS download result" into pi-dev

6 years agoCentralized quick step/scrub/switch logic (1/2)
Matthew Ng [Wed, 7 Mar 2018 22:23:04 +0000 (14:23 -0800)]
Centralized quick step/scrub/switch logic (1/2)

Moved all the logic for quick step/scrub/switch to QuickStepController
so touch events can be used for deciding which gesture is used. Once a
gesture is decided, the rest will not handle the other gestures.

Quickstep will trigger when passing a touch slop on navigation bar. The
event onQuickStep (with a motion event) will be sent to launcher when
this occurs telling it that systemui is not handling anymore motion
events. During quickstep motion events will still be proxied.

Used raw X and Y motion events for Opalayout and KeyButtonView so that
the moving over the touch slop can be detected to ignore button (long)
press state.

Fixes: 73971902
Fixes: 74456391
Test: swipe up
Change-Id: I40b931aa0a9f123b810ff9206c9b1ce040a68a56

6 years agoMerge "Differentiate between automatic and manual brightness in metrics." into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 00:10:33 +0000 (00:10 +0000)]
Merge "Differentiate between automatic and manual brightness in metrics." into pi-dev

6 years agoSet options on startingActivity instead of topActivity
chaviw [Tue, 13 Mar 2018 21:15:51 +0000 (14:15 -0700)]
Set options on startingActivity instead of topActivity

When an activity is starting, it may not be the top activity yet.
If that occurs, the options are set on the wrong activity when
moveTaskToFrontLocked is called. Therefore, when the options on
the correct activity are consumed and cleared, the options are
still set on the incorrect activity. This can lead to incorrect
behavior.

Specifically, this was causing issues when a RemoteAnimation was
set for a starting activity. The activity that was previously on
top was also getting the options and expecting a RemoteAnimation.
This caused no animation to execute when the next expected animation
was a WindowAnimation because it was still waiting on the
RemoteAnimation

Fixes: 74611027
Test: Launch activity then background. Open second activity from
notification. When pressing back, window animation should start.

Change-Id: I2198d8e2a0b14fb060c71a265cc98f24ce018ef9

6 years agoMerge "audioservice: add more properties for volume steps and default volumes" into...
Ari Hausman-Cohen [Tue, 13 Mar 2018 23:09:51 +0000 (23:09 +0000)]
Merge "audioservice: add more properties for volume steps and default volumes" into pi-dev

6 years agoMerge "DO NOT MERGE Fix French locale % escaping" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 23:00:53 +0000 (23:00 +0000)]
Merge "DO NOT MERGE Fix French locale % escaping" into pi-dev

6 years agoMerge "Add API to check extended APDU Supported" into pi-dev
Qingxi Li [Tue, 13 Mar 2018 23:00:10 +0000 (23:00 +0000)]
Merge "Add API to check extended APDU Supported" into pi-dev

6 years agoMerge "Fix NPE with null app window." into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 22:54:30 +0000 (22:54 +0000)]
Merge "Fix NPE with null app window." into pi-dev

6 years agoMerge "Revert "Camera: SessionConfiguration should use Executors"" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 22:44:21 +0000 (22:44 +0000)]
Merge "Revert "Camera: SessionConfiguration should use Executors"" into pi-dev

6 years agoDon't re-inflate bouncer
Lucas Dupin [Tue, 13 Mar 2018 22:30:41 +0000 (15:30 -0700)]
Don't re-inflate bouncer

Re-inflating the bouncer shouldn't be necessary every
time it get hidden, it causes lots of jank.

Bug: 74602128
Test: external/chromium-trace/systrace.py gfx freq am wm sched binder_driver view -a com.android.systemui -o sysui.html
Change-Id: Ie853874c1be3f621b7fa9f010a06ea0fa6253d1b

6 years agoMerge "Transfer starting windows more aggressively" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 22:24:51 +0000 (22:24 +0000)]
Merge "Transfer starting windows more aggressively" into pi-dev

6 years agoMerge "Unhide getWeight of Typeface" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 22:24:41 +0000 (22:24 +0000)]
Merge "Unhide getWeight of Typeface" into pi-dev

6 years agoMerge "Revive old private api for saving supportlib-v27" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 21:56:52 +0000 (21:56 +0000)]
Merge "Revive old private api for saving supportlib-v27" into pi-dev

6 years agoMerge "Add @attr for justificationMode" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 21:55:30 +0000 (21:55 +0000)]
Merge "Add @attr for justificationMode" into pi-dev

6 years agoMerge "Update AndroidTest to work with apct-suite setup" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 21:53:29 +0000 (21:53 +0000)]
Merge "Update AndroidTest to work with apct-suite setup" into pi-dev

6 years agoFix issue #62342672: API Review: OPSTR_ACTIVATE_VPN SystemApi
Dianne Hackborn [Wed, 7 Mar 2018 20:42:47 +0000 (12:42 -0800)]
Fix issue #62342672: API Review: OPSTR_ACTIVATE_VPN SystemApi

Add a new platform-only permission for being able to change
app ops mode, so nothing outside of the platform can do this.

Bug: 62342672
Test: Booted, ran, settings works, shell works, apps install
Change-Id: I372e649c019a8f9b95919ff0da6f56612d7061c2

6 years agoMerge "Add a check for duplicate configuration on statsd" into pi-dev
Howard Ro [Tue, 13 Mar 2018 21:38:16 +0000 (21:38 +0000)]
Merge "Add a check for duplicate configuration on statsd" into pi-dev

6 years agoMerge "Remove unneeded notify AIDL API" into pi-dev
Brad Ebinger [Tue, 13 Mar 2018 21:26:36 +0000 (21:26 +0000)]
Merge "Remove unneeded notify AIDL API" into pi-dev

6 years agoDO NOT MERGE Fix French locale % escaping
Lucas Dupin [Tue, 13 Mar 2018 18:40:32 +0000 (11:40 -0700)]
DO NOT MERGE Fix French locale % escaping

Test: adb shell dumpsys activity service com.android.systemui | grep compute
Change-Id: I75ed72e28f42dee3abbc09d0728fc8bac8c44829
Fixes: 74386188

6 years agoMerge "Remove stale string" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 20:57:49 +0000 (20:57 +0000)]
Merge "Remove stale string" into pi-dev

6 years agoRevert "Camera: SessionConfiguration should use Executors"
Yin-Chia Yeh [Tue, 13 Mar 2018 20:49:12 +0000 (20:49 +0000)]
Revert "Camera: SessionConfiguration should use Executors"

This reverts commit 004e73c38c799adfe5eaeceb96a5bc9aa3239b31.

Bug: 74605221
Bug: 73953366
Change-Id: I1665c3d235434f57a4cd4aa5f082720b83ac10cc

6 years agoMerge "Support Dynamic ImsService Querying" into pi-dev
Brad Ebinger [Tue, 13 Mar 2018 20:53:53 +0000 (20:53 +0000)]
Merge "Support Dynamic ImsService Querying" into pi-dev

6 years agoMerge "access bar notification rename" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 20:51:53 +0000 (20:51 +0000)]
Merge "access bar notification rename" into pi-dev

6 years agoMerge "Stop closing other dialogs when opening GlobalActions." into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 20:50:06 +0000 (20:50 +0000)]
Merge "Stop closing other dialogs when opening GlobalActions." into pi-dev

6 years agoAdd API to check extended APDU Supported
Qingxi Li [Wed, 7 Mar 2018 18:50:02 +0000 (10:50 -0800)]
Add API to check extended APDU Supported

Add API UiccSlotInfo#getIsExtendedApduSupported

Bug: 68999147
Test: TreeHugger & E2E
Change-Id: Ia400a23c35332356deaa214861f6f5ffe47c8092

6 years agoDifferentiate between automatic and manual brightness in metrics.
Michael Wright [Tue, 13 Mar 2018 20:16:35 +0000 (20:16 +0000)]
Differentiate between automatic and manual brightness in metrics.

We want to make sure the trend for number of interactions with the
brightness slider goes down over time with automatic brightness enabled.
Rather than trying to correlate the setting and this metric, it's much
easier to just use a different metric.

Bug: 74610647
Test: Flash, see what gets logged
Change-Id: I9985de0c665e8d36bbe7416fe70f52098d6c2d50

6 years agoMerge "Remove the UICC specific code from android.se.omapi" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 20:01:36 +0000 (20:01 +0000)]
Merge "Remove the UICC specific code from android.se.omapi" into pi-dev

6 years agoMerge changes from topic "dnd_touch_sounds" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 19:58:51 +0000 (19:58 +0000)]
Merge changes from topic "dnd_touch_sounds" into pi-dev

* changes:
  DND touch sounds toggle does not toggle vibrations
  Charging sounds won't play when dnd is on

6 years agoMerge "Ignore activity lifecycle requests without matching client records." into...
Bryce Lee [Tue, 13 Mar 2018 19:46:03 +0000 (19:46 +0000)]
Merge "Ignore activity lifecycle requests without matching client records." into pi-dev

6 years agoUpdate AndroidTest to work with apct-suite setup
jdesprez [Tue, 13 Mar 2018 19:39:51 +0000 (12:39 -0700)]
Update AndroidTest to work with apct-suite setup

Updating the AndroidTest.xml to be picked up by the new
APCT suite setup.

Test: atest FrameworksCoreTests
Bug: 74440293
Change-Id: Ib1ca44ba29dc349ca372effc1586e1d3376bd549

6 years agoMerge "Allow for activities to resumed if keyguard is occluded." into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 19:37:25 +0000 (19:37 +0000)]
Merge "Allow for activities to resumed if keyguard is occluded." into pi-dev

6 years agoMerge "Expose the new brightness permissions as test APIs." into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 19:20:47 +0000 (19:20 +0000)]
Merge "Expose the new brightness permissions as test APIs." into pi-dev

6 years agoMerge "Catch the RuntimeException for stopScan()" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 19:18:42 +0000 (19:18 +0000)]
Merge "Catch the RuntimeException for stopScan()" into pi-dev

6 years agoMerge "Add selectable text view perf test for random text" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 19:01:40 +0000 (19:01 +0000)]
Merge "Add selectable text view perf test for random text" into pi-dev

6 years agoaccess bar notification rename
fionaxu [Tue, 13 Mar 2018 01:26:05 +0000 (18:26 -0700)]
access bar notification rename

Bug: 37579161
Test: Build

Change-Id: I609826de47dc3fae4dee89d43951269a462c22b2

6 years agoDO NOT MERGE Create a key value settings observer for backup parameters
Annie Meng [Thu, 8 Mar 2018 20:38:43 +0000 (20:38 +0000)]
DO NOT MERGE Create a key value settings observer for backup parameters

Extracts an abstract class to observe changes in backup parameter settings that
are stored as a comma-separated key value list. This class is
responsible for registering and unregistering a content observer on the
setting and updating local references to the parameters.

Refactor BackupManagerConstants and LocalTransportParameters to use this
implementation. This will also be used for the new backup timeout
setting.

Bug: 74346317
Test: 1) m -j RunFrameworksServicesRoboTests ROBOTEST_FILTER=BackupManagerConstantsTest
2) gts-tradefed run commandAndExit gts-dev -m GtsBackupHostTestCases -t com.google.android.gts.backup.TransportFlagsHostSideTest

Change-Id: Id4c50fbcf7479c925515887e3fa70e166dd9955c

6 years agoMerge "Fix a bug when calling onError(int)" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 18:47:28 +0000 (18:47 +0000)]
Merge "Fix a bug when calling onError(int)" into pi-dev

6 years agoMerge "Fixed flags when button that trigger autofill is clicked." into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 18:45:47 +0000 (18:45 +0000)]
Merge "Fixed flags when button that trigger autofill is clicked." into pi-dev

6 years agoRevive old private api for saving supportlib-v27
Seigo Nonaka [Tue, 13 Mar 2018 18:45:43 +0000 (11:45 -0700)]
Revive old private api for saving supportlib-v27

The method signature of the createFromFamiliesWithDefault is changed
for supporting multiple font fallback. The old method is used by
supportlib-v27.

Bug: 73981003
Test: Manually done
Change-Id: I45ee9975b0f15481b60362113b89d4a1bf5a5338

6 years agoRemove unneeded notify AIDL API
Brad Ebinger [Mon, 12 Mar 2018 18:13:26 +0000 (11:13 -0700)]
Remove unneeded notify AIDL API

Removes the notifyImsFeatureReady
API AIDL, it is called when the callback
is set on the specific ImsFeature
interface.

Bug: 74391574
Test: Manual
Merged-In: I4762bdef59a8adec8ce41972489c65f2d180a3d4
Change-Id: I8c9cc39fa73861d7a9792709e1517d391230abfa

6 years agoAdd IntDef for MBMS download result
Hall Liu [Tue, 13 Mar 2018 18:29:33 +0000 (11:29 -0700)]
Add IntDef for MBMS download result

Change-Id: Idd8434e65691fc5d08f5427add6aec1870b76619
Fixes: 74409057
Test: compiles, no functionality change

6 years agoMerge "Show scrims when bouncer is on top of QS" into pi-dev
Lucas Dupin [Tue, 13 Mar 2018 18:26:07 +0000 (18:26 +0000)]
Merge "Show scrims when bouncer is on top of QS" into pi-dev

6 years agoMerge "metrics for 'manage notifications' affordance." into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 18:21:46 +0000 (18:21 +0000)]
Merge "metrics for 'manage notifications' affordance." into pi-dev

6 years agoAdd @attr for justificationMode
Seigo Nonaka [Tue, 13 Mar 2018 18:17:54 +0000 (11:17 -0700)]
Add @attr for justificationMode

Bug: 74510862
Test: "m docs" then see TextView API docs.
Change-Id: I65b75232402d7ad52aba194e6e9def80c5486a18

6 years agoMerge "Moved VibrateHelper as a dependency" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 18:16:37 +0000 (18:16 +0000)]
Merge "Moved VibrateHelper as a dependency" into pi-dev

6 years agoMoved VibrateHelper as a dependency
Matthew Ng [Fri, 9 Mar 2018 21:42:18 +0000 (13:42 -0800)]
Moved VibrateHelper as a dependency

VibrateHelper is a dependency to minimize number of event listeners.
This is related to the change ag/3711731.

Bug: 73942704
Test: manual, press home button when quick step is enabled
Change-Id: Ic982cd16d88224003aa53847daaa04372898ef22

6 years agoAdd a check for duplicate configuration on statsd
yro [Tue, 13 Mar 2018 03:44:05 +0000 (20:44 -0700)]
Add a check for duplicate configuration on statsd

Bug: 74349901
Test: statsd_test, manual testing of functionality

Change-Id: Ia4e3e51bfe61f5f773cecadda23e53d24b768dc8

6 years agoSupport Dynamic ImsService Querying
Brad Ebinger [Thu, 1 Mar 2018 21:05:59 +0000 (13:05 -0800)]
Support Dynamic ImsService Querying

1) Provide a "default" impl for MmTelFeature
instead of returning null.

2) Introduce a FeatureSlotPair, which maps a SIM
slot ID to a ImsFeature. This allows the ImsService
to provide which features it supports for multi-SIM
phones.

3) Pipe through ImsResolver state to help prevent IMS
operation when the ImsResolver is in the process of
figuring out feature capabilities.

Test: Telephony ImsService test app, telephony unit tests
Bug: 72642524

Merged-In: I4d7e9ba630739ade83e3242488f330ea6e73bbd7
Change-Id: Idb95f7651af200026d62e8b29eaed30bc0ebc9d3

6 years agoMerge "Cutout: Add a multi cutout overlay" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 18:00:07 +0000 (18:00 +0000)]
Merge "Cutout: Add a multi cutout overlay" into pi-dev

6 years agoMerge "[RTT] Update LCI/LCR documentation to refect to IEEE 802.11-2016 spec." into...
TreeHugger Robot [Tue, 13 Mar 2018 17:50:46 +0000 (17:50 +0000)]
Merge "[RTT] Update LCI/LCR documentation to refect to IEEE 802.11-2016 spec." into pi-dev

6 years agoFix NPE with null app window.
Winson Chung [Tue, 13 Mar 2018 00:57:06 +0000 (17:57 -0700)]
Fix NPE with null app window.

Bug: 73539971
Test: go/wm-smoke
Change-Id: I825db92c11bb1830c8ea0bd06b5ab47451230f55

6 years agoMerge "Show the H+ icon in HSPA+ network" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 17:12:37 +0000 (17:12 +0000)]
Merge "Show the H+ icon in HSPA+ network" into pi-dev

6 years agoAllow for activities to resumed if keyguard is occluded.
Bryce Lee [Tue, 13 Mar 2018 17:06:21 +0000 (10:06 -0700)]
Allow for activities to resumed if keyguard is occluded.

A previous changelist enforced that activities would not be resumed
if the keyguard is locked. However, this prevents activities that
show above the keyguard from resuming.

This changelist adjusts this check to account for occlusion.

Fixes: 74585178
Test: Lock screen, fingerprint unlock, verify activity is resumed.
Test: Set alarm, lock screen, verify alarm shows above lock screen
      resumed.

Change-Id: I9d26d6b667bb1679c373f36188a610a66d2f5b2d

6 years agoMerge "Add tests to prevent NPE regression." into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 16:59:52 +0000 (16:59 +0000)]
Merge "Add tests to prevent NPE regression." into pi-dev

6 years agoMerge "Add new netd event callback for changes to private DNS validation state."...
TreeHugger Robot [Tue, 13 Mar 2018 15:49:47 +0000 (15:49 +0000)]
Merge "Add new netd event callback for changes to private DNS validation state." into pi-dev

6 years agoMerge "Improve animation dump/logging" into pi-dev
Jorim Jaggi [Tue, 13 Mar 2018 15:35:51 +0000 (15:35 +0000)]
Merge "Improve animation dump/logging" into pi-dev

6 years agoMerge "Fix SafeActivityOptions construction in startActivityFromRecents" into pi-dev
Jorim Jaggi [Tue, 13 Mar 2018 15:34:52 +0000 (15:34 +0000)]
Merge "Fix SafeActivityOptions construction in startActivityFromRecents" into pi-dev

6 years agometrics for 'manage notifications' affordance.
Julia Reynolds [Tue, 13 Mar 2018 14:58:43 +0000 (10:58 -0400)]
metrics for 'manage notifications' affordance.

Bug: 74075050
Test: make
Change-Id: Ic6f65338ca114385890ab3bfac801cc206e4ed6e

6 years agoIgnore activity lifecycle requests without matching client records.
Bryce Lee [Fri, 9 Mar 2018 19:02:10 +0000 (11:02 -0800)]
Ignore activity lifecycle requests without matching client records.

Previously, changes were made to finish destroyed activities. This
prevented the code sending lifecycle requests to a non-existent
client record. However, there are scenarios where an activity can
be destroyed without being finished. Finishing these activities will
lead to side effects, such as the activity not being in history and
therefore not restored when navigated back to.

This changelist unlinks finishing from setting an activity's state to
destroyed. For now, we will suppress lifecycle requests client side
without matching records.

Fixes: 74403650
Fixes: 74409828
Bug: 71506345
Test: enable don't keep activities. navigate back and forth
Test: atest CtsActivityManagerDeviceTestCases:ActivityLifecycleTests#testRestoreFromKill
Test: atest CtsActivityManagerDeviceTestCases:ActivityLifecycleTests#testPausedWhenRecreatedFromInNonFocusedStack
Change-Id: I1b76a4758c3be27dc30ecac5ee56949a5b173754

6 years ago[RTT] Update LCI/LCR documentation to refect to IEEE 802.11-2016 spec.
Etan Cohen [Tue, 27 Feb 2018 22:09:39 +0000 (14:09 -0800)]
[RTT] Update LCI/LCR documentation to refect to IEEE 802.11-2016 spec.

Update API doc.

Bug: 73953299
Test: builds
Change-Id: I608f1bc631902baf76d9e21a6dd586b188fdfac1

6 years agoMerge "Add tests for TransportStats and some refactor" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 14:18:30 +0000 (14:18 +0000)]
Merge "Add tests for TransportStats and some refactor" into pi-dev

6 years agoMerge "Run slice callbacks on thread they come in on" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 13:54:18 +0000 (13:54 +0000)]
Merge "Run slice callbacks on thread they come in on" into pi-dev

6 years agoAdd new netd event callback for changes to private DNS validation state.
dalyk [Thu, 8 Mar 2018 21:25:48 +0000 (16:25 -0500)]
Add new netd event callback for changes to private DNS validation state.

Test: None.
Bug: 71828272
Merged-In: Ib6824606b95deb23da2edd7aa4b96a0de66b12d1
Merged-In: Id88a4e846ae50536ac7b1541cf10c1fad1b1eeca
Change-Id: Ibf2683b9ff7c6cb69d7f4ad12b8bdff7cf7008f0
(cherry picked from commit 99c5029b91f17c46acd219a317b48b3ac0fe9a90)

6 years agoFix SafeActivityOptions construction in startActivityFromRecents
Jorim Jaggi [Fri, 9 Mar 2018 17:14:48 +0000 (18:14 +0100)]
Fix SafeActivityOptions construction in startActivityFromRecents

Otherwise we'll check the wrong permissions and try to boost
the wrong process.

Test: Open app from recents, make sure Launcher gets scheduled
as needed.
Bug: 73555925

Change-Id: I2d1a7d0c881c0182127a5b25dce0ab1a308d5e63

6 years agoMerge changes Iff142ccd,I724080ed into pi-dev
Adrian Roos [Tue, 13 Mar 2018 13:21:17 +0000 (13:21 +0000)]
Merge changes Iff142ccd,I724080ed into pi-dev

* changes:
  Multi cutout: Fix IME navigation guard
  Multi Cutout: Fix more cutout issues

6 years agoImprove animation dump/logging
Jorim Jaggi [Tue, 27 Feb 2018 14:05:21 +0000 (15:05 +0100)]
Improve animation dump/logging

Bug: 74220420
Test: go/wm-smoke
Test: adb shell dumpsys window during animation
Change-Id: Ib8bddb4f38ad4fe7a80315d3bfdac0a80aea4cc8

6 years agoTransfer starting windows more aggressively
Jorim Jaggi [Thu, 1 Feb 2018 18:21:07 +0000 (19:21 +0100)]
Transfer starting windows more aggressively

We currently transfer starting windows when starting another
activity on top of the previous one. However, that's not enough:

Sometimes we also need to transfer back in case the one on top
finishes itself/gets hidden for other reasons.

This fixes an issue where some animations are aborted in the
middle of the animation because the trampoline activity contained
the starting window but then the trampoline activity was finished.

Test: go/wm-smoke
Test: Open Drive, Reopen Drive 100x
Test: Open Hangouts, Receive notification, open it, reopen
hangouts from launcher 100x
Test: AppWindowContainerControllerTests
Bug: 72301120

Change-Id: I6711ce0bc35de430aac03f7b8b39ceac26e595e7

6 years agoMerge "Volume UI updates" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 12:17:30 +0000 (12:17 +0000)]
Merge "Volume UI updates" into pi-dev

6 years agoMerge "MediaSession2: Replace PlaybackState2" into pi-dev
Hyundo Moon [Tue, 13 Mar 2018 12:03:55 +0000 (12:03 +0000)]
Merge "MediaSession2: Replace PlaybackState2" into pi-dev

6 years agoMerge "Ensure members are non-null in callback" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 11:00:25 +0000 (11:00 +0000)]
Merge "Ensure members are non-null in callback" into pi-dev

6 years agoMerge "Encode F16 Bitmaps to 8-bit P3" into pi-dev
Leon Scroggins [Tue, 13 Mar 2018 10:40:25 +0000 (10:40 +0000)]
Merge "Encode F16 Bitmaps to 8-bit P3" into pi-dev

6 years agoMerge "Use the correct drawable to badge user icon" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 10:24:15 +0000 (10:24 +0000)]
Merge "Use the correct drawable to badge user icon" into pi-dev

6 years agoMerge "Atoms: Bluetooth" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 10:22:28 +0000 (10:22 +0000)]
Merge "Atoms: Bluetooth" into pi-dev

6 years agoMediaSession2: Replace PlaybackState2
Hyundo Moon [Wed, 7 Mar 2018 01:22:45 +0000 (10:22 +0900)]
MediaSession2: Replace PlaybackState2

This CL removes PlaybackState2 and replaces it with other APIs.

Bug: 74370608, Bug: 73971431
Test: Passed CTS
Change-Id: Ifa16b1d551957ab4bb06979ddf29b18772093035