AOSP/Calendar - Fix the crash bug. Deleted a code fragment that remained that was selecting and viewing of the calendar events..

Bug: 122643303

Test: manual - Ran the following CTS tests on Pixel phone. Tested the calendar UI.

$ make -j 40
$ adb install -r out/target/product/marlin/system/app/Calendar/Calendar.apk
$ make CalendarTests -j
$ adb install -r out/target/product/marlin/testcases/CalendarTests/CalendarTests.apk

$ adb shell am instrument -w com.android.calendar.tests (same as before)
  Tests run: 22,  Failures: 1,  Errors: 0

$ ./development/testrunner/runtest.py --path cts/tests/tests/provider/src/android/provider/cts/CalendarTest.java
  adb  shell am instrument -e class 'android.provider.cts.CalendarTest' -w 'android.provider.cts/android.support.test.runner.AndroidJUnitRunner'
  android.provider.cts.CalendarTest:................................
  Time: 15.914
  OK (32 tests)

$ ./development/testrunner/runtest.py --path cts/tests/tests/content/src/android/content/cts/AvailableIntentsTest.java
  android.content.cts.AvailableIntentsTest:.................................
  Time: 0.317
  OK (33 tests)

$ ./development/testrunner/runtest.py --path cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/src/com/android/cts/privilegedupdate/PrivilegedUpdateTest.java
  com.android.cts.privilegedupdate.PrivilegedUpdateTest:...
  Time: 0.082
  OK (3 tests)

$ ./development/testrunner/runtest.py --path cts/tests/tests/permission2/src/android/permission2/cts/ProtectedBroadcastsTest.java
  android.permission2.cts.ProtectedBroadcastsTest:..
  Time: 0.097
  OK (2 tests)

Change-Id: I2195d5f1e88a039622bda68cd649bcc5d6cc35cc
3 files changed