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

Commit e58a8b5f authored by Lee Shombert's avatar Lee Shombert Committed by Android (Google) Code Review
Browse files

Merge "Prepare PropertyInvalidatedCache for SystemApi"

parents a76c7c24 22c36706
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1062,7 +1062,7 @@ public final class BluetoothAdapter {
                8, BLUETOOTH_GET_STATE_CACHE_PROPERTY) {
                @Override
                @SuppressLint("AndroidFrameworkRequiresPermission")
                protected Integer recompute(Void query) {
                public Integer recompute(Void query) {
                    try {
                        return mService.getState();
                    } catch (RemoteException e) {
@@ -2085,7 +2085,7 @@ public final class BluetoothAdapter {
                8, BLUETOOTH_FILTERING_CACHE_PROPERTY) {
                @Override
                @SuppressLint("AndroidFrameworkRequiresPermission")
                protected Boolean recompute(Void query) {
                public Boolean recompute(Void query) {
                    try {
                        mServiceLock.readLock().lock();
                        if (mService != null) {
@@ -2540,7 +2540,7 @@ public final class BluetoothAdapter {
                 */
                @Override
                @SuppressLint("AndroidFrameworkRequiresPermission")
                protected Integer recompute(Void query) {
                public Integer recompute(Void query) {
                    try {
                        return mService.getAdapterConnectionState();
                    } catch (RemoteException e) {
@@ -2605,7 +2605,7 @@ public final class BluetoothAdapter {
                8, BLUETOOTH_PROFILE_CACHE_PROPERTY) {
                @Override
                @SuppressLint("AndroidFrameworkRequiresPermission")
                protected Integer recompute(Integer query) {
                public Integer recompute(Integer query) {
                    try {
                        mServiceLock.readLock().lock();
                        if (mService != null) {
+1 −1
Original line number Diff line number Diff line
@@ -1604,7 +1604,7 @@ public final class BluetoothDevice implements Parcelable, Attributable {
                8, BLUETOOTH_BONDING_CACHE_PROPERTY) {
                @Override
                @SuppressLint("AndroidFrameworkRequiresPermission")
                protected Integer recompute(BluetoothDevice query) {
                public Integer recompute(BluetoothDevice query) {
                    try {
                        return sService.getBondState(query, mAttributionSource);
                    } catch (RemoteException e) {