History log of /packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7574b6491029f4830de2e1db0962d301b41083f4 01-Aug-2016 Doris Ling <dling@google.com> Fix crash when selecting AppInfo for uninstalled app from Recents.

When an app is uninstalled, the corresponding app info is not removed
fromi the Recents tasks. If user selects that app info entry from the
recents tasks, it will failed to retrieve the app detail as the package
is already removed.

Add the package removed event listener in InstalledAppDetails such
that when the package has been unintalled, its app info task will also
be removed from Recents.

Change-Id: I771507f8f53017f87eda31ddef77a95e30921cbf
Fixes: 28671923

Fix app info crashes when package is uninstalled from terminal.

Move start listening to the package removed intents to onCreate()
and continue listening throughout the whole lifecycle of the activity so
that if user unintall the package in the background, it will still be
notified.

Change-Id: I889b0ea3e1245be83750d73349ed3a0f85a51783
Fixes: 28671923

Fix crash in Storage app info when the corresponding app is uninstalled
in the background.

1. Move the handling for package removal from InstalledAppDetails to
AppInfoBase so that all app info subclass will now finish
correspondingly if the package is uninstalled.
2. In InstalledAppDetails, when handling package removal, will also
finish the app info fragment that it starts earlier.

Change-Id: Id741e7475414045040dd0797ff3bc63ac214f400
Fixes: 27774473
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
6ba9e15c4af5085a8923ff2c3045061e667ef135 14-Jul-2016 Tony Mak <tonymak@google.com> Disallow user to block notification from OobConfig

Change-Id: I4680e5c5b596e81ac33d544d0d81de9df3b7587c
Fix: 29632126
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
54ce1da49d3674db33929581f3792e84a360edcd 21-Jun-2016 Steven Ng <stevenckng@google.com> Disable "disable" button for the device provision app in the Settings app

Bug: 29116229
Change-Id: I41076238f34f497c48cfd98a2466ac10cca6e989
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
30ee6ab320cc66575d6d09a654051ab8632a7a79 09-Jun-2016 Svet Ganov <svetoslavganov@google.com> Don't send user to permissions screen if none requested

bug:29105157

Change-Id: I90ef18f41deae9a7cf28192bd47f16c3af262c29
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
aed0537aaf433c6e858befbe19590deb77071d0a 13-May-2016 Sudheer Shanka <sudheersai@google.com> Guard against exception when getting package installer info.

Bug: 28742227
Change-Id: I8742c882ae6b18cb8f51a9da04170358a20a7d48
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
57e6a9144a0577308bd9888f3498c17ca96e4f5f 02-May-2016 Sudheer Shanka <sudheersai@google.com> Merge "Show app installer info even if it doesn't handle ACTION.APP_SHOW_INFO." into nyc-dev
7f62addc1082f5f926a04a83edf07675b1317019 14-Apr-2016 Svetoslav Ganov <svetoslavganov@google.com> Cleanup of the PackageInstaller API - Settings

The PackageInstaller app manages side-loading apps as well
as permission management. It should be updatable, hence
should rely on system APIs to talk to the platform. This
is the first step of defining an API boundary.

Change-Id: Ibb21114a7a9fa28f6db68492fe37c02c1b2f0c6b
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
c3eb16ed189f3ae908877e444f52a1c2f1d3bab5 21-Apr-2016 Sudheer Shanka <sudheersai@google.com> Show app installer info even if it doesn't handle ACTION.APP_SHOW_INFO.

- Also fix an issue where we are showing the app name instead of it's
installer name.

Bug: 28301883
Change-Id: I392f7d01f5ec4d1ba5b5030e33ebe8260ff5aa31
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
c3ab03ecdb505114770cbb87b61457fabf75847f 19-Apr-2016 Jason Monk <jmonk@google.com> Merge "Guard against app info crash" into nyc-dev
c2ef27faf4afca6c4f6634b5de975a1bdadf0752 15-Apr-2016 Felipe Leme <felipeal@google.com> Handle blacklisted apps on Data Saver whitelist.

When user blacklists an app for background data access, the
"Unrestricted data access" list should not display the whitelist toggle
option, but rather explain background access is turned off and offer the
option to open the app's data usage screen to turn it back on.

It still does not handle changed received by DataSaverBackend, so the UI
will be stale when the user removes a blacklist and navigates back to
the list.

BUG: 27481520

Change-Id: I9d0fa9f0180a69ce9bd1417921bf89ec3ba31f01
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
198d9f1cba686ab8e2c84c0ef300bdc79103e8f6 18-Apr-2016 Jason Monk <jmonk@google.com> Guard against app info crash

Change-Id: Ifb52ec61718723202e5ec7da5f9723a4764968ba
Fixes: 28171829
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
088fb52ef82a895e7c406909cdf12de63d8b4910 07-Apr-2016 Julia Reynolds <juliacr@google.com> Notification slider changes.

Bug: 27558254
Change-Id: I15635ae19e82a57d6e6fcb2f8f946f31bebf5d0f
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
d6807c37dc7d3bdde58e173cf348d9383dd4b3a5 07-Apr-2016 Sudheer Shanka <sudheersai@google.com> Add new section in Apps screen to show app installer name.

Bug: 27404193
Change-Id: I589a7618250dc1cd40deb282f0563ea65da62108
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
bacc708f96f8ff375261cbb3541b6b949b79e91a 30-Mar-2016 Amith Yamasani <yamasani@google.com> Don't prompt twice to uninstall updates

PackageInstaller is going to ask again, so skip
asking in Settings when user wants to uninstall
updates to a system app.

Bug: 26694521
Change-Id: I4335a4e9bfe54985eb58ba19a890caba06705bef
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
b5545c8395e5d67dc99bdeb53f5e7877c8bdb2d5 01-Mar-2016 Amith Yamasani <yamasani@google.com> Allow system apps to be disabled

If it is a single-user device, keep earlier behavior
of disabling and offering to downgrade the system app. If there
are other users, then only disable the app.

Bug: 26694521
Change-Id: I4e62fec6bb186afa5d4c3f29f5524783494dfb06
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
3e912e7ea537ae34234ccbe6fef9b2519a4da51b 08-Mar-2016 Julia Reynolds <juliacr@google.com> Notification summary updates.

Change-Id: I6b824acf27743637ca661b38b51c639ecf099208
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
beb5e5210b55926fa4a7302a9e9d00ef49f40314 01-Mar-2016 Julia Reynolds <juliacr@google.com> Notification filter changes.

Bug: 27403688
Change-Id: I560ab6fc4a46673c0be4244b24f90e7c937b0006
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
01a44916003ebdff399406405548c6058b114c5a 29-Feb-2016 Jason Monk <jmonk@google.com> Guard against apps with no permissions

Bug: 27355802
Change-Id: Iee8d9898af0e5910319cb47218ceee8da1352554
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
0f1e17b76cbf7c55e1bf582c164cc66424ce0ef8 24-Feb-2016 Gustav Sennton <gsennton@google.com> Merge "Block the user from enabling or disabling webview fallback packages." into nyc-dev
0c55bb103cb63df5b1e8665369f28251551d0524 23-Feb-2016 Jason Monk <jmonk@google.com> Show gear for apps that provide general settings intent

