New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 691938 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Email to this user bounced
Closed: Mar 2018
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug-Regression



Sign in to add a comment

[sensor] AmbientLight Sensor reading is inactived on Android

Reported by canx....@intel.com, Feb 14 2017

Issue description

Steps to reproduce the problem:
Test Case: https://genericsensors.appspot.com/ 
Test Device: Nexus 9 (Android 5.1.1)
1.Run test case
2.Click the button at the top right corner
2. A popup shows, and choose the "Ambient light" Sensor type, click "ADD" button
3. Turn on the switch button
4. Change the ambient light

What is the expected behavior?
The value of timestamp and illuminance should change.

What went wrong?
The value of timestamp and illuminance is inactived.

Did this work before? Yes 57.0.2971.0

Does this work in other browsers? N/A

Chrome version: 58.0.3011.0  Channel: canary
OS Version: 5.1.1
Flash Version: Shockwave Flash 24.0 r0

This issue cannot reproduce on Mac OS,Windows and Ubuntu(Dev Channel).

 

Comment 1 Deleted

Owner: mikhail....@intel.com
Status: WontFix (was: Unconfirmed)
The canary version in the description probably does not contain the updated sensors API. Could you check the issue with 58.0.3012.0? Please re-open if the issue still exists.

Comment 5 by canx....@intel.com, Feb 16 2017

I double check this issue with 58.0.3012.0 on Android. This issue still exists. Reopen it. Thanks.

Comment 6 Deleted

Comment 7 Deleted

Comment 8 by canx....@intel.com, Feb 20 2017

@mikhail.pozdnyakov , this issue still exist on 58.0.3015.0 on Android.
Please help to reopen it and take a look. thanks a lot.
Status: Unconfirmed (was: WontFix)
Cannot reproduce it. canx.cao@ do you observe the same issue with other sensor APIs (i.e. Accelerometer, Gyroscope, Magnetometer)?

Comment 10 Deleted

Comment 11 Deleted

Comment 12 Deleted

Comment 13 by canx....@intel.com, Feb 21 2017

No,the Accelerometer, Gyroscope and Magnetometer Sensor API works fine.
Only Ambient Light exist this issue. 
I double check the Nexus 9 and Nexus 5 android device.The test result please refer to the attachment file "result.png".
result.png
6.0 KB View Download
canx.cao@ as I see from the attached screen shot, the issue is reproducible on older Android versions (before  6.0.1), is it the case?

Comment 15 by canx....@intel.com, Feb 22 2017

Maybe it is Nexus 9 specific issue.
Update the test result, please refer to the attachment.
result2.png
11.6 KB View Download
@mikhail.pozdnyakov
This issue is still reproduce on Nexus 9 with Chrome Canary (58.0.3026.0).


canx.cao@ can you try testing some native app and see whether als works? Meanwhile, we will try to find spare nexus 9 for testing. Thanks.

Comment 18 by canx....@intel.com, Apr 18 2017

I found a native app on google play(https://play.google.com/store/apps/details?id=com.solutionti.ambientlightsensor), it works fine on the Nexus 9.


Comment 19 by canx....@intel.com, May 19 2017

@mikhail.pozdnyakov , @alexander.shalamov
I retest it on Nexus9(Android 7.1.1) with Chrome Canary 60.0.3102.0, debug log please refer to the attachment.
The value of timestamp got "0" all the time. This issue cannot reproduce Nexus 5 and Nexus 7.
devtool-message.jpg
151 KB View Download

Comment 20 by canx....@intel.com, Sep 15 2017

Update the test result, it still reproduce on Nexus 9.
Thanks.

Detail:
Device	Android version	Chrome 63.0.3214.0
Nexus 5	Android 4.4.2	Pass
	Android 6.0.1	Pass
Nexus 7	Android 5.1	Pass
	Android 6.0.1	Pass
Nexus 9	Android 5.1.1	Fail
	Android 7.1.1	Fail

canx.cao@ Can you install native app (Sensors Multitool or Sensors test) and check if Ambient light and Proximity sensors are working in Nexus 9?
OK, I try to install the Sensors Multitool and Sensor test from Google Play.
They are works fine on Nexus 9.

Status: WontFix (was: Unconfirmed)
Closing due to inactivity, please reopen if needed.

Sign in to add a comment