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

Commit a8ad2ced authored by Paul Duffin's avatar Paul Duffin
Browse files

Remove TODO(b/347269120)s as they will no longer be done

Change https://r.android.com/3139200 added the TODOs as the intent was
to add `@Nullable` back on the methods. However, doing so would break
too many applications so it is not considered worth the effort so this
change is cleaning up the unnecessary TODOs.

Bug: 347269120
Test: m checkapi
Change-Id: Ibeb0380f8d14ebb9a4c05f7b9a26632e38affd2f
parent 1fd03145
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -4499,7 +4499,6 @@ public abstract class Context {
     * @see #DISPLAY_HASH_SERVICE
     * @see android.view.displayhash.DisplayHashManager
     */
    // TODO(b/347269120): Re-add @Nullable
    public abstract Object getSystemService(@ServiceName @NonNull String name);

    /**
@@ -4545,7 +4544,6 @@ public abstract class Context {
     */
    @SuppressWarnings("unchecked")
    @RavenwoodKeep
    // TODO(b/347269120): Re-add @Nullable
    public final <T> T getSystemService(@NonNull Class<T> serviceClass) {
        // Because subclasses may override getSystemService(String) we cannot
        // perform a lookup by class alone.  We must first map the class to its
+0 −1
Original line number Diff line number Diff line
@@ -953,7 +953,6 @@ public class ContextWrapper extends Context {
    }

    @Override
    // TODO(b/347269120): Re-add @Nullable
    public Object getSystemService(String name) {
        return mBase.getSystemService(name);
    }