Remove the test aconfig lib.
zhidou@ from ACE team is working on AConfigFakelib which will be useful to set fake flag values in both unit tests and UI automator tests. Meanwhile, we will mock the flag values for unit tests and UI automator tests will have all flags values defaulted to false. testAConfigLib with "test:true" doesn't generate fake flags values and forces us to set the flag values using "SetFlagsRule". "SetFlagsRule" doesn't work with Out Of Proc tests and hence doesn't serve the purpose for us. AConfigFakelib and FakeFlagTargetPreparer should use for Out Of Proc tests. testAConfigLib with "test:true" is suitable for java host tests where there is no device involved. Launcher tests are instrumentation tests and tests run on actual devices. So we can use the production version of the AConfig lib and device config flag values will be fetched for UI Automator tests. Also migrating "enable_twoline_allapps" to trunk stable. Unit tests is using mockito to mock the flag value as false. The owner of "enable_twoline_allapps" can mock the value to true in unit tests as next step. Bug: 294913042 Test: Local studio build and soong build Flag: enable_twoline_allapps Change-Id: Iea42bf18197832a9ecbddc1c3aaa8c9e36169131
Loading
Please register or sign in to comment