This commit is contained in:
ziji Wu 2019-09-23 10:03:34 +08:00
parent 0ef3872ce5
commit 2ccc7bc6f7
41 changed files with 408 additions and 387 deletions

Binary file not shown.

View File

@ -5,38 +5,51 @@
<config /> <config />
</shared> </shared>
</component> </component>
<component name="AndroidLogFilters">
<option name="TOOL_WINDOW_CONFIGURED_FILTER" value="Show only selected application" />
</component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="c8515555-ebbc-49d5-889b-0c59bd6c3b6d" name="默认更改列表" comment=""> <list default="true" id="c8515555-ebbc-49d5-889b-0c59bd6c3b6d" name="默认更改列表" comment="">
<change beforePath="$PROJECT_DIR$/.gradle/5.4.1/executionHistory/executionHistory.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/executionHistory/executionHistory.bin" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.gradle/5.4.1/executionHistory/executionHistory.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/executionHistory/executionHistory.bin" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/5.4.1/executionHistory/executionHistory.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/executionHistory/executionHistory.lock" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.gradle/5.4.1/executionHistory/executionHistory.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/executionHistory/executionHistory.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/fileHashes.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/fileHashes.bin" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/fileHashes.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/fileHashes.bin" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/fileHashes.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/fileHashes.lock" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/fileHashes.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/fileHashes.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/resourceHashesCache.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/resourceHashesCache.bin" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/5.4.1/javaCompile/javaCompile.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/javaCompile/javaCompile.lock" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.gradle/5.4.1/javaCompile/javaCompile.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/javaCompile/javaCompile.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/buildOutputCleanup/buildOutputCleanup.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/buildOutputCleanup/buildOutputCleanup.lock" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.gradle/buildOutputCleanup/buildOutputCleanup.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/buildOutputCleanup/buildOutputCleanup.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/buildOutputCleanup/outputFiles.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/buildOutputCleanup/outputFiles.bin" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.gradle/buildOutputCleanup/outputFiles.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/buildOutputCleanup/outputFiles.bin" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/caches/build_file_checksums.ser" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/caches/build_file_checksums.ser" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/caches/build_file_checksums.ser" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/caches/build_file_checksums.ser" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/caches/gradle_models.ser" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/caches/gradle_models.ser" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/caches/gradle_models.ser" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/caches/gradle_models.ser" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/generated/source/buildConfig/androidTest/debug/net/micode/notes/test/BuildConfig.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/generated/source/buildConfig/androidTest/debug/net/micode/notes/test/BuildConfig.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/app.iml" beforeDir="false" afterPath="$PROJECT_DIR$/app/app.iml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build.gradle" beforeDir="false" afterPath="$PROJECT_DIR$/app/build.gradle" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/bundle_manifest/debug/processDebugManifest/bundle-manifest/AndroidManifest.xml" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/bundle_manifest/debug/processDebugManifest/bundle-manifest/AndroidManifest.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/build/intermediates/bundle_manifest/debug/processDebugManifest/bundle-manifest/AndroidManifest.xml" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/bundle_manifest/debug/processDebugManifest/bundle-manifest/AndroidManifest.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/dex/debug/mergeDexDebug/out/classes.dex" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/dex/debug/mergeDexDebug/out/classes.dex" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/build/intermediates/dex/debug/mergeDexDebug/out/classes.dex" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/dex/debug/mergeDexDebug/out/classes.dex" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/incremental/packageDebug/tmp/debug/dex-renamer-state.txt" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/incremental/packageDebug/tmp/debug/dex-renamer-state.txt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/incremental/packageDebug/tmp/debug/zip-cache/dPcwR9oS2EmiImbvDZ1Qg_iwk3M=" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/incremental/packageDebug/tmp/debug/zip-cache/dPcwR9oS2EmiImbvDZ1Qg_iwk3M=" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/instant_app_manifest/debug/AndroidManifest.xml" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/instant_app_manifest/debug/AndroidManifest.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/build/intermediates/instant_app_manifest/debug/AndroidManifest.xml" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/instant_app_manifest/debug/AndroidManifest.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$1.class" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$1.class" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/data/Contact.class" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/data/Contact.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$2.class" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$2.class" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/data/Notes$CallNote.class" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/data/Notes$CallNote.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$3.class" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$3.class" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/data/Notes$DataConstants.class" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/data/Notes$DataConstants.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity.class" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity.class" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/data/Notes$TextNote.class" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/data/Notes$TextNote.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/widget/NoteWidgetProvider.class" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/widget/NoteWidgetProvider.class" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/data/Notes.class" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/data/Notes.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/data/NotesDatabaseHelper.class" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/data/NotesDatabaseHelper.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/data/NotesProvider.class" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/data/NotesProvider.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/model/Note$NoteData.class" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/model/Note$NoteData.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/model/Note.class" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/javac/debug/classes/net/micode/notes/model/Note.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/merged_manifests/debug/AndroidManifest.xml" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/merged_manifests/debug/AndroidManifest.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/build/intermediates/merged_manifests/debug/AndroidManifest.xml" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/merged_manifests/debug/AndroidManifest.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/merged_manifests/debugAndroidTest/AndroidManifest.xml" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/merged_manifests/debugAndroidTest/AndroidManifest.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/build/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity$1.dex" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity$1.dex" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/data/Contact.dex" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/data/Contact.dex" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity$2.dex" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity$2.dex" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/data/Notes$CallNote.dex" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/data/Notes$CallNote.dex" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity$3.dex" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity$3.dex" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/data/Notes$DataConstants.dex" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/data/Notes$DataConstants.dex" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity.dex" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NoteEditActivity.dex" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/data/Notes$TextNote.dex" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/data/Notes$TextNote.dex" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/widget/NoteWidgetProvider.dex" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/widget/NoteWidgetProvider.dex" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/data/Notes.dex" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/data/Notes.dex" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Contact.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Contact.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/data/NotesDatabaseHelper.dex" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/data/NotesDatabaseHelper.dex" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Notes.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Notes.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/data/NotesProvider.dex" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/data/NotesProvider.dex" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/model/Note$NoteData.dex" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/model/Note$NoteData.dex" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/model/Note.dex" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/model/Note.dex" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build/outputs/apk/debug/app-debug.apk" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/outputs/apk/debug/app-debug.apk" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesProvider.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesProvider.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesProvider.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesProvider.java" afterDir="false" />
</list> </list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
@ -48,7 +61,7 @@
<component name="DefaultGradleProjectSettings"> <component name="DefaultGradleProjectSettings">
<option name="isMigrated" value="true" /> <option name="isMigrated" value="true" />
</component> </component>
<component name="ExecutionTargetManager" SELECTED_TARGET="Pixel_2_API_24" /> <component name="ExecutionTargetManager" SELECTED_TARGET="Pixel_2_API_21" />
<component name="ExternalProjectsManager"> <component name="ExternalProjectsManager">
<system id="GRADLE"> <system id="GRADLE">
<state> <state>
@ -58,55 +71,11 @@
</component> </component>
<component name="FileEditorManager"> <component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Notes.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="280">
<caret line="294" column="26" selection-start-line="294" selection-start-column="26" selection-end-line="294" selection-end-column="26" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="310">
<caret line="411" column="1" lean-forward="true" selection-start-line="411" selection-start-column="1" selection-end-line="411" selection-end-column="1" />
<folding>
<element signature="e#9079#9080#0" expanded="true" />
<element signature="e#9136#9137#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true"> <file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesProvider.java"> <entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/Note.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="160"> <state relative-caret-position="260">
<caret line="37" column="3" lean-forward="true" selection-start-line="37" selection-start-column="3" selection-end-line="37" selection-end-column="3" /> <caret line="43" column="13" selection-start-line="43" selection-start-column="13" selection-end-line="43" selection-end-column="13" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/src/main/AndroidManifest.xml">
<provider editor-type-id="android-manifest" />
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="199">
<caret line="83" column="25" lean-forward="true" selection-start-line="83" selection-start-column="25" selection-end-line="83" selection-end-column="25" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Contact.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="201">
<caret line="76" column="32" selection-start-line="76" selection-start-column="32" selection-end-line="76" selection-end-column="32" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
@ -124,6 +93,7 @@
<find>TAG</find> <find>TAG</find>
<find>increase_folder_count_on_update</find> <find>increase_folder_count_on_update</find>
<find>createNoteTable</find> <find>createNoteTable</find>
<find>getInstance</find>
</findStrings> </findStrings>
<replaceStrings> <replaceStrings>
<replace>WRONGNOTEID</replace> <replace>WRONGNOTEID</replace>
@ -146,7 +116,6 @@
<list> <list>
<option value="$PROJECT_DIR$/build.gradle" /> <option value="$PROJECT_DIR$/build.gradle" />
<option value="$PROJECT_DIR$/gradle/wrapper/gradle-wrapper.properties" /> <option value="$PROJECT_DIR$/gradle/wrapper/gradle-wrapper.properties" />
<option value="$PROJECT_DIR$/app/build.gradle" />
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/gtask/remote/GTaskASyncTask.java" /> <option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/gtask/remote/GTaskASyncTask.java" />
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/WorkingNote.java" /> <option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/WorkingNote.java" />
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/tool/BackupUtils.java" /> <option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/tool/BackupUtils.java" />
@ -162,6 +131,7 @@
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Notes.java" /> <option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Notes.java" />
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java" /> <option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java" />
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesProvider.java" /> <option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesProvider.java" />
<option value="$PROJECT_DIR$/app/build.gradle" />
</list> </list>
</option> </option>
</component> </component>
@ -177,6 +147,17 @@
<foldersAlwaysOnTop value="true" /> <foldersAlwaysOnTop value="true" />
</navigator> </navigator>
<panes> <panes>
<pane id="PackagesPane">
<subPane>
<expand>
<path>
<item name="src" type="58d84e3e:PackageViewProjectNode" />
<item name="app" type="616d4139:PackageViewModuleNode" />
</path>
</expand>
<select />
</subPane>
</pane>
<pane id="Scope"> <pane id="Scope">
<subPane subId="Scope '产品'; set:产品; class com.intellij.psi.search.scope.ProjectProductionScope"> <subPane subId="Scope '产品'; set:产品; class com.intellij.psi.search.scope.ProjectProductionScope">
<expand> <expand>
@ -320,17 +301,6 @@
</subPane> </subPane>
</pane> </pane>
<pane id="AndroidView" /> <pane id="AndroidView" />
<pane id="PackagesPane">
<subPane>
<expand>
<path>
<item name="src" type="58d84e3e:PackageViewProjectNode" />
<item name="app" type="616d4139:PackageViewModuleNode" />
</path>
</expand>
<select />
</subPane>
</pane>
<pane id="ProjectPane"> <pane id="ProjectPane">
<subPane> <subPane>
<expand> <expand>
@ -383,16 +353,6 @@
<item name="notes" type="462c0819:PsiDirectoryNode" /> <item name="notes" type="462c0819:PsiDirectoryNode" />
<item name="data" type="462c0819:PsiDirectoryNode" /> <item name="data" type="462c0819:PsiDirectoryNode" />
</path> </path>
<path>
<item name="src" type="b2602c69:ProjectViewProjectNode" />
<item name="src" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
<item name="app" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="java" type="462c0819:PsiDirectoryNode" />
<item name="notes" type="462c0819:PsiDirectoryNode" />
<item name="gtask" type="462c0819:PsiDirectoryNode" />
</path>
<path> <path>
<item name="src" type="b2602c69:ProjectViewProjectNode" /> <item name="src" type="b2602c69:ProjectViewProjectNode" />
<item name="src" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" /> <item name="src" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
@ -413,16 +373,6 @@
<item name="notes" type="462c0819:PsiDirectoryNode" /> <item name="notes" type="462c0819:PsiDirectoryNode" />
<item name="ui" type="462c0819:PsiDirectoryNode" /> <item name="ui" type="462c0819:PsiDirectoryNode" />
</path> </path>
<path>
<item name="src" type="b2602c69:ProjectViewProjectNode" />
<item name="src" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
<item name="app" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="java" type="462c0819:PsiDirectoryNode" />
<item name="notes" type="462c0819:PsiDirectoryNode" />
<item name="widget" type="462c0819:PsiDirectoryNode" />
</path>
</expand> </expand>
<select /> <select />
</subPane> </subPane>
@ -431,11 +381,14 @@
</component> </component>
<component name="PropertiesComponent"> <component name="PropertiesComponent">
<property name="ASKED_SHARE_PROJECT_CONFIGURATION_FILES" value="true" /> <property name="ASKED_SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
<property name="DeviceAndSnapshotComboBoxAction.selectedDevice" value="Pixel_2_XL_API_14" /> <property name="DeviceAndSnapshotComboBoxAction.selectedDevice" value="Pixel_2_API_21" />
<property name="DeviceAndSnapshotComboBoxAction.selectionTime" value="2019-09-19T08:10:56.437Z" /> <property name="DeviceAndSnapshotComboBoxAction.selectionTime" value="2019-09-20T13:06:36.808Z" />
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" /> <property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
<property name="SONARLINT_PRECOMMIT_ANALYSIS" value="true" /> <property name="SONARLINT_PRECOMMIT_ANALYSIS" value="true" />
<property name="android.sdk.path" value="D:/Android_SDK/SDK" /> <property name="android.sdk.path" value="D:/Android_SDK/SDK" />
<property name="project.structure.last.edited" value="Modules" />
<property name="project.structure.proportion" value="0.17" />
<property name="project.structure.side.proportion" value="0.2" />
<property name="settings.editor.selected.configurable" value="preferences.pluginManager" /> <property name="settings.editor.selected.configurable" value="preferences.pluginManager" />
</component> </component>
<component name="RunDashboard"> <component name="RunDashboard">
@ -600,7 +553,21 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1568887009467</updated> <updated>1568887009467</updated>
</task> </task>
<option name="localTasksCounter" value="12" /> <task id="LOCAL-00012" summary="comment">
<created>1568942719673</created>
<option name="number" value="00012" />
<option name="presentableId" value="LOCAL-00012" />
<option name="project" value="LOCAL" />
<updated>1568942719673</updated>
</task>
<task id="LOCAL-00013" summary="comment">
<created>1568943282822</created>
<option name="number" value="00013" />
<option name="presentableId" value="LOCAL-00013" />
<option name="project" value="LOCAL" />
<updated>1568943282823</updated>
</task>
<option name="localTasksCounter" value="14" />
<servers /> <servers />
</component> </component>
<component name="TodoView"> <component name="TodoView">
@ -614,10 +581,9 @@
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="-7" y="-7" width="1550" height="878" extended-state="6" /> <frame x="-7" y="-7" width="1550" height="878" extended-state="6" />
<editor active="true" />
<layout> <layout>
<window_info id="Captures" order="0" side_tool="true" weight="0.25" /> <window_info id="Captures" order="0" side_tool="true" weight="0.25" />
<window_info active="true" content_ui="combo" id="Project" order="1" visible="true" weight="0.16601562" /> <window_info active="true" content_ui="combo" id="Project" order="1" visible="true" weight="0.17024128" />
<window_info id="设计器" order="2" /> <window_info id="设计器" order="2" />
<window_info id="Resources Explorer" order="3" weight="0.3297587" /> <window_info id="Resources Explorer" order="3" weight="0.3297587" />
<window_info id="Structure" order="4" side_tool="true" /> <window_info id="Structure" order="4" side_tool="true" />
@ -627,15 +593,15 @@
<window_info id="Favorites" order="8" side_tool="true" /> <window_info id="Favorites" order="8" side_tool="true" />
<window_info anchor="bottom" id="Run" order="0" weight="0.3294271" /> <window_info anchor="bottom" id="Run" order="0" weight="0.3294271" />
<window_info anchor="bottom" id="SonarLint" order="1" weight="0.3297587" /> <window_info anchor="bottom" id="SonarLint" order="1" weight="0.3297587" />
<window_info anchor="bottom" id="Logcat" order="2" /> <window_info anchor="bottom" x="0" y="305" width="1536" height="253" id="Logcat" order="2" sideWeight="0.49934897" weight="0.3190104" />
<window_info anchor="bottom" id="TODO" order="3" weight="0.3297587" /> <window_info anchor="bottom" id="TODO" order="3" weight="0.31903484" />
<window_info anchor="bottom" id="Android Profiler" order="4" show_stripe_button="false" /> <window_info anchor="bottom" id="Android Profiler" order="4" show_stripe_button="false" />
<window_info anchor="bottom" id="Find" order="5" weight="0.3297587" /> <window_info anchor="bottom" id="Find" order="5" weight="0.3297587" />
<window_info anchor="bottom" id="Debug" order="6" /> <window_info anchor="bottom" id="Debug" order="6" />
<window_info anchor="bottom" id="Terminal" order="7" weight="0.3297587" /> <window_info anchor="bottom" id="Terminal" order="7" weight="0.32841823" />
<window_info anchor="bottom" id="Event Log" order="8" side_tool="true" weight="0.3294271" /> <window_info anchor="bottom" id="Event Log" order="8" sideWeight="0.50065106" side_tool="true" weight="0.3190104" />
<window_info anchor="bottom" id="Version Control" order="9" weight="0.3297587" /> <window_info anchor="bottom" id="Version Control" order="9" weight="0.32841823" />
<window_info anchor="bottom" id="Build" order="10" visible="true" weight="0.3059896" /> <window_info anchor="bottom" id="Build" order="10" visible="true" weight="0.3150134" />
<window_info anchor="bottom" id="Messages" order="11" weight="0.3297587" /> <window_info anchor="bottom" id="Messages" order="11" weight="0.3297587" />
<window_info anchor="right" id="Gradle" order="0" /> <window_info anchor="right" id="Gradle" order="0" />
<window_info anchor="right" id="Device File Explorer" order="1" side_tool="true" /> <window_info anchor="right" id="Device File Explorer" order="1" side_tool="true" />
@ -655,6 +621,46 @@
</list> </list>
</option> </option>
</component> </component>
<component name="Vcs.Log.Tabs.Properties">
<option name="TAB_STATES">
<map>
<entry key="MAIN">
<value>
<State>
<option name="RECENTLY_FILTERED_USER_GROUPS">
<collection />
</option>
<option name="RECENTLY_FILTERED_BRANCH_GROUPS">
<collection />
</option>
<option name="COLUMN_ORDER">
<list>
<option value="0" />
<option value="1" />
<option value="2" />
<option value="3" />
</list>
</option>
</State>
</value>
</entry>
</map>
</option>
<option name="RECENT_FILTERS">
<map>
<entry key="Branch">
<value>
<list />
</value>
</entry>
<entry key="User">
<value>
<list />
</value>
</entry>
</map>
</option>
</component>
<component name="VcsManagerConfiguration"> <component name="VcsManagerConfiguration">
<MESSAGE value="AS run version" /> <MESSAGE value="AS run version" />
<MESSAGE value="correct some error by sonarlint" /> <MESSAGE value="correct some error by sonarlint" />
@ -670,8 +676,8 @@
<provider selected="true" editor-type-id="ninepatcheditor" /> <provider selected="true" editor-type-id="ninepatcheditor" />
</entry> </entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/menu/sub_folder.xml"> <entry file="file://$PROJECT_DIR$/app/src/main/res/menu/sub_folder.xml">
<provider selected="true" editor-type-id="android-designer2" />
<provider editor-type-id="text-editor" /> <provider editor-type-id="text-editor" />
<provider selected="true" editor-type-id="android-designer2" />
</entry> </entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/xml/widget_2x_info.xml"> <entry file="file://$PROJECT_DIR$/app/src/main/res/xml/widget_2x_info.xml">
<provider selected="true" editor-type-id="text-editor" /> <provider selected="true" editor-type-id="text-editor" />
@ -691,15 +697,8 @@
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/datetime_picker.xml"> <entry file="file://$PROJECT_DIR$/app/src/main/res/layout/datetime_picker.xml">
<provider selected="true" editor-type-id="android-designer2" />
<provider editor-type-id="text-editor" /> <provider editor-type-id="text-editor" />
</entry> <provider selected="true" editor-type-id="android-designer2" />
<entry file="file://$PROJECT_DIR$/app/build.gradle">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="100">
<caret line="5" column="14" selection-start-line="5" selection-start-column="14" selection-end-line="5" selection-end-column="14" />
</state>
</provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/build.gradle"> <entry file="file://$PROJECT_DIR$/build.gradle">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
@ -822,13 +821,6 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/AlarmAlertActivity.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="216">
<caret line="116" column="23" selection-start-line="116" selection-start-column="23" selection-end-line="116" selection-end-column="23" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/res/drawable-hdpi/title_alert.png"> <entry file="file://$PROJECT_DIR$/res/drawable-hdpi/title_alert.png">
<provider selected="true" editor-type-id="images" /> <provider selected="true" editor-type-id="images" />
</entry> </entry>
@ -893,20 +885,6 @@
<entry file="file://$PROJECT_DIR$/app/app.iml"> <entry file="file://$PROJECT_DIR$/app/app.iml">
<provider selected="true" editor-type-id="text-editor" /> <provider selected="true" editor-type-id="text-editor" />
</entry> </entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/WorkingNote.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="140">
<caret line="34" column="13" selection-start-line="34" selection-start-column="13" selection-end-line="34" selection-end-column="13" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/tool/BackupUtils.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-981">
<caret line="38" column="13" selection-start-line="38" selection-start-column="13" selection-end-line="38" selection-end-column="13" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/tool/DataUtils.java"> <entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/tool/DataUtils.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="48"> <state relative-caret-position="48">
@ -928,13 +906,6 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/Note.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="300">
<caret line="45" column="48" selection-start-line="45" selection-start-column="36" selection-end-line="45" selection-end-column="48" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/DropdownMenu.java"> <entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/DropdownMenu.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="120"> <state relative-caret-position="120">
@ -942,6 +913,63 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/app/build.gradle">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="340">
<caret line="17" column="9" lean-forward="true" selection-start-line="17" selection-start-column="9" selection-end-line="17" selection-end-column="9" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Notes.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-22">
<caret line="280" column="26" selection-start-line="280" selection-start-column="26" selection-end-line="280" selection-end-column="26" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="418">
<caret line="411" column="1" selection-start-line="411" selection-start-column="1" selection-end-line="411" selection-end-column="1" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesProvider.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="418">
<caret line="192" column="30" selection-start-line="192" selection-start-column="30" selection-end-line="192" selection-end-column="30" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/AndroidManifest.xml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="392">
<caret line="83" column="25" selection-start-line="83" selection-start-column="25" selection-end-line="83" selection-end-column="25" />
</state>
</provider>
<provider editor-type-id="android-manifest" />
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/WorkingNote.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="280">
<caret line="47" selection-start-line="47" selection-end-line="47" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/tool/BackupUtils.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="140">
<caret line="38" column="13" selection-start-line="38" selection-start-column="13" selection-end-line="38" selection-end-column="13" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/AlarmAlertActivity.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="240">
<caret line="47" selection-start-line="47" selection-end-line="47" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Contact.java"> <entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Contact.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="201"> <state relative-caret-position="201">
@ -952,36 +980,10 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Notes.java"> <entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/Note.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="280"> <state relative-caret-position="260">
<caret line="294" column="26" selection-start-line="294" selection-start-column="26" selection-end-line="294" selection-end-column="26" /> <caret line="43" column="13" selection-start-line="43" selection-start-column="13" selection-end-line="43" selection-end-column="13" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="310">
<caret line="411" column="1" lean-forward="true" selection-start-line="411" selection-start-column="1" selection-end-line="411" selection-end-column="1" />
<folding>
<element signature="e#9079#9080#0" expanded="true" />
<element signature="e#9136#9137#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/AndroidManifest.xml">
<provider editor-type-id="android-manifest" />
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="199">
<caret line="83" column="25" lean-forward="true" selection-start-line="83" selection-start-column="25" selection-end-line="83" selection-end-column="25" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesProvider.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="160">
<caret line="37" column="3" lean-forward="true" selection-start-line="37" selection-start-column="3" selection-end-line="37" selection-end-column="3" />
</state> </state>
</provider> </provider>
</entry> </entry>

