Comments (3)
E/AndroidRuntime: FATAL EXCEPTION: main
Process: dev.synople.glassecho.phone, PID: 31063
java.lang.IllegalArgumentException: Invalid notification (no valid small icon): Notification(channel=dev.synople.glassecho.phone shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x0 color=0x00000000 actions=3 vis=PRIVATE)
at android.app.NotificationManager.fixNotification(NotificationManager.java:603)
at android.app.NotificationManager.notifyAsUser(NotificationManager.java:582)
at android.app.NotificationManager.notify(NotificationManager.java:531)
at androidx.core.app.NotificationManagerCompat.notify(NotificationManagerCompat.java:215)
at androidx.core.app.NotificationManagerCompat.notify(NotificationManagerCompat.java:199)
at dev.synople.glassecho.phone.fragments.HomeFragment.showNotification(HomeFragment.kt:122)
at dev.synople.glassecho.phone.fragments.HomeFragment.access$showNotification(HomeFragment.kt:32)
at dev.synople.glassecho.phone.fragments.HomeFragment$onViewCreated$$inlined$apply$lambda$2.onClick(HomeFragment.kt:62)
at android.view.View.performClick(View.java:7448)
at android.view.View.performClickInternal(View.java:7425)
at android.view.View.access$3600(View.java:810)
at android.view.View$PerformClick.run(View.java:28305)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
from glassecho.
Ah, do you know what app sent that notification? The fix feels simple, just making the small icon nullable or so.
As a heads up (I'll add this to the README), I won't be able to work on this for the foreseeable future. I no longer have access to a pair of Glass (XE or EE 2).
EDIT: I should've declined the payment, let me know if it didn't and I can send it back your way! Thanks though!
from glassecho.
Ah, do you know what app sent that notification?
Actually the test notification button crashes it.
from glassecho.
Related Issues (10)
- Glass App immediate close after launching HOT 3
- The lastest update is not working for my glass HOT 1
- Can U upload apk files at release? HOT 1
- Task :glass:generateSafeArgsDebug FAILED HOT 1
- Unable to dismiss some notifications HOT 1
- Dismiss notification don't work on my phone regardless of whether the notification itself exists
- unable to connect the glass HOT 5
- Implement the MyGlass static card api and add UnifiedPush integration
- v0.2.1 Connection issues HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glassecho.