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

Skip to content
Commit 56b9b7a3 authored by zhidou's avatar zhidou Committed by Zhi Dou
Browse files

Add counter for bulk sync and check namespace in comparison

This commit changes the following

1. Add counter to bulk sync. The code will compare the local counter and
   the server counter to decide if a bulk sync should be executed. As
   continue fixing issues in the new storage system, we need to force
   the bulk sync after each fix. This change enable to trigger the
   update on the server side.

2. check namespace in comparison. Some flags have changed their
   namespace, but the server, and device keep the old flags. When the
   comparison is running it will pick the first flag it meets, which
   might be the old one. So this change will check the namespace, and
   only pick the right one.

Test: atest
SettingsProviderTest: com.android.providers.settings.SettingsStateTest
Bug: 349855915
Change-Id: Ib54f5217b96fa9a66bafc6a2adfee483f5f093bb
parent c5002e47
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