From 9411d7f0bdde26b7d3f661fb4f720635d7715b98 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 18 Nov 2013 18:48:29 +0100 Subject: [PATCH] Add application name to title of application details view Refs #777 --- CHANGELOG.md | 1 + src/biz/bokhorst/xprivacy/ActivityApp.java | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9b78e591..923d5fe65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ Changelog * Move selecting accounts to allow to free version * Move settings Android usage data / extra usage data to expert mode +* Add application name to title of application details view **Version 1.10.18 TEST** diff --git a/src/biz/bokhorst/xprivacy/ActivityApp.java b/src/biz/bokhorst/xprivacy/ActivityApp.java index 4ef995887..631e6ca8d 100644 --- a/src/biz/bokhorst/xprivacy/ActivityApp.java +++ b/src/biz/bokhorst/xprivacy/ActivityApp.java @@ -127,6 +127,9 @@ public void onCreate(Bundle savedInstanceState) { return; } + // Set title + setTitle(String.format("%s - %s", getString(R.string.app_name), mAppInfo.getFirstApplicationName())); + // Handle info click ImageView imgInfo = (ImageView) findViewById(R.id.imgInfo); imgInfo.setOnClickListener(new View.OnClickListener() {