diff --git a/res/layout/app_preferred_settings.xml b/res/layout/app_preferred_settings.xml
index 7c6a45f04de..533887d0aba 100644
--- a/res/layout/app_preferred_settings.xml
+++ b/res/layout/app_preferred_settings.xml
@@ -1,21 +1,20 @@
+
+
+
+
+
+
diff --git a/res/layout/installed_app_details.xml b/res/layout/installed_app_details.xml
index ccbe10568a6..cebec28e7c4 100644
--- a/res/layout/installed_app_details.xml
+++ b/res/layout/installed_app_details.xml
@@ -16,6 +16,7 @@
** limitations under the License.
*/
-->
+
+
+
(Slot%1$d)
-
+
Launch by default
-
+
%1$s used in %2$s
-
+
internal memory
-
+
external memory
-
+
On
-
+
Block
-
+
Sensitive
-
+
Priority
-
+
Priority & Sensitive
-
+
- %d permission granted
- %d permissions granted
-
+
Some defaults set
-
+
No defaults set
diff --git a/src/com/android/settings/AppHeader.java b/src/com/android/settings/AppHeader.java
index 5cd126a3c65..cd76e80355b 100644
--- a/src/com/android/settings/AppHeader.java
+++ b/src/com/android/settings/AppHeader.java
@@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
package com.android.settings;
import android.app.Activity;
diff --git a/src/com/android/settings/applications/AppInfoBase.java b/src/com/android/settings/applications/AppInfoBase.java
index 2203a213a56..81edde239d4 100644
--- a/src/com/android/settings/applications/AppInfoBase.java
+++ b/src/com/android/settings/applications/AppInfoBase.java
@@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
package com.android.settings.applications;
import android.app.Activity;
@@ -151,15 +152,29 @@ public abstract class AppInfoBase extends PreferenceFragment
protected abstract AlertDialog createDialog(int id, int errorCode);
@Override
- public void onRunningStateChanged(boolean running) { }
+ public void onRunningStateChanged(boolean running) {
+ // No op.
+ }
+
@Override
- public void onRebuildComplete(ArrayList apps) { }
+ public void onRebuildComplete(ArrayList apps) {
+ // No op.
+ }
+
@Override
- public void onPackageIconChanged() { }
+ public void onPackageIconChanged() {
+ // No op.
+ }
+
@Override
- public void onPackageSizeChanged(String packageName) { }
+ public void onPackageSizeChanged(String packageName) {
+ // No op.
+ }
+
@Override
- public void onAllSizesComputed() { }
+ public void onAllSizesComputed() {
+ // No op.
+ }
@Override
public void onPackageListChanged() {
diff --git a/src/com/android/settings/applications/AppLaunchSettings.java b/src/com/android/settings/applications/AppLaunchSettings.java
index 637910261fc..24a6fe04fcb 100644
--- a/src/com/android/settings/applications/AppLaunchSettings.java
+++ b/src/com/android/settings/applications/AppLaunchSettings.java
@@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
package com.android.settings.applications;
import android.app.AlertDialog;
diff --git a/src/com/android/settings/applications/AppPermissionSettings.java b/src/com/android/settings/applications/AppPermissionSettings.java
index a5b48959f7a..496faf5dd63 100644
--- a/src/com/android/settings/applications/AppPermissionSettings.java
+++ b/src/com/android/settings/applications/AppPermissionSettings.java
@@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
package com.android.settings.applications;
import android.app.AlertDialog;
diff --git a/src/com/android/settings/applications/AppStorageSettings.java b/src/com/android/settings/applications/AppStorageSettings.java
index 5ae5e8f9464..3df01ed7fab 100644
--- a/src/com/android/settings/applications/AppStorageSettings.java
+++ b/src/com/android/settings/applications/AppStorageSettings.java
@@ -45,7 +45,7 @@ import com.android.settings.applications.ApplicationsState.AppEntry;
import com.android.settings.applications.ApplicationsState.Callbacks;
public class AppStorageSettings extends AppInfoWithHeader implements OnClickListener, Callbacks {
- private static final String TAG = "AppStorageSettings";
+ private static final String TAG = AppStorageSettings.class.getSimpleName();
//internal constants used in Handler
private static final int OP_SUCCESSFUL = 1;
diff --git a/src/com/android/settings/applications/HeaderPreference.java b/src/com/android/settings/applications/HeaderPreference.java
index 57fe9f37e12..a3d4bde123d 100644
--- a/src/com/android/settings/applications/HeaderPreference.java
+++ b/src/com/android/settings/applications/HeaderPreference.java
@@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
package com.android.settings.applications;
import android.content.Context;