OSDN Git Service

android-x86/frameworks-base.git
6 years agoFix light bar flickers
Jorim Jaggi [Fri, 4 Aug 2017 14:05:02 +0000 (16:05 +0200)]
Fix light bar flickers

There was a time in which no window was mTopFullscreenOpaqueWS
when switching between two apps because the previous one was
exiting already before the next one was shown. Fix this by only
considering a window to be exiting after the animation actually
has started. In that case the surface of the incoming window will
be visible already.

Test: go/wm-smoke
Test: Open Cast settings, go home with light wallpaper set
Change-Id: I89a85d5fbfe1618940b398cd26a8d5fe53be12fb
Fixes: 64291272

6 years agoRevert "Don't remove starting window for visible app."
Jorim Jaggi [Thu, 3 Aug 2017 16:33:43 +0000 (18:33 +0200)]
Revert "Don't remove starting window for visible app."

This reverts commit 2c596d57535a1d8c327457931dfc835608b677a4.

Reason: Causes starting window leaks

Test: Open 9gag, click home immediately again
Test: go/wm-smoke
Change-Id: I136cbcf66b680c782ab0e039c383e8d189a0b6e3
Fixes: 64154208
Bug: 62443388

6 years agoMerge "DO NOT MERGE: Remove rate limiting for system dialer notifications" into oc...
Sailesh Nepal [Fri, 4 Aug 2017 10:02:45 +0000 (10:02 +0000)]
Merge "DO NOT MERGE: Remove rate limiting for system dialer notifications" into oc-dr1-dev

6 years agoMerge "AOD: Add support for dimming in software" into oc-dr1-dev
Adrian Roos [Fri, 4 Aug 2017 09:40:26 +0000 (09:40 +0000)]
Merge "AOD: Add support for dimming in software" into oc-dr1-dev

6 years agoMerge "Ignore isolated uid's process state in BatteryStats tracking" into oc-dr1-dev
Amith Yamasani [Thu, 3 Aug 2017 23:07:32 +0000 (23:07 +0000)]
Merge "Ignore isolated uid's process state in BatteryStats tracking" into oc-dr1-dev

6 years agoMerge "Multi-user and WallpaperColors" into oc-dr1-dev
Lucas Dupin [Thu, 3 Aug 2017 22:48:27 +0000 (22:48 +0000)]
Merge "Multi-user and WallpaperColors" into oc-dr1-dev

6 years agoRemove "Couldn't pair" prompt on ACTION_PAIRING_CANCEL
Andre Eisenbach [Wed, 2 Aug 2017 23:51:10 +0000 (16:51 -0700)]
Remove "Couldn't pair" prompt on ACTION_PAIRING_CANCEL

ACTION_PAIRING_CANCEL is triggered as a result of an ACL connection
going down, causing a "Couldn't pair" prompt. This can happen on some
car kits, even if the pairing is successful and the car kit briefly
tearing down the ACL connection after pairing and resuming it
immediately afterwards.

If a connection gets disconnected during a normal bonding procedure, the
UNBOND_REASON_REMOTE_DEVICE_DOWN reason code for the
ACTION_BOND_STATE_CHANGED already indicates this issue and will inform
the user.

Bug: 63975046
Test: manual
Change-Id: I663d8b7700741927c72e38e30cd993c0b81511a9

6 years agoAOD: Add support for dimming in software
Adrian Roos [Thu, 3 Aug 2017 16:25:42 +0000 (18:25 +0200)]
AOD: Add support for dimming in software

Some devices cannot dim low enough in hardware in low power states.
To work around that, keep the front scrim at higher opacity when needed
to simulate lower brightness.

Bug: 63995944
Test: Configure scrim in config.xml; use device in very dim light at night, observe AOD is sufficiently dim.
Change-Id: I92fffedeea89b9327d76dfb184c5c761364ead11

6 years agoMerge "Update toast UI" into oc-dr1-dev
Sergey Vasilinets [Thu, 3 Aug 2017 18:14:24 +0000 (18:14 +0000)]
Merge "Update toast UI" into oc-dr1-dev

6 years agoMerge "AOD: Unregister touchscreen sensors while pulsing" into oc-dr1-dev
TreeHugger Robot [Thu, 3 Aug 2017 14:57:54 +0000 (14:57 +0000)]
Merge "AOD: Unregister touchscreen sensors while pulsing" into oc-dr1-dev

6 years agoMerge "Assist: Only call lockscreenShown when it is actually shown" into oc-dr1-dev
TreeHugger Robot [Thu, 3 Aug 2017 14:51:28 +0000 (14:51 +0000)]
Merge "Assist: Only call lockscreenShown when it is actually shown" into oc-dr1-dev

6 years agoMerge "Inform SurfaceFlinger of which Surface is the RoundedCorners overlay." into...
TreeHugger Robot [Thu, 3 Aug 2017 12:45:07 +0000 (12:45 +0000)]
Merge "Inform SurfaceFlinger of which Surface is the RoundedCorners overlay." into oc-dr1-dev

6 years agoMerge "AOD: Do not change wakeup animation during DozeService teardown" into oc-dr1-dev
TreeHugger Robot [Thu, 3 Aug 2017 12:34:59 +0000 (12:34 +0000)]
Merge "AOD: Do not change wakeup animation during DozeService teardown" into oc-dr1-dev

6 years agoUpdate toast UI
sergeyv [Thu, 3 Aug 2017 11:58:20 +0000 (04:58 -0700)]
Update toast UI

- lighter background
- no text shadow

bug: 6423613664232075
Test: n/a
Change-Id: I4c57cc1f4f30efd6edf7b3cb405f0f7741f7d838

6 years agoMerge "Check CookieHandler in setDataSource with cookies" into oc-dr1-dev
Sungsoo Lim [Thu, 3 Aug 2017 00:52:27 +0000 (00:52 +0000)]
Merge "Check CookieHandler in setDataSource with cookies" into oc-dr1-dev

6 years agoCheck CookieHandler in setDataSource with cookies
Sungsoo Lim [Mon, 24 Jul 2017 13:29:27 +0000 (22:29 +0900)]
Check CookieHandler in setDataSource with cookies

If the caller of MediaPlayer.setDataSource has installed its own
CookieHandler when cookies are provided, MediaPlayer.setDataSource
requires that the CookieHandler has to be of CookieManager type.

Bug: 63638018
Test: manual
Change-Id: I1539d1fa83440ddfb00cc958cd46b9917fe3a296

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Thu, 3 Aug 2017 00:12:34 +0000 (00:12 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev

6 years agoMulti-user and WallpaperColors
Lucas Dupin [Fri, 14 Jul 2017 18:55:05 +0000 (11:55 -0700)]
Multi-user and WallpaperColors

Test: set different wallpapers for different users and switch between them.
Test: re-ran cts tests at cts/tests/app/src/android/app/cts/WallpaperManagerTest.java
Change-Id: Ic06d1dc6db26869a2948590863ca9b8ac81c630e
Merged-In: Ic06d1dc6db26869a2948590863ca9b8ac81c630e
Fixes: 63513694

6 years agoDO NOT MERGE: Remove rate limiting for system dialer notifications
Sailesh Nepal [Fri, 21 Jul 2017 18:44:04 +0000 (11:44 -0700)]
DO NOT MERGE: Remove rate limiting for system dialer notifications

Currently, after the system dialer posts 50 notifications, no more
notifications are allowed. This breaks incoming calls.

Fix is to exempt the system dialer from rate limiting.

Bug: 62937258
Change-Id: I084941102912c180a468a0f4ab251bad17df1c3a

6 years agoMerge "Move VR preference for portrait orientation." into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 22:54:52 +0000 (22:54 +0000)]
Merge "Move VR preference for portrait orientation." into oc-dr1-dev

6 years agoMerge changes from topic 'do_not_roam_on_traffic' into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 22:09:15 +0000 (22:09 +0000)]
Merge changes from topic 'do_not_roam_on_traffic' into oc-dr1-dev

* changes:
  Add traffic thresholds to prevent wifi network changes
  WifiInfo: Add getters for success tx/rx rate

6 years agoMerge "Prevent crash dialogs from appearing in demo mode" into oc-dr1-dev
Christine Franks [Wed, 2 Aug 2017 21:54:28 +0000 (21:54 +0000)]
Merge "Prevent crash dialogs from appearing in demo mode" into oc-dr1-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 2 Aug 2017 21:51:56 +0000 (14:51 -0700)]
Import translations. DO NOT MERGE

Change-Id: I7be023a0638a0f1bd3cabd9be1ef400a450e4935
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoMerge "WakeAndUnlock: Make sure to wait for screen turning on" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 21:29:07 +0000 (21:29 +0000)]
Merge "WakeAndUnlock: Make sure to wait for screen turning on" into oc-dr1-dev

6 years agoMerge "Remove Conferenceable update squelching" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 21:26:19 +0000 (21:26 +0000)]
Merge "Remove Conferenceable update squelching" into oc-dr1-dev

6 years agoMerge "Fix keyboard focus in VR" into oc-dr1-dev
Tarandeep Singh [Wed, 2 Aug 2017 20:33:02 +0000 (20:33 +0000)]
Merge "Fix keyboard focus in VR" into oc-dr1-dev

6 years agoMerge "camera2: Fix template requirements" into oc-dev
Chien-Yu Chen [Wed, 2 Aug 2017 19:56:55 +0000 (19:56 +0000)]
Merge "camera2: Fix template requirements" into oc-dev
am: 2976109d89

