[Settings/Archive] remove all checks for the archiving system property
No longer needed BUG: 331165939 Test: builds (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6ae958abd26ed77ecd4d3fb1720bb912553da2ea) Merged-In: I24bc9a3d7503da1606d29eb3dfa963b0e6bf9d3e Change-Id: I24bc9a3d7503da1606d29eb3dfa963b0e6bf9d3e
This commit is contained in:
committed by
Cherrypicker Worker
parent
f6e0b08fc6
commit
844d2f4c67
@@ -163,8 +163,7 @@ class HibernationSwitchPreferenceTest {
|
||||
}
|
||||
|
||||
private fun isArchivingEnabled() =
|
||||
PmFlags.archiving() || SystemProperties.getBoolean("pm.archiving.enabled", false)
|
||||
|| Flags.appArchiving()
|
||||
PmFlags.archiving() || Flags.appArchiving()
|
||||
@Test
|
||||
fun `An app targets Q with ops mode default when hibernation targets pre S - not exempted`() {
|
||||
mockOpsMode(MODE_DEFAULT)
|
||||
|
Reference in New Issue
Block a user