Bug: 27276982
Change-Id: If598e2901a25f5df2b76a87a95590a5ff831a2dc
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
2108d361bb1c4113d2250711d9ac8e6bc0de9245 23-Feb-2016 Jason Monk <jmonk@google.com> Add default app prefs to app info

This makes them easier to discover and to know the state of them.

Bug: 27276982
Change-Id: I24a9d34d7e189b19df39cc0b9028b6412f76aa05
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
a4e32a24c4f70c6c54a459cbeaf70a6eac63f52c 18-Feb-2016 Gustav Sennton <gsennton@google.com> Block the user from enabling or disabling webview fallback packages.

Now that we support webview fallback packages - packages that should be
enabled if and only if no other webview packages are available - we need
to ensure that the Settings UI consistently shows that these packages
cannot be enabled or disabled (e.g. the 'Enable' and 'Disable' buttons
for enabling/disabling them are greyed out).

Also, remove the Dialog that lets a user enable a disabled webview
package from the webview implementation Dev Setting. Instead show a
Toast if the user has chosen an invalid package.

Bug: 26375524, 26375860

Change-Id: I949083d3f7c83cd2e049dd2c5c15ec5ab880fe07
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
5d8e963c83fd9198cb66e7fc745f9ff2a1919c44 19-Feb-2016 Sudheer Shanka <sudheersai@google.com> Merge "Part3 - Don't add padlock if the restriction is not set by admin." into nyc-dev
ed5c50a9cb5b67c8eed9661221f8825b69dd4da8 12-Feb-2016 Julia Reynolds <juliacr@google.com> Delete Notification Topics.

Bug: 23220370
Change-Id: I072b68650af35ae3d5c5ccf6222dc31f5f36f9bb
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
9e9e63b7b3b31fcae7242eb07f528487e0913402 11-Feb-2016 Sudheer Shanka <sudheersai@google.com> Part3 - Don't add padlock if the restriction is not set by admin.

Bug: 26687435
Change-Id: Ibfea6d7d5bd32e7a05dcc2cc32b121c9e50b6a34
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
02a06eff4269e8b7958a5719a3733147086f8424 27-Jan-2016 Suprabh Shukla <suprabh@google.com> Adding an easy uninstall for active device admin

Currently the uninstall button is disabled for a package
with an active device admin. This change enables the button,
which when clicked gives the user an option to deactivate
all the DAs in the package and then uninstall the package.

Bug: b/22359208

cherry pick of I8b955305927751185a4c982dadb5b1b6b07efe5e

Change-Id: Ib2ab0e35b74fc8dba7168174b2bc8fd383fe94fe
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
e07f385ae0acfcf8466859cb65f883e0b9830d90 02-Feb-2016 Julia Reynolds <juliacr@google.com> Clarify notification blocking in notification app list.

Change summary to: Normal (nothing blocked), Partially blocked
(at least one topic blocked), or Totally blocked (entire app
blocked).

Allow filtering on apps that are partially or totally blocked.

Bug: 26882239
Change-Id: I29924147a97a3d1693b0286d48905485e11edf1d
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
9d1bfd1e8de6e46137a9571507c03526880d6a46 27-Jan-2016 Chris Wren <cwren@android.com> port settings over to new metrics enum

Change-Id: I0b3efd2f4db773ccbc52bfe59ee8eb0dab9584fb
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
ef550767b0b469534a94c293ea517a19778b58b0 15-Jan-2016 Sudheer Shanka <sudheersai@google.com> Trigger a support dialog when an action is disabled by policy

Change-Id: I847b481a16cce33fe7bd4040d38ec50ca62172c2
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
b37e2887d3112082589997f1bbd802ec282cca6d 11-Jan-2016 Jason Monk <jmonk@google.com> Update data usage UX

Update the UX and dig the data usage screen out of a huge whole of
technical debt. Switch every to use Preferences rather than standard
layouts and ListViews.

Split data usage into several fragments, all separated.

DataUsageSummary:
- Shows a summary of the 'default' usage at the top, this will be
the default sim on phones, or wifi if it has it, or ethernet
as last attempt to show something.
- Also has individual categories for each network type that has
data, cell, wifi, and ethernet. Maybe should look into bt though?

DataUsageList:
- Takes a NetworkTemplate as an input, and can only be reached from
the network specific categories in DataUsageSummary
- Shows a graph of current usage for that network and links to
app detail page for any app.
- Has gear link to quick get to billing cycle screen if available

BillingCycleSettings:
- Just a screen with the cycle day and warning/limits separated
out from the data usage.

AppDataUsage:
- App specific data usage details
- May need some UX iteration given lack of clarity in the spec

Bug: 22459566
Change-Id: I0222d8d7ea7b75a9775207a6026ebbdcce8f5e46
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
4cfe39f5397d037d106abf07db31b0e01484bd92 19-Nov-2015 Makoto Onuki <omakoto@google.com> Use explicit APIs to get device owner information

Bug 24676413

Change-Id: Id346c2f01658173c9671edcfd34bc33f1b25faa4
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
6f526fcaf3dc83a5988a522bfa2b542390ece234 19-Nov-2015 Julia Reynolds <juliacr@google.com> Migrate package level notification settings to topic level.

Bug: 22854014
Change-Id: If0c20bec3b3f8b01b86d195d2e7ff7aa1e15882e
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
69d0b67ee0049a318f6d78e3ea03bb96665c83ed 18-Nov-2015 Julia Reynolds <juliacr@google.com> Remove 'peekable' notification preference.

Bug: 22854014
Change-Id: I920185cd8c766436338d38a51663bd5480699f5d
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
3069581512bcb9687cb8d79675f6c4950c9ac087 17-Nov-2015 Jason Monk <jmonk@google.com> Summary support for Settings Home

Also add summaries to a few of the major items.

Change-Id: I17924f14941fe095d819e142cdd21cf4b4e9ffd1
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
dd9b3aa5de536507dc5eb1be9351b91d18de08d8 26-Oct-2015 Tony Mantler <nicoya@google.com> Merge "Move some app methods to AppUtils in SettingsLib"
4f4424a820688638930f871ad421e05588549ae5 21-Oct-2015 Tony Mantler <nicoya@google.com> Move some app methods to AppUtils in SettingsLib

Change-Id: I1503e9d0e35c57aae32f90ff2c148cf1b75dcf05
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
bcd1a8f73c2f5e409d3c7888b016e5bc9afb204f 23-Oct-2015 Jason Monk <jmonk@google.com> Fix crash in Settings from uninstall am: 6e2e8e17cf am: 34d6ea560d am: eccc9b3962
am: 652ba5e22e

* commit '652ba5e22e86fe031ca080f5bfe032f27008989a':
Fix crash in Settings from uninstall
34d6ea560d3935eef6e53e93d5bb7ba1a8148965 23-Oct-2015 Jason Monk <jmonk@google.com> Fix crash in Settings from uninstall
am: 6e2e8e17cf

