The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2008 The Android Open Source Project |
| 3 | * All rights reserved. |
| 4 | * |
| 5 | * Redistribution and use in source and binary forms, with or without |
| 6 | * modification, are permitted provided that the following conditions |
| 7 | * are met: |
| 8 | * * Redistributions of source code must retain the above copyright |
| 9 | * notice, this list of conditions and the following disclaimer. |
| 10 | * * Redistributions in binary form must reproduce the above copyright |
| 11 | * notice, this list of conditions and the following disclaimer in |
| 12 | * the documentation and/or other materials provided with the |
| 13 | * distribution. |
| 14 | * |
| 15 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 16 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 17 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 18 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
| 19 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
| 20 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
| 21 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS |
| 22 | * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
| 23 | * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
| 24 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT |
| 25 | * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 26 | * SUCH DAMAGE. |
| 27 | */ |
| 28 | |
Elliott Hughes | 18a206c | 2012-10-29 17:37:13 -0700 | [diff] [blame] | 29 | #include "linker.h" |
Elliott Hughes | 18a206c | 2012-10-29 17:37:13 -0700 | [diff] [blame] | 30 | |
Elliott Hughes | 84114c8 | 2013-07-17 13:33:19 -0700 | [diff] [blame] | 31 | #include <errno.h> |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 32 | #include <inttypes.h> |
Elliott Hughes | 84114c8 | 2013-07-17 13:33:19 -0700 | [diff] [blame] | 33 | #include <signal.h> |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 34 | #include <stdio.h> |
| 35 | #include <stdlib.h> |
Elliott Hughes | 84114c8 | 2013-07-17 13:33:19 -0700 | [diff] [blame] | 36 | #include <sys/mman.h> |
Marco Nelissen | 3df3e67 | 2012-03-07 09:04:18 -0800 | [diff] [blame] | 37 | #include <sys/prctl.h> |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 38 | #include <sys/socket.h> |
David 'Digit' Turner | 8bff9a3 | 2010-06-10 18:29:33 -0700 | [diff] [blame] | 39 | #include <sys/un.h> |
Elliott Hughes | 84114c8 | 2013-07-17 13:33:19 -0700 | [diff] [blame] | 40 | #include <unistd.h> |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 41 | |
Elliott Hughes | 18a206c | 2012-10-29 17:37:13 -0700 | [diff] [blame] | 42 | extern "C" int tgkill(int tgid, int tid, int sig); |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 43 | |
Elliott Hughes | f858bd1 | 2014-01-31 16:56:39 -0800 | [diff] [blame] | 44 | #if __LP64__ |
| 45 | #define DEBUGGER_SOCKET_NAME "android:debuggerd64" |
| 46 | #else |
Jeff Brown | b7630f0 | 2012-06-06 18:37:48 -0700 | [diff] [blame] | 47 | #define DEBUGGER_SOCKET_NAME "android:debuggerd" |
Elliott Hughes | f858bd1 | 2014-01-31 16:56:39 -0800 | [diff] [blame] | 48 | #endif |
Jeff Brown | b7630f0 | 2012-06-06 18:37:48 -0700 | [diff] [blame] | 49 | |
Elliott Hughes | 18a206c | 2012-10-29 17:37:13 -0700 | [diff] [blame] | 50 | enum debugger_action_t { |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 51 | // dump a crash |
| 52 | DEBUGGER_ACTION_CRASH, |
| 53 | // dump a tombstone file |
| 54 | DEBUGGER_ACTION_DUMP_TOMBSTONE, |
| 55 | // dump a backtrace only back to the socket |
| 56 | DEBUGGER_ACTION_DUMP_BACKTRACE, |
Elliott Hughes | 18a206c | 2012-10-29 17:37:13 -0700 | [diff] [blame] | 57 | }; |
Jeff Brown | b7630f0 | 2012-06-06 18:37:48 -0700 | [diff] [blame] | 58 | |
| 59 | /* message sent over the socket */ |
Elliott Hughes | 18a206c | 2012-10-29 17:37:13 -0700 | [diff] [blame] | 60 | struct debugger_msg_t { |
Elliott Hughes | 0d787c1 | 2013-04-04 13:46:46 -0700 | [diff] [blame] | 61 | // version 1 included: |
| 62 | debugger_action_t action; |
| 63 | pid_t tid; |
| 64 | |
| 65 | // version 2 added: |
| 66 | uintptr_t abort_msg_address; |
Elliott Hughes | b7e289e | 2014-04-25 16:02:00 -0700 | [diff] [blame] | 67 | |
| 68 | // version 3 added: |
| 69 | int32_t original_si_code; |
Elliott Hughes | 18a206c | 2012-10-29 17:37:13 -0700 | [diff] [blame] | 70 | }; |
David 'Digit' Turner | 7934a79 | 2009-10-16 12:13:34 -0700 | [diff] [blame] | 71 | |
Marco Nelissen | 3df3e67 | 2012-03-07 09:04:18 -0800 | [diff] [blame] | 72 | // see man(2) prctl, specifically the section about PR_GET_NAME |
| 73 | #define MAX_TASK_NAME_LEN (16) |
David 'Digit' Turner | 8bff9a3 | 2010-06-10 18:29:33 -0700 | [diff] [blame] | 74 | |
Elliott Hughes | 18a206c | 2012-10-29 17:37:13 -0700 | [diff] [blame] | 75 | static int socket_abstract_client(const char* name, int type) { |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 76 | sockaddr_un addr; |
David 'Digit' Turner | 8bff9a3 | 2010-06-10 18:29:33 -0700 | [diff] [blame] | 77 | |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 78 | // Test with length +1 for the *initial* '\0'. |
| 79 | size_t namelen = strlen(name); |
| 80 | if ((namelen + 1) > sizeof(addr.sun_path)) { |
| 81 | errno = EINVAL; |
| 82 | return -1; |
| 83 | } |
David 'Digit' Turner | 8bff9a3 | 2010-06-10 18:29:33 -0700 | [diff] [blame] | 84 | |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 85 | // This is used for abstract socket namespace, we need |
| 86 | // an initial '\0' at the start of the Unix socket path. |
| 87 | // |
| 88 | // Note: The path in this case is *not* supposed to be |
| 89 | // '\0'-terminated. ("man 7 unix" for the gory details.) |
| 90 | memset(&addr, 0, sizeof(addr)); |
| 91 | addr.sun_family = AF_LOCAL; |
| 92 | addr.sun_path[0] = 0; |
| 93 | memcpy(addr.sun_path + 1, name, namelen); |
David 'Digit' Turner | 8bff9a3 | 2010-06-10 18:29:33 -0700 | [diff] [blame] | 94 | |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 95 | socklen_t alen = namelen + offsetof(sockaddr_un, sun_path) + 1; |
David 'Digit' Turner | 8bff9a3 | 2010-06-10 18:29:33 -0700 | [diff] [blame] | 96 | |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 97 | int s = socket(AF_LOCAL, type, 0); |
| 98 | if (s == -1) { |
| 99 | return -1; |
| 100 | } |
David 'Digit' Turner | 8bff9a3 | 2010-06-10 18:29:33 -0700 | [diff] [blame] | 101 | |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 102 | int rc = TEMP_FAILURE_RETRY(connect(s, reinterpret_cast<sockaddr*>(&addr), alen)); |
| 103 | if (rc == -1) { |
| 104 | close(s); |
| 105 | return -1; |
| 106 | } |
David 'Digit' Turner | 8bff9a3 | 2010-06-10 18:29:33 -0700 | [diff] [blame] | 107 | |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 108 | return s; |
David 'Digit' Turner | 8bff9a3 | 2010-06-10 18:29:33 -0700 | [diff] [blame] | 109 | } |
| 110 | |
Andy McFadden | ec92af8 | 2011-07-29 12:46:34 -0700 | [diff] [blame] | 111 | /* |
Andy McFadden | 1db6f2d | 2012-10-02 13:53:13 -0700 | [diff] [blame] | 112 | * Writes a summary of the signal to the log file. We do this so that, if |
| 113 | * for some reason we're not able to contact debuggerd, there is still some |
| 114 | * indication of the failure in the log. |
Andy McFadden | ec92af8 | 2011-07-29 12:46:34 -0700 | [diff] [blame] | 115 | * |
| 116 | * We could be here as a result of native heap corruption, or while a |
| 117 | * mutex is being held, so we don't want to use any libc functions that |
| 118 | * could allocate memory or hold a lock. |
| 119 | */ |
Elliott Hughes | 84114c8 | 2013-07-17 13:33:19 -0700 | [diff] [blame] | 120 | static void log_signal_summary(int signum, const siginfo_t* info) { |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 121 | const char* signal_name = "???"; |
| 122 | bool has_address = false; |
| 123 | switch (signum) { |
| 124 | case SIGILL: |
| 125 | signal_name = "SIGILL"; |
| 126 | has_address = true; |
| 127 | break; |
| 128 | case SIGABRT: |
| 129 | signal_name = "SIGABRT"; |
| 130 | break; |
| 131 | case SIGBUS: |
| 132 | signal_name = "SIGBUS"; |
| 133 | has_address = true; |
| 134 | break; |
| 135 | case SIGFPE: |
| 136 | signal_name = "SIGFPE"; |
| 137 | has_address = true; |
| 138 | break; |
| 139 | case SIGSEGV: |
| 140 | signal_name = "SIGSEGV"; |
| 141 | has_address = true; |
| 142 | break; |
Raghu Gandham | d7daacb | 2012-07-31 12:07:22 -0700 | [diff] [blame] | 143 | #if defined(SIGSTKFLT) |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 144 | case SIGSTKFLT: |
| 145 | signal_name = "SIGSTKFLT"; |
| 146 | break; |
Raghu Gandham | d7daacb | 2012-07-31 12:07:22 -0700 | [diff] [blame] | 147 | #endif |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 148 | case SIGPIPE: |
| 149 | signal_name = "SIGPIPE"; |
| 150 | break; |
| 151 | } |
Andy McFadden | ec92af8 | 2011-07-29 12:46:34 -0700 | [diff] [blame] | 152 | |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 153 | char thread_name[MAX_TASK_NAME_LEN + 1]; // one more for termination |
| 154 | if (prctl(PR_GET_NAME, (unsigned long)thread_name, 0, 0, 0) != 0) { |
| 155 | strcpy(thread_name, "<name unknown>"); |
| 156 | } else { |
| 157 | // short names are null terminated by prctl, but the man page |
| 158 | // implies that 16 byte names are not. |
| 159 | thread_name[MAX_TASK_NAME_LEN] = 0; |
| 160 | } |
Elliott Hughes | 18a206c | 2012-10-29 17:37:13 -0700 | [diff] [blame] | 161 | |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 162 | // "info" will be NULL if the siginfo_t information was not available. |
| 163 | // Many signals don't have an address or a code. |
| 164 | char code_desc[32]; // ", code -6" |
| 165 | char addr_desc[32]; // ", fault addr 0x1234" |
| 166 | addr_desc[0] = code_desc[0] = 0; |
| 167 | if (info != NULL) { |
| 168 | // For a rethrown signal, this si_code will be right and the one debuggerd shows will |
| 169 | // always be SI_TKILL. |
| 170 | snprintf(code_desc, sizeof(code_desc), ", code %d", info->si_code); |
| 171 | if (has_address) { |
| 172 | snprintf(addr_desc, sizeof(addr_desc), ", fault addr %p", info->si_addr); |
Andy McFadden | 1db6f2d | 2012-10-02 13:53:13 -0700 | [diff] [blame] | 173 | } |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 174 | } |
| 175 | __libc_format_log(ANDROID_LOG_FATAL, "libc", |
| 176 | "Fatal signal %d (%s)%s%s in tid %d (%s)", |
| 177 | signum, signal_name, code_desc, addr_desc, gettid(), thread_name); |
Andy McFadden | ec92af8 | 2011-07-29 12:46:34 -0700 | [diff] [blame] | 178 | } |
| 179 | |
| 180 | /* |
Andy McFadden | 1db6f2d | 2012-10-02 13:53:13 -0700 | [diff] [blame] | 181 | * Returns true if the handler for signal "signum" has SA_SIGINFO set. |
| 182 | */ |
Elliott Hughes | 84114c8 | 2013-07-17 13:33:19 -0700 | [diff] [blame] | 183 | static bool have_siginfo(int signum) { |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 184 | struct sigaction old_action, new_action; |
Andy McFadden | 1db6f2d | 2012-10-02 13:53:13 -0700 | [diff] [blame] | 185 | |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 186 | memset(&new_action, 0, sizeof(new_action)); |
| 187 | new_action.sa_handler = SIG_DFL; |
| 188 | new_action.sa_flags = SA_RESTART; |
| 189 | sigemptyset(&new_action.sa_mask); |
Andy McFadden | 1db6f2d | 2012-10-02 13:53:13 -0700 | [diff] [blame] | 190 | |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 191 | if (sigaction(signum, &new_action, &old_action) < 0) { |
| 192 | __libc_format_log(ANDROID_LOG_WARN, "libc", "Failed testing for SA_SIGINFO: %s", |
| 193 | strerror(errno)); |
| 194 | return false; |
| 195 | } |
| 196 | bool result = (old_action.sa_flags & SA_SIGINFO) != 0; |
Andy McFadden | 1db6f2d | 2012-10-02 13:53:13 -0700 | [diff] [blame] | 197 | |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 198 | if (sigaction(signum, &old_action, NULL) == -1) { |
| 199 | __libc_format_log(ANDROID_LOG_WARN, "libc", "Restore failed in test for SA_SIGINFO: %s", |
| 200 | strerror(errno)); |
| 201 | } |
| 202 | return result; |
Andy McFadden | 1db6f2d | 2012-10-02 13:53:13 -0700 | [diff] [blame] | 203 | } |
| 204 | |
Elliott Hughes | b7e289e | 2014-04-25 16:02:00 -0700 | [diff] [blame] | 205 | static void send_debuggerd_packet(siginfo_t* info) { |
| 206 | int s = socket_abstract_client(DEBUGGER_SOCKET_NAME, SOCK_STREAM); |
| 207 | if (s == -1) { |
| 208 | __libc_format_log(ANDROID_LOG_FATAL, "libc", "Unable to open connection to debuggerd: %s", |
| 209 | strerror(errno)); |
| 210 | return; |
| 211 | } |
| 212 | |
| 213 | // debuggerd knows our pid from the credentials on the |
| 214 | // local socket but we need to tell it the tid of the crashing thread. |
| 215 | // debuggerd will be paranoid and verify that we sent a tid |
| 216 | // that's actually in our process. |
| 217 | debugger_msg_t msg; |
| 218 | msg.action = DEBUGGER_ACTION_CRASH; |
| 219 | msg.tid = gettid(); |
| 220 | msg.abort_msg_address = reinterpret_cast<uintptr_t>(gAbortMessage); |
| 221 | msg.original_si_code = (info != NULL) ? info->si_code : 0; |
| 222 | int ret = TEMP_FAILURE_RETRY(write(s, &msg, sizeof(msg))); |
| 223 | if (ret == sizeof(msg)) { |
| 224 | char debuggerd_ack; |
| 225 | ret = TEMP_FAILURE_RETRY(read(s, &debuggerd_ack, 1)); |
| 226 | int saved_errno = errno; |
| 227 | notify_gdb_of_libraries(); |
| 228 | errno = saved_errno; |
| 229 | } else { |
| 230 | // read or write failed -- broken connection? |
| 231 | __libc_format_log(ANDROID_LOG_FATAL, "libc", "Failed while talking to debuggerd: %s", |
| 232 | strerror(errno)); |
| 233 | } |
| 234 | |
| 235 | close(s); |
| 236 | } |
| 237 | |
Andy McFadden | 1db6f2d | 2012-10-02 13:53:13 -0700 | [diff] [blame] | 238 | /* |
Andy McFadden | ec92af8 | 2011-07-29 12:46:34 -0700 | [diff] [blame] | 239 | * Catches fatal signals so we can ask debuggerd to ptrace us before |
| 240 | * we crash. |
| 241 | */ |
Elliott Hughes | b7e289e | 2014-04-25 16:02:00 -0700 | [diff] [blame] | 242 | static void debuggerd_signal_handler(int signal_number, siginfo_t* info, void*) { |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 243 | // It's possible somebody cleared the SA_SIGINFO flag, which would mean |
| 244 | // our "info" arg holds an undefined value. |
| 245 | if (!have_siginfo(signal_number)) { |
| 246 | info = NULL; |
| 247 | } |
| 248 | |
| 249 | log_signal_summary(signal_number, info); |
| 250 | |
Elliott Hughes | b7e289e | 2014-04-25 16:02:00 -0700 | [diff] [blame] | 251 | send_debuggerd_packet(info); |
Andy McFadden | ca9a071 | 2012-03-08 11:14:37 -0800 | [diff] [blame] | 252 | |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 253 | // Remove our net so we fault for real when we return. |
| 254 | signal(signal_number, SIG_DFL); |
| 255 | |
| 256 | // These signals are not re-thrown when we resume. This means that |
| 257 | // crashing due to (say) SIGPIPE doesn't work the way you'd expect it |
| 258 | // to. We work around this by throwing them manually. We don't want |
Elliott Hughes | b7e289e | 2014-04-25 16:02:00 -0700 | [diff] [blame] | 259 | // to do this for *all* signals because it'll screw up the si_addr for |
| 260 | // faults like SIGSEGV. It does screw up the si_code, which is why we |
| 261 | // passed that to debuggerd above. |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 262 | switch (signal_number) { |
| 263 | case SIGABRT: |
| 264 | case SIGFPE: |
| 265 | case SIGPIPE: |
Elliott Hughes | 4eeb1f1 | 2013-10-25 17:38:02 -0700 | [diff] [blame] | 266 | #if defined(SIGSTKFLT) |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 267 | case SIGSTKFLT: |
Raghu Gandham | d7daacb | 2012-07-31 12:07:22 -0700 | [diff] [blame] | 268 | #endif |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 269 | tgkill(getpid(), gettid(), signal_number); |
| 270 | break; |
| 271 | default: // SIGILL, SIGBUS, SIGSEGV |
| 272 | break; |
| 273 | } |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 274 | } |
| 275 | |
Elliott Hughes | b7e289e | 2014-04-25 16:02:00 -0700 | [diff] [blame] | 276 | __LIBC_HIDDEN__ void debuggerd_init() { |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 277 | struct sigaction action; |
| 278 | memset(&action, 0, sizeof(action)); |
| 279 | sigemptyset(&action.sa_mask); |
| 280 | action.sa_sigaction = debuggerd_signal_handler; |
| 281 | action.sa_flags = SA_RESTART | SA_SIGINFO; |
Andy McFadden | ec92af8 | 2011-07-29 12:46:34 -0700 | [diff] [blame] | 282 | |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 283 | // Use the alternate signal stack if available so we can catch stack overflows. |
| 284 | action.sa_flags |= SA_ONSTACK; |
Elliott Hughes | 84114c8 | 2013-07-17 13:33:19 -0700 | [diff] [blame] | 285 | |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 286 | sigaction(SIGABRT, &action, NULL); |
| 287 | sigaction(SIGBUS, &action, NULL); |
| 288 | sigaction(SIGFPE, &action, NULL); |
| 289 | sigaction(SIGILL, &action, NULL); |
| 290 | sigaction(SIGPIPE, &action, NULL); |
| 291 | sigaction(SIGSEGV, &action, NULL); |
Raghu Gandham | d7daacb | 2012-07-31 12:07:22 -0700 | [diff] [blame] | 292 | #if defined(SIGSTKFLT) |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 293 | sigaction(SIGSTKFLT, &action, NULL); |
Raghu Gandham | d7daacb | 2012-07-31 12:07:22 -0700 | [diff] [blame] | 294 | #endif |
Elliott Hughes | 17e6a98 | 2014-04-18 17:39:25 -0700 | [diff] [blame] | 295 | sigaction(SIGTRAP, &action, NULL); |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 296 | } |