Merge "Add @GuardedBy annotation to PersistentDataBlockService#mIsWritable." into lmp-mr1-dev
This commit is contained in:
@@ -29,6 +29,7 @@ import android.service.persistentdata.IPersistentDataBlockService;
|
|||||||
import android.util.Slog;
|
import android.util.Slog;
|
||||||
|
|
||||||
import com.android.internal.R;
|
import com.android.internal.R;
|
||||||
|
import com.android.internal.annotations.GuardedBy;
|
||||||
|
|
||||||
import libcore.io.IoUtils;
|
import libcore.io.IoUtils;
|
||||||
|
|
||||||
@@ -76,6 +77,8 @@ public class PersistentDataBlockService extends SystemService {
|
|||||||
|
|
||||||
private int mAllowedUid = -1;
|
private int mAllowedUid = -1;
|
||||||
private long mBlockDeviceSize;
|
private long mBlockDeviceSize;
|
||||||
|
|
||||||
|
@GuardedBy("mLock")
|
||||||
private boolean mIsWritable = true;
|
private boolean mIsWritable = true;
|
||||||
|
|
||||||
public PersistentDataBlockService(Context context) {
|
public PersistentDataBlockService(Context context) {
|
||||||
|
|||||||
Reference in New Issue
Block a user