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

Commit 9b2f6980 authored by Lucas Silva's avatar Lucas Silva
Browse files

Add proper annotation to CommunalManager since it requires the Communal

Mode feature.

Test: na
Change-Id: I50ab4633279f3748cb3a2c9f71d2e5b3f0dd135c
parent 7c198952
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -17,12 +17,14 @@
package android.app.communal;

import android.Manifest;
import android.annotation.RequiresFeature;
import android.annotation.RequiresPermission;
import android.annotation.SystemService;
import android.compat.annotation.ChangeId;
import android.compat.annotation.Disabled;
import android.compat.annotation.Overridable;
import android.content.Context;
import android.content.pm.PackageManager;
import android.os.RemoteException;

/**
@@ -32,6 +34,7 @@ import android.os.RemoteException;
 * @hide
 */
@SystemService(Context.COMMUNAL_MANAGER_SERVICE)
@RequiresFeature(PackageManager.FEATURE_COMMUNAL_MODE)
public final class CommunalManager {
    private final ICommunalManager mService;