A magnitude 4.4 earthquake struck near Devore, in San Bernardino Country, California, the U.S. Geological Survey said.