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

Commit 9f50f62e authored by Pavel Grafov's avatar Pavel Grafov
Browse files

Cleanup always_persist_do

Flag was rolled out in Android V.

Bug: 335663055
Test: TH
Flag: EXEMPT flag cleanup
Change-Id: Id7414bec4fdac66e0440e542ac68b452852d5386
parent e6d25841
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -209,16 +209,6 @@ flag {
  bug: "295301164"
}

flag {
  name: "always_persist_do"
  namespace: "enterprise"
  description: "Always write device_owners2.xml so that migration flags aren't lost"
  bug: "335232744"
  metadata {
    purpose: PURPOSE_BUGFIX
  }
}

flag {
  name: "is_recursive_required_app_merging_enabled"
  namespace: "enterprise"
+1 −3
Original line number Diff line number Diff line
@@ -361,9 +361,7 @@ class OwnersData {

        @Override
        boolean shouldWrite() {
            return Flags.alwaysPersistDo()
                    || (mDeviceOwner != null) || (mSystemUpdatePolicy != null)
                    || (mSystemUpdateInfo != null);
            return true;
        }

        @Override