Assigned
Status Update
Comments
ta...@gmail.com <ta...@gmail.com> #2
My SD card's file system supports a last modified timestamp; that is 'adb shell touch /mnt/sdcard/foo' works as expected. I need to check that calling from runtime works as well.
pu...@google.com <pu...@google.com>
pu...@google.com <pu...@google.com> #3
I couldn't reproduce this with a test case.
@hardwick.jim if this test doesn't pass for you, could you paste its output here? As well as your device's full version information. Thanks.
public final class FileTest extends TestCase {
public void testSetLastModified() {
File file = new File("/mnt/sdcard/foo");
assertTrue(file.setLastModified(0));
assertEquals(0, file.lastModified());
}
}
@hardwick.jim if this test doesn't pass for you, could you paste its output here? As well as your device's full version information. Thanks.
public final class FileTest extends TestCase {
public void testSetLastModified() {
File file = new File("/mnt/sdcard/foo");
assertTrue(file.setLastModified(0));
assertEquals(0, file.lastModified());
}
}
Description
What
User experience
What type of Android issue is this?
User Interface
What steps would let us observe this issue?
What did you expect to happen?
To see the options
What actually happened?
I didn't see the options
What was the effect of this issue on your device usage, such as lost time or work?
Slight
When
Time and frequency
Time when bug report was triggered: Jan 24, 2025 11:28 AM GMT+03:00
How often has this happened?
Every time
Where
Component
Suggested component: <not visible> (1684638)
Build and device data
- Build Number: google/raven_beta/raven:Baklava/BP22.250103.008/12932282:user/release-keys
(Note: It is the build when sending this report. For exact build reference, please see the attached bugreport.)
Debugging information
Google Play services
com.google.android.gms
Version 250261035 (25.02.61 (260400-717007275))
System App (Updated)
Android System WebView
com.google.android.webview
Version 694302342 (133.0.6943.23)
System App (Updated)
Network operator: MTN-UGANDA
SIM operator: MTN Uganda Ltd.
Filed by Android Beta Feedback. Version (Updated): 2.46-betterbug.external_20241023_RC01 (DOGFOOD)https://developer.android.com/preview/feedback#feedback-app .
To learn more about our feedback process, please visit