Change-Id: I20b68b33caf48afeead56116602c6a9b2a33ab26

6 years agoMerge "camera2: Fix template requirements" into oc-dev
TreeHugger Robot [Wed, 2 Aug 2017 19:43:31 +0000 (19:43 +0000)]
Merge "camera2: Fix template requirements" into oc-dev

6 years agoMerge "Ensure that all displays are updated upon any changes to rotation." into oc...
TreeHugger Robot [Wed, 2 Aug 2017 19:38:08 +0000 (19:38 +0000)]
Merge "Ensure that all displays are updated upon any changes to rotation." into oc-dr1-dev

6 years agoAssist: Only call lockscreenShown when it is actually shown
Adrian Roos [Wed, 2 Aug 2017 19:32:54 +0000 (21:32 +0200)]
Assist: Only call lockscreenShown when it is actually shown

Fixes an issue where lockscreenShown called during onStartedWakingUp. Instead,
we now call it only when the lockscreen is actually shown, not when the layout
is requested for doze.

Change-Id: Idd196bf4fd5027e64a872ac8c0387531e8f59606
Fixes: 64141781
Test: Trigger Elmyra from AOD, verify Assistant shows.

6 years agoMerge "Fixed a clipping issue in AOD" into oc-dr1-dev
Selim Cinek [Wed, 2 Aug 2017 19:28:07 +0000 (19:28 +0000)]
Merge "Fixed a clipping issue in AOD" into oc-dr1-dev

6 years agoMerge "Start all visible running activities when attaching app" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 19:20:19 +0000 (19:20 +0000)]
Merge "Start all visible running activities when attaching app" into oc-dr1-dev

6 years agoMerge "SysUI: Move all sensor operations to the background thread" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 19:16:46 +0000 (19:16 +0000)]
Merge "SysUI: Move all sensor operations to the background thread" into oc-dr1-dev

6 years agoMerge "Fix NPE when reading icon for removed session." into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 19:09:04 +0000 (19:09 +0000)]
Merge "Fix NPE when reading icon for removed session." into oc-dr1-dev

6 years agoMerge "Gracefully handle focus loops created by app dev." into oc-dr1-dev
Evan Rosky [Wed, 2 Aug 2017 19:08:18 +0000 (19:08 +0000)]
Merge "Gracefully handle focus loops created by app dev." into oc-dr1-dev

6 years agoAOD: Unregister touchscreen sensors while pulsing
Adrian Roos [Wed, 2 Aug 2017 18:50:16 +0000 (20:50 +0200)]
AOD: Unregister touchscreen sensors while pulsing

While we're pulsing, the touch screen is fully on. Keeping touchscreen
sensors registered can lead to the sensorhub and kernel touch driver
racing on who gets to control the touchscreen; the losing party may
also logspam and consume increased power.

To avoid this, we unregister touchscreen sensors when turning the screen
on.

Change-Id: Ie236d0a40c92d7fc544bd34ff883e613915c8e46
Fixes: 64160164
Test: receive notification; adb shell dumpsys sensorservice, verify double tap sensor is not registered; verify it is again registered after swiping away the notification.

6 years agoMerge "Send TYPE_NOTIFICATION_STATE_CHANGED events for IMPORTANCE_LOW notifications...
Daniel Sandler [Wed, 2 Aug 2017 18:40:34 +0000 (18:40 +0000)]
Merge "Send TYPE_NOTIFICATION_STATE_CHANGED events for IMPORTANCE_LOW notifications." into oc-dr1-dev

6 years agoMerge "Use EGL_EXT_gl_colorspace_scrgb instead of *_linear" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 18:35:10 +0000 (18:35 +0000)]
Merge "Use EGL_EXT_gl_colorspace_scrgb instead of *_linear" into oc-dr1-dev

6 years agoMerge "Added null test to avoid regression for onRemoteVolumeChanged." into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 18:22:03 +0000 (18:22 +0000)]
Merge "Added null test to avoid regression for onRemoteVolumeChanged." into oc-dr1-dev

6 years agoMerge "Fix race condition when destroying view" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 17:47:59 +0000 (17:47 +0000)]
Merge "Fix race condition when destroying view" into oc-dr1-dev

6 years agoFix keyboard focus in VR
Tarandeep Singh [Tue, 11 Jul 2017 01:50:00 +0000 (18:50 -0700)]
Fix keyboard focus in VR

Consider this VirtualDisplay (VD) scenario:
HostActivity creates a VD which holds SettingsActivity. When EditText
on SettingsActivity is tapped, it gains focus.
On eventual taps, it loses focus i.e. the Window in VD loses focus and
the host activity in primary display gets the focus instead. This
happens because WM's TaskTapPointerEventListener.onPointerEvent()
is called on the default display only.

