OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Fix font for actionbar in device default" into qt-dev
TreeHugger Robot [Fri, 26 Apr 2019 00:17:25 +0000 (00:17 +0000)]
Merge "Fix font for actionbar in device default" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Fri, 26 Apr 2019 00:12:29 +0000 (00:12 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Fri, 26 Apr 2019 00:09:05 +0000 (00:09 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Fri, 26 Apr 2019 00:00:25 +0000 (00:00 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Calculate letterbox against task displayed-bounds in multi-window" into qt-dev
Evan Rosky [Thu, 25 Apr 2019 23:58:37 +0000 (23:58 +0000)]
Merge "Calculate letterbox against task displayed-bounds in multi-window" into qt-dev

5 years agoMerge "Fix some force_dark prop behaviors" into qt-dev
John Reck [Thu, 25 Apr 2019 23:37:05 +0000 (23:37 +0000)]
Merge "Fix some force_dark prop behaviors" into qt-dev

5 years agoMerge "Use /data/vendor_ce/0/facedata for FaceHAL's secure storage" into qt-dev
Jiwen Cai [Thu, 25 Apr 2019 23:26:50 +0000 (23:26 +0000)]
Merge "Use /data/vendor_ce/0/facedata for FaceHAL's secure storage" into qt-dev

5 years agoMerge "Allow PermissionControllerService implementer control own threading" into...
Philip P. Moltmann [Thu, 25 Apr 2019 23:24:45 +0000 (23:24 +0000)]
Merge "Allow PermissionControllerService implementer control own threading" into qt-dev

5 years agoMerge changes I28031a27,If98d7397 into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 23:15:43 +0000 (23:15 +0000)]
Merge changes I28031a27,If98d7397 into qt-dev

* changes:
  Fix a bug in IncidentCompanionService
  Disable incidentd encryption.

5 years agoMerge "Check INTERACT_ACROSS_USERS for getEnrolledTemplates when user is different...
Kevin Chyn [Thu, 25 Apr 2019 22:48:20 +0000 (22:48 +0000)]
Merge "Check INTERACT_ACROSS_USERS for getEnrolledTemplates when user is different" into qt-dev

5 years agoMerge "Update panel bg color in dark mode" into qt-dev
Linda Tseng [Thu, 25 Apr 2019 22:39:40 +0000 (22:39 +0000)]
Merge "Update panel bg color in dark mode" into qt-dev

5 years agoMerge "Adds additional sanitization for Zygote command arguments." into qt-dev
Christian Wailes [Thu, 25 Apr 2019 22:35:10 +0000 (22:35 +0000)]
Merge "Adds additional sanitization for Zygote command arguments." into qt-dev

5 years agoMerge "Only start WebView zygote if multiprocess enabled." into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 22:30:21 +0000 (22:30 +0000)]
Merge "Only start WebView zygote if multiprocess enabled." into qt-dev

5 years agoFix font for actionbar in device default
Salvador Martinez [Thu, 25 Apr 2019 21:54:14 +0000 (14:54 -0700)]
Fix font for actionbar in device default

The font family was not being set on the action bar causing
it to revert to roboto. This simply overrides that to match the
light theme version (since they should use the same font).

Test: Manually observing title text in Settings > Accessibility >
      Text-to-speech output > cog icon
Bug: 129995075

Change-Id: Ic5415e3441a978e7af500549bfcca8083b704b39

5 years agoMerge "Sharesheet - Modify header scrolling behavior" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 21:49:04 +0000 (21:49 +0000)]
Merge "Sharesheet - Modify header scrolling behavior" into qt-dev

5 years agoMerge "AudioService: fix volume initialization on first ever boot" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 21:44:24 +0000 (21:44 +0000)]
Merge "AudioService: fix volume initialization on first ever boot" into qt-dev

5 years agoFix a bug in IncidentCompanionService
Yao Chen [Thu, 25 Apr 2019 21:37:04 +0000 (14:37 -0700)]
Fix a bug in IncidentCompanionService

Bug: 131351390
Test: manually tested
Change-Id: I28031a276218822209e854b13466248727f20bd5

