OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Ensure the notification is removed when bubble is removed & fix cancel all...
Mady Mellor [Fri, 3 May 2019 17:06:39 +0000 (17:06 +0000)]
Merge "Ensure the notification is removed when bubble is removed & fix cancel all" into qt-dev

5 years agoMerge "Metrics constants for new screen" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 17:03:49 +0000 (17:03 +0000)]
Merge "Metrics constants for new screen" into qt-dev

5 years agoMerge "Dump randomized MAC in bugreport" into qt-dev
Oscar Shu [Fri, 3 May 2019 17:00:40 +0000 (17:00 +0000)]
Merge "Dump randomized MAC in bugreport" into qt-dev

5 years agoMerge "Fix pressing back on bouncer" into qt-dev
Fabian Kozynski [Fri, 3 May 2019 17:00:25 +0000 (17:00 +0000)]
Merge "Fix pressing back on bouncer" into qt-dev

5 years agoMerge "Sharesheet - Fix expansion area min size" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 17:00:22 +0000 (17:00 +0000)]
Merge "Sharesheet - Fix expansion area min size" into qt-dev

5 years agoMerge "Sharesheet - Remove extra paddingbottom" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 17:00:19 +0000 (17:00 +0000)]
Merge "Sharesheet - Remove extra paddingbottom" into qt-dev

5 years agoMerge "Include bypass whitelist in dump" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 16:35:22 +0000 (16:35 +0000)]
Merge "Include bypass whitelist in dump" into qt-dev

5 years agoMerge "Increase the timeout for Hearing Aids Pairing" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 16:21:03 +0000 (16:21 +0000)]
Merge "Increase the timeout for Hearing Aids Pairing" into qt-dev

5 years agoMerge changes from topic "check display id update" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 16:11:01 +0000 (16:11 +0000)]
Merge changes from topic "check display id update" into qt-dev

* changes:
  Unify context in ViewRoot
  Add test API getDisplayId for cts test

5 years agoMerge "Make DocumentCursor opt-out of having a self-observer" into qt-dev
Anton Hansson [Fri, 3 May 2019 15:57:38 +0000 (15:57 +0000)]
Merge "Make DocumentCursor opt-out of having a self-observer" into qt-dev

5 years agoMerge "Add an @hide way to adjust CursorAnchorInfo for another Matrix" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 15:56:32 +0000 (15:56 +0000)]
Merge "Add an @hide way to adjust CursorAnchorInfo for another Matrix" into qt-dev

5 years agoMerge "Only create resources for the non-system user" into qt-dev
Winson Chung [Fri, 3 May 2019 15:47:30 +0000 (15:47 +0000)]
Merge "Only create resources for the non-system user" into qt-dev

5 years agoMerge "Prevent deadlock in RollbackManager#getAvailabeRollbacks" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 15:39:46 +0000 (15:39 +0000)]
Merge "Prevent deadlock in RollbackManager#getAvailabeRollbacks" into qt-dev

5 years agoMerge changes from topic "screenshot-fd-optional-qt-dev" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 15:12:16 +0000 (15:12 +0000)]
Merge changes from topic "screenshot-fd-optional-qt-dev" into qt-dev

* changes:
  Use dev/null instead of tmp file
  Notify the caller about I/O error
  Pass valid file descriptor to binder

5 years agoMerge "Enable tracepoint for hot activity starts" into qt-dev
Ioannis Ilkos [Fri, 3 May 2019 14:04:25 +0000 (14:04 +0000)]
Merge "Enable tracepoint for hot activity starts" into qt-dev

5 years agoMerge "Revert part of ag/6685504" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 14:02:32 +0000 (14:02 +0000)]
Merge "Revert part of ag/6685504" into qt-dev

5 years agoMerge "Trace opening/closing apps" into qt-dev
Jorim Jaggi [Fri, 3 May 2019 14:01:15 +0000 (14:01 +0000)]
Merge "Trace opening/closing apps" into qt-dev

5 years agoUse dev/null instead of tmp file
Abhijeet Kaur [Tue, 16 Apr 2019 17:28:20 +0000 (18:28 +0100)]
Use dev/null instead of tmp file

Use dev/null fd (instead of using fd from temporary file) when
screenshot fd is passed as null, as file deletion does not need
to be handled for dev/null.

