offspring / chrometophone

Automatically exported from code.google.com/p/chrometophone
0 stars 0 forks source link

Null pointer exception in the ICS #413

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Please answer the questions about build version and network, will save
developers a lot of time !

What steps will reproduce the problem?
1.select text in the browser
2.press the right mouse button
3.click "Chrome to Phone"

What is the expected output? What do you see instead?
In the phone we should see notification which say clipboard copied. But instead 
ChromeToPhone android app is died due to Null pointer exception.

Reason for exception.
In ICS version of android PendingIntent.getActivity does not like null as 
intent argument unlike the previous version. Null intent happens when text 
selection is sent from Chrome. 

How to fix.
check whether intent is null. If null, do not call PendingIntent.getActivity. 
Just use null intent.

Original issue reported on code.google.com by chideok....@gmail.com on 12 Jan 2012 at 8:29

Attachments:

GoogleCodeExporter commented 8 years ago
i'm having the same issue , 
i hope chrome to phone doesn't get abandoned like other google products

Original comment by Fabien.G...@gmail.com on 26 Jan 2012 at 2:09

GoogleCodeExporter commented 8 years ago

Original comment by burke.da...@gmail.com on 2 Feb 2012 at 12:42