Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8612606e authored by Pinyao Ting's avatar Pinyao Ting
Browse files

Allow shortcuts to restore in any version

Currently when the backup payload is created on the source device, it
captures also the version number of the app, and invalidates the
shortcuts when they are restored on the target device if the version
of the app is older than source device.

This normally wouldn't be a problem since Play service would download
the latest version of the app on the target device during a restore,
which implies the version number will never be smaller than the one on
the source device. Unfortunately this is not true for apps that are
pre-installed on the device.

This CL simply drops the version check since it isn't a very useful
check and it's causing problems for pre-installed apps which are very
visible to the user.

Bug: 317883241
Test: atest ShortcutManagerTest1
Change-Id: Iac646661c80952eecf77b36243d7d0be337e2d5e
parent ea9f3aee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment