This commit is contained in:
ziji Wu 2019-09-19 17:56:49 +08:00
parent b883ad2f95
commit 2152cac30f
14 changed files with 529 additions and 187 deletions

View File

@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavadocGenerationManager">
<option name="OUTPUT_DIRECTORY" value="$USER_HOME$/Desktop" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>

View File

@ -282,4 +282,14 @@ b
]
-src/net/micode/notes/gtask/data/MetaData.java,0\8\085d3f66d12a59f37db44b7ca8a09072951f4a6a
C
AndroidManifest.xml,1\7\17cbdb4db1263196ffb1948cb14cc72183579351
AndroidManifest.xml,1\7\17cbdb4db1263196ffb1948cb14cc72183579351
Z
*src/net/micode/notes/ui/AlarmReceiver.java,c\e\ce223cd8ed0964eade85551d6f28295a0d0826cc
[
+src/net/micode/notes/ui/DateTimePicker.java,9\c\9c7a2c0e0424eed0bf59aa964c7ca6b7faa24332
F
res/values/strings.xml,0\8\08aa3b207703ad06e7dd0f0b8745f92a04bffa7a
E
res/values/colors.xml,0\7\076d9a9f50d958ed4240ead8b0a881a0a611d93b
E
res/values/arrays.xml,f\1\f14340b1cdc7033b88ff3f931e5d407f2121d97d

View File

@ -7,14 +7,20 @@
</component>
<component name="ChangeListManager">
<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.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.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/fileHashes.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$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/sonarlint/issuestore/index.pb" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/sonarlint/issuestore/index.pb" 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/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$/src/net/micode/notes/ui/AlarmInitReceiver.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/net/micode/notes/ui/AlarmInitReceiver.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/net/micode/notes/ui/AlarmReceiver.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/net/micode/notes/ui/AlarmReceiver.java" 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/Notes.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Notes.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/Note.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/Note.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/widget/NoteWidgetProvider.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/widget/NoteWidgetProvider.java" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
@ -25,7 +31,7 @@
<component name="DefaultGradleProjectSettings">
<option name="isMigrated" value="true" />
</component>
<component name="ExecutionTargetManager" SELECTED_TARGET="Pixel_2_API_28" />
<component name="ExecutionTargetManager" SELECTED_TARGET="Pixel_2_API_24" />
<component name="ExternalProjectsManager">
<system id="GRADLE">
<state>
@ -34,19 +40,67 @@
</system>
</component>
<component name="FileEditorManager">
<leaf>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/net/micode/notes/ui/AlarmReceiver.java">
<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/widget/NoteWidgetProvider.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="318">
<caret line="34" column="44" selection-start-line="34" selection-start-column="44" selection-end-line="34" selection-end-column="44" />
<state relative-caret-position="310">
<caret line="93" column="47" selection-start-line="93" selection-start-column="47" selection-end-line="93" selection-end-column="47" />
<folding>
<element signature="e#0#1075#0" expanded="true" />
<element signature="e#4079#4144#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="334">
<caret line="156" selection-start-line="156" selection-end-line="156" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<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="257">
<caret line="154" column="33" selection-start-line="154" selection-start-column="33" selection-end-line="154" selection-end-column="33" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<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="231">
<caret line="77" column="34" lean-forward="true" selection-start-line="77" selection-start-column="34" selection-end-line="77" selection-end-column="34" />
<folding>
<element signature="e#2949#2950#0" expanded="true" />
<element signature="e#2998#2999#0" expanded="true" />
<element signature="e#3040#3041#0" expanded="true" />
<element signature="e#3083#3084#0" expanded="true" />
<element signature="e#3118#3119#0" expanded="true" />
<element signature="e#3162#3163#0" expanded="true" />
<element signature="e#3204#3205#0" expanded="true" />
<element signature="e#3247#3248#0" expanded="true" />
<element signature="e#3304#3305#0" expanded="true" />
<element signature="e#3353#3354#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/DropdownMenu.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="120">
<caret line="29" column="13" selection-start-line="29" selection-start-column="13" selection-end-line="29" selection-end-column="13" />
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component name="FindInProjectRecents">
@ -54,6 +108,8 @@
<find>WrongNoteID</find>
<find>e.printStackTrace();</find>
<find>TextNote</find>
<find>finish</find>
<find>Log.e</find>
</findStrings>
<replaceStrings>
<replace>WRONGNOTEID</replace>
@ -78,17 +134,19 @@
<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/model/Note.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/res/xml/widget_4x_info.xml" />
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Contact.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/res/color/primary_text_dark.xml" />
<option value="$PROJECT_DIR$/src/net/micode/notes/ui/AlarmAlertActivity.java" />
<option value="$PROJECT_DIR$/src/net/micode/notes/ui/AlarmInitReceiver.java" />
<option value="$PROJECT_DIR$/src/net/micode/notes/ui/AlarmReceiver.java" />
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java" />
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/widget/NoteWidgetProvider.java" />
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/Note.java" />
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Notes.java" />
</list>
</option>
</component>
@ -104,6 +162,18 @@
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<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">
<subPane>
<expand>
@ -114,51 +184,240 @@
<path>
<item name="src" type="b2602c69:ProjectViewProjectNode" />
<item name="src" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
<item name="app" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
</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" />
</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="net" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
</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="net" type="462c0819:PsiDirectoryNode" />
<item name="micode" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="java" type="462c0819:PsiDirectoryNode" />
</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="net" type="462c0819:PsiDirectoryNode" />
<item name="micode" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="java" type="462c0819:PsiDirectoryNode" />
<item name="notes" type="462c0819:PsiDirectoryNode" />
</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="net" type="462c0819:PsiDirectoryNode" />
<item name="micode" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="java" type="462c0819:PsiDirectoryNode" />
<item name="notes" type="462c0819:PsiDirectoryNode" />
<item name="data" type="462c0819:PsiDirectoryNode" />
</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>
<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="model" type="462c0819:PsiDirectoryNode" />
</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="ui" type="462c0819:PsiDirectoryNode" />
</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>
<select />
</subPane>
</pane>
<pane id="Scope">
<subPane subId="Scope '产品'; set:产品; class com.intellij.psi.search.scope.ProjectProductionScope">
<expand>
<path>
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
</path>
<path>
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
</path>
<path>
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
</path>
<path>
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="main" type="9f88c78c:ScopeViewTreeModel$FileNode" />
</path>
<path>
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="main" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="java" type="9f88c78c:ScopeViewTreeModel$FileNode" />
</path>
<path>
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="main" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="java" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="net" type="9f88c78c:ScopeViewTreeModel$FileNode" />
</path>
<path>
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="main" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="java" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="net" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="micode" type="9f88c78c:ScopeViewTreeModel$FileNode" />
</path>
<path>
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="main" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="java" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="net" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="micode" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="notes" type="9f88c78c:ScopeViewTreeModel$FileNode" />
</path>
<path>
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="main" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="java" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="net" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="micode" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="notes" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="data" type="9f88c78c:ScopeViewTreeModel$FileNode" />
</path>
</expand>
<select />
</subPane>
<subPane subId="Scope '项目文件'; set:项目文件; class com.intellij.psi.search.scope.ProjectFilesScope">
<expand>
<path>
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
</path>
</expand>
<select />
</subPane>
<subPane subId="Scope '测试'; set:测试; class com.intellij.psi.search.scope.TestsScope">
<expand>
<path>
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
</path>
<path>
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
</path>
</expand>
<select />
</subPane>
<subPane subId="Scope 'Project Non-Source Files'; set:Project Non-Source Files; class com.jetbrains.cidr.lang.search.scopes.ProjectSourcesScopeProvider$NonSourceFilesScope">
<expand>
<path>
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
</path>
<path>
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
</path>
<path>
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
</path>
</expand>
<select />
</subPane>
<subPane subId="Scope 'Project Source Files'; set:Project Source Files; class com.jetbrains.cidr.lang.search.scopes.ProjectSourcesScopeProvider$SourceFilesScope">
<expand>
<path>
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
</path>
<path>
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
</path>
<path>
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
</path>
</expand>
<select />
</subPane>
</pane>
<pane id="PackagesPane" />
<pane id="Scope" />
<pane id="AndroidView" />
</panes>
</component>
<component name="PropertiesComponent">
<property name="ASKED_SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
<property name="DeviceAndSnapshotComboBoxAction.selectedDevice" value="Pixel_2_API_28" />
<property name="DeviceAndSnapshotComboBoxAction.selectionTime" value="2019-09-18T09:37:04.209Z" />
<property name="DeviceAndSnapshotComboBoxAction.selectedDevice" value="Pixel_2_XL_API_14" />
<property name="DeviceAndSnapshotComboBoxAction.selectionTime" value="2019-09-19T08:10:56.437Z" />
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
<property name="SONARLINT_PRECOMMIT_ANALYSIS" value="true" />
<property name="android.sdk.path" value="D:/Android_SDK/SDK" />
@ -312,7 +571,14 @@
<option name="project" value="LOCAL" />
<updated>1568276972246</updated>
</task>
<option name="localTasksCounter" value="10" />
<task id="LOCAL-00010" summary="ziji wu comment">
<created>1568818790895</created>
<option name="number" value="00010" />
<option name="presentableId" value="LOCAL-00010" />
<option name="project" value="LOCAL" />
<updated>1568818790895</updated>
</task>
<option name="localTasksCounter" value="11" />
<servers />
</component>
<component name="TodoView">
@ -329,7 +595,7 @@
<editor active="true" />
<layout>
<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 content_ui="combo" id="Project" order="1" visible="true" weight="0.16601562" />
<window_info id="设计器" order="2" />
<window_info id="Resources Explorer" order="3" weight="0.3297587" />
<window_info id="Structure" order="4" side_tool="true" />
@ -337,7 +603,7 @@
<window_info id="Image Layers" order="6" />
<window_info id="Capture Tool" order="7" />
<window_info id="Favorites" order="8" side_tool="true" />
<window_info anchor="bottom" id="Run" order="0" weight="0.3297587" />
<window_info active="true" anchor="bottom" id="Run" order="0" visible="true" weight="0.3294271" />
<window_info anchor="bottom" id="SonarLint" order="1" weight="0.3297587" />
<window_info anchor="bottom" id="Logcat" order="2" />
<window_info anchor="bottom" id="TODO" order="3" weight="0.3297587" />
@ -347,7 +613,7 @@
<window_info anchor="bottom" id="Terminal" order="7" weight="0.3297587" />
<window_info anchor="bottom" id="Event Log" order="8" side_tool="true" weight="0.3294271" />
<window_info anchor="bottom" id="Version Control" order="9" weight="0.3297587" />
<window_info anchor="bottom" id="Build" order="10" visible="true" weight="0.3059896" />
<window_info anchor="bottom" id="Build" order="10" weight="0.3059896" />
<window_info anchor="bottom" id="Messages" order="11" weight="0.3297587" />
<window_info anchor="right" id="Gradle" order="0" />
<window_info anchor="right" id="Device File Explorer" order="1" side_tool="true" />
@ -376,89 +642,9 @@
<option name="LAST_COMMIT_MESSAGE" value="ziji wu comment" />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/import-summary.txt">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/gradle/wrapper/gradle-wrapper.properties">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="100">
<caret line="5" column="72" selection-start-line="5" selection-start-column="72" selection-end-line="5" selection-end-column="72" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/settings.gradle">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="20">
<caret line="1" selection-start-line="1" selection-end-line="1" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/local.properties">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/gtask/remote/GTaskASyncTask.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="337">
<caret line="89" column="5" lean-forward="true" selection-start-line="89" selection-start-column="5" selection-end-line="89" selection-end-column="5" />
</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="5620">
<caret line="322" column="54" lean-forward="true" selection-start-line="322" selection-start-column="54" selection-end-line="322" selection-end-column="54" />
</state>
</provider>
</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="431">
<caret line="193" column="33" lean-forward="true" selection-start-line="193" selection-start-column="33" selection-end-line="193" selection-end-column="33" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/xml/preferences.xml">
<provider selected="true" editor-type-id="android-designer2" />
<provider editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/values/colors.xml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/values/dimens.xml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/raw-zh-rCN/introduction">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/menu/note_list.xml">
<provider selected="true" editor-type-id="android-designer2" />
<provider editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/menu/note_edit.xml">
<provider selected="true" editor-type-id="android-designer2" />
<provider editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/menu/call_record_folder.xml">
<provider selected="true" editor-type-id="android-designer2" />
<provider editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/menu/call_note_edit.xml">
<provider selected="true" editor-type-id="android-designer2" />
<provider editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/menu/note_list_dropdown.xml">
<provider selected="true" editor-type-id="android-designer2" />
<provider editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/color/secondary_text_dark.xml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/drawable-hdpi/bg_color_btn_mask.png">
<provider selected="true" editor-type-id="images" />
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/drawable-hdpi/edit_title_blue.9.png">
<provider selected="true" editor-type-id="ninepatcheditor" />
<provider editor-type-id="images" />
<provider selected="true" editor-type-id="ninepatcheditor" />
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/menu/sub_folder.xml">
<provider selected="true" editor-type-id="android-designer2" />
@ -475,44 +661,8 @@
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/AndroidManifest.xml">
<provider selected="true" editor-type-id="text-editor" />
<provider editor-type-id="android-manifest" />
</entry>
<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="262">
<caret line="64" column="26" lean-forward="true" selection-start-line="64" selection-start-column="26" selection-end-line="64" selection-end-column="26" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</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="20">
<caret line="179" column="32" selection-start-line="179" selection-start-column="21" selection-end-line="179" selection-end-column="32" />
</state>
</provider>
</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="360">
<caret line="48" column="28" selection-start-line="48" selection-start-column="28" selection-end-line="48" selection-end-column="28" />
<folding>
<element signature="e#2949#2950#0" expanded="true" />
<element signature="e#2998#2999#0" expanded="true" />
<element signature="e#3040#3041#0" expanded="true" />
<element signature="e#3083#3084#0" expanded="true" />
<element signature="e#3118#3119#0" expanded="true" />
<element signature="e#3162#3163#0" expanded="true" />
<element signature="e#3204#3205#0" expanded="true" />
<element signature="e#3247#3248#0" expanded="true" />
<element signature="e#3304#3305#0" expanded="true" />
<element signature="e#3353#3354#0" expanded="true" />
</folding>
</state>
</provider>
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java">
<provider selected="true" editor-type-id="text-editor">
@ -532,13 +682,6 @@
<provider selected="true" editor-type-id="android-designer2" />
<provider editor-type-id="text-editor" />
</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="300">
<caret line="44" column="38" selection-start-line="44" selection-start-column="38" selection-end-line="44" selection-end-column="38" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/build.gradle">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="100">
@ -553,13 +696,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/net/micode/notes/ui/AlarmAlertActivity.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-114">
<caret line="105" column="41" selection-start-line="105" selection-start-column="41" selection-end-line="105" selection-end-column="41" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/net/micode/notes/model/Note.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-101">
@ -605,25 +741,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/net/micode/notes/data/Notes.java">
<provider selected="true" editor-type-id="text-editor">
<state>
<folding>
<element signature="e#0#8921#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/net/micode/notes/data/Contact.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-121">
<folding>
<element signature="e#0#2637#0" expanded="true" />
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/net/micode/notes/tool/BackupUtils.java">
<provider selected="true" editor-type-id="text-editor">
<state>
@ -642,14 +759,216 @@
</entry>
<entry file="file://$PROJECT_DIR$/src/net/micode/notes/ui/AlarmReceiver.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="318">
<caret line="34" column="44" selection-start-line="34" selection-start-column="44" selection-end-line="34" selection-end-column="44" />
<state relative-caret-position="360">
<caret line="34" column="23" selection-start-line="34" selection-start-column="15" selection-end-line="34" selection-end-column="23" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/net/micode/notes/ui/DateTimePicker.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-6193">
<caret line="11" column="35" selection-start-line="11" selection-start-column="25" selection-end-line="11" selection-end-column="35" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/res/values/strings.xml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-252" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/res/values/colors.xml">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/res/values/arrays.xml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-240" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/net/micode/notes/data/Contact.java">
<provider selected="true" editor-type-id="text-editor">
<state>
<folding>
<element signature="e#0#1075#0" expanded="true" />
<element signature="e#0#2637#0" expanded="true" />
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<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="604">
<caret line="64" column="26" lean-forward="true" selection-start-line="64" selection-start-column="26" selection-end-line="64" selection-end-column="26" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/net/micode/notes/data/Notes.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-2664">
<folding>
<element signature="e#0#8921#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/net/micode/notes/ui/AlarmAlertActivity.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1136">
<caret line="105" column="41" selection-start-line="105" selection-start-column="41" selection-end-line="105" selection-end-column="41" />
</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="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$/app/src/main/java/net/micode/notes/data/NotesProvider.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-3444">
<caret line="44" column="38" selection-start-line="44" selection-start-column="38" selection-end-line="44" selection-end-column="38" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/res/drawable-hdpi/title_alert.png">
<provider selected="true" editor-type-id="images" />
</entry>
<entry file="file://$PROJECT_DIR$/res/drawable-hdpi/selected.png">
<provider selected="true" editor-type-id="images" />
</entry>
<entry file="file://$PROJECT_DIR$/res/drawable-hdpi/delete.png">
<provider selected="true" editor-type-id="images" />
</entry>
<entry file="file://$PROJECT_DIR$/res/drawable-hdpi/edit_blue.9.png">
<provider editor-type-id="images" />
<provider selected="true" editor-type-id="ninepatcheditor" />
</entry>
<entry file="file://$PROJECT_DIR$/app/build/generated/not_namespaced_r_class_sources/debug/r/net/micode/notes/R.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="280">
<caret line="14" column="11" lean-forward="true" selection-start-line="14" selection-start-column="11" selection-end-line="14" selection-end-column="11" />
<folding>
<element signature="e#0#16964#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/res/drawable-hdpi/clock.png">
<provider selected="true" editor-type-id="images" />
</entry>
<entry file="file://$PROJECT_DIR$/res/drawable-hdpi/list_blue_middle.9.png">
<provider editor-type-id="images" />
<provider selected="true" editor-type-id="ninepatcheditor" />
</entry>
<entry file="file://$PROJECT_DIR$/res/drawable-hdpi/list_green_up.9.png">
<provider editor-type-id="images" />
<provider selected="true" editor-type-id="ninepatcheditor" />
</entry>
<entry file="file://$PROJECT_DIR$/res/drawable-hdpi/list_white_single.9.png">
<provider editor-type-id="images" />
<provider selected="true" editor-type-id="ninepatcheditor" />
</entry>
<entry file="file://$PROJECT_DIR$/res/drawable-hdpi/menu_delete.png">
<provider selected="true" editor-type-id="images" />
</entry>
<entry file="file://$PROJECT_DIR$/res/drawable-hdpi/notification.png">
<provider selected="true" editor-type-id="images" />
</entry>
<entry file="file://$PROJECT_DIR$/res/drawable-hdpi/search_result.png">
<provider selected="true" editor-type-id="images" />
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/AlarmReceiver.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="120">
<caret line="22" column="13" selection-start-line="22" selection-start-column="13" selection-end-line="22" selection-end-column="13" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/FoldersListAdapter.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="140">
<caret line="31" column="13" selection-start-line="31" selection-start-column="13" selection-end-line="31" selection-end-column="13" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/app.iml">
<provider selected="true" editor-type-id="text-editor" />
</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">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="48">
<caret line="37" column="13" selection-start-line="37" selection-start-column="13" selection-end-line="37" selection-end-column="13" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/DropdownMenu.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="120">
<caret line="29" column="13" selection-start-line="29" selection-start-column="13" selection-end-line="29" selection-end-column="13" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/widget/NoteWidgetProvider.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="310">
<caret line="93" column="47" selection-start-line="93" selection-start-column="47" selection-end-line="93" selection-end-column="47" />
<folding>
<element signature="e#4079#4144#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="334">
<caret line="156" selection-start-line="156" selection-end-line="156" />
</state>
</provider>
</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="231">
<caret line="77" column="34" lean-forward="true" selection-start-line="77" selection-start-column="34" selection-end-line="77" selection-end-column="34" />
<folding>
<element signature="e#2949#2950#0" expanded="true" />
<element signature="e#2998#2999#0" expanded="true" />
<element signature="e#3040#3041#0" expanded="true" />
<element signature="e#3083#3084#0" expanded="true" />
<element signature="e#3118#3119#0" expanded="true" />
<element signature="e#3162#3163#0" expanded="true" />
<element signature="e#3204#3205#0" expanded="true" />
<element signature="e#3247#3248#0" expanded="true" />
<element signature="e#3304#3305#0" expanded="true" />
<element signature="e#3353#3354#0" expanded="true" />
</folding>
</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="257">
<caret line="154" column="33" selection-start-line="154" selection-start-column="33" selection-end-line="154" selection-end-column="33" />
</state>
</provider>
</entry>
</component>
<component name="masterDetails">
<states>

View File

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

View File

@ -66,7 +66,7 @@ public class Notes {
/**
*该类声明了一系列关于便签的final变量用于在数据库中标识便签没有定义方法
*接口类
*/
public interface NoteColumns {
/**
@ -151,6 +151,8 @@ public class Notes {
/**
* Sign to indicate local modified or not
* 1 - local modified
* 0 - not local modified
* <P> Type: INTEGER </P>
*/
public static final String LOCAL_MODIFIED = "local_modified";
@ -175,7 +177,7 @@ public class Notes {
}
/*
* 该类声明了一系列关于数据的final变量用于在数据库中标识数据项没有定义方法
* 接口类
* */
public interface DataColumns {
/**

View File

@ -41,13 +41,14 @@ public class Note {
private static final String WRONGNOTEID = "Wrong note id:";
/**
* Create a new note id for adding a new note to databases
* 返回值为新建的note的Id
*/
public static synchronized long getNewNoteId(Context context, long folderId) {
// Create a new note in the database
ContentValues values = new ContentValues();
long createdTime = System.currentTimeMillis();
values.put(NoteColumns.CREATED_DATE, createdTime);
values.put(NoteColumns.MODIFIED_DATE, createdTime);
values.put(NoteColumns.MODIFIED_DATE, createdTime);//最近修改时间
values.put(NoteColumns.TYPE, Notes.TYPE_NOTE);
values.put(NoteColumns.LOCAL_MODIFIED, 1);
values.put(NoteColumns.PARENT_ID, folderId);
@ -61,6 +62,7 @@ public class Note {
noteId = 0;
}
if (noteId == -1) {
//抛出异常非法状态noteId无效
throw new IllegalStateException(WRONGNOTEID + noteId);
}
return noteId;

View File

@ -154,10 +154,12 @@ public class NoteEditActivity extends Activity implements OnClickListener,
super.onCreate(savedInstanceState);
this.setContentView(R.layout.note_edit);
//如果Activity没有被系统destroy函数返回
if (savedInstanceState == null && !initActivityState(getIntent())) {
finish();
finish();//退出当前Activity没有destroy
return;
}
//否则初始化资源
initResources();
}
@ -268,6 +270,9 @@ public class NoteEditActivity extends Activity implements OnClickListener,
initNoteScreen();
}
/*
* 该方法实现了对便签屏幕的初始化
* */
private void initNoteScreen() {
mNoteEditor.setTextAppearance(this, TextAppearanceResources
.getTexAppearanceResource(mFontSizeId));

View File

@ -83,6 +83,7 @@ public abstract class NoteWidgetProvider extends AppWidgetProvider {
Cursor c = getNoteWidgetInfo(context, appWidgetIds[i]);
if (c != null && c.moveToFirst()) {
if (c.getCount() > 1) {
//打印错误日志
Log.e(TAG, "Multiple message with same widget id:" + appWidgetIds[i]);
c.close();
return;