Root cause:
1. Tap detector isn't registered for non-default display.
2. Tap detector has no info on which displayId touch was received.
3. InputFlinger doesn't deliver InputMonitor events for
non-default displays (fixed in a separate CL)

Fixing above results in onPointerEvent(MotionEvent) to deliver the
Touch events successfully to VD. We restrict these changes to physical
multi-displays and VR VirtualDisplays (which uses virtual touch device).
[VrManagerService calls WMInternal.setVr2dDisplayId(int)]

In future, displayId should be part of InputEvent. Bug: 64258305

Bug: 62033391
Test: bit FrameworksServicesTests:com.android.server.wm.DisplayContentTests
Change-Id: I3626f4de5aa9bcf905da9abd39f3ab1baefc4c48

6 years agoAOD: Do not change wakeup animation during DozeService teardown
Adrian Roos [Wed, 2 Aug 2017 17:32:28 +0000 (19:32 +0200)]
AOD: Do not change wakeup animation during DozeService teardown

When finishing the DozeService, eg. in response to pressing the
power button, we need to keep the current value of shouldAnimate.

Fixes: 64203271
Test: Disable Always-On Display. Double tap to trigger Ambient Display. Press power button. Verify that wakeup animation plays.
Change-Id: I393ac143099b45ff90c927658a6d00a2afc1124f

6 years agoGracefully handle focus loops created by app dev.
Evan Rosky [Wed, 12 Jul 2017 17:58:07 +0000 (10:58 -0700)]
Gracefully handle focus loops created by app dev.

Instead of ANR in an infinite loop, this will detect
a cycle and return null.

Bug: 62960867
Test: Added in CTS FocusFinderTest#testChainVisibility
Change-Id: Ifb4638e3350642f065c40b3bea112cc12efff447

6 years agoMerge "LightStatus: Fix notification icon color filter" into oc-dr1-dev
Adrian Roos [Wed, 2 Aug 2017 17:23:31 +0000 (17:23 +0000)]
Merge "LightStatus: Fix notification icon color filter" into oc-dr1-dev

6 years agoMerge "Fixed an issue where icons were jumping" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 17:16:18 +0000 (17:16 +0000)]
Merge "Fixed an issue where icons were jumping" into oc-dr1-dev

6 years agoInform SurfaceFlinger of which Surface is the RoundedCorners overlay.
Robert Carr [Tue, 1 Aug 2017 00:02:30 +0000 (17:02 -0700)]
Inform SurfaceFlinger of which Surface is the RoundedCorners overlay.

We need to omit it from screenshots, and screen mirroring, so SurfaceFlinger
will have to have some knowledge. Eventually we'd like to do this by
having everything else have a parent, and mirroring and screenshotting will
operate on that parent. Since we aren't comfortable doing that for DR though, here's
a quick and dirty hack to tide us over with low risk.

Bug: 63311708
Test: screencap, screenrecord, android.view.cts.SurfaceViewSyncTest
Change-Id: I2b43be00567ee19cf27aeef344e5415f4a69297f

6 years agoMerge "Clarifies how the autofill service should check for signature hashes." into...
Felipe Leme [Wed, 2 Aug 2017 16:00:41 +0000 (16:00 +0000)]
Merge "Clarifies how the autofill service should check for signature hashes." into oc-dev
am: c8f0fd7076

Change-Id: Ida9652bb511ea0aa180e649992a9e5fa6409b2be

6 years agoMerge "Clarifies how the autofill service should check for signature hashes." into...
Felipe Leme [Wed, 2 Aug 2017 15:52:05 +0000 (15:52 +0000)]
Merge "Clarifies how the autofill service should check for signature hashes." into oc-dev

6 years agoFix NPE when reading icon for removed session.
Jeff Sharkey [Wed, 2 Aug 2017 15:28:53 +0000 (09:28 -0600)]
Fix NPE when reading icon for removed session.

The underlying session may have been destroyed before we go back to
read out the icon.

Test: builds, boots
Bug: 63795821
Change-Id: I16eb32c74a0e3b1d0605392878d65f28437006a6

6 years agoSend TYPE_NOTIFICATION_STATE_CHANGED events for IMPORTANCE_LOW notifications.
Dan Sandler [Wed, 2 Aug 2017 00:55:59 +0000 (20:55 -0400)]
Send TYPE_NOTIFICATION_STATE_CHANGED events for IMPORTANCE_LOW notifications.

They shouldn't make noise, but because they appear on-screen
we should report them to a11y services to potentially
announce them to the user in some other way.

Bug: 38500162
Test: runtest systemui-notification
Change-Id: I3a022329f54d17c7229a05130dce14c0101ec24a

6 years agoLightStatus: Fix notification icon color filter
Adrian Roos [Wed, 2 Aug 2017 14:57:11 +0000 (16:57 +0200)]
LightStatus: Fix notification icon color filter

