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

Commit 2f027f3b authored by Winson Chiu's avatar Winson Chiu
Browse files

Make PackageStateInternal#getPkg @Nullable

Not sure why this was marked @NonNull, because it can definitely be null
if the physical APK was evicted.

Change-Id: I76ce1167c077b2277fceef7be6ff4c4ba97a718e
parent 5556de90
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ import java.util.UUID;
 */
public interface PackageStateInternal extends PackageState {

    @NonNull
    @Nullable
    AndroidPackageInternal getPkg();

    // TODO: Remove in favor of exposing APIs directly?