View File

@ -87,8 +87,7 @@
<sourceFolder url="file://$MODULE_DIR$/src/test/shaders" isTestSource="true" /> <sourceFolder url="file://$MODULE_DIR$/src/test/shaders" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/build" /> <excludeFolder url="file://$MODULE_DIR$/build" />
</content> </content>
<orderEntry type="jdk" jdkName="Android API 28 Platform" jdkType="Android SDK" /> <orderEntry type="jdk" jdkName="Android API 21 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Gradle: org.apache.http.legacy-android-28" level="project" />
</component> </component>
</module> </module>

View File

@ -1,9 +1,9 @@
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
android { android {
compileSdkVersion 28 compileSdkVersion 21
buildToolsVersion "29.0.2" buildToolsVersion "29.0.2"
useLibrary 'org.apache.http.legacy' //useLibrary 'org.apache.http.legacy'
defaultConfig { defaultConfig {
applicationId "net.micode.notes" applicationId "net.micode.notes"

View File

@ -36,7 +36,8 @@
<application <application
android:debuggable="true" android:debuggable="true"
android:icon="@drawable/icon_app" android:icon="@drawable/icon_app"
android:label="@string/app_name" > android:label="@string/app_name"
android:testOnly="true" >
<activity <activity
android:name="net.micode.notes.ui.NotesListActivity" android:name="net.micode.notes.ui.NotesListActivity"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"

View File

@ -1,4 +1,4 @@
#Thu Sep 19 17:35:10 CST 2019 #Fri Sep 20 21:07:44 CST 2019
base.0=C\:\\Project\\minote\\src\\app\\build\\intermediates\\dex\\debug\\mergeDexDebug\\out\\classes.dex base.0=C\:\\Project\\minote\\src\\app\\build\\intermediates\\dex\\debug\\mergeDexDebug\\out\\classes.dex
path.0=classes.dex path.0=classes.dex
renamed.0=classes.dex renamed.0=classes.dex

View File

@ -37,7 +37,8 @@
<application <application
android:debuggable="true" android:debuggable="true"
android:icon="@drawable/icon_app" android:icon="@drawable/icon_app"
android:label="@string/app_name" > android:label="@string/app_name"
android:testOnly="true" >
<activity <activity
android:name="net.micode.notes.ui.NotesListActivity" android:name="net.micode.notes.ui.NotesListActivity"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"

View File

@ -58,214 +58,215 @@
37 android:debuggable="true" 37 android:debuggable="true"
38 android:icon="@drawable/icon_app" 38 android:icon="@drawable/icon_app"
38-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:34:9-42 38-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:34:9-42
39 android:label="@string/app_name" > 39 android:label="@string/app_name"
39-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:35:9-41 39-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:35:9-41
40 <activity 40 android:testOnly="true" >
40-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:36:9-49:20 41 <activity
41 android:name="net.micode.notes.ui.NotesListActivity" 41-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:36:9-49:20
41-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:37:13-49 42 android:name="net.micode.notes.ui.NotesListActivity"
42 android:configChanges="keyboardHidden|orientation|screenSize" 42-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:37:13-49
42-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:38:13-74 43 android:configChanges="keyboardHidden|orientation|screenSize"
43 android:label="@string/app_name" 43-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:38:13-74
43-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:39:13-45 44 android:label="@string/app_name"
44 android:launchMode="singleTop" 44-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:39:13-45
44-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:40:13-43 45 android:launchMode="singleTop"
45 android:theme="@style/NoteTheme" 45-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:40:13-43
45-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:41:13-45 46 android:theme="@style/NoteTheme"
46 android:uiOptions="splitActionBarWhenNarrow" 46-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:41:13-45
46-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:42:13-57 47 android:uiOptions="splitActionBarWhenNarrow"
47 android:windowSoftInputMode="adjustPan" > 47-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:42:13-57
47-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:43:13-52 48 android:windowSoftInputMode="adjustPan" >
48 <intent-filter> 48-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:43:13-52
48-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:45:13-48:29 49 <intent-filter>
49 <action android:name="android.intent.action.MAIN" /> 49-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:45:13-48:29
49-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:46:17-69 50 <action android:name="android.intent.action.MAIN" />
49-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:46:25-66 50-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:46:17-69
50 50-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:46:25-66
51 <category android:name="android.intent.category.LAUNCHER" /> 51
51-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:47:17-77 52 <category android:name="android.intent.category.LAUNCHER" />
51-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:47:27-74 52-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:47:17-77
52 </intent-filter> 52-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:47:27-74
53 </activity> 53 </intent-filter>
54 <activity 54 </activity>
54-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:51:9-79:20 55 <activity
55 android:name="net.micode.notes.ui.NoteEditActivity" 55-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:51:9-79:20
55-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:52:13-48 56 android:name="net.micode.notes.ui.NoteEditActivity"
56 android:configChanges="keyboardHidden|orientation|screenSize" 56-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:52:13-48
56-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:53:13-74 57 android:configChanges="keyboardHidden|orientation|screenSize"
57 android:launchMode="singleTop" 57-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:53:13-74
57-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:54:13-43 58 android:launchMode="singleTop"
58 android:theme="@style/NoteTheme" > 58-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:54:13-43
58-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:55:13-45 59 android:theme="@style/NoteTheme" >
59 <intent-filter> 59-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:55:13-45
59-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:57:13-62:29 60 <intent-filter>
60 <action android:name="android.intent.action.VIEW" /> 60-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:57:13-62:29
60-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:58:17-69 61 <action android:name="android.intent.action.VIEW" />
60-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:58:25-66 61-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:58:17-69
61 61-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:58:25-66
62 <category android:name="android.intent.category.DEFAULT" /> 62
62-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:17-76 63 <category android:name="android.intent.category.DEFAULT" />
62-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:27-73 63-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:17-76
63 63-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:27-73
64 <data android:mimeType="vnd.android.cursor.item/text_note" /> 64
64-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:17-78 65 <data android:mimeType="vnd.android.cursor.item/text_note" />
64-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:23-75
65 <data android:mimeType="vnd.android.cursor.item/call_note" />
65-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:17-78 65-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:17-78
65-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:23-75 65-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:23-75
66 </intent-filter> 66 <data android:mimeType="vnd.android.cursor.item/call_note" />
67 <intent-filter> 66-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:17-78
67-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:64:13-69:29 66-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:23-75
68 <action android:name="android.intent.action.INSERT_OR_EDIT" /> 67 </intent-filter>
68-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:65:17-79 68 <intent-filter>
68-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:65:25-76 68-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:64:13-69:29
69 69 <action android:name="android.intent.action.INSERT_OR_EDIT" />
70 <category android:name="android.intent.category.DEFAULT" /> 69-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:65:17-79
70-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:17-76 69-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:65:25-76
70-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:27-73 70
71 71 <category android:name="android.intent.category.DEFAULT" />
72 <data android:mimeType="vnd.android.cursor.item/text_note" /> 71-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:17-76
72-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:17-78 71-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:27-73
72-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:23-75 72
73 <data android:mimeType="vnd.android.cursor.item/call_note" /> 73 <data android:mimeType="vnd.android.cursor.item/text_note" />
73-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:17-78 73-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:17-78
73-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:23-75 73-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:23-75
74 </intent-filter> 74 <data android:mimeType="vnd.android.cursor.item/call_note" />
75 <intent-filter> 74-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:17-78
75-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:71:13-74:29 74-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:23-75
76 <action android:name="android.intent.action.SEARCH" /> 75 </intent-filter>
76-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:72:17-71 76 <intent-filter>
76-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:72:25-68 76-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:71:13-74:29
77 77 <action android:name="android.intent.action.SEARCH" />
78 <category android:name="android.intent.category.DEFAULT" /> 77-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:72:17-71
78-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:17-76 77-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:72:25-68
78-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:27-73 78
79 </intent-filter> 79 <category android:name="android.intent.category.DEFAULT" />
80 79-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:17-76
81 <meta-data 79-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:27-73
81-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:76:13-78:54 80 </intent-filter>
82 android:name="android.app.searchable" 81
82-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:77:17-54 82 <meta-data
83 android:resource="@xml/searchable" /> 82-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:76:13-78:54
83-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:78:17-51 83 android:name="android.app.searchable"
84 </activity> 83-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:77:17-54
85 84 android:resource="@xml/searchable" />
86 <provider 84-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:78:17-51
86-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:81:9-84:43 85 </activity>
87 android:name="net.micode.notes.data.NotesProvider" 86
87-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:82:13-63 87 <provider
88 android:authorities="micode_notes" 87-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:81:9-84:43
88-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:83:13-47 88 android:name="net.micode.notes.data.NotesProvider"
89 android:multiprocess="true" /> 88-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:82:13-63
89-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:84:13-40 89 android:authorities="micode_notes"
90 89-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:83:13-47
91 <receiver 90 android:multiprocess="true" />
91-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:86:9-98:20 90-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:84:13-40
92 android:name="net.micode.notes.widget.NoteWidgetProvider_2x" 91
92-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:87:13-57 92 <receiver
93 android:label="@string/app_widget2x2" > 92-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:86:9-98:20
93-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:88:13-50 93 android:name="net.micode.notes.widget.NoteWidgetProvider_2x"
94 <intent-filter> 93-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:87:13-57
94-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:89:13-93:29 94 android:label="@string/app_widget2x2" >
95 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> 94-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:88:13-50
95-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:90:17-84 95 <intent-filter>
95-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:90:25-81 95-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:89:13-93:29
96 <action android:name="android.appwidget.action.APPWIDGET_DELETED" /> 96 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
96-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:91:17-85 96-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:90:17-84
96-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:91:25-82 96-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:90:25-81
97 <action android:name="android.intent.action.PRIVACY_MODE_CHANGED" /> 97 <action android:name="android.appwidget.action.APPWIDGET_DELETED" />
97-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:92:17-85 97-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:91:17-85
97-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:92:25-82 97-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:91:25-82
98 </intent-filter> 98 <action android:name="android.intent.action.PRIVACY_MODE_CHANGED" />
99 98-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:92:17-85
100 <meta-data 98-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:92:25-82
100-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:95:13-97:58 99 </intent-filter>
101 android:name="android.appwidget.provider" 100
101-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:96:17-58 101 <meta-data
102 android:resource="@xml/widget_2x_info" /> 101-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:95:13-97:58
102-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:97:17-55 102 android:name="android.appwidget.provider"
103 </receiver> 102-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:96:17-58
104 <receiver 103 android:resource="@xml/widget_2x_info" />
104-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:99:9-112:20 103-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:97:17-55
105 android:name="net.micode.notes.widget.NoteWidgetProvider_4x" 104 </receiver>
105-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:100:13-57 105 <receiver
106 android:label="@string/app_widget4x4" > 105-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:99:9-112:20
106-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:101:13-50 106 android:name="net.micode.notes.widget.NoteWidgetProvider_4x"
107 <intent-filter> 106-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:100:13-57
107-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:89:13-93:29 107 android:label="@string/app_widget4x4" >
108 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> 107-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:101:13-50
108-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:90:17-84 108 <intent-filter>
108-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:90:25-81 108-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:89:13-93:29
109 <action android:name="android.appwidget.action.APPWIDGET_DELETED" /> 109 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
109-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:91:17-85 109-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:90:17-84
109-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:91:25-82 109-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:90:25-81
110 <action android:name="android.intent.action.PRIVACY_MODE_CHANGED" /> 110 <action android:name="android.appwidget.action.APPWIDGET_DELETED" />
110-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:92:17-85 110-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:91:17-85
110-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:92:25-82 110-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:91:25-82
111 </intent-filter> 111 <action android:name="android.intent.action.PRIVACY_MODE_CHANGED" />
112 111-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:92:17-85
113 <meta-data 111-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:92:25-82
113-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:95:13-97:58 112 </intent-filter>
114 android:name="android.appwidget.provider" 113
114-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:96:17-58 114 <meta-data
115 android:resource="@xml/widget_4x_info" /> 114-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:95:13-97:58
115-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:97:17-55 115 android:name="android.appwidget.provider"
116 </receiver> 115-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:96:17-58
117 <receiver android:name="net.micode.notes.ui.AlarmInitReceiver" > 116 android:resource="@xml/widget_4x_info" />
117-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:114:9-118:20 116-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:97:17-55
117-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:114:19-55 117 </receiver>
118 <intent-filter> 118 <receiver android:name="net.micode.notes.ui.AlarmInitReceiver" >
118-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:115:13-117:29 118-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:114:9-118:20
119 <action android:name="android.intent.action.BOOT_COMPLETED" /> 118-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:114:19-55
119-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:116:17-79 119 <intent-filter>
119-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:116:25-76 119-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:115:13-117:29
120 </intent-filter> 120 <action android:name="android.intent.action.BOOT_COMPLETED" />
121 </receiver> 120-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:116:17-79
122 <receiver 120-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:116:25-76
122-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:120:9-123:20 121 </intent-filter>
123 android:name="net.micode.notes.ui.AlarmReceiver" 122 </receiver>
123-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:121:13-61 123 <receiver
124 android:process=":remote" > 123-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:120:9-123:20
124-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:122:13-38 124 android:name="net.micode.notes.ui.AlarmReceiver"
125 </receiver> 124-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:121:13-61
126 125 android:process=":remote" >
127 <activity 125-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:122:13-38
127-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:125:9-130:20 126 </receiver>
128 android:name="net.micode.notes.ui.AlarmAlertActivity" 127
128-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:126:13-50 128 <activity
129 android:label="@string/app_name" 128-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:125:9-130:20
129-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:127:13-45 129 android:name="net.micode.notes.ui.AlarmAlertActivity"
130 android:launchMode="singleInstance" 129-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:126:13-50
130-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:128:13-48 130 android:label="@string/app_name"
131 android:theme="@android:style/Theme.Holo.Wallpaper.NoTitleBar" > 130-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:127:13-45
131-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:129:13-75 131 android:launchMode="singleInstance"
132 </activity> 131-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:128:13-48
133 <activity 132 android:theme="@android:style/Theme.Holo.Wallpaper.NoTitleBar" >
133-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:132:9-137:20 132-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:129:13-75
134 android:name="net.micode.notes.ui.NotesPreferenceActivity" 133 </activity>
134-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:133:13-71 134 <activity
135 android:label="@string/preferences_title" 134-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:132:9-137:20
135-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:134:13-54 135 android:name="net.micode.notes.ui.NotesPreferenceActivity"
136 android:launchMode="singleTop" 135-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:133:13-71
136-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:135:13-43 136 android:label="@string/preferences_title"
137 android:theme="@android:style/Theme.Holo.Light" > 136-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:134:13-54
137-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:136:13-60 137 android:launchMode="singleTop"
138 </activity> 137-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:135:13-43
139 138 android:theme="@android:style/Theme.Holo.Light" >
140 <service 138-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:136:13-60
140-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:139:9-142:19 139 </activity>
141 android:name="net.micode.notes.gtask.remote.GTaskSyncService" 140
141-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:140:13-74 141 <service
142 android:exported="false" > 141-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:139:9-142:19
142-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:141:13-37 142 android:name="net.micode.notes.gtask.remote.GTaskSyncService"
143 </service> 142-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:140:13-74
144 143 android:exported="false" >
145 <meta-data 143-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:141:13-37
145-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:144:9-146:52 144 </service>
146 android:name="android.app.default_searchable" 145
146-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:145:13-58 146 <meta-data
147 android:value=".ui.NoteEditActivity" /> 146-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:144:9-146:52
147-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:146:13-49 147 android:name="android.app.default_searchable"
148 </application> 147-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:145:13-58
149 148 android:value=".ui.NoteEditActivity" />
150</manifest> 148-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:146:13-49
149 </application>
150
151</manifest>

View File

@ -36,7 +36,8 @@
<application <application
android:debuggable="true" android:debuggable="true"
android:icon="@drawable/icon_app" android:icon="@drawable/icon_app"
android:label="@string/app_name" > android:label="@string/app_name"
android:testOnly="true" >
<activity <activity
android:name="net.micode.notes.ui.NotesListActivity" android:name="net.micode.notes.ui.NotesListActivity"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"

View File

@ -35,7 +35,7 @@ import net.micode.notes.data.Notes.NoteColumns;
import net.micode.notes.data.NotesDatabaseHelper.TABLE; import net.micode.notes.data.NotesDatabaseHelper.TABLE;
/** /**
*a *
*/ */
public class NotesProvider extends ContentProvider { public class NotesProvider extends ContentProvider {
private static final UriMatcher mMatcher; private static final UriMatcher mMatcher;
@ -53,7 +53,9 @@ public class NotesProvider extends ContentProvider {
private static final int URI_SEARCH_SUGGEST = 6; private static final int URI_SEARCH_SUGGEST = 6;
static { static {
//初始化UriMatcher对象初始不匹配任何东西
mMatcher = new UriMatcher(UriMatcher.NO_MATCH); mMatcher = new UriMatcher(UriMatcher.NO_MATCH);
//注册uri# - 通配符
mMatcher.addURI(Notes.AUTHORITY, "note", URI_NOTE); mMatcher.addURI(Notes.AUTHORITY, "note", URI_NOTE);
mMatcher.addURI(Notes.AUTHORITY, "note/#", URI_NOTE_ITEM); mMatcher.addURI(Notes.AUTHORITY, "note/#", URI_NOTE_ITEM);
mMatcher.addURI(Notes.AUTHORITY, "data", URI_DATA); mMatcher.addURI(Notes.AUTHORITY, "data", URI_DATA);
@ -87,12 +89,17 @@ public class NotesProvider extends ContentProvider {
return true; return true;
} }
/**
* 该方法重写了query方法用于在数据库中查找notes或者data
*/
@Override @Override
public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
String sortOrder) { String sortOrder) {
Cursor c = null; Cursor c = null;
//创建可读数据库
SQLiteDatabase db = mHelper.getReadableDatabase(); SQLiteDatabase db = mHelper.getReadableDatabase();
String id = null; String id = null;
//根据uri匹配的返回码查找不同的数据表
switch (mMatcher.match(uri)) { switch (mMatcher.match(uri)) {
case URI_NOTE: case URI_NOTE:
c = db.query(TABLE.NOTE, projection, selection, selectionArgs, null, null, c = db.query(TABLE.NOTE, projection, selection, selectionArgs, null, null,
@ -137,10 +144,12 @@ public class NotesProvider extends ContentProvider {
c = db.rawQuery(NOTES_SNIPPET_SEARCH_QUERY, c = db.rawQuery(NOTES_SNIPPET_SEARCH_QUERY,
new String[] { searchString }); new String[] { searchString });
} catch (IllegalStateException ex) { } catch (IllegalStateException ex) {
//将错误信息写入日志
Log.e(TAG, "got exception: " + ex.toString()); Log.e(TAG, "got exception: " + ex.toString());
} }
break; break;
default: default:
//抛出异常uri未知
throw new IllegalArgumentException("Unknown URI " + uri); throw new IllegalArgumentException("Unknown URI " + uri);
} }
if (c != null) { if (c != null) {
@ -149,18 +158,25 @@ public class NotesProvider extends ContentProvider {
return c; return c;
} }
/**
* 该方法重写了insert方法用于在数据表中插入notes或者data
*/
@Override @Override
public Uri insert(Uri uri, ContentValues values) { public Uri insert(Uri uri, ContentValues values) {
//创建可读写数据库
SQLiteDatabase db = mHelper.getWritableDatabase(); SQLiteDatabase db = mHelper.getWritableDatabase();
long dataId = 0, noteId = 0, insertedId = 0; long dataId = 0, noteId = 0, insertedId = 0;
//根据uri匹配的返回码将数据插入不同的数据表
switch (mMatcher.match(uri)) { switch (mMatcher.match(uri)) {
case URI_NOTE: case URI_NOTE:
//@ values 待插入的元素
insertedId = noteId = db.insert(TABLE.NOTE, null, values); insertedId = noteId = db.insert(TABLE.NOTE, null, values);
break; break;
case URI_DATA: case URI_DATA:
if (values.containsKey(DataColumns.NOTE_ID)) { if (values.containsKey(DataColumns.NOTE_ID)) {
noteId = values.getAsLong(DataColumns.NOTE_ID); noteId = values.getAsLong(DataColumns.NOTE_ID);
} else { } else {
//将调试信息写入日志没有id的错误数据格式
Log.d(TAG, "Wrong data format without note id:" + values.toString()); Log.d(TAG, "Wrong data format without note id:" + values.toString());
} }
insertedId = dataId = db.insert(TABLE.DATA, null, values); insertedId = dataId = db.insert(TABLE.DATA, null, values);