fix the build breakage caused by merge resolution
commit5d409ace19
broke the build Change-Id: I62f55d8c1d023190af5171864998a2a4b2090a37 Signed-off-by: Alexey Polyudov <apolyudov@google.com> (cherry picked from commit8c041f7862
)
This commit is contained in:
@@ -148,20 +148,6 @@ final class LocalBluetoothPreferences {
|
|||||||
editor.apply();
|
editor.apply();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void persistDiscoveringTimestamp(final Context context) {
|
|
||||||
// Load the shared preferences and edit it on a background
|
|
||||||
// thread (but serialized!).
|
|
||||||
QueuedWork.queue(new Runnable() {
|
|
||||||
public void run() {
|
|
||||||
SharedPreferences.Editor editor = getSharedPreferences(context).edit();
|
|
||||||
editor.putLong(
|
|
||||||
KEY_DISCOVERING_TIMESTAMP,
|
|
||||||
System.currentTimeMillis());
|
|
||||||
editor.apply();
|
|
||||||
}
|
|
||||||
}, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
static boolean hasDockAutoConnectSetting(Context context, String addr) {
|
static boolean hasDockAutoConnectSetting(Context context, String addr) {
|
||||||
return getSharedPreferences(context).contains(KEY_DOCK_AUTO_CONNECT + addr);
|
return getSharedPreferences(context).contains(KEY_DOCK_AUTO_CONNECT + addr);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user