fix Bb to Db

This commit is contained in:
Raffaele Mignone 2019-01-03 21:25:39 +01:00
parent 41d5be1627
commit 2dca6a2238
Signed by: norangebit
GPG Key ID: 4B9DF72AB9508845
3 changed files with 3 additions and 9 deletions

View File

@ -1,6 +1,6 @@
<component name="CopyrightManager">
<copyright>
<option name="notice" value="Copyright © &amp;#36;today.year, norangebit&#10;&#10;This file is part of &amp;#36;project.name.&#10;&#10; &amp;#36;project.name is free software: you can redistribute it and/or modify&#10; it under the terms of the GNU General Public License as published by&#10; the Free Software Foundation, either version 3 of the License, or&#10; (at your option) any later version.&#10;&#10; &amp;#36;project.name is distributed in the hope that it will be useful,&#10; but WITHOUT ANY WARRANTY; without even the implied warranty of&#10; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the&#10; GNU General Public License for more details.&#10;&#10; You should have received a copy of the GNU General Public License&#10; along with &amp;#36;project.name. If not, see &lt;http://www.gnu.org/licenses/&gt;" />
<option name="notice" value="Copyright (c) &amp;#36;today.year, norangebit &#10;&#10;This file is part of augmented-images.&#10;&#10; &amp;#36;project.name is free software: you can redistribute it and/or modify&#10; it under the terms of the GNU General Public License as published by&#10; the Free Software Foundation, either version 3 of the License, or&#10; (at your option) any later version.&#10;&#10; &amp;#36;project.name is distributed in the hope that it will be useful,&#10; but WITHOUT ANY WARRANTY; without even the implied warranty of&#10; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the&#10; GNU General Public License for more details.&#10;&#10; You should have received a copy of the GNU General Public License&#10; along with &amp;#36;project.name. If not, see &lt;http://www.gnu.org/licenses/&gt;&#10;" />
<option name="myName" value="GPL v. 2.0" />
</copyright>
</component>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
</project>

View File

@ -110,7 +110,7 @@ class MainActivity : AppCompatActivity() {
private fun configureSession() {
val config = Config(session)
if (!setupAugmentedImageBb(config)) {
if (!setupAugmentedImageDb(config)) {
Toast.makeText(
this,
"Unable to setup augmented image database",
@ -123,7 +123,7 @@ class MainActivity : AppCompatActivity() {
session!!.configure(config)
}
private fun setupAugmentedImageBb(config: Config): Boolean {
private fun setupAugmentedImageDb(config: Config): Boolean {
val image = loadImage(IMAGE_FILE_NAME) ?: return false
val augmentedImageDb = AugmentedImageDatabase(session)