Fixes an issue with the color filter applied to status bar icons where the
tint's alpha channel was ignored.

Change-Id: Idf22c70524fb718995d09ef339b825425ca5f7a7
Fixes: 64139391
Test: Look at light status bar with notifications; verify that icons have slightly gray tint instead of fully black

6 years agoSysUI: Move all sensor operations to the background thread
Adrian Roos [Wed, 2 Aug 2017 14:26:50 +0000 (16:26 +0200)]
SysUI: Move all sensor operations to the background thread

Registering / unregistering listeners for sensors now frequently takes several hundred
miliseconds. Work around this by moving all sensor operations off the main thread.

Change-Id: Ic3537889e1d6e045149942bebb0211afe1192033
Fixes: 64103634
Test: Turn on phone from AOD2. Verify no jank.

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 14:25:24 +0000 (14:25 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev

6 years agoAdded null test to avoid regression for onRemoteVolumeChanged.
Beverly [Fri, 28 Jul 2017 18:05:30 +0000 (14:05 -0400)]
Added null test to avoid regression for onRemoteVolumeChanged.

Change-Id: Iebcf30a381250c06055143528914632a00e474bc
Fixes: 63946353
Test: runtest systemui

6 years agoEnsure that all displays are updated upon any changes to rotation.
Santos Cordon [Fri, 28 Jul 2017 18:08:23 +0000 (11:08 -0700)]
Ensure that all displays are updated upon any changes to rotation.

There's generally only ever 1 display on most devices, so this code
has no change. If any additional displays have rotation support, their
displays will be updated accordingly with this change. At the moment,
this only affect VR's virtual display.

This fixes a bug where the Activity on a virtual display never ran
through PhoneWindowManager's rotation policy until it came across an
Activity that had any value for screenOrientation.
The result would be that the activity would display the natural
landscape orientation of the virtual display instead of the portrait
preference that is written into PhoneWindowManager. This change ensures
that the rotation is confirmed with PhoneWindowManager during Activity
layout.

Test: Before change - Run virtual display and see that it doesn't get
it's orientation set via PhoneWindowManager's policy.  After change -
see that the orientation is updated accordingly as part of this change.
Bug: 6328931262862109

Change-Id: I7de7aea790fd11daba36097227e13874bd9aacaa

6 years agoWakeAndUnlock: Make sure to wait for screen turning on
Adrian Roos [Mon, 31 Jul 2017 14:40:19 +0000 (16:40 +0200)]
WakeAndUnlock: Make sure to wait for screen turning on

Fixes an issue where instead of waiting for screen on
we start the unlock transition immediately when the screen
is already on. Instead, we have to wait for it to turn off
and then on again.

Change-Id: Ib1f66edc6ad2d3e71c4bf928b4b0e7531babf6e0
Fixes: 64080116
Test: Unlock via fingerprint a lot. Verify the status bar does not flicker.

6 years agoStart all visible running activities when attaching app
Jorim Jaggi [Wed, 2 Aug 2017 12:37:49 +0000 (14:37 +0200)]
Start all visible running activities when attaching app

This fixes an issue where a translucent activity was on top of a
normal activity in the same process. Now, when reopening the
translucent activity after the process has been killed we only
used to start the very top activity, leaving the normal activity
in destroyed state. However, we make the activity visible already
so in window manager we are waiting for it but a window is never
added to it.

This fixes the issue by starting all activities that are visible
and running once the app is attached.

Test: go/wm-smoke
Test: Have app with translucent activity on top of normal
activity, kill app via shell, navigate back to app via recents.
Observe no excessive delay.

Change-Id: I444b7064b8e2e878fac5fa9ac8b36e0e2fe248bc
Fixes: 33269100

6 years agoMerge "Refine condition for starting window skip" into oc-dr1-dev
Jorim Jaggi [Wed, 2 Aug 2017 12:15:40 +0000 (12:15 +0000)]
Merge "Refine condition for starting window skip" into oc-dr1-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 2 Aug 2017 07:57:25 +0000 (00:57 -0700)]
Import translations. DO NOT MERGE

Change-Id: I80d58d6708464b7254857c5fca1680bbf4f0212b
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoPrevent crash dialogs from appearing in demo mode
Christine Franks [Wed, 2 Aug 2017 00:13:43 +0000 (17:13 -0700)]
Prevent crash dialogs from appearing in demo mode

Bug: 62712426
Test: runtest -p com.android.server.am frameworks-services
Change-Id: I73162e6cabfc57ecf549c772fb4d00eb862814fb

6 years agoMerge "Cherry-picked some Autofill Javadoc improvements from master." into oc-dev
Felipe Leme [Wed, 2 Aug 2017 00:26:37 +0000 (00:26 +0000)]
Merge "Cherry-picked some Autofill Javadoc improvements from " into oc-dev
am: 6829a1dace

Change-Id: I41dec3cb31e6b523927717950f827f45dadabd8b

6 years agoMerge "Cherry-picked some Autofill Javadoc improvements from master." into oc-dev
TreeHugger Robot [Wed, 2 Aug 2017 00:08:15 +0000 (00:08 +0000)]
Merge "Cherry-picked some Autofill Javadoc improvements from " into oc-dev

6 years agoMerge "Fix broken robotests." into oc-dr1-dev
TreeHugger Robot [Tue, 1 Aug 2017 22:38:28 +0000 (22:38 +0000)]
Merge "Fix broken robotests." into oc-dr1-dev

6 years agoFixed an issue where icons were jumping
Selim Cinek [Tue, 1 Aug 2017 00:47:45 +0000 (17:47 -0700)]
Fixed an issue where icons were jumping

Because width and height are different for icons on
some devices, the animation could jump unfortunately.
This was mainly introduced since we changed the
statusbar height.

Test: observe icon animations (Especially on last notification)
Change-Id: Iee4f63467895045146c92d68eb4f9ca8a38d943a
Fixes: 64008528

6 years agoRemove Conferenceable update squelching
Brad Ebinger [Tue, 1 Aug 2017 22:23:26 +0000 (15:23 -0700)]
Remove Conferenceable update squelching

In an effort to remove redundant updates to Telecom,
conferenceable connection updates for a conference
were being removed if the list of connections hasn't
changed.

For GSM, when a new outgoing call was placed, it was
added to the conference controller before being added
to the list of connections. The conference controller
was updating the conferenceable connections for that
conference with a connection that wasn't being tracked
yet, so it was not notifying telecom of the connection.
It was still added to the list of conferenceable
connections in the conference, however, so later
conferenceable updates were being disregarded before
being sent to Telecom.

This change removes conferenceable update squelching
so that we always update telecom with the correct
conferencable connections for a conference.

Bug: 37989809
Test: Manual, Procedure in Bug, unit tests
Change-Id: I62960df9db27f0b303431aef99e73ef87498d374

6 years agoFixed a clipping issue in AOD
Selim Cinek [Sat, 29 Jul 2017 01:19:03 +0000 (18:19 -0700)]
Fixed a clipping issue in AOD

We're now guaranteeing that notifications beyond the first element
are hidden on AOD and not just based on the algorithm calculations.

Change-Id: I6c0cddbc2ac2c9544c010cd28f2a766c379700f0
Fixes: 64078213
Test: turn on redaction, add gmail notification with other notifications present.

6 years agoMerge "Fixed an issue where the statusbar was expanded" into oc-dr1-dev
TreeHugger Robot [Tue, 1 Aug 2017 21:37:00 +0000 (21:37 +0000)]
Merge "Fixed an issue where the statusbar was expanded" into oc-dr1-dev

6 years agoMerge "docs: Noted that JobIntentService is usually a better choice" into oc-dev
Andrew Solovay [Tue, 1 Aug 2017 21:21:58 +0000 (21:21 +0000)]
Merge "docs: Noted that JobIntentService is usually a better choice" into oc-dev
am: d71cc3b72e

Change-Id: I8130d71136078d17196e198db6ff36f7f8489a5c

6 years agoMerge "docs: Noted that JobIntentService is usually a better choice" into oc-dev
Andrew Solovay [Tue, 1 Aug 2017 21:07:18 +0000 (21:07 +0000)]
Merge "docs: Noted that JobIntentService is usually a better choice" into oc-dev

6 years agoClarifies how the autofill service should check for signature hashes.
Felipe Leme [Mon, 31 Jul 2017 18:34:14 +0000 (11:34 -0700)]
Clarifies how the autofill service should check for signature hashes.

Test: m update-api

Bug: 64125551
Fixes: 63991811

Change-Id: I1ba66787ef91c0fc5fab20b5e9e9fd47aee46412

6 years agoMerge "Set default value for T3T_PMM." into oc-dr1-dev
TreeHugger Robot [Tue, 1 Aug 2017 19:48:12 +0000 (19:48 +0000)]
Merge "Set default value for T3T_PMM." into oc-dr1-dev

6 years agoMerge "Revert "Fixing occasional jump when launching certain apps from Recents."...
Adam Cohen [Tue, 1 Aug 2017 19:41:42 +0000 (19:41 +0000)]
Merge "Revert "Fixing occasional jump when launching certain apps from Recents."" into oc-dr1-dev

6 years agoMerge "Make it easier to click on phone nav buttons" into oc-dr1-dev
Jason Monk [Tue, 1 Aug 2017 19:41:10 +0000 (19:41 +0000)]
Merge "Make it easier to click on phone nav buttons" into oc-dr1-dev

6 years agoMerge "Reword analog audio not supported notification" into oc-dr1-dev
TreeHugger Robot [Tue, 1 Aug 2017 18:51:53 +0000 (18:51 +0000)]
Merge "Reword analog audio not supported notification" into oc-dr1-dev