Test: Take interactive bugreport (which does not need screenshot)
manually using shell (which calls bugreport API)
Bug: 128981582
Merged-In: I1719899e6cf3bffe1a96849691c051ff4f3a05ec
Change-Id: I1719899e6cf3bffe1a96849691c051ff4f3a05ec

5 years agoNotify the caller about I/O error
Abhijeet Kaur [Mon, 15 Apr 2019 09:16:42 +0000 (10:16 +0100)]
Notify the caller about I/O error

Call onError for caller of BugreportManager.start() if any io error
occurs during runtime.

Bug: 128981582
Test: Tested manually by throwing IO exception in the code when
bugreport is being generated, onError of the callback successfully
called.
Merged-In: I9033d85d392b926041fc26a86806a370752d062d
Change-Id: I9033d85d392b926041fc26a86806a370752d062d

5 years agoMetrics constants for new screen
Julia Reynolds [Fri, 3 May 2019 13:39:19 +0000 (09:39 -0400)]
Metrics constants for new screen

Test: make
Bug: 128445911
Change-Id: I8577ed12b6c60e7a8996ec313d22b2adcba12b6a

5 years agoPass valid file descriptor to binder
Abhijeet Kaur [Fri, 29 Mar 2019 17:04:48 +0000 (17:04 +0000)]
Pass valid file descriptor to binder

screenshotFd needs to be optional in Bugreport API. For some bugreports
such as wifi,telephony, interactive etc taking a screenshot is not
required.

Initially, the API was sending invalid file descriptor to the Binder, but
that binder transaction could not be completed as Binder validates the
file descriptor to be valid and not-null.

Adding a tmp.png screenshot file to pass to bugreport API call. In a
separate CL in frameworks/native, added check that the bugreports that
don't require screenshots would not use this file descriptor value.

Bug: 128981582
Test: Tested by taking bugreports using Bugreport API in shell
Merged-In: I3233f5753506ae159c9fa591742e6b99e361039b
Change-Id: I3233f5753506ae159c9fa591742e6b99e361039b

5 years agoColors updates for guts
Julia Reynolds [Thu, 2 May 2019 21:20:25 +0000 (17:20 -0400)]
Colors updates for guts

For a11y and night mode and night mode a11y

Fixes: 129507563
Test: manual
Change-Id: I0b472db88feddb6f92aa265524e84afbe30c824b

5 years agoMerge "Restrict background activity start by task" into qt-dev
Ricky Wai [Fri, 3 May 2019 13:24:58 +0000 (13:24 +0000)]
Merge "Restrict background activity start by task" into qt-dev

5 years agoFix pressing back on bouncer
Fabian Kozynski [Fri, 26 Apr 2019 19:40:43 +0000 (15:40 -0400)]
Fix pressing back on bouncer

If the user goes back when on Bouncer, do not animate the panel up. In
particular, DO NOT just animate the header out.

Additionally, only reset the bouncer if it's scrimmed and not
needFullScreen.

Test: manual, use flow of b/130525889
Test: swipe up in Keyguard and press back goes back to keyguard
Test: Expand shade and press Reply on notification, going back on
bouncer shows expanded shade
Test: Open camera, open gallery, going back on bouncer goes back to
camera
Test: SIM card bouncer, going back does not break
Fixes: 130525889
Change-Id: I122cf0858acbfdaa514efb32190369d95df6e001

5 years agoMerge "Don't allow enabling system decorations for untrusted virtual displays (1...
TreeHugger Robot [Fri, 3 May 2019 13:02:54 +0000 (13:02 +0000)]
Merge "Don't allow enabling system decorations for untrusted virtual displays (1/2)" into qt-dev

5 years agoMerge "Compute background color." into qt-dev
Robert Snoeberger [Fri, 3 May 2019 12:55:57 +0000 (12:55 +0000)]
Merge "Compute background color." into qt-dev

5 years agoMake DocumentCursor opt-out of having a self-observer
Anton Hansson [Tue, 30 Apr 2019 15:57:10 +0000 (16:57 +0100)]
Make DocumentCursor opt-out of having a self-observer

A content observer is registered by default when setting a notification
uri for a Cursor, in order to make the Cursor correctly notify listeners
of all changes to its URI, not just the ones made locally.

This is not required for DocumentCursor, because it already has a
separate mechanism for watching for all changes made to the data backed
by the cursor.