* commit '6e2e8e17cfea09548067baa8b361dbc31dce385c':
Fix crash in Settings from uninstall
6e2e8e17cfea09548067baa8b361dbc31dce385c 23-Oct-2015 Jason Monk <jmonk@google.com> Fix crash in Settings from uninstall

Bug: 25171390
Change-Id: Idd0319a5c003ba2183264684806d2b0aaffa1d7e
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
f0c26ab7d53fcf34e9124bdc180af3ea11f74cee 21-Oct-2015 Jason Monk <jmonk@google.com> Allow access to permissions, even if app has none am: 36866c8e84 am: 6fde534148 am: 47db2ba628
am: 4f9f28effb

* commit '4f9f28effbce13e17c411016b00946070cc1ceeb':
Allow access to permissions, even if app has none
6fde534148c3f93b6362d4927270f81048a6bef3 21-Oct-2015 Jason Monk <jmonk@google.com> Allow access to permissions, even if app has none
am: 36866c8e84

* commit '36866c8e84acd26e82b072f2d39106d0e58e6a84':
Allow access to permissions, even if app has none
36866c8e84acd26e82b072f2d39106d0e58e6a84 21-Oct-2015 Jason Monk <jmonk@google.com> Allow access to permissions, even if app has none

Bug: 24026650
Change-Id: I171ab69ded27c1bf2c791f9673a14d56014471bb
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
39b467482d1bf256a111c757e9b7621c6f523271 10-Sep-2015 Jason Monk <jmonk@google.com> Depend on support lib preferences

Bug: 24576551
Change-Id: Ic6190bacd3f7582c9bbc8de972da4612bd92421e
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
e492ee06adbf4661d8b8b53f41f236c9173c5ca4 19-Aug-2015 Julia Reynolds <juliacr@google.com> Make the app header bar more consistent.

- Don't include info link if just came from app info page
- include back button on app info page when launched from header
Bug: 22203029

Change-Id: I737332a487c41e0a93d161b55659700a1f936844
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
8bdb556174bfb8a903040a5310e3d48f2c4be5bf 28-Jul-2015 Julia Reynolds <juliacr@google.com> am 85bdb773: am 5b5ed310: Merge "Prevent crash in app memory updater." into mnc-dev

* commit '85bdb7730814c1f1d8d13dec40e203e94fa87215':
Prevent crash in app memory updater.
ed91bbdb1f2087a9ffcfebc6c0425d1f45976e22 28-Jul-2015 Julia Reynolds <juliacr@google.com> Prevent crash in app memory updater.

Bug: 22768769
Change-Id: I1eec14f5ffb46390aa6060babf86fc88ad76a16d
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
de557d48badd10b7313ea2b40ff8156577a14678 13-Jul-2015 Wei Liu <luciferleo@google.com> Move AppItem, ChartData, ChartDataLoader from Settings to SettingsLib.

Change-Id: Id6189e600eb2adb67f31d079a5a5ecfc99addccc
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
e950b54fcd6a1d496f47479c230b7c4814e67414 09-Jul-2015 Jason Monk <jmonk@google.com> Don't clear data summary when loader is cancelled

Keep whatever summary we had before.

Bug: 22351861
Change-Id: Id2088404f09dcadce1cbf2959918956844d613a7
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
38f1889fea1a8ef7f4160044f4fd7e57a9bccd23 07-Jul-2015 Jason Monk <jmonk@google.com> Handle uninstall from notifications list

Don't crash in InstalledAppDetails on invalid app and finish app
notification details when the app goes away.

Bug: 22311566
Change-Id: I0bb7302dc16dd1a6f3aca152037705ad657d5554
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
f7806581e582e5921d0eb4caa9751d1aa429bc47 01-Jul-2015 Jason Monk <jmonk@google.com> Avoid crashing

Bug: 22202631
Change-Id: I1980f77ae4300dbd19d6829dc5974bab0b88d612
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
d0d7b924cbecf05809d349d01fcefc5abfb3d3ea 29-Jun-2015 Jason Monk <jmonk@google.com> Handle rotation (or refresh) before callback is received

Make sure we unregister the old receiver

Bug: 22160603
Change-Id: I798ca07dd65711caa4d3295b7ad811ca2fc69c1d
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
b01459997ed4d0232855e4dbc080bd1238e1256d 24-Jun-2015 Jason Monk <jmonk@google.com> Fix marquee on app snippet in InstalledAppDetails

First need to fix layout of the app_item as the widget was running
over the end of the view, do this by switching to a RelativeLayout.

Then select the view so it can actually marquee.

Bug: 22043942
Change-Id: Ieb94649ccf3dc8dcf56014c02fcdc06da71a9a62
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
53a5d7ff2ce3ab446f4ad046e6703ed2caa18fa4 18-Jun-2015 Jason Monk <jmonk@google.com> Update disable dialog

Bug: 20826933
Change-Id: Ib84d3ba50ead2b71f62a3b163a5f5ba32a576c00
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
77537b697b411df54dedd65b1e5ca4eb5dd00846 16-Jun-2015 Jason Monk <jmonk@google.com> Support disabled until used apps

Bug: 21782239
Change-Id: I59bef6689a9efb74f64827026add0cbddc18cf53
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
2cdafc6be386bb767404e42fc728a1a810aa896a 12-Jun-2015 Jason Monk <jmonk@google.com> Layout refinement for app lists

Make all app lists (or at least all current app lists) use the same
base layout for icon, label, and sizing/padding. This way they
should look the same.

Bug: 21727125
Bug: 21726922
Bug: 21853632
Change-Id: I3cffadb9e7b5184d4209deacd4ea70ec1d4f71b4
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
0bd18745cff354f6994b70e71f3ab6b7e98fe004 10-Jun-2015 Makoto Onuki <omakoto@google.com> Merge "Show list of permissions instead of just numbers" into mnc-dev
375c3a080ebc7651a16cf09c12841a6f4d6b8c73 05-Jun-2015 Makoto Onuki <omakoto@google.com> Show list of permissions instead of just numbers

Bug 21615746

Change-Id: I23439b3571f10d6d396174025a19b5ebb585dee9
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
67cd6ab93a526fe65877743e458590f4e6f187ee 08-Jun-2015 Tony Mantler <nicoya@google.com> Move ApplicationsState to SettingsLib

Also take InterestingConfigChanges along for the ride
and delete unused AppPermissionSettings

b/21328967

Change-Id: I4d0c1a27054845a54cf68e95a92024d2e46f636e
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
d0dfdda2f6be820b9447f79c2505b5a87da4b5c5 03-Jun-2015 Nicolas Prevot <nprevot@google.com> In Settings, don't allow to disable an app which is profile/device owner.

In the App Info section of Settings:
If the app is device owner or profile owner of at least one user, disable the
disable button.

BUG: 20831525

Change-Id: Iff00314108caf8c0b209f66060e6655ef06f2aa0
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
ab2046aa76bb00b9a49c62c314e4d40415eebecf 27-May-2015 Jason Monk <jmonk@google.com> More memory updates

