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

Commit d7194ad7 authored by Kweku Adams's avatar Kweku Adams
Browse files

Set package name.

The system expects an actual package name in the ApplicationInfo object
so make sure to set it in the test object.

Bug: 258472566
Test: atest AppButtonsTest
Change-Id: I3bee07a6a395c9962af57f934cf3ca86eb60354a
parent 7c056d00
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -125,7 +125,10 @@ class AppButtonsTest {
    private companion object {
        const val PACKAGE_NAME = "package.name"
        val PACKAGE_INFO = PackageInfo().apply {
            applicationInfo = ApplicationInfo()
            applicationInfo = ApplicationInfo().apply {
                packageName = PACKAGE_NAME
            }
            packageName = PACKAGE_NAME
        }
    }
}