Fixed
Status Update
Comments
ws...@gmail.com <ws...@gmail.com> #2
Which device is issue being reported on? Can you get any logs from the device for us after you turn on verbose logging ?
pa...@google.com <pa...@google.com>
ws...@gmail.com <ws...@gmail.com> #3
A few things in addition to the questions in #2:
1. Can you verify that this problem still occurs in beta03? This is available now.
2. Can you check your merged manifest has a network permission (ACCESS_NETWORK_STATE)? It should get merged in automatically.
1. Can you verify that this problem still occurs in beta03? This is available now.
2. Can you check your merged manifest has a network permission (ACCESS_NETWORK_STATE)? It should get merged in automatically.
bo...@google.com <bo...@google.com>
wd...@google.com <wd...@google.com> #4
#3: have now tried beta03 and it's the same behaviour... periodic work schedule breaks down when network constraint is applied (after a period of time with no network). And yes, ACCESS_NETWORK_STATE is in the merged manifest... it's actually in the main manifest anyway.
#2: I'll try...
#2: I'll try...
wd...@google.com <wd...@google.com> #5
Re #2 getting logs... I have tried previously to get logs from the user, and on each occasion the logs started *after* the point of interest, as if the logs had been cleared just before (e.g. just after a problem), so they've not been of any use.
The way I'm getting logs is via a button in the widget configuration activity which runs the following:
Runtime.getRuntime().exec("logcat -f " + logFile + " *:V");
Is there a better way of getting logs from a user (where the user is not an advanced user and can only just about handle pressing a button and sending a text file)?
The way I'm getting logs is via a button in the widget configuration activity which runs the following:
Runtime.getRuntime().exec("logcat -f " + logFile + " *:V");
Is there a better way of getting logs from a user (where the user is not an advanced user and can only just about handle pressing a button and sending a text file)?
jo...@inspiretek.io <jo...@inspiretek.io> #6
Looks like this issue isn't specific to Unique**Periodic**Work ... with a network constraint applied to UniqueWork, if it is scheduled for a time when there is no network, it doesn't go off, even when network is restored. Again, on this user's Android 4.3 device... on the devices I've tested, it works fine.
Do I need to do anything special to make this work on Android 4.3?
Do I need to do anything special to make this work on Android 4.3?
wd...@google.com <wd...@google.com> #7
And periodic work is running just fine on the problem device without the network constraint applied... runs like clockwork.
wd...@google.com <wd...@google.com> #8
Can you send us a sample app?
Description
DESCRIBE THE ISSUE IN DETAIL: The emulator CLI's -dns-server option does not seem to work on API 31 or newer.
STEPS TO REPRODUCE:
dnsmasq -dq
emulator -avd emulator31 -dns-server 127.0.0.1
adb shell ping www.reddit.com
However, on API 30, these same steps will result in the dnsmasq showing the queries to reddit.com:
We need to override some DNS entries in order to test our app in environments that do not have external internet access, but it stopped working in API 31 or newer.