Skip to content

Commit

Permalink
more refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
klinker41 committed Feb 4, 2017
1 parent 57a067a commit 93b68e0
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 26 deletions.
3 changes: 1 addition & 2 deletions app/build.gradle
@@ -1,6 +1,5 @@
/*
* Copyright (C) 2017 Jake
* Klinker
* Copyright (C) 2017 Jake Klinker
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/AndroidManifest.xml
@@ -1,6 +1,5 @@
<!--
~ Copyright (C) 2017 Jake
~ Klinker
~ Copyright (C) 2017 Jake Klinker
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
Expand Down
@@ -1,6 +1,5 @@
/*
* Copyright (C) 2017 Jake
* Klinker
* Copyright (C) 2017 Jake Klinker
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -125,6 +124,7 @@ public void run() {

/**
* Choose a random background URL from the list
*
* @return a URL for a background
* @throws JSONException when the url is out of bounds on the JSON, shouldn't happen.
*/
Expand All @@ -141,6 +141,7 @@ private String getRandomBackgroundUrl() throws JSONException {

/**
* Choose a random time to switch, somewhere in the range [MIN_SWITCH_TIME, MAX_SWITCH_TIME)
*
* @return a random time in milliseconds
*/
private int getRandomSwitchTime() {
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/klinker/android/dream/NetworkUtils.java
@@ -1,6 +1,5 @@
/*
* Copyright (C) 2017 Jake
* Klinker
* Copyright (C) 2017 Jake Klinker
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -35,6 +34,7 @@ public class NetworkUtils {

/**
* Get a JSON string from the given url
*
* @param url the url where the JSON is located
* @return the String in the format of a JSON
*/
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/res/layout/daydream_service.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (C) 2017 Jake
~ Klinker
~ Copyright (C) 2017 Jake Klinker
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/res/values/strings.xml
@@ -1,6 +1,5 @@
<!--
~ Copyright (C) 2017 Jake
~ Klinker
~ Copyright (C) 2017 Jake Klinker
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
Expand Down
3 changes: 1 addition & 2 deletions build.gradle
@@ -1,6 +1,5 @@
/*
* Copyright (C) 2017 Jake
* Klinker
* Copyright (C) 2017 Jake Klinker
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
8 changes: 1 addition & 7 deletions gradle.properties
@@ -1,6 +1,5 @@
#
# Copyright (C) 2017 Jake
# Klinker
# Copyright (C) 2017 Jake Klinker
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -14,21 +13,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

# Project-wide Gradle settings.

# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.

# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx10248m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
Expand Down
4 changes: 1 addition & 3 deletions gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,5 @@
#
# Copyright (C) 2017 Jake
# Klinker
# Copyright (C) 2017 Jake Klinker
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -14,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

#Sat May 30 20:20:48 CDT 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
Expand Down
3 changes: 1 addition & 2 deletions settings.gradle
@@ -1,6 +1,5 @@
/*
* Copyright (C) 2017 Jake
* Klinker
* Copyright (C) 2017 Jake Klinker
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 93b68e0

Please sign in to comment.