- Some string changes
- Make processes in memory details not clickable
- Put processes in a 'detail' category
- Hide processes when an app only has 1
- Add memory item to bottom of app info page

Bug: 20694769
Change-Id: Ifbe2205aeef230e44752d075578524249b30bdf8
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
51334310a26a29d3ac3ad4e7299110b6de0ae75c 26-May-2015 Jason Monk <jmonk@google.com> Add no data usage string

Add a no data usage string so we can avoid showing incorrect dates
when no data is available.

Bug: 21076561
Change-Id: I4568cd750fe5f973fed0ff4ffa48412d8c6afd97
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
44fb627cf67dfa3b9c2c625fd39ca8e9a9829813 26-May-2015 Jason Monk <jmonk@google.com> Merge "Don't have app info pages load so much info" into mnc-dev
646befdd16fee63fb399aec47950973b64add3ba 26-May-2015 Jason Monk <jmonk@google.com> Don't have app info pages load so much info

They don't need to resume the ApplicationsState session because they
only need info for one app, instead just make sure ApplicationsState
can load the info as requested.

Bug: 20696893
Change-Id: I146387438348fad1396ac4528819b2f1a93a97bf
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
e9866b6dc47201630c057f946423d572b8c46af8 20-May-2015 Jason Monk <jmonk@google.com> Add permission summaries back in

Use broadcasts to ask the PackageInstaller about the number of
granted permissions.

Bug: 21078474
Change-Id: I91d88d145a803f5f6c3f3163ba1f4500d39b1943
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
b45e27bc0f52d64a71aecba661770b30f6299301 20-May-2015 Jason Monk <jmonk@google.com> Remove data item from app info when not supported

Bug: 21207963
Change-Id: I91693d9a85c0905cbb021181967fa16aac61d3ea
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
65ecadc62550b10eb634c14dd671f47b66ea8dbf 15-May-2015 Jason Monk <jmonk@android.com> Try not to crash while AppInfo is finishing

Bug: 21025020
Change-Id: Iebb9e6b24ca503f87b5648f0aaf02dde01903488
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
3fc7bfd9d9a4aa5b89b714ef18385366fde2b946 14-May-2015 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #21025020 Stability: JCs in Settings: Caused by: java.lang.NullPointerException" into mnc-dev
ae35e0c013980439a20bf1c93a6aa88e8c9daaf9 14-May-2015 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #21025020 Stability: JCs in Settings: Caused by: java.lang.NullPointerException

- prevent the NPE

Change-Id: Ief5a618e789e50eebcaa4386bd9ecec2192b4565
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
f1536e4a1b02055efbe27d963aa7c1df64681783 13-May-2015 Jason Monk <jmonk@google.com> Merge "Hide permission related summaries" into mnc-dev
63a819aa35199855fcbd5006dc3bf700b2d86dbc 13-May-2015 Jason Monk <jmonk@google.com> Hide permission related summaries

We need to get this data from the PackageInstaller directly, in the
mean time hide the summaries since they are incorrect.

Bug: 21078474
Change-Id: I1c1b50ee6806cfbf16830fbff5bf8ffae344451a
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
255452fdf4b368f150477e818b326a60210f22c1 13-May-2015 Jason Monk <jmonk@google.com> Start app notifications as fragment not intent

This lets it show the back arrow when coming from within the settings
app.

Bug: 20561808
Change-Id: I103c8fb74197c5a0530c363a234da5e2148726a7
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
173d658babe0bcb6add829d1621550cebeed2296 08-May-2015 Jason Monk <jmonk@google.com> Merge "Button that goes from app info details to app info" into mnc-dev
8f600a4fbcddda07e724815c39ba7fa6f9194e1c 08-May-2015 Jason Monk <jmonk@google.com> Button that goes from app info details to app info

This info button is shown on the header of all app detail pages.
This button is hidden when coming from app info, to avoid allowing
users to go in circles.

Since app notification details had a settings button where the new
info button goes, the app notification settings will move down to
be a preference (this matches the usage access screen UX).

Also fix a bug in launching app notification settings for managed
profiles.

Bug: 20633669
Change-Id: Idbb4f7c3326b4c6b0a19559b722ee0406eaba6c0
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
9e1ea4b121d200e4338bf271e832c3f2e3613b20 08-May-2015 Jason Monk <jmonk@google.com> Merge "Choose correct network template for data history" into mnc-dev
a9862cae7aa1226ac01b0123ccc9d340f48abf4d 08-May-2015 Jason Monk <jmonk@google.com> Fix crash on unistalling app

Only update the battery info if the app exists.

Bug: 20918104
Change-Id: I61481be53cfc72d49868f14a940a09c83f7a5cc2
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
10e1a94ef7bf7034e0e9bebe471c868abb3825a9 08-May-2015 Jason Monk <jmonk@google.com> Choose correct network template for data history

Bug: 19921796
Change-Id: I90376ed0314c47fcbee21c81b85f60d3cc3312a6
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
1eb54eb2ff250eccdd700601011bd6457ddcbec1 29-Apr-2015 Jason Monk <jmonk@google.com> Add high power whitelist for apps

- Strings not final!
- New UX for power usage details (more preferency)
- Add high power apps list shows on/off and screen to
change (when possible)
- Link from power usage summary to high power list
- Link from advanced apps to high power list

Bug: 19991702
Change-Id: I97c927ed82d3b89041e4429b427508545763d66c
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
25f9e326ab65e5298737721e959b22aea68148f1 30-Apr-2015 Jason Monk <jmonk@google.com> Handle no peeking in app info pages

Bug: 20496400
Change-Id: Icdcb997f35497c7664af948ad7ada722835e42b4
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
8b2ea39cbc5b0923646b5ad4d5f66ff3c66a9f7f 24-Jan-2015 Fabrice Di Meglio <fdimeglio@google.com> Settings - add support for Launch by Default

- implement UX spec

Change-Id: I7ee8962f83983273d809e0ef6fc81b0eb2df15dd
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
8a963babe2e36b7a41f77b8d2598c97658196e58 20-Mar-2015 Chris Wren <cwren@android.com> log visibility of views

Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f
Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
79021c27c9087abf83fc602a6c2bb161be1b7b7a 25-Mar-2015 Svet Ganov <svetoslavganov@google.com> Lauch manage permissions UI from settings

Change-Id: I96f75ebfb4c3984b7e93abf1de41963aa67d4cbd
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
584b2b2bc17a4ccf42952b188722de1091c101be 20-Mar-2015 Jason Monk <jmonk@google.com> Make notifications app list use new manage apps

The designs for Settings have the notification app list using the
same UI as the Manage Apps list, so switch the notification app
list over to the ManageApplications fragment. This involves
adding some notification based filters and connecting the data
from the Notification Backend to ApplicationsState.

Bug: 19443900
Change-Id: I5e5cdb16890d536613ee59292b89a89b6fb9e2e6
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
60a09ea2388db01a661beeb9995a7ecf770a4200 26-Feb-2015 Jason Monk <jmonk@google.com> Start implementation of new app info storage page

Things are mostly in the right places, may need some minor location
adjustment on everything and styling for the buttons.

