-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from akaMrNagar/hotfix
More accurate screen usage along with bug fixes
- Loading branch information
Showing
13 changed files
with
231 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
android/app/src/main/java/com/mindful/android/models/AggregatedUsage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* | ||
* * | ||
* * * Copyright (c) 2024 Mindful (https://github.com/akaMrNagar/Mindful) | ||
* * * Author : Pawan Nagar (https://github.com/akaMrNagar) | ||
* * * | ||
* * * This source code is licensed under the GPL-2.0 license license found in the | ||
* * * LICENSE file in the root directory of this source tree. | ||
* * | ||
* | ||
*/ | ||
|
||
package com.mindful.android.models; | ||
|
||
public class AggregatedUsage { | ||
public final int totalScreenUsageMins; | ||
public final int totalMobileUsageMBs; | ||
public final int totalWifiUsageMBs; | ||
|
||
public AggregatedUsage(int totalScreenUsageMins, int totalMobileUsageMBs, int totalWifiUsageMBs) { | ||
this.totalScreenUsageMins = totalScreenUsageMins; | ||
this.totalMobileUsageMBs = totalMobileUsageMBs; | ||
this.totalWifiUsageMBs = totalWifiUsageMBs; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.