6 years agoMerge "Refresh constants when MCC/MNC changes in PowerUI" into oc-dr1-dev
Adam Lesinski [Tue, 1 Aug 2017 18:47:42 +0000 (18:47 +0000)]
Merge "Refresh constants when MCC/MNC changes in PowerUI" into oc-dr1-dev

6 years agoMerge "Cleanup QS dialogs" into oc-dr1-dev
Jason Monk [Tue, 1 Aug 2017 18:31:15 +0000 (18:31 +0000)]
Merge "Cleanup QS dialogs" into oc-dr1-dev

6 years agoMerge "Move ShutdownThread calls to system ui thread." into oc-dr1-dev
Alison Cichowlas [Tue, 1 Aug 2017 18:06:39 +0000 (18:06 +0000)]
Merge "Move ShutdownThread calls to system ui thread." into oc-dr1-dev

6 years agoFixed an issue where the statusbar was expanded
Selim Cinek [Tue, 1 Aug 2017 17:44:29 +0000 (10:44 -0700)]
Fixed an issue where the statusbar was expanded

Since we weren't always updating our state whether
our scrims are visible, we could get stuck in an
uninteractable state.

Test: manual, doubletap on AOD notification
Change-Id: I48eca4f29775578382098cf8be876be09ba037a9
Fixes: 64216359

6 years agoSet default value for T3T_PMM.
Love Khanna [Tue, 1 Aug 2017 13:02:59 +0000 (18:32 +0530)]
Set default value for T3T_PMM.

If HCEF Application does not provide the T3T PMM value, set the
default value (FFFFFFFFFFFFFFFF) as per NCI specification.

Bug: 64112415
Test: CTS Verifier; HCE-F Reader/Emulator Test
Change-Id: I24f212d9bebd978342e4dd04d618572132e7eb4b
(cherry picked from commit 20a77e973f62f145ab7b3a4822ce34407c0ca476)

6 years agoMerge "Fix QS wifi scan state" into oc-dr1-dev
Jason Monk [Tue, 1 Aug 2017 16:41:43 +0000 (16:41 +0000)]
Merge "Fix QS wifi scan state" into oc-dr1-dev

6 years agoMake it easier to click on phone nav buttons
Jason Monk [Fri, 28 Jul 2017 18:35:13 +0000 (14:35 -0400)]
Make it easier to click on phone nav buttons

When touches fall through the normal click targets, redirect them
to the nearest view.

Test: runtest systemui
Change-Id: I48267d9b1e15bf8dbe8725b72326751b03196efa
Fixes: 64080938

6 years agoUse EGL_EXT_gl_colorspace_scrgb instead of *_linear
Romain Guy [Tue, 11 Jul 2017 16:48:28 +0000 (09:48 -0700)]
Use EGL_EXT_gl_colorspace_scrgb instead of *_linear

Since hwui output non-linear scRGB data in wide-gamut, use
the scRGB-nl extension instead of scRGB.

Bug: 62951776
Test: Manual, CtsGraphicsTestCases
Change-Id: Ifdb288e777d12b790b93624ccea9b4f1f6966e52
(cherry picked from commit 26b6a64953f29bbe6b10a5e948d11f47bd0611d6)

