Revert "Re-land "Move odexes of non-system apps into system_other""
This reverts commit 75480154e2
.
Bug: 141707536
Test: Clean revert
Reason for revert: breaks some builds
Change-Id: If0cf736099ec12e35bcb190d0fc33daf7f1da98e
This commit is contained in:
@@ -109,12 +109,13 @@ func TestDexPreoptSystemOther(t *testing.T) {
|
||||
{module: productModule, expectedPartition: "product"},
|
||||
},
|
||||
},
|
||||
// product/app/% only applies to product apps inside the system partition
|
||||
{
|
||||
patterns: []string{"app/%", "product/app/%"},
|
||||
moduleTests: []moduleTest{
|
||||
{module: systemModule, expectedPartition: "system_other/system"},
|
||||
{module: systemProductModule, expectedPartition: "system_other/system/product"},
|
||||
{module: productModule, expectedPartition: "system_other/product"},
|
||||
{module: productModule, expectedPartition: "product"},
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -134,7 +135,7 @@ func TestDexPreoptSystemOther(t *testing.T) {
|
||||
}
|
||||
|
||||
if rule.Installs().String() != wantInstalls.String() {
|
||||
t.Errorf("\npatterns: %v\nwant installs:\n %v\ngot:\n %v", test.patterns, wantInstalls, rule.Installs())
|
||||
t.Errorf("\nwant installs:\n %v\ngot:\n %v", wantInstalls, rule.Installs())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user