This avoids DocumentProviders having to call into system_server to
answer queries about directory trees, which can otherwise add up to
significant amounts of time for large directory trees. In my tests,
this improves the performance of iterating through a directory by
roughly 20%. This number is likely to be higher on non-test devices,
that probably see more binder contention, and will also depend on the
structure of the file tree.

Bug: 130276310
Test: SAF test app
Change-Id: I386363b0608c420e9847caf6fbf6686641c955e2

5 years agoSharesheet - Fix expansion area min size
Matt Pietal [Fri, 3 May 2019 11:36:21 +0000 (07:36 -0400)]
Sharesheet - Fix expansion area min size

Need to make sure we reserve enough height for the 4->8 direct share
expansion to work. Fix the calculation for offseting the sharesheet.

Bug: 129980100
Test: Visual inspection
Change-Id: Iaef245b9b8e2ed1dbacf01107dbafb6bf5016483

5 years agoMerge "Fix handling of multi-package enable rollback failures." into qt-dev
TreeHugger Robot [Fri, 3 May 2019 11:31:34 +0000 (11:31 +0000)]
Merge "Fix handling of multi-package enable rollback failures." into qt-dev

5 years agoMerge "Mark smart replies as sent on notification update/removal." into qt-dev
Gustav Sennton [Fri, 3 May 2019 10:44:00 +0000 (10:44 +0000)]
Merge "Mark smart replies as sent on notification update/removal." into qt-dev

5 years agoDon't allow enabling system decorations for untrusted virtual displays (1/2)
Chilun [Thu, 11 Apr 2019 11:49:42 +0000 (19:49 +0800)]
Don't allow enabling system decorations for untrusted virtual displays (1/2)

We should only allow enabling system decorations for callers with the
right permission.

Bug: 130284250
Test: atest MultiDisplaySystemDecorationTests
Test: atest MultiDisplayPolicyTests
Test: atest ActivityManagerGetConfigTests#testDeviceConfigWithSecondaryDisplay
Test: atest MultiDisplayActivityLaunchTests#testLaunchExternalDisplayActivityWhilePrimaryOff
Change-Id: I008d44bdf1378a675a3197e1467521dcf7b275c5

5 years agoEnable tracepoint for hot activity starts
Ioannis Ilkos [Fri, 3 May 2019 09:47:30 +0000 (10:47 +0100)]
Enable tracepoint for hot activity starts

Bug: 131855693
Test: atest ActivityMetricsLoggerTests
Change-Id: I2adb00f4fc05ab4f67f27dc5565de3e00bc601a3

5 years agoFix handling of multi-package enable rollback failures.
Richard Uhler [Thu, 2 May 2019 11:36:39 +0000 (12:36 +0100)]
Fix handling of multi-package enable rollback failures.

Failure to enable rollback for one of the packages in a multi-package
install should fail to enable rollback for all packages in the
multi-package install. That was not the case prior to this CL, which
could lead to partial rollbacks.

Keep track of how many child sessions we expect to enable rollback for
and double check that we succeeded before making the rollback available.
This involves some cleanup of how we track parent vs child sessions when
enabling rollback.

Bug: 128656191
Test: atest RollbackTest, with new test added.

Change-Id: I737896cdc1915396748c5c1959b5397af793258a

5 years agoMerge "Ensure race between rollback and roll forward is properly handled" into qt-dev
Richard Uhler [Fri, 3 May 2019 08:09:17 +0000 (08:09 +0000)]
Merge "Ensure race between rollback and roll forward is properly handled" into qt-dev

5 years agoMerge "Disable rounded corners when in multi window" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 08:06:24 +0000 (08:06 +0000)]
Merge "Disable rounded corners when in multi window" into qt-dev

5 years agoMerge "Acquire DockManager via dagger" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 07:33:37 +0000 (07:33 +0000)]
Merge "Acquire DockManager via dagger" into qt-dev

5 years agoDisable rounded corners when in multi window
Lucas Dupin [Tue, 30 Apr 2019 00:55:38 +0000 (17:55 -0700)]
Disable rounded corners when in multi window

We should not draw rounded corners when animating windows into split
view. The divider is a single horizontal line, and we don't support
multiple radii per window.

Fixes: 129540518
Test: visual
Change-Id: Ic31395c77f376053a136a9c55382b74b4157ee34
Merged-In: Ic31395c77f376053a136a9c55382b74b4157ee34

