Indeed. The reason that pressure altimeters work on airplanes is because your starting altitude is known and you calibrate the barometer at that point. As the flight progresses, you keep it updated depending on weather readings on the ground.
But I guess the phone can just get this information from the Internet. (Or it can just set itself to 29.92 if the GPS says you're above 18,000 feet!)