oc_ael: clear events_size during RESETs

Signed-off-by: Kishen Maloor <kishen.maloor@intel.com>
6 jobs for 0327 in 4 minutes and 36 seconds
Status Job ID Name Coverage
  Build
failed #1607
Android_build

00:01:55

passed #1602
Linux_Secured_Test

00:02:11

passed #1603
Linux_Unsecured_Test

00:01:45

passed #1605
whitespace_and_doxygen

00:00:39

failed #1606
Android_build

00:01:52

failed #1604
Android_build

00:02:39

 
Name Stage Failure
failed
Android_build Build
  inflating: android-sdk-linux/tools/support/typos-tr.txt  
inflating: android-sdk-linux/tools/support/typos-pt.txt
inflating: android-sdk-linux/tools/support/typos-it.txt
inflating: android-sdk-linux/tools/support/typos-nb.txt
inflating: android-sdk-linux/tools/support/typos-hu.txt
$ echo y | android-sdk-linux/tools/bin/sdkmanager "ndk-bundle" >/dev/null
Warning: File /root/.android/repositories.cfg could not be loaded.
Warning: An error occurred during installation: /tmp/PackageOperation01/unzip/android-ndk-r21/toolchains/llvm/prebuilt/linux-x86_64/lib/bfd-plugins/LLVMgold.so -> /builds/iotivity/iotivity-lite/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/lib/bfd-plugins/LLVMgold.so: No space left on device.
ERROR: Job failed: exit code 1