5 years agoMerge "Start Watchdog early during boot" into qt-dev
Zimuzo Ezeozue [Thu, 25 Apr 2019 21:25:59 +0000 (21:25 +0000)]
Merge "Start Watchdog early during boot" into qt-dev

5 years agoMerge "Wrapping the inflater into InjectionInflationController." into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 21:14:23 +0000 (21:14 +0000)]
Merge "Wrapping the inflater into InjectionInflationController." into qt-dev

5 years agoMerge "Add unit tests to GlobalActionsGridLayout." into qt-dev
Aaron Heuckroth [Thu, 25 Apr 2019 21:03:47 +0000 (21:03 +0000)]
Merge "Add unit tests to GlobalActionsGridLayout." into qt-dev

5 years agoAdds additional sanitization for Zygote command arguments.
Chris Wailes [Fri, 19 Apr 2019 01:25:57 +0000 (18:25 -0700)]
Adds additional sanitization for Zygote command arguments.

Previously we were only insuring that the arguments provided to the
Zygote didn't contain any newlines.  This adds additional checks for
carriage returns and standalone integer arguments to protect against
malicious argument and packet injection respectively.

Bug: 130164289
Test: m & flash & boot & check logs
Change-Id: I4055c50d52db0047c02c11096710fd07b429660c
Merged-In: I4055c50d52db0047c02c11096710fd07b429660c
(cherry picked from commit c99198249f8bb79487d4f9f0f45b5b2fefaba41a)

5 years agoAllow PermissionControllerService implementer control own threading
Philip P. Moltmann [Thu, 25 Apr 2019 20:27:36 +0000 (13:27 -0700)]
Allow PermissionControllerService implementer control own threading

Hence execute on binder-thread and send callback.

Fixes: 131314749
Test: atest --test-mapping packages/apps/PermissionController/src/com/android/packageinstaller/permission/service:presubmit
Change-Id: Ic5286a1b02532bcc0241877d970d0fc933b27f85

5 years agoMerge "Fix colors in QS Header" into qt-dev
Fabian Kozynski [Thu, 25 Apr 2019 20:53:44 +0000 (20:53 +0000)]
Merge "Fix colors in QS Header" into qt-dev

5 years agoMerge "Only migrate 2-button setting if set" into qt-dev
Winson Chung [Thu, 25 Apr 2019 20:28:09 +0000 (20:28 +0000)]
Merge "Only migrate 2-button setting if set" into qt-dev

5 years agoMerge "Make lifecycle events for bubble activity views report normally" into qt-dev
Mady Mellor [Thu, 25 Apr 2019 20:19:30 +0000 (20:19 +0000)]
Merge "Make lifecycle events for bubble activity views report normally" into qt-dev

5 years agoMerge "Improve theme application transition." into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 20:11:26 +0000 (20:11 +0000)]
Merge "Improve theme application transition." into qt-dev

5 years agoCheck INTERACT_ACROSS_USERS for getEnrolledTemplates when user is different
Kevin Chyn [Thu, 25 Apr 2019 19:34:15 +0000 (12:34 -0700)]
Check INTERACT_ACROSS_USERS for getEnrolledTemplates when user is different

Fixes: 128599663

Test: Fingerprint enroll/auth works as expected
Change-Id: I18d22d802e6f691056a525c22b221b01b6528ea8

