OSDN Git Service
Kevin Rocard [Tue, 9 Apr 2019 23:26:06 +0000 (16:26 -0700)]
Propagate to apps capture opt-in
Allows public apps to detect if playback have opted-out of being
capture.
Bug:
129948989
Test: atest AudioPlaybackConfigurationTest
Change-Id: Id2c2ad195e5fdeba89926dcdbbe9fa22c2d25891
Signed-off-by: Kevin Rocard <krocard@google.com>
Lucas Dupin [Fri, 26 Apr 2019 21:51:43 +0000 (21:51 +0000)]
Merge "Fixed SIM pin pad overlap" into qt-dev
TreeHugger Robot [Fri, 26 Apr 2019 21:19:08 +0000 (21:19 +0000)]
Merge "Make package installer tests post submit" into qt-dev
TreeHugger Robot [Fri, 26 Apr 2019 21:14:19 +0000 (21:14 +0000)]
Merge "Restrict bindIsolatedService instanceName to just letters, digits, '_', and '.'" into qt-dev
TreeHugger Robot [Fri, 26 Apr 2019 21:06:21 +0000 (21:06 +0000)]
Merge "Use ActivityThread.currentApplication() for application context." into qt-dev
Vishnu Nair [Fri, 26 Apr 2019 20:39:20 +0000 (20:39 +0000)]
Merge "[wm] Adjust freeform header not to be overlapped with stable insets" into qt-dev
Matt Pape [Fri, 26 Apr 2019 20:35:43 +0000 (20:35 +0000)]
Merge "Support OnPropertiesChangedListener in TestableDeviceConfig." into qt-dev
Philip P. Moltmann [Fri, 26 Apr 2019 20:30:18 +0000 (20:30 +0000)]
Merge "Don't use Context#getApplicationContext" into qt-dev
TreeHugger Robot [Fri, 26 Apr 2019 17:12:28 +0000 (17:12 +0000)]
Merge "Set the default value for Secure Settings: AWARE_ENABLED" into qt-dev
TreeHugger Robot [Fri, 26 Apr 2019 17:01:26 +0000 (17:01 +0000)]
Merge "Fix tests/runtests.sh" into qt-dev
Otto Seiskari [Fri, 12 Apr 2019 10:16:14 +0000 (13:16 +0300)]
Fix tests/runtests.sh
The location of FrameworksWifiTests.apk installed by the script
with adb seems to have changed. The path of the APK contains the
TARGET_ARCH environment variable, which is now fetched
with a similar method as in system/netd/tests/runtests.sh.
Noticed the issue with "lunch aosp_x86_64-eng". Before this fix,
the test script produced an error:
adb: failed to stat [...]/FrameworksWifiApiTests.apk:
No such file or directory
Bug:
128603658
Test: ./frameworks/base/wifi/tests/runtests.sh
Change-Id: Id4a33ca89fa21a9a4ef791c5c1c5760e0e2badaf
Signed-off-by: Otto Seiskari <otto.seiskari@indooratlas.com>
Lucas Dupin [Fri, 26 Apr 2019 16:31:27 +0000 (16:31 +0000)]
Merge "Fix message not showing when face auth is enabled" into qt-dev
Winson Chung [Fri, 26 Apr 2019 16:24:24 +0000 (16:24 +0000)]
Merge "Ensure we get the right nav bar mode for the current user in the system" into qt-dev
Adrian Salido [Fri, 26 Apr 2019 15:55:33 +0000 (15:55 +0000)]
Merge "Use default refresh rate from config" into qt-dev
Matt Pape [Tue, 23 Apr 2019 23:06:55 +0000 (16:06 -0700)]
Support OnPropertiesChangedListener in TestableDeviceConfig.
Handle add and remove listener methods, as well as making callbacks when
setProperty is called.
Test: atest FrameworksCoreTests:DeviceConfigTest
atest FrameworksMockingServicesTests:TestableDeviceConfigTest
atest FrameworksMockingServicesTests:AppCompactorTest
Bug:
128902955
Change-Id: Ie797d40604ab7fc860691ef07461aea42480cbfe
Lorenzo Colitti [Fri, 26 Apr 2019 11:00:48 +0000 (04:00 -0700)]
Add validation type definition to support multiple probe result
In order to allow NetworkMonitor to tell ConnectivityService
if the network is either parital, validated or both.
NetworkMonitor could update the probe result by passing the
bitmask to ConnectivityService.
Bug:
130078798
Bug:
130683832
Test: build
Change-Id: I429ccbd9b9afae3eafaf73b3c9eb835213c1f64d
Merged-In: I429ccbd9b9afae3eafaf73b3c9eb835213c1f64d
(cherry picked from commit
4932896e244be2edb028552e02374b41e3f7d365)
Julia Reynolds [Fri, 26 Apr 2019 13:41:08 +0000 (13:41 +0000)]
Merge "Fix default app notification locking on new devices" into qt-dev
TreeHugger Robot [Fri, 26 Apr 2019 13:28:17 +0000 (13:28 +0000)]
Merge changes I1fc3b301,Ib42ab29e into qt-dev
* changes:
Update boot image and system server profiles
Update boot image and system server profiles
TreeHugger Robot [Fri, 26 Apr 2019 13:27:47 +0000 (13:27 +0000)]
Merge "ScoClient only increases count when requestScoState succeed." into qt-dev
TreeHugger Robot [Fri, 26 Apr 2019 10:37:51 +0000 (10:37 +0000)]
Merge "Reset DWB color temperature when DWBC is disabled" into qt-dev
TreeHugger Robot [Fri, 26 Apr 2019 07:58:41 +0000 (07:58 +0000)]
Merge "[Settings] Show accurate Enterprise networks details" into qt-dev
TreeHugger Robot [Fri, 26 Apr 2019 07:30:51 +0000 (07:30 +0000)]
Merge "Fix app crash while running in second display" into qt-dev
Hai Zhang [Fri, 26 Apr 2019 07:01:59 +0000 (15:01 +0800)]
Use ActivityThread.currentApplication() for application context.
Context.getApplicationContext() might return null if the context is
created with Context.createPackageContextAsUser(), as the application
instance for that context won't be created. In this case we can use
ActivityThread.currentApplication() directly, which does the same
thing as if the context wasn't created for a specific package or user.
We are only using this application context to bind to other services
so it will work fine.
Bug:
131356152
Test: presubmit
Change-Id: Iee1ac9aa088d452dc58dd7f19edc58a3e0b791a6
TreeHugger Robot [Fri, 26 Apr 2019 05:20:34 +0000 (05:20 +0000)]
Merge "Zygote: add a way to preload Vulkan driver" into qt-dev
Evan Rosky [Fri, 26 Apr 2019 04:13:07 +0000 (04:13 +0000)]
Merge "Use stack bounds to apply STACK_CLIP_BEFORE_ANIM" into qt-dev
Adrian Salido [Fri, 26 Apr 2019 02:34:37 +0000 (19:34 -0700)]
Use default refresh rate from config
Currently mDefaultPeakRefreshRate is unused, make use of this as the
default refresh rate when missing user configuration.
Fixes:
130249886
Test: wipe device and check default refresh config is picked up
Change-Id: I88a4e696969d63cdd0fef0aef81bd4c8d3573d3f
Calin Juravle [Thu, 25 Apr 2019 22:12:44 +0000 (15:12 -0700)]
Update boot image and system server profiles
This is a conservative tuning for the last profile update (commit
5b70220fb5a174a7142ca5403563bf528120a63f) which regressed a few metrics
(b/
130553966). The numbers below are quoated relative to the sate before
that update.
=Perf numbers=
The boot image compilation artifacts are 17MiB smaller (art/vdex/oat for
arm and arm64).
System server .art file is 100KiB smaller.
Startup and memory number are within the noise. Startup shows 0.72%
improvement. However that's most likely noise. The tests were run with:
- atest google/perf/app-startup/hermetic-apps/cold-dropcache-lock-test
- atest google/perf/app-startup/non-hermetic-apps/cold-dropcache-lock-test
- atest google/perf/memory/memory-test
- atest
google/perf/app-startup/benchmark-app-hermetic/cold-dropcache-lock-test
- atest
google/perf/app-startup/third-party-apps/cold-dropcache-stable-test
=Profile metrics=
Boot:
- methods and classes used by at least 9% of the sampled (non unique)
applications (see below for more explanations)
- 1.13% of hot methods added, 33.77% removed
- 0.65% of classes added, 21.61% removed
- 29256 hot methods in the profile (vs 43429 in the old one)
- 8681 classes in the profile (vs 10985 in the old one)
Preloaded clases:
- classes used by at least 20% of sampled applications during startup
- 1.5% added, 0.3% removed
- 7601 classes in the profile (vs 7516 in the old one)
System server:
- methods and classes used on at least 5% of sampled devices
- system server is speed compile and the image classes are the most
relevant
- 4% classes added, 23% of classes removed
- 2819 classes in the profile (vs 3418 in the old one)
=Data sample=
- 35000+ (non unique) applications contributed to the final profile
- these were spread across 4000+ (non unique) devices
- 'non unique' means that the same app or the same device (or a
combination of both) could have contributed to the final profile multiple
times
Bug:
122068885
Bug:
130553966
Test: m, build, boot, atest startup-tests
(cherry picked from commit
439305caddf8ad574b230a24cd7523ee6c591364)
Merged-In: Ic61ed2784af034ed4ae4bc8346ed67c6bed04152
Change-Id: I1fc3b301bf80bfc7dda3540c5a204af8321279bf
Calin Juravle [Thu, 11 Apr 2019 02:07:47 +0000 (19:07 -0700)]
Update boot image and system server profiles
=Perf numbers=
The boot image compilation artifacts are 28MiB smaller (art/vdex/oat for
arm and arm64).
System server .art file is 100KiB smaller.
Startup and memory number are within the noise. Startup shows 0.11%
improvement and memory shows 0.22% improvements. However that's most
likely noise. The tests were run with:
- atest google/perf/app-startup/hermetic-apps/cold-dropcache-lock-test
- atest google/perf/app-startup/non-hermetic-apps/cold-dropcache-lock-test
- atest google/perf/memory/memory-test
=Profile metrics=
Boot:
- methods and classes used by at least 9% of the sampled (non unique)
applications (see below for more explanations)
- 0.6% of hot methods added, 51.31% removed
- 0.3% of classes added, 29.96% removed
- 21403 hot methods in the profile (vs 43429 in the old one)
- 7826 classes in the profile (vs 10985 in the old one)
Preloaded clases:
- classes used by at least 20% of sampled applications during startup
- 1.5% added, 0.3% removed
- 7601 classes in the profile (vs 7516 in the old one)
System server:
- methods and classes used on at least 5% of sampled devices
- system server is speed compile and the image classes are the most
relevant
- 4% classes added, 23% of classes removed
- 2819 classes in the profile (vs 3418 in the old one)
=Data sample=
- 35000+ (non unique) applications contributed to the final profile
- these were spread across 4000+ (non unique) devices
- 'non unique' means that the same app or the same device (or a
combination of both) could have contributed to the final profile multiple
times
Bug:
122460899
Bug:
122068885
Test: m, build, boot, atest startup-tests
(cherry picked from commit
5b70220fb5a174a7142ca5403563bf528120a63f)
Merged-In: Ib3aac3c7efae64af9d2b46e350146e53ba653cbd
Change-Id: Ib42ab29e3d28591817a396407445a6c23e5c9a27
TreeHugger Robot [Fri, 26 Apr 2019 00:17:25 +0000 (00:17 +0000)]
Merge "Fix font for actionbar in device default" 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
TreeHugger Robot [Fri, 26 Apr 2019 00:09:05 +0000 (00:09 +0000)]
Merge "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
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
Philip P. Moltmann [Thu, 25 Apr 2019 23:52:44 +0000 (16:52 -0700)]
Make package installer tests post submit
As they are UI-tests and hence to flaky for pre-submit.
Fixes:
131353722
Test: n/a
Change-Id: I7bea06bbe16717406ccd0676fb83396066959a92
GyeHun Jeon [Wed, 24 Apr 2019 21:20:15 +0000 (14:20 -0700)]
[wm] Adjust freeform header not to be overlapped with stable insets
freeform bounds should not be overlapped with statusBar and navigationBar.
If it is overlapped, we can't control freeform anymore. So we adjusted
freeform bounds not to be overlapped on launching and moving task.
Test: move freeform to navigationBar & launching below navigationBar
Test: atest WmTests:TaskRecordTests WmTests:TaskPositionerTests
Bug:
129521219
Change-Id: I353ba930269ec753c97d719819364436bda280cb
(cherry picked from commit
55fbe465f2b40e0f1886691488825a243a3acf79)
John Reck [Thu, 25 Apr 2019 23:37:05 +0000 (23:37 +0000)]
Merge "Fix some force_dark prop behaviors" 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
Philip P. Moltmann [Thu, 25 Apr 2019 23:24:45 +0000 (23:24 +0000)]
Merge "Allow PermissionControllerService implementer control own threading" into qt-dev
Philip P. Moltmann [Thu, 25 Apr 2019 23:09:03 +0000 (16:09 -0700)]
Don't use Context#getApplicationContext
as this might be null. In PermissionControllerManager we need a context
that outlives the passed in context as we bind to a service that will
only get destroyed after a delay.
Test: atest PermissionControllerTest
Bug:
131356152
Change-Id: Iabeac669f6464b84a4b9e8f9b2a27959b116c25b
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.
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
Linda Tseng [Thu, 25 Apr 2019 22:39:40 +0000 (22:39 +0000)]
Merge "Update panel bg color in dark mode" 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
TreeHugger Robot [Thu, 25 Apr 2019 22:30:21 +0000 (22:30 +0000)]
Merge "Only start WebView zygote if multiprocess enabled." into qt-dev
jiabin [Thu, 25 Apr 2019 20:35:56 +0000 (13:35 -0700)]
ScoClient only increases count when requestScoState succeed.
Bug:
123408281
Test: Manually
Change-Id: I4183b941c1fbfa573fdb6c6258f4012616c4c64a
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
TreeHugger Robot [Thu, 25 Apr 2019 21:49:04 +0000 (21:49 +0000)]
Merge "Sharesheet - Modify header scrolling behavior" into qt-dev
Lucas Dupin [Thu, 25 Apr 2019 21:34:12 +0000 (14:34 -0700)]
Fix message not showing when face auth is enabled
Old code was checking explicitly for fingerprint, we need something more
generic, that asserts any type of biometrics.
Test: manual
Fixes:
131140362
Change-Id: I5868c54b12c24696bc00a150d7bb3cb3d872015f
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
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
Yiwei Zhang [Mon, 15 Apr 2019 23:24:32 +0000 (16:24 -0700)]
Zygote: add a way to preload Vulkan driver
Since HWUI render pipeline has both GL and Vulkan backends now, we'd
like to preload either GL or Vulkan driver based upon HWUI's choice on
the render backend.
1) Keep using ro.zygote.disable_gl_preload property to disable Vulkan
driver preloading if HWUI's render pipeline uses Vulkan backend.
Properly rename the corresponding APIs for driver preloading.
2) Add a path to preload Vulkan driver based on HWUI's render backend.
Bug:
131249898
Test: build, flash and boot.
Test: verified with set USE_VULKAN=true
Test: verified with setprop debug.hwui.renderer skiagl/skiavk
Change-Id: Ie0bf5d18edcf907c75a25ac3249e2620ec21b63c
Zimuzo Ezeozue [Thu, 25 Apr 2019 21:25:59 +0000 (21:25 +0000)]
Merge "Start Watchdog early during boot" into qt-dev
Julia Reynolds [Thu, 25 Apr 2019 19:41:47 +0000 (15:41 -0400)]
Fix default app notification locking on new devices
- Fresh devices, no restore, create app prefs if app hasn't done
it already
- Apply app level locking to channels created via readxml on restore
Test: atest, factory reset device and verify that default dialer app is
locked without requiring a reboot. restore backup and verify that it's
still locked
Fixes:
127855529
Change-Id: Ieca3e064eb5b5aa5877a4b575bf6223f62259668
TreeHugger Robot [Thu, 25 Apr 2019 21:14:23 +0000 (21:14 +0000)]
Merge "Wrapping the inflater into InjectionInflationController." 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
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)
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
Fabian Kozynski [Thu, 25 Apr 2019 20:53:44 +0000 (20:53 +0000)]
Merge "Fix colors in QS Header" 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
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
TreeHugger Robot [Thu, 25 Apr 2019 20:11:26 +0000 (20:11 +0000)]
Merge "Improve theme application transition." into qt-dev
Lucas Dupin [Thu, 25 Apr 2019 19:42:25 +0000 (12:42 -0700)]
Fixed SIM pin pad overlap
Test: change display and font sizes
Test: add/remove sim card
Fixes:
131129169
Change-Id: Ica859a458dd8a57bd7ebae5ae8bccb3bbb5c0a85
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
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
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
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
Yao Chen [Thu, 25 Apr 2019 18:52:10 +0000 (11:52 -0700)]
Disable incidentd encryption.
Bug:
131332217
Test: manually tested
Change-Id: If98d73978eb06a616e89025fcd615750976406e1
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
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
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
TreeHugger Robot [Thu, 25 Apr 2019 18:30:06 +0000 (18:30 +0000)]
Merge "Always enable DPMS lock check" 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
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
TreeHugger Robot [Thu, 25 Apr 2019 18:01:02 +0000 (18:01 +0000)]
Merge "AudioService: Track client app recording activity" 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
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
TreeHugger Robot [Thu, 25 Apr 2019 17:57:01 +0000 (17:57 +0000)]
Merge "Fix talkback issue on bar chart" 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
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
TreeHugger Robot [Thu, 25 Apr 2019 17:41:37 +0000 (17:41 +0000)]
Merge "Add setting for silent notifs on lockscreen" into qt-dev
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
TreeHugger Robot [Thu, 25 Apr 2019 17:31:19 +0000 (17:31 +0000)]
Merge "Add more documentation for LE CoC" into qt-dev
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
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
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
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
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
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
Winson Chung [Wed, 10 Apr 2019 19:19:59 +0000 (12:19 -0700)]
Ensure we get the right nav bar mode for the current user in the system
- Load resources from the current user's context to ensure the right
overlays are read
Bug:
130185871
Test: atest DisplayPolicyInsetsTests
Test: atest DisplayPolicyLayoutTests
Change-Id: I37b01426f02202241050336e605bbfe1918724a5
Signed-off-by: Winson Chung <winsonc@google.com>
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
Chavi Weingarten [Thu, 25 Apr 2019 16:27:37 +0000 (16:27 +0000)]
Merge "Added direct call to syncInputTransactions" 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
TreeHugger Robot [Thu, 25 Apr 2019 15:19:24 +0000 (15:19 +0000)]
Merge "Import translations. DO NOT MERGE" 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
TreeHugger Robot [Thu, 25 Apr 2019 15:02:42 +0000 (15:02 +0000)]
Merge "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
TreeHugger Robot [Thu, 25 Apr 2019 14:46:57 +0000 (14:46 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
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
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
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