5 years agoMerge "Fixing wrong panel state being sent to launcher" into qt-dev
Sunny Goyal [Fri, 3 May 2019 06:55:55 +0000 (06:55 +0000)]
Merge "Fixing wrong panel state being sent to launcher" into qt-dev

5 years agoMerge "Revert "Use /data/vendor_ce/0/facedata for FaceHAL's secure storage"" into...
TreeHugger Robot [Fri, 3 May 2019 05:49:53 +0000 (05:49 +0000)]
Merge "Revert "Use /data/vendor_ce/0/facedata for FaceHAL's secure storage"" into qt-dev

5 years agoMerge "Allow specifying full component names in sysui plugin whitelist" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 04:45:33 +0000 (04:45 +0000)]
Merge "Allow specifying full component names in sysui plugin whitelist" into qt-dev

5 years agoOnly create resources for the non-system user
Winson Chung [Thu, 2 May 2019 22:42:22 +0000 (15:42 -0700)]
Only create resources for the non-system user

- It is expensive to create resources, so skip recreating
  them for the system user (they already exist for the
  system ui context). We only recreate resources when
  switching to a non-system user.

Bug: 131856992
Test: Manual
Change-Id: I5353fd336134f98e1d48bbf705ea30310447bccd

5 years agoMerge "Fix binder leakage when turning off Bluetooth" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 04:04:34 +0000 (04:04 +0000)]
Merge "Fix binder leakage when turning off Bluetooth" into qt-dev

5 years agoMerge "Update strings with UX mocks" into qt-dev
Kevin Chyn [Fri, 3 May 2019 03:20:58 +0000 (03:20 +0000)]
Merge "Update strings with UX mocks" into qt-dev

5 years agoEnsure the notification is removed when bubble is removed & fix cancel all
Mady Mellor [Thu, 28 Mar 2019 21:18:06 +0000 (14:18 -0700)]
Ensure the notification is removed when bubble is removed & fix cancel all

Bubbles has some particular notification behaviour needs:

1) Whenever there is a bubble, the notif is kept around but may be hidden
   from the shade
2) When the bubble is dismissed, if the notif is no longer in the
   shade => really remove the notification
3) When the bubble is dismissed, if there is still a notification in the
   shade => notif stays around and is normal
4) Clear all should only hide the bubble notification, not remove the
   bubble
5) Apps canceling a notification that has a bubble will cancel the bubble

This CL does this by:

* Including the removal reason removeNotification path
* Adding a NotificationRemoveInterceptor that gets the option of overriding
  the removal
* BubbleController has this new interceptor and uses the removal reason
  to determine what should happen to the bubble & if the notification
  should be allowed to be removed
* When the bubble is dismissed, if the notif is no longer in the shade,
  then actually remove that notification

Test: atest BubbleControllerTest NotificationEntryManagerTest
Bug: 130347307
Bug: 130687293
Change-Id: I4459864a2ee5522076117f84ae37022bdfe4ee5d

5 years agoMerge "Add event log for addToStopping" into qt-dev
Wei Sheng Shih [Fri, 3 May 2019 02:25:03 +0000 (02:25 +0000)]
Merge "Add event log for addToStopping" into qt-dev

5 years agoMerge "Animate padlock when waking up" into qt-dev
Lucas Dupin [Fri, 3 May 2019 02:22:33 +0000 (02:22 +0000)]
Merge "Animate padlock when waking up" into qt-dev

5 years agoMerge "Inject session id on all AutofillIds kept in the service." into qt-dev
TreeHugger Robot [Fri, 3 May 2019 02:17:37 +0000 (02:17 +0000)]
Merge "Inject session id on all AutofillIds kept in the service." into qt-dev

5 years agoMerge "Revert "Revert "Make the network stack a persistent process.""" into qt-dev
Dario Freni [Fri, 3 May 2019 02:12:05 +0000 (02:12 +0000)]
Merge "Revert "Revert "Make the network stack a persistent process.""" into qt-dev

5 years agoMerge "Be quiet" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 01:48:29 +0000 (01:48 +0000)]
Merge "Be quiet" into qt-dev

5 years agoMerge "ContentCaptureManager is notified when FLAG_SECURE is set dynamically on windo...
TreeHugger Robot [Fri, 3 May 2019 01:33:38 +0000 (01:33 +0000)]
Merge "ContentCaptureManager is notified when FLAG_SECURE is set dynamically on windows." into qt-dev

