Skip to content

Commit

Permalink
ActivityHelper package fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
keyboardsurfer authored and florina-muntenescu committed Jul 20, 2018
1 parent 9fd6037 commit 2e12c39
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
1 change: 0 additions & 1 deletion about/src/main/java/io/plaidapp/about/ui/AboutActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
package io.plaidapp.about.ui

import android.arch.lifecycle.ViewModelProviders
import android.net.Uri
import android.os.Bundle
import android.support.customtabs.CustomTabsIntent
import android.support.v4.content.ContextCompat
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2018 Google, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.plaidapp.about.ui.model

import `in`.uncod.android.bypass.Markdown
Expand Down
5 changes: 2 additions & 3 deletions core/src/main/java/io/plaidapp/core/util/ActivityHelper.kt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import io.plaidapp.core.designernews.data.votes.UpvoteStoryService
* Helpers to start activities in a modularized world.
*/

private const val PACKAGE_NAME_OLD = "io.plaidapp.ui"
private const val PACKAGE_NAME = "io.plaidapp"

/**
Expand Down Expand Up @@ -116,7 +115,7 @@ object Activities {
* PostNewDesignerNewsStory Activity
*/
object PostStory : AddressableActivity {
override val className = "$PACKAGE_NAME_OLD.designernews.PostNewDesignerNewsStory"
override val className = "$PACKAGE_NAME.designernews.PostNewDesignerNewsStory"

const val RESULT_DRAG_DISMISSED = 3
const val RESULT_POSTING = 4
Expand All @@ -142,7 +141,7 @@ object Activities {
* SearchActivity
*/
object Search : AddressableActivity {
override val className = "$PACKAGE_NAME_OLD.search.SearchActivity"
override val className = "$PACKAGE_NAME.ui.search.SearchActivity"

const val EXTRA_QUERY = "EXTRA_QUERY"
const val EXTRA_SAVE_DRIBBBLE = "EXTRA_SAVE_DRIBBBLE"
Expand Down

0 comments on commit 2e12c39

Please sign in to comment.