Back to project page HistoryCleanerPro.
The source code is released under:
Copyright (c) 2014, John Phillips All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
If you think the Android project HistoryCleanerPro listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.ayros.historycleaner.cleaning.items; // w w w . ja va2s .c o m import com.ayros.historycleaner.Globals; import com.ayros.historycleaner.cleaning.Category; import com.ayros.historycleaner.cleaning.CleanItem; import com.ayros.historycleaner.helpers.DBHelper; import com.ayros.historycleaner.helpers.RootHelper; public class _ONEBrowser_Cache extends CleanItem { public _ONEBrowser_Cache(Category parent) { super(parent); } @Override public String getDisplayName() { return "Cache"; } @Override public String getPackageName() { return "com.tencent.ibibo.mtt"; } @Override public boolean clean() { if (!RootHelper.deleteFileOrFolder(getDataPath() + "/cache/*", false)) { return false; } return DBHelper.updateDatabase ( Globals.getContext(), getDataPath() + "/databases/webviewCache_x5.db", new String[] { "DELETE FROM cache;" } ); } }