Bug: 19511439
Change-Id: If7730285d6ddc36e32cc8bc119885a8e215c0eb5
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
ad99996ffb93a699cde3c27f13c3dea3028a4046 19-Mar-2015 Jason Monk <jmonk@google.com> Merge "Only show 2 buttons in app info screen"
dff06ccbf30b76bf12396a3afda9f9531cdca7a5 18-Mar-2015 Jason Monk <jmonk@google.com> Only show 2 buttons in app info screen

They are disable or uninstall and force stop. When there is a third
action it gets pushed to the overflow menu.

Bug: 19511439
Change-Id: I1a0ee71662c09f191fd15524f1a123877eabbe90
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
4bb075bc4fb415eacb0fe2d7e74f16de2d9c718a 17-Mar-2015 Jason Monk <jmonk@google.com> Add data item to app info screen

Add link from app info to directly viewing data usage for that app.

Also do some minor tweaks to get ordering and summaries right on
the app info screen.

Bug: 19511439
Change-Id: Ic50dc24bf9a5c1fe6a7aa076772915ba61168fac
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
07025891683aef83d850b0a91b37aa75b11ce33c 26-Feb-2015 Jason Monk <jmonk@google.com> Merge profiles apps into app list

Remove the spinner and add all apps into one list and badge the managed
items.

Bug: 19443900
Change-Id: I9ccacc1b503da2663b9a3945f4fd6051ae95e328
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
cd91128a2de5d111c59fe442c72b764d9a9acb3a 24-Feb-2015 Jason Monk <jmonk@google.com> Split app info into several screens

The root screen now only has the uninstall/force stop/disable buttons
and the rest has moved to sub screens listed in a preference list.
The root screen as UI approximate to the new mocks, but the separated
screens (storage, launch by default, etc.) have yet to receive their
visual overhaul.

Bug: 19511439
Change-Id: I4e01fbaefc69e0652edea2429d9e9b028c78e825
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
2a4f034da4fa1a51e5a254942436d57facd4005b 07-Nov-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #17936169 subsettings activity crashes on emulator for android-21" into lmp-mr1-dev
51ea7cf4dc225792dfdbc3a2dcc06858dee4857d 05-Nov-2014 Alexandra Gherghina <alexgherghina@google.com> Disable app notifications checkbox for uninstalled apps

Bug: 18253810
Change-Id: I99fb2ae34b16944fd839db4e7c380b2d32f3b85d
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
b81e7937b37feae24773a1342084ba9fad827b39 07-Nov-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #17936169 subsettings activity crashes on emulator for android-21

- prevent the NPE by checking if the UsbManager is not null

Change-Id: I65114ffe66f90d6de66bb98ad841df64840278ce
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
b58b5127040b3c843fe42544a89a1085cf7e74f6 02-Sep-2014 Dan Sandler <dsandler@android.com> Fix links to notification settings activities.

Additionally, we now show the user a list of "app-like"
things (packages with launchable activities) instead of only
non-system things. This way you can make (some) changes to
system package notifications while not having to page
through reams of random non-app packages.

Bug: 17277023
Change-Id: I920d6b941070efb75a816e6ad38b798b09a83d08
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
568eeca569f97bfdd7cf6ae3b9cb5e7360eadc2c 15-Aug-2014 Christopher Tate <ctate@google.com> Disallow downgrade of bundled home apps

Bug 14162565

Change-Id: I754721178722edbf0765039bc9669ed24b92633c
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
d093c9f059a9fa9f68504da176a4913a9793d80e 08-Aug-2014 Julia Reynolds <juliacr@google.com> Disable disable button according to user restrictions.

Bug: 16891777
Change-Id: I5223af905dc43d259c5fd3e03eedf8c71bf23ae9
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
0f4a779214adb8a820d56344d06fba31332a6b5d 29-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix App Info padding

- need to add to the previous defined on instead of replacing it
- verified also that Notification Station padding is ok too

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I06394bec2a5baa548f34f3fe7ec19d60172a98e8
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
38ba9a2d4350fc7d063ec21c994183258bf7a443 19-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix AppDetails padding on tablet UI

- force custom padding

See bug #: 13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I5c26402c10a4e717cda22b320ab0790f598591c2
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
30df56dc36fd24e4ddbb19ab6a73c852b848c883 13-Jun-2014 Julia Reynolds <juliacr@google.com> Apply user restriction checks to app info screen in settings.

Bug: 14081992
Change-Id: Id90c00df600c19820dcbc391a09cc6a58e673d0e
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
6bfec2d6b197068dd355bd1742179fe3da07136f 10-Jun-2014 Alan Viverette <alanv@google.com> Remove all dialog icons in Settings

BUG: 15474733
Change-Id: I43ab10a3bbcabdac6109abf80266f1c4b52bf6fb
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
372b02c997cf265ccc04e03b6495c411472a0ab1 22-Apr-2014 Christopher Tate <ctate@google.com> am a8351581: am 442f01c6: am 95228074: am c44d7c6b: Prohibit uninstall of the default (or only) home app

* commit 'a83515813cb5664fd68f583caa6d0bc6b6bc0042':
Prohibit uninstall of the default (or only) home app
a83515813cb5664fd68f583caa6d0bc6b6bc0042 22-Apr-2014 Christopher Tate <ctate@google.com> am 442f01c6: am 95228074: am c44d7c6b: Prohibit uninstall of the default (or only) home app

* commit '442f01c6018f2fddb413a730b54d2eae542b1078':
Prohibit uninstall of the default (or only) home app
c44d7c6be64be790878ddf1f21c0d9e91d238245 22-Apr-2014 Christopher Tate <ctate@google.com> Prohibit uninstall of the default (or only) home app

We suppress the ability to uninstall (including uninstall of updates to
system-bundled apps) when the package in question is either the only
installed home app, or has been explicitly tagged by the user as the
"every time" home app among all those installed.

Bug 14162565

Change-Id: I582bb0d2abf0911ac68813f4c7e6fd7d17bfc2ca
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
dba5623a0b6ddec7c56a23e516f4f39be02bd0b0 21-Feb-2014 Jeff Sharkey <jsharkey@android.com> am c3e8fd25: am e0388230: am 14136c7c: Merge "Settings: Fix the memory leak in Settings"

* commit 'c3e8fd25997a70155497358d077e6c8fec6fe981':
Settings: Fix the memory leak in Settings
14136c7cdfee7525a97cfee6eec038994668b6a5 21-Feb-2014 Jeff Sharkey <jsharkey@android.com> Merge "Settings: Fix the memory leak in Settings"
263bcc8b732dbb47d3ce63904e0e05191fabbad6 18-Jan-2014 Fabrice Di Meglio <fdimeglio@google.com> Use Drawer in Settings app

- get rid of PreferenceActivity as much as we can and use fragments instead
- add Drawer widget
- add Dashboard high level entry into the Drawer (but this is work in progress and would be done in another CL)
- add bypass of fragment's Header validation when launched from the Drawer but *force* validation if external
call thru an Intent