6 years agoMerge "Fix exceptions causing HTC dongle (and JBL headset) to fail connection logic...
Paul Mclean [Tue, 1 Aug 2017 15:28:27 +0000 (15:28 +0000)]
Merge "Fix exceptions causing HTC dongle (and JBL headset) to fail connection logic." into oc-dr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Tue, 1 Aug 2017 15:18:52 +0000 (15:18 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev

6 years agoMerge "power: gps: add gps read timeout" into cw-f-dev am: 33676dddbd am: b5da08a276
Maggie Lee [Tue, 1 Aug 2017 15:03:39 +0000 (15:03 +0000)]
Merge "power: gps: add gps read timeout" into cw-f-dev am: 33676dddbd am: b5da08a276
am: d88f4b723d

Change-Id: I63d677df2353fff2d2e786e25b0dc416837f1581

6 years agoMerge changes I49a76582,Iac4b75bc into cw-f-dev am: f18599a15b am: 9295f58d26
Andriy Naborskyy [Tue, 1 Aug 2017 14:56:23 +0000 (14:56 +0000)]
Merge changes I49a76582,Iac4b75bc into cw-f-dev am: f18599a15b am: 9295f58d26
am: 502986f72a

Change-Id: Ic615cfdefcf6a226c868e9203e74070e9000a931

6 years agoDO NOT MERGE ANYWHERE ConnectivityService: move reportNetworkConnectivity to handler...
Hugo Benichi [Tue, 1 Aug 2017 14:55:26 +0000 (14:55 +0000)]
DO NOT MERGE ANYWHERE ConnectivityService: move reportNetworkConnectivity to handler am: 456b91561d  -s ours am: ff55799950  -s ours
am: 17e2448c26  -s ours

Change-Id: Ia38655a26410e9ea78e394e5c59e052739f041a6

6 years agoMerge "power: gps: add gps read timeout" into cw-f-dev am: 33676dddbd
Maggie Lee [Tue, 1 Aug 2017 14:47:57 +0000 (14:47 +0000)]
Merge "power: gps: add gps read timeout" into cw-f-dev am: 33676dddbd
am: b5da08a276

Change-Id: I5d96dd73affe79880583347e32a95be8510a5462

6 years agoCleanup QS dialogs
Jason Monk [Tue, 1 Aug 2017 14:38:02 +0000 (10:38 -0400)]
Cleanup QS dialogs

Test: manual
Change-Id: I3a87b171d9000ac6628f3d83fc2a817136dc3010
Fixes: 64159285
Fixes: 64158814

6 years agoMerge changes I49a76582,Iac4b75bc into cw-f-dev am: f18599a15b
Andriy Naborskyy [Tue, 1 Aug 2017 14:38:26 +0000 (14:38 +0000)]
Merge changes I49a76582,Iac4b75bc into cw-f-dev am: f18599a15b
am: 9295f58d26

Change-Id: Ifd70690f5e275e89d59a15134427e2bcc91e67c7

6 years agoMerge "power: gps: add gps read timeout" into cw-f-dev
Maggie Lee [Tue, 1 Aug 2017 14:37:40 +0000 (14:37 +0000)]
Merge "power: gps: add gps read timeout" into cw-f-dev
am: 33676dddbd

Change-Id: I7e3a779631c2de4a14521c8dac6d5b2d96ce1b29

6 years agoDO NOT MERGE ANYWHERE ConnectivityService: move reportNetworkConnectivity to handler...
Hugo Benichi [Tue, 1 Aug 2017 14:37:06 +0000 (14:37 +0000)]
DO NOT MERGE ANYWHERE ConnectivityService: move reportNetworkConnectivity to handler am: 456b91561d  -s ours
am: ff55799950  -s ours

Change-Id: I6d788c5b7cd5c6877799e5a3e0ad865996147b70

6 years agoMerge "power: gps: add gps read timeout" into cw-f-dev
Maggie Lee [Tue, 1 Aug 2017 14:31:23 +0000 (14:31 +0000)]
Merge "power: gps: add gps read timeout" into cw-f-dev

6 years agoMerge changes I49a76582,Iac4b75bc into cw-f-dev
Andriy Naborskyy [Tue, 1 Aug 2017 14:30:05 +0000 (14:30 +0000)]
Merge changes I49a76582,Iac4b75bc into cw-f-dev
am: f18599a15b

Change-Id: Ib1f6b94a4970bbec28d6bbc7de8969c9d5d3975f

6 years agoDO NOT MERGE ANYWHERE ConnectivityService: move reportNetworkConnectivity to handler
Hugo Benichi [Tue, 1 Aug 2017 14:30:02 +0000 (14:30 +0000)]
DO NOT MERGE ANYWHERE ConnectivityService: move reportNetworkConnectivity to handler
am: 456b91561d  -s ours

Change-Id: Ie54e0712dc83514ff3ddcd6cee1b0bd2e80c73ad

6 years agoMerge changes I49a76582,Iac4b75bc into cw-f-dev
Andriy Naborskyy [Tue, 1 Aug 2017 14:16:30 +0000 (14:16 +0000)]
Merge changes I49a76582,Iac4b75bc into cw-f-dev

* changes:
  DO NOT MERGE ANYWHERE ConnectivityService: move reportNetworkConnectivity to handler
  DO NOT MERGE ANYWHERE ConnectivityService: safer locking

6 years agoFix QS wifi scan state
Jason Monk [Tue, 1 Aug 2017 14:13:43 +0000 (10:13 -0400)]
Fix QS wifi scan state

Test: manual
Change-Id: Icc4e627f1248b5749801ad532220b3b9fade036d
Fixes: 63648257

6 years agoMerge "Disable AOD when accessibility color inversion is on." into oc-dr1-dev
Geoffrey Pitsch [Tue, 1 Aug 2017 14:00:22 +0000 (14:00 +0000)]
Merge "Disable AOD when accessibility color inversion is on." into oc-dr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Tue, 1 Aug 2017 07:32:58 +0000 (07:32 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev

6 years agoMerge "Fine-tune the condition to hide IME switcher" into oc-dr1-dev
Yohei Yukawa [Tue, 1 Aug 2017 06:01:20 +0000 (06:01 +0000)]
Merge "Fine-tune the condition to hide IME switcher" into oc-dr1-dev