Skip to content

Commit

Permalink
wellbeing permissions, added gitignore, new readme
Browse files Browse the repository at this point in the history
  • Loading branch information
niklas389 committed Sep 20, 2020
1 parent a11981d commit 614fe4c
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 21 deletions.
49 changes: 49 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig

# Created by https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode
# Edit at https://www.toptal.com/developers/gitignore?templates=windows,visualstudiocode

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace

### VisualStudioCode Patch ###
# Ignore all local history of files
.history

### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

# End of https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode

# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)

# MAGISK Zips
*.zip
22 changes: 10 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Modpack for OxygenOS Pie
# Modpack for OxygenOS / Android Q

This module disables a buch of Google & OnePlus system apps and adds some cool features. Some Google Play services will also get disabled on boot.
## Features
- Replaced OnePlus' Phone, Messages(SMS), and Contacts with Googles apps
- Enabled Google Photos Photo backup
- Replaced Roboto and OnePlus Slate fonts with Google Product Sans
- The ringtones, notifications and alarm sounds will be replaced with some basic ones
- iOS 13 Emojis
- Some Google Play Services will be disabled on boot (see below)

## Currently disabled apps: (* Install via PlayStore if needed)

Expand All @@ -10,6 +16,7 @@ This module disables a buch of Google & OnePlus system apps and adds some cool f
-Basic Daydreams
-Bookmark Provider
-OnePlus Cards
-OnePlus CellBroadcastReceiver
-Google Chrome (*)
-Desk Clock
-Google Drive (*)
Expand All @@ -34,15 +41,6 @@ This module disables a buch of Google & OnePlus system apps and adds some cool f
-Android Talkback (*)
-Play Videos (*)

OnePlus CellBroadcastReceiver

## Added features

- Enabled Google Photos unlimited-free Photo backup (until 2021)
- Replaced Roboto and OnePlus Slate fonts with Google Product Sans
- The ringtones, notifications and alarm sounds will be replaced with some basic one that I picked
- iOS 13 Emojis

## Disabled Google Play Services functions

-com.google.android.gms.analytics.service.AnalyticsService
Expand All @@ -53,5 +51,5 @@ OnePlus CellBroadcastReceiver

## Changelog

**v4**
**v1**
*Added iOS Emojis
9 changes: 0 additions & 9 deletions system/etc/permissions/GPhone-permissions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,4 @@
<permission name="com.android.voicemail.permission.READ_VOICEMAIL"/>
<permission name="com.android.voicemail.permission.WRITE_VOICEMAIL"/>
</privapp-permissions>

<privapp-permissions package="com.google.android.apps.wellbeing">
<permission name="android.permission.CONTROL_DISPLAY_SATURATION"/>
<permission name="android.permission.OBSERVE_APP_USAGE"/>
<permission name="android.permission.PACKAGE_USAGE_STATS"/>
<permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
<permission name="android.permission.SUSPEND_APPS"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
</privapp-permissions>
</permissions>
11 changes: 11 additions & 0 deletions system/etc/permissions/wellbeing_permissions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<privapp-permissions package="com.google.android.apps.wellbeing">
<permission name="android.permission.CONTROL_DISPLAY_SATURATION"/>
<permission name="android.permission.OBSERVE_APP_USAGE"/>
<permission name="android.permission.PACKAGE_USAGE_STATS"/>
<permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
<permission name="android.permission.SUSPEND_APPS"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
</privapp-permissions>
</permissions>

0 comments on commit 614fe4c

Please sign in to comment.