why in the API Demo's AlarmService_Service.java, it says“just sleep for 30 seconds” instead of 15 seconds?
问题 I just looked through the AlarmService sample in the Android API Demo(API 8). When the AlarmManager in the AlarmService.java file use setRepeating() method to schedule the alarm, the service will create a new thread in the AlarmService_Service.java file. My question is: In the run() method of the mTask Runnable object, why it says "we will just sleep for 30 seconds."? My understanding is: the thread starts, and it waits/sleeps for 15 seconds(NOT 30 seconds), then this thread will be stop by