This gives us detailed information on whether server based RoR fails
due to no network after reboot. There might be a race condition
when the device gets network (check) after RoR fails in gmscore (use).
But the case should be rare, and it's acceptable for metrics purpose.
Also mock the methods to read timeouts. This helps avoids denail to read
device_config when running test on internal targets.
Bug: 179105110
Bug: 189353915
Test: trigger a server based ror, check error code
Change-Id: If600e8e06d7707da7160fec66d71bc9341327965
Merged-In: If600e8e06d7707da7160fec66d71bc9341327965
(cherry-picked from commit 7c47365059)
Change-Id: I02893c5a5337685736236b2a5082d581c2419a9e
Also to avoid a wallet client that doesn't have ServiceInfo is living
too long, don't make it final and re-create the wallet client if it has a null service info.
Fix: 187972400
Test: atest
Test: manual, see demo- the default payment app is GPay, check Tile and
Lockscreen Icon, then change the default payment app and check again.
https://drive.google.com/file/d/10-I339VPuxJRGXJT-XmwmnZs4MHaH3gm/view?usp=sharing&resourcekey=0-wDtRXNNr_Tg9ptxk1Tpxsw
Change-Id: Ie9a05795bff447424b299132fa60ae2efb2092be
When we're charging and on an unmetered network, run jobs that we
calcluate won't complete within the max execution time due to the
network speed, just so they have a chance of running.
Also update documentation to guide to only providing size of
non-interruptible transfers.
Bug: 188429037
Test: Run `m offline-sdk-docs` and check site at out/target/common/docs/offline-sdk/reference/android/app/job/JobInfo.html
Test: atest FrameworksMockingServicesTests:ConnectivityControllerTest
Change-Id: Ic69e85a7e0eae51b3dd3ea89bd00255a734c1472
* changes:
Fix the live caption tooltip, which was sad and broken.
Clip caption container to outline so the ripple doesn't extend past the circular bounds.
Drawables from different themes are yielding different densities.
Framework themes are returning 160 (DENSITY_MEDIUM), while AppCompat
is reporting 420 (DENSITY_420.)
This is causing the sparkles to have completely different sizes on
the same device, which is wrong.
Fixes: 189236372
Test: manual
Change-Id: Ia79e360123cf740aaba85d5348f07604c2b39026
- Position it correctly using getLocationOnScreen since the dialog height is now variable.
- Update colors so it's readable in dark mode.
- Make it touchable so it can be dismissed without dismissing the entire volume dialog.
Fixes: 184624161
Test: commented out setting tooltip seen so I could experiment with it
Change-Id: I44ba0f9a5488edf88a63ff4842e9abc27e1ce408
Add media back into smartspace content when the new plugin is
enabled. Only show media on AOD when no other content is displayed,
other than the default weather/date card.
Fixes: 185373132
Test: atest KeyguardMediaViewControllerTest
Change-Id: I9a1ff4eaeb4e13ed30c7796c1e9d2d5d46916737
When turning off the phone, media could sometimes
flicker in during bypass, because the qs expansion
would become larger than 0.0f. We now keep the
expansion at 0 during screen off
Bug: 189318793
Test: enable bypass, turn off screen.
Change-Id: Ib2b30fb1c96e4b078978b1958747473aa5fc9cfc
UX wise a fade was much preferred, so we built in the capability
for media transitions to fade from location to location.
We're now also fading the media when transitioning
between QS and Lockscreen.
This also polishes the animation further.
Bug: 184946919
Test: atest SystemUITests
Change-Id: Id9fc58469bebe69ad7a0189e4c4acd36523cdeed
Turns out, deferring the work was just as expensive as doing the logging
inline, so we're effectively paying the cost twice. Doing this inline
should have a negligible impact on wakelock latency and save us a fair
amount of CPU work.
Bug: 166289189
Test: atest WakeLockLogTest
Change-Id: I43cdd8fcfa9bd0832fdbaf2d7278f3b38249e11b
Add information to javadocs explaining that apps in background can
only vibrate the device if the given AudioAttributes usage is one of
notification, ringtone or alarm usages.
Bug: 146313440
Test: N/A
Change-Id: Ib0b8401539157f0ce2768aab281f3b23aae38dae