5 years agoMerge "Fix issue where navbar wouldn't be on lock screen" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 01:26:41 +0000 (01:26 +0000)]
Merge "Fix issue where navbar wouldn't be on lock screen" into qt-dev

5 years agoAllow specifying full component names in sysui plugin whitelist
Steve Elliott [Wed, 1 May 2019 20:55:33 +0000 (16:55 -0400)]
Allow specifying full component names in sysui plugin whitelist

This allows for a more granular whitelist, where a single package
could have multiple plugins available but only a subset are enabled.

Bug: 123881720
Test: manual
Change-Id: Ie9b2c31f08d9dac8a892501345e8ff85143f40f9

5 years agoMerge "Revert change to force_dark property" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 00:21:38 +0000 (00:21 +0000)]
Merge "Revert change to force_dark property" into qt-dev

5 years agoBe quiet
John Reck [Fri, 3 May 2019 00:10:46 +0000 (17:10 -0700)]
Be quiet

Fixes: 131863240
Test: logcat
Change-Id: I0276082b949f9521a804a4c1ef8af2148b69621b

5 years agoIncrease the timeout for Hearing Aids Pairing
Stanley Tng [Thu, 2 May 2019 17:36:40 +0000 (10:36 -0700)]
Increase the timeout for Hearing Aids Pairing

Some device will need a longer time to do its service discovery process
and therefore, need a longer timeout. This is especially true for the
second device where the connection interval is increased.

Bug: 131835452
Test: Manual
Change-Id: I2e0821e30a0f08a4a123b8b5447a8b44c8830f9a
Merged-In: I2e0821e30a0f08a4a123b8b5447a8b44c8830f9a
(cherry picked from commit 8ce72cf350eec6beeabb03353bf07541a8f2671c)
(cherry picked from commit 5489a5fbc1eb02bf929b11dc89238e90030a799f)

5 years agoUpdate strings with UX mocks
Kevin Chyn [Fri, 3 May 2019 00:03:56 +0000 (17:03 -0700)]
Update strings with UX mocks

Fixes: 131862204

Test: Builds
Change-Id: Ie5535ab4eff02c9b1baa1638990d15253e33953a

5 years agoMerge "Add flag for strict comparison of russian phone number." into qt-dev
TreeHugger Robot [Thu, 2 May 2019 23:51:31 +0000 (23:51 +0000)]
Merge "Add flag for strict comparison of russian phone number." into qt-dev

5 years agoFixing wrong panel state being sent to launcher
Sunny Goyal [Thu, 2 May 2019 22:22:01 +0000 (15:22 -0700)]
Fixing wrong panel state being sent to launcher

Bug: 131438091
Test: Verified that swipe-up works during HUN
Change-Id: I4275895c4fd1870f9bf26a7542c5d68e29990fab

5 years agoFix issue where navbar wouldn't be on lock screen
Lucas Dupin [Thu, 2 May 2019 23:38:33 +0000 (16:38 -0700)]
Fix issue where navbar wouldn't be on lock screen

Test: manual
Fixes: 131852606
Change-Id: I74c52eaffd2813d10fae9af5d3c705b0a5495b60

5 years agoDump randomized MAC in bugreport
xshu [Thu, 2 May 2019 21:21:19 +0000 (14:21 -0700)]
Dump randomized MAC in bugreport

Needed for debug purposes.

Bug: 131850574
Test: unit tests
Test: verified with dumpsys wifi: "mRandomizedMacAddress: 42:03:7d:d0:0e:6c"

Change-Id: Icc3eed999849c58079c298452574f68b96ba7706

5 years agoContentCaptureManager is notified when FLAG_SECURE is set dynamically on
Adam He [Mon, 15 Apr 2019 22:41:49 +0000 (15:41 -0700)]
ContentCaptureManager is notified when FLAG_SECURE is set dynamically on
windows.

Fixes: 130377514
Test: # manual verification
Change-Id: I18126de8284a0c95ff61107031ffff941ca26be7

5 years agoMerge "Fixed that clicking on the remoteinput didn't work from AOD" into qt-dev
Selim Cinek [Thu, 2 May 2019 23:08:58 +0000 (23:08 +0000)]
Merge "Fixed that clicking on the remoteinput didn't work from AOD" into qt-dev

