The IpConnectivityLog class looks up MetricsLoggerService once only
at creation. If a IpConnectivityLog user instantiates this class too
early during the boot process, the MetricsLoggerService is not found
and no event can be recorded.
This patch makes IpConnectivityLog attempt to look up
MetricsLoggerService as long as it hasn't found it yet.
This allows IpManager and ConnectivityService to upload
android.net.metrics events.
Bug: 30490301
Change-Id: I97102b95a775ea9e90351b9887ae4661fddc2af9
Similarly to ApfTest, this patch changes ConnectivityServiceTest to use
a mock object instead of IpConnectivityLog so that running
ConnectivityServiceTest does not generate android.net.metrics events.
Bug: 30450301
Change-Id: Ibc0479f381f26e60baefbae15407c62aecbf6666
- To match the AOSP launcher which no longer centers the default page,
we now align the wallpaper to either edge of the screen (depending on
RTL). This prevents a jump in the keyguard when starting the device
due to the wallpaper offset being initialized before Launcher is
started and can update the offset itself.
Bug: 28795125
Change-Id: Ica96a367157aef696b361601d346774960430fbf
Instead add a new hidden function to ServiceState for use
by SystemUI until we get a real API in O.
bug:30480638
Change-Id: Ifd9b1fbdb74d3a408c419467b7390675fc13ea3d
In case of a reboot mApkToPackageMap becomes empty, but packages can still
be installed in user 0. We need to repopulate the cache again.
Bug: 30280710
Change-Id: Ia18e93c351b5af80de434e8c5311b961b314a9fb
Because RetailDemoModeService was switching user before KeyguardService
was started, KeyguardViewMediator was missing the call to setCurrentUser
on user switch. Setting the current user from keyguardState in
onServiceConnected, if there was a user switch that happened earlier.
Also changed RetailDemoModeService to switch user after it receives boot
phase BOOT_COMPLETE.
Bug: 30038980
Change-Id: I142570529097199ccc50849297ae67ca49d35534
Without the cap, say, a 40dp window cannot snap to the left edge,
and one CTS is failing due to this in freeform mode.
BUG=30037893
TEST=run cts --class android.widget.cts.PopupWindowTest \
--method testUpdateDimensionAndAlignAnchorViewWithOffsets
Change-Id: I474ca4ce519bba39d3e16ec8620b1176a3c52834
(cherry picked from commit 63e24d1791)
If Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED is not set, default it
to 0 to diable fingerprint swipe.
Bug: 30416729
Change-Id: I292aa696216facc8eaefd1f4bd698f6e5708dc85
After removing updates for a system package, we weren't updating its
shared libraries when we should have. Make it so.
NOTE: This didn't affect device boot because we update all of the
shared libraries for all system applications after scanning packages.
Bug: 30266503
Change-Id: I8edf4344228fb3e793e7648ea70a041cb5db6af6
- Update PM.deletePackage to check if an app trying to delete a package
is the same app that installed it.
- Update system apps to be orphans to allow silent deletion. This will
make sure managed provisioning is not affected.
Fixes: 30280938
Change-Id: Ideab5a47eee2a00e7eefa9119112e37c3118783f
Adds lazy initialization to all DozeLog traces
that are called externally. Also fixes a bug
where certain traces initialized after logging,
thus missing the first log.
Change-Id: If75d6cc048f76435856f1c570b66cd6ef96e5ee2
Fixes: 30225249
There is a known issue in the kernel uidcputime module that triggers
the WTF, which has a cost to the system. Convert to a regular log
instead.
Bug:28950306
Change-Id: I7cbb3138f644075f0d9d65ce8b52bd835eb270fd