5 years agoMerge "Fixing wrong message sent when surface params are applied" into qt-dev
Sunny Goyal [Thu, 25 Apr 2019 19:07:05 +0000 (19:07 +0000)]
Merge "Fixing wrong message sent when surface params are applied" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 25 Apr 2019 19:04:39 +0000 (12:04 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I1f6c3039a1ed264fe9a92e0fb5a6f04aeef8c90d

5 years agoFixing wrong message sent when surface params are applied
Sunny Goyal [Thu, 25 Apr 2019 18:53:19 +0000 (11:53 -0700)]
Fixing wrong message sent when surface params are applied

Bug: 123874711
Test: Verified jar with Launcher
Change-Id: I966bfc5bd87396916dbacdf894dc6cca26a03593

5 years agoDisable incidentd encryption.
Yao Chen [Thu, 25 Apr 2019 18:52:10 +0000 (11:52 -0700)]
Disable incidentd encryption.

Bug: 131332217
Test: manually tested
Change-Id: If98d73978eb06a616e89025fcd615750976406e1

5 years agoAudioService: fix volume initialization on first ever boot
Jean-Michel Trivi [Thu, 25 Apr 2019 18:47:15 +0000 (11:47 -0700)]
AudioService: fix volume initialization on first ever boot

When HDMI is connected, it calls checkFixedVolumeDevices() that
  iterates over the devices in the volume index map to set them
  at max index. But since the map only contains DEVICE_OUT_DEFAULT
  after a factory reset, VolumeStreamState.checkFixedVolumeDevices()
  doesn't do anything for DEVICE_OUT_HDMI because it is not in the map.
The fix consists in adding the new device in the volume map for a
  connection, and initializing its volume with the default volume,
  VolumeStreamState.checkFixedVolumeDevices() will in turn update
  the volume to max if needed (reads mask or full/fix vol devices).

Bug: 130766100
Test: factory reset device and start playback, check HDMI volume with dumpsys audio
Change-Id: I4c338df6acc1e15af9606694cdbd485d1b991bb5

5 years agoSharesheet - Modify header scrolling behavior
Matt Pietal [Thu, 25 Apr 2019 18:38:30 +0000 (14:38 -0400)]
Sharesheet - Modify header scrolling behavior

To align with UX, scroll the listview before the header when
collapsing the sharesheet to its minified state, on both flings and
drags. Fix an issue with the expansion area, whereby state is only
updated if view positions are actually updated.

Bug: 129979914
Test: Visual inspection
Change-Id: I2e32a1a3288a21bcd3ce07819f77760f10d5d929

5 years agoMerge "Don't ignore updated policies on PO/DO." into qt-dev
Alex Kershaw [Thu, 25 Apr 2019 18:40:11 +0000 (18:40 +0000)]
Merge "Don't ignore updated policies on PO/DO." into qt-dev

5 years agoMerge "Always enable DPMS lock check" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 18:30:06 +0000 (18:30 +0000)]
Merge "Always enable DPMS lock check" into qt-dev

5 years agoMerge "Fixed clock face resetting to default one after rebooting" into qt-dev
Lucas Dupin [Thu, 25 Apr 2019 18:11:12 +0000 (18:11 +0000)]
Merge "Fixed clock face resetting to default one after rebooting" into qt-dev

5 years agoUpdate panel bg color in dark mode
lindatseng [Thu, 25 Apr 2019 18:06:28 +0000 (11:06 -0700)]
Update panel bg color in dark mode

Per mocks, we should use grey800 as bg color for panel in dark mode,
which is the default bg color of Theme.Material.BaseDialog.

Test: Manual
Fixes: 131108011
Change-Id: I98fe090f777a5f3e8c17513ecc9adab5b6fbec00

5 years agoMerge "AudioService: Track client app recording activity" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 18:01:02 +0000 (18:01 +0000)]
Merge "AudioService: Track client app recording activity" into qt-dev

5 years agoMerge "Fixed the comment of carrier config for CDNR" into qt-dev
Pengquan Meng [Thu, 25 Apr 2019 18:00:36 +0000 (18:00 +0000)]
Merge "Fixed the comment of carrier config for CDNR" into qt-dev

5 years agoFix some force_dark prop behaviors
John Reck [Thu, 25 Apr 2019 17:59:23 +0000 (10:59 -0700)]
Fix some force_dark prop behaviors

* Make it persist.hwui.force_dark so the dev option
  survices reboots.

* Remove the internal super-override behavior it applied
  using only the intended ViewRootImpl theme-aware behavior.

Fixes: 127350499
Fixes: 130354206
Test: set dev option, verified nothing went dark. Set dark
theme, verified non-dark apps were force-darked. Rebooted
and verified property still set.

Change-Id: I43adcbc25320669510fb03b162c98cbd14612f55

5 years agoMerge "Fix talkback issue on bar chart" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 17:57:01 +0000 (17:57 +0000)]
Merge "Fix talkback issue on bar chart" into qt-dev

5 years agoMerge "Use SQLite update instead of replace in UserMetadata table." into qt-dev
Dmitry Dementyev [Thu, 25 Apr 2019 17:45:46 +0000 (17:45 +0000)]
Merge "Use SQLite update instead of replace in UserMetadata table." into qt-dev

5 years agoOnly migrate 2-button setting if set
Winson Chung [Wed, 24 Apr 2019 23:52:47 +0000 (16:52 -0700)]
Only migrate 2-button setting if set

- We have only shipped configurations with:
  default=3 button + setting to opt in
  default=2 button + no setting to opt out

  So to prevent migrating in the case where a user has restored from
  a device (1) to a device (2) where the setting may be false (but
  previously showed 2 button nav), we only migrate the nav bar mode
  to the 2 button overlay whenever the setting is set. This means
  that the user will fallback to the device default nav bar mode
  which corresponds to the previous default modes for each device.
- Also remove temporary nav bar mode migration for dogfood users

Bug: 128548249
Test: Migrate from P to Q with swipe up setting set to false

Change-Id: I7218eeb13fec50b2fe3e89f75ef0d2d4ab67aff1

5 years agoMerge "Add setting for silent notifs on lockscreen" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 17:41:37 +0000 (17:41 +0000)]
Merge "Add setting for silent notifs on lockscreen" into qt-dev

5 years agoStart Watchdog early during boot
Zimuzo [Tue, 16 Apr 2019 12:33:01 +0000 (13:33 +0100)]
Start Watchdog early during boot

The system server can deadlock without making progress during early
boot. If this happens without crashing, no rollback mechanisms will be
triggered because there's no crash. With this change, if the system
server deadlocks early during boot, the Watchdog will crash the
system server, frequent enough crashes (4 in 4 mins) will trigger
the native watchdog and cause apexd to rollback any staged mainline updates.

Bug: 129597207
Test: Boots fine and logs indicate threads and monitors are registered
properly. Also adding an artificial sleep to the PackageManagerService
during boot crashes the system_server. At the moment, this is not
detected by the native watchdog because the default_timeout of 60
seconds before crashing the system_server never triggers the native
watchdog crash frequency threshold. Will fix in later cl.

Change-Id: I956a263e96d17d55bc512a5eab905cd2a14a7abb

5 years agoMerge "Add more documentation for LE CoC" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 17:31:19 +0000 (17:31 +0000)]
Merge "Add more documentation for LE CoC" into qt-dev

5 years agoOnly start WebView zygote if multiprocess enabled.
Torne (Richard Coles) [Thu, 25 Apr 2019 17:30:37 +0000 (13:30 -0400)]
Only start WebView zygote if multiprocess enabled.

The fix for b/130305037 inadvertantly changed the behaviour of the
webview zygote for devices which have multiprocess WebView disabled: the
zygote was being started at boot time even if it would not be needed.

Only call the function to start the zygote if multiprocess is actually
enabled, to fix this.

Fixes: 131267737
Test: adb shell cmd webviewupdate disable-multiprocess; adb reboot
Change-Id: Iccda48b75d75259821dba6b002339b2d6c8e3394

5 years agoMerge "Update SysUI to use system cache for battery estimates" into qt-dev
Salvador Martinez [Thu, 25 Apr 2019 17:23:28 +0000 (17:23 +0000)]
Merge "Update SysUI to use system cache for battery estimates" into qt-dev

5 years agoWrapping the inflater into InjectionInflationController.
Priyank Singh [Thu, 25 Apr 2019 17:14:57 +0000 (10:14 -0700)]
Wrapping the inflater into InjectionInflationController.

Normal inflater is not aware how to call the other constructor when __constructor__(context,attr) is not available.

Bug: 131083319
Bug: 129706831
Test: Manual
Change-Id: I89c8efe460aa294174281e4fd6e81bb90e66e42c