5 years agoMerge "Preemptively clear buffer reference if snapshot is unused" into qt-dev
Winson Chung [Thu, 2 May 2019 23:01:42 +0000 (23:01 +0000)]
Merge "Preemptively clear buffer reference if snapshot is unused" into qt-dev

5 years agoMerge changes from topic "step_event_permission" into qt-dev
TreeHugger Robot [Thu, 2 May 2019 22:56:56 +0000 (22:56 +0000)]
Merge changes from topic "step_event_permission" into qt-dev

* changes:
  Update Step Detector and Step Counter docstring
  Add support for retrieving targetSdkVersion

5 years agoRevert "Revert "Make the network stack a persistent process.""
Dario Freni [Thu, 2 May 2019 22:50:19 +0000 (22:50 +0000)]
Revert "Revert "Make the network stack a persistent process.""

This reverts commit f6315c2e3cd80d83d344448784c1fd64bf9a410d.

Reason for revert: Change I346d772e1f4aed94f6faead3b6455efc4666b651 implemented a feature to allow upgrading persistent processes via staged installs.

Bug: 131046856
Test: - adb install networkstack.apk fails
      - adb install --staged networkstack.apk succeds (after reboot)
Change-Id: I13af35c953c0501f2b129092e0089d4e893b97a1

5 years agoMerge "New @TestApi: AutofillId.equalsIgnoreSession" into qt-dev
TreeHugger Robot [Thu, 2 May 2019 22:49:24 +0000 (22:49 +0000)]
Merge "New @TestApi: AutofillId.equalsIgnoreSession" into qt-dev

5 years agoMerge "Fixed a few issues with starting windows" into qt-dev
Chavi Weingarten [Thu, 2 May 2019 22:42:05 +0000 (22:42 +0000)]
Merge "Fixed a few issues with starting windows" into qt-dev

5 years agoMerge "Update systemui animations to GM2." into qt-dev
TreeHugger Robot [Thu, 2 May 2019 22:25:18 +0000 (22:25 +0000)]
Merge "Update systemui animations to GM2." into qt-dev

5 years agoAnimate padlock when waking up
Lucas Dupin [Thu, 2 May 2019 05:25:22 +0000 (22:25 -0700)]
Animate padlock when waking up

Padlock should animate when:
- a pulse starts
- user presses power
- an interrupt wakes up the device

Test: Pres power to wake up
Test: Wake up from pulse
Test: Wait for pulse timeout
Test: Wake up from pulse, press power
Test: Lift device
Fixes: 131761884
Change-Id: Ib15d15f2138cd4f21f46b14221125353a005cde4

5 years agoMerge "OverlayDeviceTests: don't rely on Thread#sleep" into qt-dev
Todd Kennedy [Thu, 2 May 2019 22:11:08 +0000 (22:11 +0000)]
Merge "OverlayDeviceTests: don't rely on Thread#sleep" into qt-dev

5 years agoMerge "Cache java classes and methods look-ups in GnssLocationProvider JNI" into...
TreeHugger Robot [Thu, 2 May 2019 22:07:47 +0000 (22:07 +0000)]
Merge "Cache java classes and methods look-ups in GnssLocationProvider JNI" into qt-dev

5 years agoMerge "Prevents QS Header info clicks when it's hidden" into qt-dev
Fabian Kozynski [Thu, 2 May 2019 21:47:31 +0000 (21:47 +0000)]
Merge "Prevents QS Header info clicks when it's hidden" into qt-dev

5 years agoMerge "Fix DeviceDefault ActionBar text style." into qt-dev
TreeHugger Robot [Thu, 2 May 2019 21:45:36 +0000 (21:45 +0000)]
Merge "Fix DeviceDefault ActionBar text style." into qt-dev

5 years agoMerge "Height should be maxed to the height of the notification shade." into qt-dev
TreeHugger Robot [Thu, 2 May 2019 21:40:29 +0000 (21:40 +0000)]
Merge "Height should be maxed to the height of the notification shade." into qt-dev

5 years agoMerge "Remove stopship comments and kept logs" into qt-dev
Fabian Kozynski [Thu, 2 May 2019 21:32:16 +0000 (21:32 +0000)]
Merge "Remove stopship comments and kept logs" into qt-dev

