Skip to content

Update NotificationStatusBarWithCustomViewActivity.java#29

Open
zhongdeyu wants to merge 1 commit into
aporter:masterfrom
zhongdeyu:master
Open

Update NotificationStatusBarWithCustomViewActivity.java#29
zhongdeyu wants to merge 1 commit into
aporter:masterfrom
zhongdeyu:master

Conversation

@zhongdeyu

Copy link
Copy Markdown

change lines 39:
from
"course.examples.Notification.StatusBarWithCustomView",
to
"course.examples.notification.statusbarwithcustomview",

in order to make it cinsistent with line 34:
.parse("android.resource://course.examples.notification.statusbarwithcustomview/"

otherwise, the code cannot be executed and generates LogCat as shown under the following URL:

https://class.coursera.org/androidpart2-002/forum/thread?thread_id=62
"NotificationStatusBarWithCustomView: Bad notification posted, Couldn't expand RemoteViews for: StatusBarNotification"

change lines 39:
from
			"course.examples.Notification.StatusBarWithCustomView",
to
			"course.examples.notification.statusbarwithcustomview",

in order to make it cinsistent with line 34:
			.parse("android.resource://course.examples.notification.statusbarwithcustomview/"

otherwise, the code cannot be executed and generates LogCat as shown under the following URL:

https://class.coursera.org/androidpart2-002/forum/thread?thread_id=62
"NotificationStatusBarWithCustomView: Bad notification posted, Couldn't expand RemoteViews for: StatusBarNotification"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant