Re: [android-developers] Detecting app is pre-installed after it gets updated via android market

2011-07-20 Thread Dianne Hackborn
FLAG_SYSTEM means the app was originally installed on the system image. If your app is pre-installed, and an update is installed from Market, FLAG_SYSTEM is still set for the updated app. On Tue, Jul 19, 2011 at 8:08 PM, dan raaka danra...@gmail.com wrote: I have a app with versionCode=1,

Re: [android-developers] Detecting app is pre-installed after it gets updated via android market

2011-07-20 Thread dan raaka
Thanks. -Dan On Wed, Jul 20, 2011 at 12:21 AM, Dianne Hackborn hack...@android.comwrote: FLAG_SYSTEM means the app was originally installed on the system image. If your app is pre-installed, and an update is installed from Market, FLAG_SYSTEM is still set for the updated app. On Tue, Jul

[android-developers] Detecting app is pre-installed after it gets updated via android market

2011-07-19 Thread dan raaka
I have a app with versionCode=1, pre-installed on the device (ie. the app is placed under /system/app partition) Then I post an app updated, versionCode=2, on the android market and the user download the updates the app. So, the updated app on the device is located @ /data/app Under this scenario