5 years agoMerge "Sharesheet - run APS sortTargets in newSingleThreadExecutor" into qt-dev
TreeHugger Robot [Thu, 2 May 2019 21:29:24 +0000 (21:29 +0000)]
Merge "Sharesheet - run APS sortTargets in newSingleThreadExecutor" into qt-dev

5 years agoMerge "Enable using prediction manager for sharesheet." into qt-dev
TreeHugger Robot [Thu, 2 May 2019 21:29:24 +0000 (21:29 +0000)]
Merge "Enable using prediction manager for sharesheet." into qt-dev

5 years agoMerge "Sharesheet - Add logic to when 4->8 expansion occurs" into qt-dev
TreeHugger Robot [Thu, 2 May 2019 21:27:34 +0000 (21:27 +0000)]
Merge "Sharesheet - Add logic to when 4->8 expansion occurs" into qt-dev

5 years agoMerge "Adjust SurfaceView visibility on parent change" into qt-dev
TreeHugger Robot [Thu, 2 May 2019 21:11:43 +0000 (21:11 +0000)]
Merge "Adjust SurfaceView visibility on parent change" into qt-dev

5 years agoMerge "Camera: Consider mPhysicalCameraId in OutputConfiguration comparison" into...
TreeHugger Robot [Thu, 2 May 2019 21:10:59 +0000 (21:10 +0000)]
Merge "Camera: Consider mPhysicalCameraId in OutputConfiguration comparison" into qt-dev

5 years agoMerge "Prevent estimates from updating while callbacks are happening" into qt-dev
TreeHugger Robot [Thu, 2 May 2019 21:10:25 +0000 (21:10 +0000)]
Merge "Prevent estimates from updating while callbacks are happening" into qt-dev

5 years agoMerge "Add system location request stack traces" into qt-dev
Soonil Nagarkar [Thu, 2 May 2019 21:03:35 +0000 (21:03 +0000)]
Merge "Add system location request stack traces" into qt-dev

5 years agoPreemptively clear buffer reference if snapshot is unused
Winson Chung [Thu, 2 May 2019 18:09:48 +0000 (11:09 -0700)]
Preemptively clear buffer reference if snapshot is unused

- Normally this will be picked up in the next GC, but there is no reason
  to wait

Bug: 129295298
Test: Manual
Change-Id: I945336e86d0980f926586cfba6327c8c6c142ce8

5 years agoMerge "Record number of calls to FalsingManager before success/failure." into qt-dev
TreeHugger Robot [Thu, 2 May 2019 20:47:13 +0000 (20:47 +0000)]
Merge "Record number of calls to FalsingManager before success/failure." into qt-dev

5 years agoFixed that clicking on the remoteinput didn't work from AOD
Selim Cinek [Thu, 2 May 2019 00:31:25 +0000 (17:31 -0700)]
Fixed that clicking on the remoteinput didn't work from AOD

Because we are freeing the AOD view, the view was not attached
to the window anymore and therefore we would not trigger the
remote input. Additionally if the expanded view was already showing
on AOD, we also wouldn't wait on it to become visible, also leading
to an issue where the user couldn't reply.
This also fixes an issue where the notificaiton would be invisible
if it was replied to in a group.

Fixes: 118365629
Fixes: 110072505
Change-Id: Ied33ed19eacc115006f5457f427acd4fefe0494b

5 years agoRevert change to force_dark property
John Reck [Thu, 2 May 2019 19:59:40 +0000 (12:59 -0700)]
Revert change to force_dark property

Settings can't write to persist.* without special
selinux rules. Instead for debug simplicity just
switch back to debug.hwui.force_dark and let it
reset on reboot.

Fixes: 131697927
Test: toggle override-force dark in dev options
Change-Id: Ieac6edb2a7b444fc2f63d5d4f1b657bad6ead409

5 years agoRemove stopship comments and kept logs
Fabian Kozynski [Thu, 2 May 2019 19:47:37 +0000 (15:47 -0400)]
Remove stopship comments and kept logs

Test: no test (just comments removed)
Fixes: 129405675
Change-Id: I4f736da2c5967416276a9d43dfcd74f3e3e3427a

5 years agoMerge "HwBlob: s/malloc/calloc/" into qt-dev
TreeHugger Robot [Thu, 2 May 2019 19:36:15 +0000 (19:36 +0000)]
Merge "HwBlob: s/malloc/calloc/" into qt-dev

