AOSP/Calendar - Add Kotlin code for SimpleDayPickerFragment.kt. Also uploaded corresponding Android.bp file
A few functions required override modifiers and a few variable declarations to include nullability references. I also added @JvmField annotations to the instance variables in both classes. Because SimpleDayPickerFragment is a parent class, a few overriden methods were marked as "open" as opposed to "final".
Test: manual (ran build and unit tests) and CTS testing suite
$ source build/envsetup.sh
$ lunch aosp_bonito-userdebug
$ make Calendar
$ adb install -r -d -t out/target/product/bonito/product/app/Calendar/Calendar.apk
$ make CalendarTests -j
$ adb install -r -d -t out/target/product/bonito/testcases/CalendarTests/arm64/CalendarTests.apk
$ adb shell am instrument -w com.android.calendar.tests
com.android.calendar.FormatDateRangeTest:.
com.android.calendar.UtilsTests:..................
com.android.calendar.WeekNumberTest:.
com.android.calendar.widget.CalendarAppWidgetServiceTest:..
Test results for InstrumentationTestRunner=......................
Time: 0.148
OK (22 tests)
CTS TESTING:
$ tools/cts-tradefed
cts-tf > run cts -m CtsProviderTestCases
============================================
================= Results ==================
=============== Consumed Time ==============
arm64-v8a CtsProviderTestCases: 14m 1s
Total aggregated tests run time: 14m 1s
============== TOP 1 Slow Modules ==============
arm64-v8a CtsProviderTestCases: 0.45 tests/sec [376 tests / 841553 msec]
============== Modules Preparation Times ==============
arm64-v8a CtsProviderTestCases => prep = 12894 ms || clean = 3057 ms
Total preparation time: 12s || Total tear down time: 3s
=======================================================
=============== Summary ===============
Total Run time: 20m 22s
1/1 modules completed
Total Tests : 376
PASSED : 362
FAILED : 0
IGNORED : 6
ASSUMPTION_FAILURE: 8
============== End of Results ==============
============================================
Change-Id: I72d1ec3e631c9c79ebea306c72b857bdbbc8b5d3
2 files changed