-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/[Ll]ibrary/ | ||
/[Tt]emp/ | ||
/[Oo]bj/ | ||
/[Bb]uild/ | ||
/[Bb]uilds/ | ||
/Assets/AssetStoreTools* | ||
/.gradle/ | ||
/.idea/ | ||
|
||
# Visual Studio 2015 cache directory | ||
/.vs/ | ||
|
||
# Autogenerated VS/MD/Consulo solution and project files | ||
ExportedObj/ | ||
.consulo/ | ||
*.csproj | ||
*.unityproj | ||
*.sln | ||
*.suo | ||
*.tmp | ||
*.user | ||
*.userprefs | ||
*.pidb | ||
*.booproj | ||
*.svd | ||
*.pdb | ||
|
||
# Unity3D generated meta files | ||
*.pidb.meta | ||
|
||
# Unity3D Generated File On Crash Reports | ||
sysinfo.txt | ||
|
||
# Builds | ||
*.apk | ||
/.project | ||
MemoryCaptures |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | ||
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=assets_005Cbackgroundaudio/@EntryIndexedValue">True</s:Boolean> | ||
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=assets_005Cbackgroundaudio_005Cscripts/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<dependencies> | ||
<androidPackages> | ||
<androidPackage spec="com.android.support:support-compat:+"/> | ||
</androidPackages> | ||
</dependencies> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package com.Faizan.Github.BackgroundAudio; | ||
|
||
import android.app.Application; | ||
import android.app.NotificationChannel; | ||
import android.app.NotificationManager; | ||
import android.os.Build; | ||
import android.util.Log; | ||
|
||
public class App extends Application { | ||
|
||
public static final String TAG = "Application"; | ||
public static final String NOTIF_CHANNEL_ID = "audioNotifChannel"; | ||
|
||
@Override | ||
public void onCreate() { | ||
super.onCreate(); | ||
|
||
Log.d(TAG, "onCreate() was called!"); | ||
|
||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) return; | ||
|
||
NotificationChannel channel = new NotificationChannel( | ||
NOTIF_CHANNEL_ID, | ||
"Audio Notification", | ||
NotificationManager.IMPORTANCE_LOW | ||
); | ||
|
||
NotificationManager manager = getSystemService(NotificationManager.class); | ||
if (manager != null) { | ||
manager.createNotificationChannel(channel); | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.