Be aware that WifiPickerActivity should remain for now a PreferenceActivity. It is used by SetupWizard and should
not trigger running the SettingsActivity's header building code. SetupWizard is a Home during the provisionnig process
and then deactivate itself as a Home but would make the Home header to appear in the Drawer (because momentarily we
would have two Home).

Also, verified that:

- the WiFi settings still work when called from SetupWizard
- when you have multiple Launchers, the Home header will appear in the list of Headers in the Drawer

Change-Id: I407a5e0fdd843ad7615d3d511c416a44e3d97c90
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
8243c9a722e815bdcb069163de48877478c28dfd 19-Sep-2013 Christopher Tate <ctate@google.com> Incorporate home metadata into app details UI

Just as we don't expose disable/uninstall of home applications in this UI,
we now also don't allow disable/uninstall of packages that are proxying
for home apps via the android.app.home.alternate meta-data mechanism.

Also, don't display the 'Home' settings top-level category at all when
there is only a single available home app.

Finally, explicitly note the current user when sending broadcasts,
otherwise API sanity checks get suspicious.

Bug 10749961

Change-Id: I13e11032cb571df19798c4e13c91a572d1ee61a7
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
c6fe9cc319a78b6174fe59e8732b07bb46e454bc 13-Sep-2013 Amith Yamasani <yamasani@google.com> Allow space management for device admins

If an active device admin has a space management UI, enable the button
to manage space.

Bug: 10527304

Change-Id: I1d03eec6d766b49b1c3d9bb30151db4cad7e84e8
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
b26a61d6433e2e5456563e5d33aa4f419a8966fb 06-Apr-2013 Nick Kralevich <nnk@google.com> InstalledAppDetails: allow revocable permission.

Modify the Settings app so that a user can revoke permissions,
using the new API added in AppSecurityPermissions.

Bug: 8332307
Change-Id: I4d6c10877e2c3cc284dbf9a43f79697914c0b192
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
df3f6d6c4722a7acc8189e47d0499aaf618969f9 30-Jan-2013 Daniel Sandler <dsandler@android.com> Migrate package notification controls to AppOps.

We still show the [X] Show Notifications box in
InstalledAppDetails for now, however the information should
be mostly in sync with the AppOps screen. ("Mostly" because
there's no way to register for changes to AppOp modes at
present.)

Change-Id: Ia5cdda26c140aed8ee7329caaeedac04b8cbd8f1
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
0dd9902c89e7b705fd73158aadf1bf27843ad201 25-Jan-2013 Dianne Hackborn <hackbod@google.com> App ops: add UI for viewing and controlling ops per-app.

Change-Id: Iadd68cbd429af4d431dcd09b9adacd09c5092ae6
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
b27223f139248f92637997378d7a38d7d24f6b02 16-Jan-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix Switches padding for Settings app

- use setPaddingRelative() instead of setPadding()

Change-Id: Ifd14193a5f60d303035b394616dc65a70e1ef5f9
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
97d07fa3aedde44368818551dc789eaff7bfb047 30-Nov-2012 Jeff Sharkey <jsharkey@android.com> Push scrollbars to screen edges.

Push scrollbar to screen edges on custom ListView and ScrollViews to
match Preferences framework behavior.

Bug: 7633165
Change-Id: Ideecd0e243c7de7bf977caef2b1585e707a00ca4
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
4de4061c8bb9475cbc5d98f83bf3b2c8ec222407 01-Nov-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7448596: Can't uninstall app that was installed by another user

Change-Id: I6614346f8da80ffedd71645ee2920cf85b92c87c
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
aa214801096d025e0e5de19f7416de5cfeac6f30 19-Oct-2012 Zhijun Peng <pengzhj@marvell.com> Settings: Fix the memory leak in Settings

Fixed the memory leak in both InstalledAppDetails

Change-Id: I3520b3c1fe1bf98e3baec2ee989eb215164a7cf2
Signed-off-by: Zhijun Peng <pengzhj@marvell.com>
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
7a1c4cdfae66e8b110de3988e65586871a969c04 17-Oct-2012 Amith Yamasani <yamasani@google.com> Fix check for multiple users

Bug: 7365839

Remove the Uninstall for all users option if less than 2 users on the device.

Change-Id: I5d2d853e05e1d505b67f8b83b1d5ea7f9c6e7215
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
9072d9efc6f9c4ef260736c345e81390ac988d7a 13-Oct-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7330867: Cannot disable a built-in app if you've downloaded updates

Change-Id: Ie9dfe4a9195e4583bead8066807e4bba8274801f
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
54b3f501ca4a7ff88ead39247d2277d2efc82bb6 05-Oct-2012 Jeff Sharkey <jsharkey@android.com> Avoid NPE when missing PackageInfo.

Bug: 7296861
Change-Id: I87b64d5f4b1f34e47d785a18a029130fdca874a1
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
ab616d477be693fc455329953711264af0ed7814 05-Oct-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7226978: Still in app detail screen after uninstall

Change-Id: I3b03db0a68bfab5dd010474ee714d5f7a5538af0
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
347188667b984fb43e8f973b105ddbde4a8fdb8b 04-Oct-2012 Jeff Sharkey <jsharkey@android.com> Avoid NPE when installing app update.

PMS sends REMOVED followed quickly by ADDED. Ignore when missing
package, since it may be coming back shortly. Eventually we should
change this to watch EXTRA_REPLACING.

Bug: 7269896
Change-Id: I3b518f4faee34019c5c808824d5e46261f6d206a
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
be32d4b408a2fd0ec25bdd4f0e67cba2f23a4edb 03-Oct-2012 Jeff Sharkey <jsharkey@android.com> Follow API changes in framework.

Change-Id: I6c1f5c9ec342f69ceae3dddaa0cfab4e0a742372
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
c715fb1207361bb2a793752eefb02f1956075739 22-Sep-2012 Dianne Hackborn <hackbod@google.com> Fix issue 7198767, 7198366, 7189824.

Bug #7198767: Crash on choosing App info from the Recent apps tab
Bug #7198366: Settings UI should not show other Users' apps
Bug #7189824: Settings crashes on trying to access Battery usage summary

Also fix running services to be able to show user bitmap when in
secondary users, crash in running services if a service is running
whose app is not installed for the current user.

Change-Id: Ief24810c9ddce1ec3f8641ce08af79e1bc18f221
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
b1bf9cf3835ce41f3864f1056554f0180624e2c7 19-Sep-2012 Amith Yamasani <yamasani@google.com> Fix a crash in InstalledAppDetails

Initialize mPackageInfo in onCreate

Bug: 7194755
Change-Id: Ic82351591bd38c4c161bbb23c4033038d1d7fa85
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
0fca4296ac08fcf42b58fac3a016ea068fcf6257 18-Sep-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7178865: Selecting an app from Settings > Apps>...

...all crashes on a secondary user

Change-Id: I977932bce3ea2816e4c9d1002488b658a96e3986
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
3db54cb97630fe83342c2ca189d13ff5a1a598d3 17-Sep-2012 Dianne Hackborn <hackbod@google.com> Add app details menu item to uninstall an app for all users.

Also some fixes: uninstalled apps are now marked as such in the
all apps lists, and sorted to the bottom like disabled apps. We
don't immediately close the installed app details screen when
launching the uninstall UI.

Change-Id: Id22b749c20fc2441733c604d1de8889269217c5c
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
3465b67740e17711af2b36b09e2250a02275d860 07-Sep-2012 Jake Hamby <jhamby@google.com> Add support for per-package policy for sending premium SMS.

The default behavior for sending a message to a premium SMS
short code (or suspected premium SMS number) is to ask the user for
confirmation. Enable the user to set a default policy ("remember this
choice" checkbox) to always/never allow the app to send SMS to
premium short codes in the future. The policy can be changed by
the Settings app in the app info screen.

Bug: 5513975
Change-Id: I93053fef1524ee7772cc87364c760cb3dbf01ad7
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
2e3c75094bde1cfca1b15f66f5ff3d0a85baf0a0 24-Aug-2012 Dianne Hackborn <hackbod@google.com> Make settings a little aware of multi-user install.

Change-Id: Id04f137dbc80dfee7b6c436efc2225ceccb88faa
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
b1f962377ec58f4e6dae3a7795d9113ed7306667 14-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 291389ed: am 5dbc1f64: Merge "Fix use of holo drawables in a few more places"

* commit '291389ed5ce3c97c7f5ec145f00a6bc68862f8f4':
Fix use of holo drawables in a few more places
c8272b075275f81ddfb9cef2f92514b7ce3365de 14-Aug-2012 Björn Lundén <blunden2@gmail.com> Fix use of holo drawables in a few more places

Change-Id: Ie549ff14812da807729641fab1871fffe35f80b6
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
9e8e9a17836654f041f8c032e4f9c88341a63d4e 14-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 6fb425e2: am eefa61ed: Merge "Settings: Use ICS alert drawable"

* commit '6fb425e2805a1c27c048fc954d402f4612cbf74d':
Settings: Use ICS alert drawable
eefa61ed2e8583f659e868f3057f195d7cb2bb11 13-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Settings: Use ICS alert drawable"
1f6ddac9f41f341073e7cedd8f777a43b7d11679 13-Jul-2012 Dianne Hackborn <hackbod@google.com> If external storage is emulated, don't show it as separate entries.

The installed app details UI is really complicted for the two-partition
internal and external storage case... however, in our lovely new world
of emulated external storage, there is no reason for this, since the
external storage is using the same partition as internal storage. So
in this case, don't show external storage as a separate item, just
combine it into the base app size and data size values.

Change-Id: Iea0e78f2d532ad50e20fef98740c93b2e897890a
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
313ab1727014d535790bc89afdcf725ff936e5b4 30-Jun-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6761130: Clearing app data in settings does not clear app's USB storage

The installed app details was not correctly distinguishing between cache and
normal data on external storage. The cache files on external storage are now
correctly shown in the cache section, since those are what get deleted when
you hit the clear cache button.

Change-Id: Id98bdb7fb5202d6a092fe5a772638eeb6aed2b47
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
e458832c765ed5c3de836384338c7626c80b5686 15-Jun-2012 Dianne Hackborn <hackbod@google.com> Implement issue #6633077: Improve permissions display for...

...inherited permissions from shared UIDs

Bug: 6633077
Change-Id: I91917339e83b79a3dfcfcb70a68d571c9a7f7e14
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
e7c53b1c9e48c6f997c47a0ca9a2f190ecbbf586 31-May-2012 Björn Lundén <blunden2@gmail.com> Settings: Use ICS alert drawable

Point to the correct holo alert drawable.

Change-Id: Ia15aaa028c8371cb2478baeecd2da31520c43a5d
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
70b599983967b68894a9c41df2279424f6ab3fef 15-May-2012 Daniel Sandler <dsandler@android.com> Refinements to notification controls in Settings.

- the switch is now a checkbox
- a dialog is posted to explain the ramifications of
disabling notifications
- the user may no longer disable notifications from system
apps (signed with the system cert); this is roughly the
same as the constraint on disabling packages (with the
exception that launchers may not be disabled entirely, but
their notifications may still be disabled).

Bug: 6493120 (checkbox)
Bug: 6448988 (confirmation dialog & protect system apps)
Change-Id: I6c7a47ba2eb943936d7f59cfc807a4390acc980d
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
309c5dcee18ced447d049d5de882a9586694e04c 17-May-2012 Dianne Hackborn <hackbod@google.com> Rework manage applications to be page-able.

Turn everything around so that we can have multiple list views
with their own adapters. Switch to using a ViewPager for managing
the different lists. Smile!

Change-Id: I9c102abb06cf67f313a8696507aa4597b38c7ab9
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
c9029d99a36d78331b109b64c1f61812db7cedd9 20-Apr-2012 Michael Jurka <mikejurka@google.com> New API to allow third-party apps to bind widgets

Change-Id: Ieec9f247fdbfc02c2ad8f5bb7f6b9efe0669af84
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
3fd8051a89c5fbcd52b83566a05f0edb919414a5 23-Apr-2012 Amith Yamasani <yamasani@google.com> Don't let monkeys launch storage management activities.

Guard against monkeys in two places where intents to other activities are
launched.

Bug: 5415988
Change-Id: Ia3c5514c02423f7b249f655296bb02e279789dfd
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
4a824be44c3878f22469cf45c2ef8b7e92724e92 19-Apr-2012 Daniel Sandler <dsandler@android.com> Add notification shutoff switch to app details page.

Requires change Ieccac574.

Bug: 5547401
Change-Id: I9856658cc638723414a5c2c3c6807241c3ce6166
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
5c2b48d4d52a2b6b3ae3c745e7016da390a4e1d7 16-Sep-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5320747: Disabling an app that is an active device administrator...

...can lead to an unsecure device

Now you can't disable device admins.

Or clear their data.

Or force stop them.

Or uninstall them (though the package manager also prevents uninstalling, might
as well disable this button along with everything else).

Change-Id: I69eefc2342e6f932908e9f5b87d3a601752810a4
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
f0b63c2c3ec65e8864d5b76a993e87f592170a3d 19-Jul-2011 Dianne Hackborn <hackbod@google.com> Fix issue #4999758: Disabling a system app should require...

...a scary sounding confirmation

Change-Id: I88b14a95b804f14d25a9efcb04b282d60f9719c3
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
bd9ddab4f4e1f47b141abdcc0248cc716112b3c7 28-Jun-2011 Dianne Hackborn <hackbod@google.com> Fix up storage UI for old USB storage.

- In the storage overview, if storage is not emulated then we have a
new first section showing internal storage.
- In manage applications, we know show storage use on the SD card
separately from internal storage use.

Change-Id: I7eb993f59fdb5de5f5dcfe4a3bc2b95ae30d754a
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
3a5079823add92343efe4c0ba2ea3cb5d32138ec 27-Jun-2011 Marco Nelissen <marcone@google.com> Merge "Fix crash in Settings"
3937b15bbfff67c5c1c57a2cfe3593552d1f3f6c 27-Jun-2011 Dianne Hackborn <hackbod@google.com> am c9a477ae: am e3cfa9bc: am 13bac39d: Remove obsolete compat mode UI.

* commit 'c9a477aeaccda8a6fec48ee02ef04d5f7285097a':
Remove obsolete compat mode UI.
5d4b25c9a7c40d55f3bdb1ef095e5d0cf7cddcdf 27-Jun-2011 Marco Nelissen <marcone@google.com> Fix crash in Settings

Change-Id: Idfc3a7e91caa1d8007db0c4bee856cfe0cbd2905
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
13bac39d2120a82b8a22b52f0db0727aa04b1f38 24-Jun-2011 Dianne Hackborn <hackbod@google.com> Remove obsolete compat mode UI.

Change-Id: Ie16f70af4b8d6f33db21363a478049659669e0b3
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
a12c1e3226ca660a23f049f880947df7f8d96c4e 17-Jun-2011 Dianne Hackborn <hackbod@google.com> Re-enable user disabling of apps.

Change-Id: I5f3a474926cf2b93e311435f67f36837f5f56caa
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
aef746c45f14c8a170dba48c4b55f93cae0e24e4 26-May-2011 Dianne Hackborn <hackbod@google.com> Implement new manage apps UI for compat mode.

Change-Id: Ia8db7f534b7294fbbb34e0acdedab3a96cea59e9
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
2715376cfa4d220f183623a5f35214d1bd537376 09-Mar-2011 Mike Lockwood <lockwood@android.com> IUsbManager hasDefaults() and clearDefaults() no longer take UID parameter

Change-Id: If661a17646e2698e92cfdfb1a3d0e5dd42e06279
BUG: 4061035

Signed-off-by: Mike Lockwood <lockwood@android.com>
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
c442e52dca4d32e2ea391e361c847ce834bf0dfd 08-Mar-2011 Dianne Hackborn <hackbod@google.com> Fix issue #4021524 HMI63B: "Force stop" button not disabled after app is stopped

There should probably be a broadcast from PM about this. Later.

Change-Id: I713197ed458f8f6a914efb3800cd1b192f741613
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
861c04fbd4841253a02299b7498a8cf609e8874d 02-Mar-2011 Dianne Hackborn <hackbod@google.com> Show force stop button if package is not fully stopped.

Change-Id: I88ccb0907352e082ccb538da77aeccc5ab309a49
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
9d6d92b33ebf1c91aed47bd759ce78a3e06afff5 27-Feb-2011 Mike Lockwood <lockwood@android.com> InstalledAppDetails: "Clear defaults" button now clears USB service settings

The USB service caches the preferred activity preferences for USB devices
and accessories and allows permission to access the hardware based on the
user's selection. The "Clear defaults" button can now be used to clear
these settings.

Change-Id: I307c118cb0ce06362e289e35bca93a47ce4631a5
Signed-off-by: Mike Lockwood <lockwood@android.com>
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
424acfb7ad469efb0a51c69fc8713cc96e2357b0 17-Jan-2011 Kenny Root <kroot@google.com> Measure external storage application usage

Application data usage on the SD card (or USB storage) was not being
reported by the Manage Applications screen. This is important for
upcoming OBB space accounting.

Bug: 3308791
Change-Id: Ibc9ad013cb2f6d0ee28caadca8899c1ff6e78f44
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
0c5b9ca58bda5bc3c56f1e6c78859f7de147e476 06-Jan-2011 Patrick Dubroy <dubroy@google.com> fix 3185231: Dragging app to info button doesn't work

When dragging an app from all apps to the info button, it
is currently showing an empty dialog.
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
ee2937941d4e9a4d2cd94d504ddaa9685bcca090 01-Nov-2010 Dianne Hackborn <hackbod@google.com> Further manage apps fragmentization.

All of the UI under manage apps should now be working. Various
cleanup through new framework APIs. Fragmentized developer settings.

Change-Id: I2b42a2dd0d015e0fdcde497579ddad3dceea9da2
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
f4eb85bc3c57ca70b577cea1524431fead4a4ccc 30-Oct-2010 Dianne Hackborn <hackbod@google.com> Start fragmentizing Manage Applications.

Change-Id: I0c3d6a358d0236893aba7257537ec32bfad4170d
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
6dc1bf84cf72dd72a2517878f6b280e8afdcf4c2 05-Oct-2010 Dianne Hackborn <hackbod@google.com> Manage apps "on SD card" now shows all apps that can go on SD card.

Change-Id: Icc413891b2b884bb1af340b4c09ab3935c8e51ca
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
2f144fc07d3f202b83ffb6064a223bbadef65114 01-Oct-2010 Dianne Hackborn <hackbod@google.com> Fix android:allowClearUserData.

Now respect this flag for system apps.

Change-Id: I496b0051a4998cb41b8c07fd0eb85e253de1eb97
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
19df79af269c4a2354b0989cebfcfe949aea42c4 20-Sep-2010 Dianne Hackborn <hackbod@google.com> Some improvements to the manage apps code:

- Battery stats now aggregates bluetooth usage.
- Battery stats now uses new history iterator API.
- Battery stats chart is refectored to have the start of a
common facility for building tick charts.
- Manage apps will now asynchronously wait for the apps list
if it is taking >.25ms to build.

Change-Id: I568dd74beedf9a0a5a4c88ab567510cee9af8299
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
44178e2801c013e60defb4b5f390d893e7344a71 14-Sep-2010 Dianne Hackborn <hackbod@google.com> Supercalifragilisticexpialidocious.

Change-Id: Ifaece97c80b859cb455eab56230e076eca916f4a
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
0f9daab75f1557722b6e687a68eebfd5d28cbc51 30-Jul-2010 Dianne Hackborn <hackbod@google.com> Manage apps "third party" and "on sd card" filters were swapped.

Also change the app details screen to make use of the common
ApplicationsState object for its UI, improving launch performance.

Change-Id: I387ed72a06d44aab47a85692c10247ce488c605c
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
9db5ee35d5345e13e6e6b857dbad5a83e9f037d1 25-Jul-2010 Dianne Hackborn <hackbod@google.com> Add facility to disable system packages.

Change-Id: I762c76993e0f88d255dfc04acbea6c6adea7103d
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java
728ac35373028b79205a788c526ef4b495518ec1 07-Jun-2010 Dianne Hackborn <hackbod@google.com> New Running Services UI.

This introduces a simplified (thanks, dsandler!) UI for Running Services,
collapsing the groups of apps and processes into single lines. Tapping
on a line moves to a new activity showing details on that group, where the
stop functionality is now available.

This UI is now also integrated into Manage Applications, as the Running
tab. You no longer get a really confusing, misleading, scary list of
every package that appears to be laying around for some reason.

The code was also re-organized, to put everything related to Manage
Applications and Running Services under its own package.

There is still some clean-up -- some performance improvements (such as
not re-computing the world when we switch to the details view), and if
this looks good then eradicating the old running services UI.

Change-Id: I3fc059c18060600742cab5b455d11ff74bf45ae3
/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetails.java