5 years agoSharesheet - run APS sortTargets in newSingleThreadExecutor
George Hodulik [Thu, 2 May 2019 19:23:44 +0000 (12:23 -0700)]
Sharesheet - run APS sortTargets in newSingleThreadExecutor

Also add some debugging logs.

Bug:129014961
Test:Manually tested.
Test: atest frameworks/base/core/tests/coretests/src/com/android/internal/app
Change-Id: Id05cecf31f3c0afe5fd45911e78203e4ce4bd999

5 years agoMerge "Use Otsu's thresholding get better transition effect." into qt-dev
TreeHugger Robot [Thu, 2 May 2019 19:20:58 +0000 (19:20 +0000)]
Merge "Use Otsu's thresholding get better transition effect." into qt-dev

5 years agoCompute background color.
Robert Snoeberger [Wed, 1 May 2019 15:39:09 +0000 (11:39 -0400)]
Compute background color.

Don't try to get it from the notification because the notification
is inflated in an async task.

Fixes: 130775480
Test: visual -- played music with GPM and checked background updated
Change-Id: I891f06b05b4ca4ba570a3b405fefa7b049f05cca

5 years agoSharesheet - Remove extra paddingbottom
Matt Pietal [Thu, 2 May 2019 18:55:37 +0000 (14:55 -0400)]
Sharesheet - Remove extra paddingbottom

Too much padding when there's no title

Bug: 129979196
Test: Visual inspection
Change-Id: Id4704ec7854c096abd84e496c1e8da31865f1caf

5 years agoMerge "Add icon packs for themepicker." into qt-dev
TreeHugger Robot [Thu, 2 May 2019 18:52:25 +0000 (18:52 +0000)]
Merge "Add icon packs for themepicker." into qt-dev

5 years agoInclude bypass whitelist in dump
Soonil Nagarkar [Thu, 2 May 2019 17:58:35 +0000 (10:58 -0700)]
Include bypass whitelist in dump

Bug: 127712898
Test: manual
Change-Id: I13171520a7b86b7f30cbc48294fe3cc878386275

5 years agoMerge "Improve SurfaceView bounds calculation" into qt-dev
TreeHugger Robot [Thu, 2 May 2019 18:40:50 +0000 (18:40 +0000)]
Merge "Improve SurfaceView bounds calculation" into qt-dev

5 years agoMerge "Removing support for menu button from NavBar" into qt-dev
TreeHugger Robot [Thu, 2 May 2019 18:35:40 +0000 (18:35 +0000)]
Merge "Removing support for menu button from NavBar" into qt-dev

5 years agoSharesheet - Add logic to when 4->8 expansion occurs
Matt Pietal [Thu, 2 May 2019 16:59:38 +0000 (12:59 -0400)]
Sharesheet - Add logic to when 4->8 expansion occurs

Should help reduce the amount of reshuffling due to older
pull-style direct share targets.

Bug: 129980100
Test: Visual inspection
Change-Id: I6bd2dd3da2b4c39ee79edaf92da89f1f79b12f75

5 years agoRestrict background activity start by task
Ricky Wai [Thu, 25 Apr 2019 15:08:30 +0000 (16:08 +0100)]
Restrict background activity start by task

We now also allow apps to start activity in its own background task, while
that task won't move to front.

Background activity is not allowed to be started in new task or app
is not in that task stack.
Also, task moving / reparent task is not allowed.

Bug: 128772406
Test: atest android.server.wm.BackgroundActivityLaunchTest
Change-Id: I20f501e755f30f9ef581f7f8c39a2875f959e5b8

5 years agoHeight should be maxed to the height of the notification shade.
Priyank Singh [Thu, 2 May 2019 00:57:06 +0000 (17:57 -0700)]
Height should be maxed to the height of the notification shade.

Bug: 131781091
Test: Manual
Change-Id: If17ba87424734fb3561ba2a710377019d55f17f0
(cherry picked from commit 941513159bafb268ca83d6146ad68facdc93da3b)

5 years agoCamera: Consider mPhysicalCameraId in OutputConfiguration comparison
Shuzhen Wang [Wed, 1 May 2019 17:19:17 +0000 (10:19 -0700)]
Camera: Consider mPhysicalCameraId in OutputConfiguration comparison

Test: Camera CTS
Bug: 131714581
Change-Id: Ifbd44a0cd16116311e0eef9c194dd90c9210952c