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>
Call to equals() comparing different types

I have found this bug with the FindBugs tool

Change-Id: I7f157063b0a549cb4344c048ddb612a14a915a25
Signed-off-by: László Dávid <laszlo.david@gmail.com>
Fix switching running/cached apps with memory bar

Fixes issue #38735.

Invalidate the owner fragment options menu when changing mode from within
RunningProcessesView.

Change-Id: I85af7a953a1f4f570902f0959ee284f208871bce
Total and available fields missing in Settings storage menu

After formatting SD card or inserting an SD card the total and
available space fields in Settings storage are missing.
This fix add those fields after SD card has been mounted.

Change-Id: Id6c1d1963effdb9656c8eb1c567b913bc4d98bd2
am 7494ff47: (-s ours) Merge "Import translations. DO NOT MERGE"

* commit '7494ff47aa1e756285810a73a2488af65f2d4cda':
  Import translations. DO NOT MERGE
am 71decb7b: Merge "Restriction pin changes."

* commit '71decb7b072d69613083285cee6014d37b2e6ef8':
  Restriction pin changes.
am b14698ee: Merge "Finished the location settings"

* commit 'b14698ee6063960d48a691add890a5072f89ea2e':
  Finished the location settings
am 88afb32f: Displays a list of most recent location apps

* commit '88afb32fc6422139dcf8340aa88f3de9112a1485':
  Displays a list of most recent location apps
am 3f257c4d: Fix a crash in accessibiility settings.

* commit '3f257c4dfba2acc2d61b91baf4f69524a1dc02af':
  Fix a crash in accessibiility settings.
am b8fa4d9f: Merge "Modify Power Widget Gps Icon To Represent Location. Instead of directly controlling gps on/off, it will control master location switch on/off." into klp-dev

* commit 'b8fa4d9fe85c7513a8a5d9b1b6bcf3b8e5473849':
  Modify Power Widget Gps Icon To Represent Location. Instead of directly controlling gps on/off, it will control master location switch on/off.
am 82f7c064: Merge "Developer option to force RTL layout direction" into klp-dev

* commit '82f7c064483732c925dfd12547bd32ffac211cd5':
  Developer option to force RTL layout direction
am ff2aed99: (-s ours) am b4d720f9: (-s ours) am 9a53339d: (-s ours) am e211fd11: (-s ours) Import translations. DO NOT MERGE

* commit 'ff2aed99fcc0656c5d5dd989ddd373834631286c':
  Import translations. DO NOT MERGE
am 76cbd841: am f4316f6d: (-s ours) Reconcile with jb-mr2-release jb-mr2-zeroday-release - do not merge

* commit '76cbd841931d0de490f4f63c467d6bbdd0feb057':
  Import translations. DO NOT MERGE
  Fix issue #10190597: "Any permission restrictions" is displayed after a...
  Reset app preferences now resets all app ops.
  Import translations. DO NOT MERGE
  Fix issue #10190597: "Any permission restrictions" is displayed after a...
  Reset app preferences now resets all app ops.
  Revert "Completely remove app ops activity."
  Completely remove app ops activity.
am dcd15ee0: (-s ours) am 7256942b: (-s ours) am d01ca3ce: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-mr2-ub-dev

* commit 'dcd15ee04bf30f3400c9e5f790ff543bed83734a':
  Import translations. DO NOT MERGE
am c6d658e3: Initial rough stab at a proc stats UI.

* commit 'c6d658e37d7c0ab2d264fff4850ea20823669558':
  Initial rough stab at a proc stats UI.
am a42cacb3: Merge "Potential fix for Bug: 10241642" into klp-dev

* commit 'a42cacb34b8b6a5c9c0fd1b6c1ba63a121658d6f':
  Potential fix for Bug: 10241642
am 2f219c51: Merge "Fix inconsistent text in Settings>Security>Screen lock" into klp-dev

* commit '2f219c51ad2151c9d31912d836276679e0dd747d':
  Fix inconsistent text in Settings>Security>Screen lock
am c0f79432: Merge "Update captioning settings to match final design" into klp-dev

* commit 'c0f79432cff613e993a86bece93ab1ef674d9054':
  Update captioning settings to match final design
am f3796d0b: Merge "Improve process stats UI." into klp-dev

* commit 'f3796d0bf8bfa3a0e4359dcdf4017961bd312dea':
  Improve process stats UI.
am fc6bc201: Allow navigation to TrustedCredentials User Certs by intent.

* commit 'fc6bc20161edea9e93a7abcd82af5c26870c58bb':
  Allow navigation to TrustedCredentials User Certs by intent.