summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/storage/Unencrypted.java
diff options
context:
space:
mode:
authorzachh <zachh@google.com>2017-10-31 12:35:00 -0700
committerzachh <zachh@google.com>2017-11-01 22:00:54 +0000
commit73bc4703739639d823abb743515836d4f55799c1 (patch)
treef9f58f18d4e83c64c11447ec617ee3201b308cfc /java/com/android/dialer/storage/Unencrypted.java
parent0cd36a6e3bfda1c8b78c0375225929f50ee408a5 (diff)
Use unencrypted storage for shared prefs in new call log.
We need to be able to write the shared prefs when the device is in direct boot mode, and this data is not sensitive so can be unencrypted. Bug: 68350256 Test: existing unit, manual PiperOrigin-RevId: 174075154 Change-Id: Ib52e11c6abba0812d1dc07c642691359089c3e6e
Diffstat (limited to 'java/com/android/dialer/storage/Unencrypted.java')
-rw-r--r--java/com/android/dialer/storage/Unencrypted.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/java/com/android/dialer/storage/Unencrypted.java b/java/com/android/dialer/storage/Unencrypted.java
new file mode 100644
index 000000000..02c902145
--- /dev/null
+++ b/java/com/android/dialer/storage/Unencrypted.java
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2017 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License
+ */
+package com.android.dialer.storage;
+
+import javax.inject.Qualifier;
+
+/** Annotation for retrieving unencrypted storage objects. */
+@Qualifier
+public @interface Unencrypted {}