四月工作總結

一、            總結

1.  獲取驅動相關Log2012-04-20

         驅動需要kmsg log進行查看log。如下命令取得。

adb shell cat /proc/kmsg > kernel.log

2.  內存泄露分析 2012-04-09

 

GLOptionItem.java的成員變量

privatestatic ResourceTexturesCheckOn;

private static ResourceTexturesCheckOff;

被定義爲靜態,且這兩個成員變量在創建時保存了context上下文,在GLOptionItem銷燬時,sCheckOn、sCheckOff並沒有銷燬,而此時的context卻已經銷燬,出現內存泄露。見如下代碼

sCheckOn = new ResourceTexture(context,R.drawable.ic_menuselect_on);

       sCheckOff = new ResourceTexture(context, R.drawable.ic_menuselect_off);

3.  ARGONSPIN-730  [Cellon][File Manager]The picture displayabnormally Level 3 when SDcard memory full. 2012-04-09

[initial condition]
insert one full sdcard with lots of pictures.

[Steps]
1.Enter File Manager
2.Select a picture->tap it to view

[Defect]
view the picture, the number of pictures not right. slide it, the number bemore and show the pictures of other folders.

[Expectation]
the number should show right and only show the pictures of current folder

 

總結:

         1)MediaScannerReceiver中接收不到filemanager發送的intent消息,因此需要filemanager發送對應intent消息(ACTION_MEDIA_SCANNER_SCAN_FILE)即可調用到scanfile掃描更新的文件進行數據庫更新等操作。

 

 

4.   當後置從MMS進入videocamera,需要加上toast提示用戶需要使用前置攝像頭 2012-04-17

         但是在未修改代碼情況下,出現fc,之前解決該問題時一切正常。

 

         分析:

         1)對比之前代碼,未發現影響到此問題的代碼。

         2)其實之前就存在該問題,是死循環。

                   readVideoPreferences中,因爲quality設置爲“mms”,同時調用readVideoPreferences,出現不斷調用該函數。

         Hint text就在oncreate中顯示。

 

         解決方案:

1) 針對死循環問題,增加設置quality的條件判斷。

2) 在oncreate中顯示hint text。

 

5.  用戶體驗相關

         多些從用戶角度考慮,例如第四項。

 

6.  關於老代的提醒

能做到100%,就不要只做到9
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章