• Hiroaki Miyazawa's avatar
    Fixed type mismatch for ioctl(BLKGETSIZE) · 14eab550
    Hiroaki Miyazawa authored
    ioctl(BLKGETSIZE) expects unsigned long
    (8 bytes on 64 bit environment).
    
    This is fixing fails in android.os.storage.StorageManagerIntegrationTest
    (in FrameworkCoreTests).
    
    To verify, install FrameworksCoreTests.apk and do:
    
    adb shell am instrument -r -w -e class android.os.storage.\
    StorageManagerIntegrationTest#testMountSingleEncryptedObb \
    com.android.frameworks.coretests/android.test.InstrumentationTestRunner
    
    Change-Id: Ib6d5c7490c02521c93f107c35ad0aac49f6a3f1a
    14eab550