5 years agoImprove theme application transition.
Amin Shaikh [Wed, 24 Apr 2019 17:47:57 +0000 (13:47 -0400)]
Improve theme application transition.

- Remove duplicate app info changed / activity relaunch messages caused by
applying several overlay packages sequentially; this eliminated the
double launcher activity restart
- Asynchronously enable each overlay from SystemUI; this increases the
speed of enabling overlays, thus decreasing the effect of the frozen
activity transition

Fixes: 130151718
Test: make; change themes many times
Change-Id: Idcf04edc88cb9391b9920b9e1f9f873a5b62b311

5 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 25 Apr 2019 16:49:28 +0000 (09:49 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I4a4bfa1d6db234699c00ce167efa16ab297da941

5 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 25 Apr 2019 16:40:52 +0000 (09:40 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I0c25bf4b8720912bb79449f36062ce567e706195

5 years agoMerge "Revert "Keep a light version of the SBN around"" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 16:30:25 +0000 (16:30 +0000)]
Merge "Revert "Keep a light version of the SBN around"" into qt-dev

5 years agoMerge "Added direct call to syncInputTransactions" into qt-dev
Chavi Weingarten [Thu, 25 Apr 2019 16:27:37 +0000 (16:27 +0000)]
Merge "Added direct call to syncInputTransactions" into qt-dev

5 years agoMerge "Don't ban background vibration with USAGE_ALARM" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 15:43:48 +0000 (15:43 +0000)]
Merge "Don't ban background vibration with USAGE_ALARM" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 15:19:24 +0000 (15:19 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Ensure to resume home if there is no other activity" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 15:15:43 +0000 (15:15 +0000)]
Merge "Ensure to resume home if there is no other activity" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 15:02:42 +0000 (15:02 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 14:49:39 +0000 (14:49 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 14:46:57 +0000 (14:46 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoAdd setting for silent notifs on lockscreen
Julia Reynolds [Wed, 24 Apr 2019 18:40:17 +0000 (14:40 -0400)]
Add setting for silent notifs on lockscreen

Test: atest
Bug: 128445911
Change-Id: If07b593aa0588f494691c7399e471a142fb585c6

5 years agoFix colors in QS Header
Fabian Kozynski [Mon, 22 Apr 2019 18:23:47 +0000 (14:23 -0400)]
Fix colors in QS Header

Fixes icon and text colors in QS Header to be darker in Light mode.
Also, makes sure that all colors in the icons match.

Does this by implementing the following:
* A new theme that overrides darkIconTheme in Theme.SystemUI by one with
darker colors.
* QuickStatusBarHeader applies that theme and passes is onto its
children, in particular StatusIconContainer/StatusBarMobileView
and BatteryMeterView.
* StatusBarMobileView and BatteryMeterView retrieve the colors from the
theme and apply them accordingly.
* Also applies to QSCarrierGroup
* Additionally, the single color is used for the other icons.

Also invalidates SignalDrawable after setColors is called if at least
one of the colors changed. This is a real issue.

For more info:
* Text and icons set to 70% black on light mode, white in dark mode.
* Dual tone set for background overlaid with fill match single tone.

Test: visual
Fixes: 124466915

Change-Id: Ia6cb28fca90a07c8936726334502e7accf534df6

5 years agoRevert "Keep a light version of the SBN around"
Julia Reynolds [Thu, 25 Apr 2019 13:34:33 +0000 (13:34 +0000)]
Revert "Keep a light version of the SBN around"

This reverts commit 75a7e2f9e959137ee97a0ea3d5953a7b3cb1cb82.

Reason for revert: Turns out this wipes out data we need :(

Change-Id: Id1d79dec17639440eae55e41fb4e91f0d9e6162c
Fixes: 131290765

5 years agoFixed clock face resetting to default one after rebooting
shawnlin [Wed, 24 Apr 2019 06:16:19 +0000 (14:16 +0800)]
Fixed clock face resetting to default one after rebooting

The root cause is that the initial clock plugin was set before the onPluginConnected() was
called.

Set the clock plugin once the onPluginConnected() is called and it's
current clock plugin.

Bug: 131044332
Test: manual
Change-Id: I133183d66db05620d6da77abb0643e8e5ee60ebc

5 years agoMerge "Fix intent for next alarm" into qt-dev
Fabian Kozynski [Thu, 25 Apr 2019 13:14:30 +0000 (13:14 +0000)]
Merge "Fix intent for next alarm" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 25 Apr 2019 12:22:37 +0000 (05:22 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I5cd7a7b673402f2a2b1c6116e6d9d582c6ea5c3f

5 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 25 Apr 2019 12:14:17 +0000 (05:14 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I94dabe6a24a80e3dcc88128b8a413de254fba2da

5 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 25 Apr 2019 11:20:29 +0000 (04:20 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Iab6097d44c74727fc4045027dacf4a9398086a96

5 years agoMerge "Change watchdog PackageInfo to PackageConfig" into qt-dev
Zimuzo Ezeozue [Thu, 25 Apr 2019 09:58:52 +0000 (09:58 +0000)]
Merge "Change watchdog PackageInfo to PackageConfig" into qt-dev

5 years agoMerge "DO NOT MERGE: Do not allow overlaying of attributes with conflicting formats...
TreeHugger Robot [Thu, 25 Apr 2019 09:46:43 +0000 (09:46 +0000)]
Merge "DO NOT MERGE: Do not allow overlaying of attributes with conflicting formats" into qt-dev

5 years agoMerge "PM: Reject installation of an APK with same name as an APEX" into qt-dev
Nikita Ioffe [Thu, 25 Apr 2019 09:11:03 +0000 (09:11 +0000)]
Merge "PM: Reject installation of an APK with same name as an APEX" into qt-dev

5 years agoMerge "Remove unused methods from INetworkManagementService" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 09:09:48 +0000 (09:09 +0000)]
Merge "Remove unused methods from INetworkManagementService" into qt-dev

5 years agoMerge "Interstitial frame for grace period of face auth" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 08:58:25 +0000 (08:58 +0000)]
Merge "Interstitial frame for grace period of face auth" into qt-dev

5 years agoMerge "Use correct heads-up notification height." into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 08:56:42 +0000 (08:56 +0000)]
Merge "Use correct heads-up notification height." into qt-dev

5 years agoMerge "Update exception type thrown when NetworkStack is missing" into qt-dev
Chiachang Wang [Thu, 25 Apr 2019 08:46:01 +0000 (08:46 +0000)]
Merge "Update exception type thrown when NetworkStack is missing" into qt-dev

5 years agoMerge "[DO NOT MERGE] Adding API for defining and invoking DirectActions" into qt-dev
Svetoslav Ganov [Thu, 25 Apr 2019 08:45:49 +0000 (08:45 +0000)]
Merge "[DO NOT MERGE] Adding API for defining and invoking DirectActions" into qt-dev

5 years agoEnsure to resume home if there is no other activity
Riddle Hsu [Wed, 24 Apr 2019 15:55:11 +0000 (23:55 +0800)]
Ensure to resume home if there is no other activity

On default display, there will always have home stack,
but home activity may not have been started yet. In that
case if we want to resume home, the home stack should
still move to front.

Fix: 118862669
Test: atest ActivityStackTests#testAdjustFocusedStackToHomeWhenNoActivity
Change-Id: I3c744f6d3adeb151eac864d88d2b195e05d2332f

5 years agoMerge "Fix PIP window is showing on the lockscreen (1/2)" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 07:25:13 +0000 (07:25 +0000)]
Merge "Fix PIP window is showing on the lockscreen (1/2)" into qt-dev

5 years ago[DO NOT MERGE] Adding API for defining and invoking DirectActions
Sunny Goyal [Wed, 20 Mar 2019 19:46:55 +0000 (12:46 -0700)]
[DO NOT MERGE] Adding API for defining and invoking DirectActions

DirectActions are abstract actions defined by an Activtiy. The
actual definition of these actions will be available through
the support lib.

This API provides a secure channel for system or assistant to
interact with a running app using these Actions.

Test: atest CtsVoiceInteractionTestCases
Test: added android.voiceinteraction.cts.DirectActionsTest

Bug: 129705716

Change-Id: I0ce568e0d8f41e0fe46306052016a74c7b394efa

5 years agoUpdate exception type thrown when NetworkStack is missing
Chiachang Wang [Thu, 25 Apr 2019 05:35:58 +0000 (22:35 -0700)]
Update exception type thrown when NetworkStack is missing

rethrowFromSystemServer is throwing DeadSystemException which
is different from the original log message. Thus, update the
way to rethrow the same RemoteException.

Bug: 130028724
Test: atest FrameworksNetTest
Test: Kill NetworkStack and check the log message
Change-Id: I60862e276dd4e2d143278b272a9ba54219acce26
Merged-In: Ic1766e839f8f06b539d5f6cfecd29547021fd1d9
Merged-In: I67005a5384888e8acaf1249af79484e2d5ed6f1f
(cherry picked from commit 7f581219e1a4706ea2b4438322a299986847b1c2)

5 years agoMerge "Assign layer to bounds animation layer" into qt-dev
Jorim Jaggi [Thu, 25 Apr 2019 06:39:53 +0000 (06:39 +0000)]
Merge "Assign layer to bounds animation layer" into qt-dev

5 years agoMerge "Ensure we get the right nav bar mode for the current user in sysui" into qt-dev
Winson Chung [Thu, 25 Apr 2019 06:14:57 +0000 (06:14 +0000)]
Merge "Ensure we get the right nav bar mode for the current user in sysui" into qt-dev

5 years agoMerge "Manual revert of ag/6502936" into qt-dev
Winson Chung [Thu, 25 Apr 2019 05:52:07 +0000 (05:52 +0000)]
Merge "Manual revert of ag/6502936" into qt-dev

5 years agoMerge "Add night variant of Theme.DeviceDefault.Settings.Dialog" into qt-dev
Linda Tseng [Thu, 25 Apr 2019 05:51:19 +0000 (05:51 +0000)]
Merge "Add night variant of Theme.DeviceDefault.Settings.Dialog" into qt-dev

5 years agoMerge "Bluetooth: Remove safetynet logging for 120574260" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 05:37:05 +0000 (05:37 +0000)]
Merge "Bluetooth: Remove safetynet logging for 120574260" into qt-dev

5 years agoMerge changes from topic "niap-vpn" into qt-dev
Lorenzo Colitti [Thu, 25 Apr 2019 04:23:01 +0000 (04:23 +0000)]
Merge changes from topic "niap-vpn" into qt-dev

* changes:
  Reinstate new VPN uid filtering unit tests
  Revert new tests and PackageManager mock
  Block incoming non-VPN packets to apps under fully-routed VPN

5 years agoMerge "Resolve size compatibility bounds by original display attributes" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 04:17:33 +0000 (04:17 +0000)]
Merge "Resolve size compatibility bounds by original display attributes" into qt-dev

5 years agoMerge "Make the network stack a persistent process." into qt-dev
Lorenzo Colitti [Thu, 25 Apr 2019 03:53:41 +0000 (03:53 +0000)]
Merge "Make the network stack a persistent process." into qt-dev

5 years agoBluetooth: Remove safetynet logging for 120574260
Jack He [Wed, 24 Apr 2019 23:21:12 +0000 (16:21 -0700)]
Bluetooth: Remove safetynet logging for 120574260

Bug: 120574260
Test: make
Change-Id: Id86c139e654428f8d4376f2d0359329e47c052b9

5 years agoMerge "Do not dismiss BiometricPrompt when "soft" errors are received" into qt-dev
Kevin Chyn [Thu, 25 Apr 2019 03:20:30 +0000 (03:20 +0000)]
Merge "Do not dismiss BiometricPrompt when "soft" errors are received" into qt-dev

5 years agoFix talkback issue on bar chart
tmfang [Wed, 24 Apr 2019 08:59:59 +0000 (16:59 +0800)]
Fix talkback issue on bar chart

We set content description on icon view,
so this is why talkback speaks the permission name twice.

Test: open talkback, and click bar chart.
Fixes: 130842756
Change-Id: I2ed4916de0a249f61d97dc00fa95193560b3d74c

5 years agoMerge "Position "At a Glance" on custom clock below status bar." into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 02:22:08 +0000 (02:22 +0000)]
Merge "Position "At a Glance" on custom clock below status bar." into qt-dev

5 years agoInterstitial frame for grace period of face auth
Lucas Dupin [Wed, 24 Apr 2019 21:56:52 +0000 (14:56 -0700)]
Interstitial frame for grace period of face auth

Delay bouncer for a few millis if face auth is happening to avoid
overlaping animations.

Fixes: 130327140
Test: manual
Test: atest KeyguardBouncerTest
Change-Id: I6873605ba3e8d54af86325d81b10cc6aec131cf2

5 years agoFix QT build breakage.
Sudheer Shanka [Thu, 25 Apr 2019 01:30:32 +0000 (18:30 -0700)]
Fix QT build breakage.

Test: builds
Change-Id: Iff6f516d68659a9b81009f82b6e1874089daa592

5 years agoMake the network stack a persistent process.
Lorenzo Colitti [Wed, 24 Apr 2019 16:51:09 +0000 (09:51 -0700)]
Make the network stack a persistent process.

The network stack should never be killed, because if it does,
recovering networking requires a reboot. Make the process
persistent to reduce the chances of it being killed by the OOM
killer.

Bug: 131046856
Test: builds, boots
Test: process oom_score_adj is -800
Test: process goes from "Persistent Service" to "Persistent" in dumpsys meminfo
Change-Id: Ic8ebf6356e23489f6cd984d680ff9f1b4cbbe52d
Merged-In: Ic8ebf6356e23489f6cd984d680ff9f1b4cbbe52d
(cherry picked from commit c1eedfcd124a6370887d92da4d12cd43d0ef6799)

5 years agoMerge "Update behavior of some DownloadManager APIs." into qt-dev
Sudheer Shanka [Thu, 25 Apr 2019 00:51:59 +0000 (00:51 +0000)]
Merge "Update behavior of some DownloadManager APIs." into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 25 Apr 2019 00:39:18 +0000 (17:39 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Icda1b6363ac885ce7359df198a923d4e7f96c901

5 years agoAdded direct call to syncInputTransactions
chaviw [Mon, 22 Apr 2019 20:39:46 +0000 (13:39 -0700)]
Added direct call to syncInputTransactions

Previously, there was only a way to inject input after syncing inputs.
However, some tests require a direct call to sync inputs since we need
to ensure the info was propagated to InputManager native before
continuing with the test. This exposes a method just to
syncInputTransactions.

Bug: 130695122
Test: ActivityLifecycleTopResumedStateTests
Test: MultiDisplayPolicyTests
Change-Id: Ie3115741a20d04c743fd854ac421dc3705332488

5 years agoUse /data/vendor_ce/0/facedata for FaceHAL's secure storage
Jiwen 'Steve' Cai [Wed, 24 Apr 2019 01:18:56 +0000 (18:18 -0700)]
Use /data/vendor_ce/0/facedata for FaceHAL's secure storage

Also remove "import android.provider.Settings" per checkstyle_hook's
warning.

Bug: 129754192
Test: Manually verify that debug data is written into
      /data/vendor_ce/0/facedata.
Change-Id: I8a00c338c2a665510757fc8686f802b3badf2765

5 years agoEnsure we get the right nav bar mode for the current user in sysui
Winson Chung [Wed, 24 Apr 2019 22:17:33 +0000 (15:17 -0700)]
Ensure we get the right nav bar mode for the current user in sysui

- Load resources from the current user's context to ensure the right
  overlays are read
- Create a controller in sysui to dispatch mode change to prevent callers
  from calling with the wrong user's context
- Clean up the quickstep contract to prevent launcher from calling methods
  using the baked in fw resource ids

Bug: 130185871
Test: Switch to secondary user, ensure the mode is read correctly
Change-Id: I00d9276185777e340b3e758345a00d2e9b3e3e64