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

Commit ad726872 authored by Charles He's avatar Charles He Committed by Android (Google) Code Review
Browse files

Merge "Remove IPersistentDataBlockService from system-api."

parents 24b7a7d7 c86c88f7
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -38039,19 +38039,7 @@ package android.service.notification {
package android.service.persistentdata {
  public abstract interface IPersistentDataBlockService implements android.os.IInterface {
    method public abstract int getDataBlockSize() throws android.os.RemoteException;
    method public abstract int getFlashLockState() throws android.os.RemoteException;
    method public abstract long getMaximumDataBlockSize() throws android.os.RemoteException;
    method public abstract boolean getOemUnlockEnabled() throws android.os.RemoteException;
    method public abstract byte[] read() throws android.os.RemoteException;
    method public abstract void setOemUnlockEnabled(boolean) throws android.os.RemoteException;
    method public abstract void wipe() throws android.os.RemoteException;
    method public abstract int write(byte[]) throws android.os.RemoteException;
  }
  public class PersistentDataBlockManager {
    ctor public PersistentDataBlockManager(android.service.persistentdata.IPersistentDataBlockService);
    method public int getDataBlockSize();
    method public int getFlashLockState();
    method public long getMaximumDataBlockSize();
+1 −0
Original line number Diff line number Diff line
@@ -68,6 +68,7 @@ public class PersistentDataBlockManager {
    @Retention(RetentionPolicy.SOURCE)
    public @interface FlashLockState {}

    /** @hide */
    public PersistentDataBlockManager(IPersistentDataBlockService service) {
        sService = service;
    }