History log of /packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
59982c6954b215f17e14e8d87efccdc25144a1cc 13-Sep-2017 Daniel Nishi <dhnishi@google.com> Fix work profile storage bugs.

This makes apps and files in the work profile show up only for the work profile.
It turns out the primary profile's user id was getting piped down to the
special files views and it was showing the primary profile's file sizes
instead of the work ones.

Change-Id: If9c175f24920513c624c522d838bcdbe925566d1
Fixes: 65559258, 65558758, 65559934
Test: Settings robotest and 34768986
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
9be0ce09c9b3eb2e2d0bac038a3f469f087af652 23-Aug-2017 Daniel Nishi <dhnishi@google.com> Make photos/videos storage preference normal.

We had special behavior for it in the past, but this defines new
behavior that is much closer to what the other storage preferences do.
A photo app filter is used and a photos/video files preference exists on
it which intents over to the gallery app.

Fixes: 64147318
Test: Settings robotests

Change-Id: I47284515fe2dfcc924ae61a44bc47051e9f5fda6
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
83ceab82e4f6dd55e03a5832cf4b4ceca71b0722 11-Aug-2017 Daniel Nishi <dhnishi@google.com> Show work profile apps only on app list.

For the work profile drilldown, we used to show all apps when the user
drilled down into the categories. This makes it so that the drill down
only shows the work apps when that deep.

Change-Id: I492cd3e9b9b923b87b68645a871dcfb2b91b4f95
Fixes: 62963093
Test: Settings robotest
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
a7b04ed692d86e61b4a20463e84cdb43a30db499 14-Jul-2017 Fan Zhang <zhfan@google.com> Merge "Show default app icon in default app screen."
2ea67003364d8f4a79d6afd624d56709839151ee 12-Jul-2017 Fan Zhang <zhfan@google.com> Show default app icon in default app screen.

- Renamed AdvancedAppSettings to DefaultAppSettings.
- Add logic to DefaultAppPreferenceController to also display icon.
- Modified DefautlAssistPrefController to suppress gear icon, and use
the controller in default app setting UI to display icon.
- Remove dynamic injected payment setting activity and create the
setting statically in xml.
- Add DefaultPaymentSettingsPreference to display default payment app
title (no icon because we can't get it)

Change-Id: I6b8c768da0bafe5ec9a85ba9c79c7993b449be25
Fix: 36458534
Test: robotests
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
e70a06a5d5da76f70218641d938cbc961e6d24d1 12-Jul-2017 Daniel Nishi <dhnishi@google.com> Merge "Fix filter bug for non-internal app filtering." into oc-dr1-dev am: bce83f8c71
am: eba886f045

Change-Id: Ib1b6f17ef73222cfeebe163c6a43112f74ffa898
6f3900f6b552f09357227335b77c121728d7134e 11-Jul-2017 Daniel Nishi <dhnishi@google.com> Fix filter bug for non-internal app filtering.

By default, the filter would show all non-categorized apps. This,
however, regressed the external storage apps view which does not have
categorization (yet). By adding back in a legacy option to use the old
purely UUID filtering, we can fix the regression.

Change-Id: I72d8d3bc08fbdff53374eb1e973bce9f8d7e2e79
Fixes: 63542896
Test: Settings unit test
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
896f1b363c446366d96654e703e38dc069fef3d2 26-Jun-2017 Fan Zhang <zhfan@google.com> Reduce jank around loading view when opening data usage UI

Change-Id: I3d23d8160b046de8fe125ba0697b7b3d7786453c
Fix: 28181319
Test: robotests
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
e9060a3cb6bd5e3087d24d72e48d9d1fdbd371e7 09-Jun-2017 Doris Ling <dling@google.com> Delay showing the loading progress spinner in Managed App.

In warm load, the app list is populated much faster, and we should not
show the spinner if we can show the app list immediately.

Adding 100ms delay in showing the loading container. If the app list is
ready, show the list container directly without first showing the
loading container.

Change-Id: I8b3ea88d2382ece9226d5c7734fd1aa406160cf2
Fix: 36375109
Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
e9523336307b4a53c0c965260b1414d9a7e63730 06-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "String changes"
179645eecd1a2321e7dd8992678b47799e60f9e6 05-Jun-2017 Fan Zhang <zhfan@google.com> Add help url placeholders for new pages

Bug: 38412798
Test: visual
Change-Id: I4ede523cb13790ea05309279f80a778b2086f850
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
d85ff59ce7923522b5937efb94c35e71835c6e52 05-Jun-2017 Julia Reynolds <juliacr@google.com> String changes

- channel summaries
- Notification listener name
- notifications app page title

Change-Id: I0745c06aad44bfa7636ee2b10be9387313093fe3
Fixes: 36529184
Fixes: 38178073
Test: manual
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
4fcb5f6b7ce29a909e3fc19575791ce710c3a9e1 30-May-2017 Daniel Nishi <dhnishi@google.com> Merge "Fix an override filter bug." into oc-dev am: 5cc0a122d3
am: 23c2cf1d68

Change-Id: I88545ebb5e3a1b05268b7485c0d7dc4323ff661f
5d0888be751fa5c14b63ea437f9c2f2a929e6c05 23-May-2017 Daniel Nishi <dhnishi@google.com> Fix an override filter bug.

The override filter for storage to ensure that we filter by UUID and
user id was designed as an override filter. This worked as long as there
never was any other filters which could be used out of Storage Settings.
It turns out the instant apps filter applies here.

As a result, I've moved these filters into being "composite filters"
which are composed with the primary filter instead of overriding the
primary filter.

Fixes: 35245772
Test: Settings Robotests... but as for the composing part it is
b/34768986

Change-Id: I6f5acb909568ab02e81187c09fdda9533d635781
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
462d8528082d941af96a162a9da7a0cb7a9e433b 18-May-2017 Fan Zhang <zhfan@google.com> Fix bug where app list says "No app" in multi-window mode

Move updateUi logic from onPause/onResume to onStop/onStart.

Change-Id: Iebe38d201d531058472cd033a0408239d36d32e4
Fix: 36305836
Test: instrumentation test
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
9834bd82da89cd777aaa5005760f90b95f0b292d 15-May-2017 Fan Zhang <zhfan@google.com> Update strings in special app access and dev options

- Change all yes/no or on/off strings in special app access to
Allowed/Not allowed
- Remove some dead code in related files
- Add a toast string in DevelopmentSettingsDisabledActivity to prompt
user enable dev options before use.
- Add search in SpecialAccessSettings

Change-Id: I8b2535e037a86e76bdbcd3fb6e1cf2e0347bedbf
Fix: 38290299
Fix: 37469224
Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
31de4c1766479a8013c206dcb61401f108d1faef 04-May-2017 Daniel Nishi <dhnishi@google.com> Merge "Fix a bug where override filter was always on." into oc-dev am: 408fd90102
am: 7d50d9db12

Change-Id: Ie9e9b3978e7a2f52fdd63e203a740068188dc285
bf1f93698e6653ddb738cb6dbf963c7ace296a66 03-May-2017 Daniel Nishi <dhnishi@google.com> Fix a bug where override filter was always on.

Change-Id: I1df52f13d8e335362d2eec18c968227ed9ecf299
Fixes: 37952170
Test: Settings unit test
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
cbeebe1b6c2c70e24f8950595c7591f05ca97326 02-May-2017 Daniel Nishi <dhnishi@google.com> Merge "Filter on volume for category storage view." into oc-dev am: a41a190ac3
am: 854acc9e4b

Change-Id: I21c985df9ee34981b47c080756df5dc442f335b6
5aeb6c4fab56843e5fa57d62d8f918f6abf6b1a4 28-Apr-2017 Daniel Nishi <dhnishi@google.com> Filter on volume for category storage view.

The other storage view used a compound filter with a UUID filter and the
normal filter. The category filters were omitting the compound UUID
filter. This adds it.

Test: Settings unit test
Change-Id: Ic0118abf58dabbf430a81e1fbcefb7acfdef472c
Fixes: 37780836
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
b519b676849a2bd01e803d76ab9d85765f47d9ed 01-May-2017 Jesse Evans <jsje@google.com> Make instant apps appear above disabled apps am: b2d85af91e
am: f52bfd03ea

Change-Id: I1b58da2932103f9879d3eb84c7b55aea2b208509
b2d85af91e1d3a33dd80def07d6f45f14b20860a 26-Apr-2017 Jesse Evans <jsje@google.com> Make instant apps appear above disabled apps

Currently instant apps appear below disabled apps in the app filter
spinner, this is incorrect. This patch moves them above the disabled
apps filter option.

Test: make RunSettingsRoboTests
Bug: 37683262
Change-Id: Id65ae47baca4eac43a6a89375bdb718d5dbf7c56
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
d1c41a306415e04b4acfb217058b40b90884547b 28-Apr-2017 Fan Zhang <zhfan@google.com> Only show "reset app preference" actionbar menu in app info

Because it doesn't make sense to show it in other types of app
list view.

Change-Id: Ia4f84812a6f0acc434f770b026e5ed550714087a
Fix: 36110694
Test: robotests
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
3b172d7b8967759c82fad85fbcb40b06f42ba703 13-Apr-2017 Sunny Goyal <sunnygoyal@google.com> Using a common class for loading drawables and handling various badging

Test: make RunSettingsRoboTests -j31
Bug: 36591157

Change-Id: I4cb1d313920d5d8604fd79ff65b40e2dda180e2e
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
c365a8735c0d780717b46cd2081ecc3f32785983 13-Apr-2017 Daniel Nishi <dhnishi@google.com> Merge "Add a movies & tv apps category to storage settings." into oc-dev
ebc17237c32e4db52847b72dc44e2d0f97672b9d 06-Apr-2017 Hyunyoung Song <hyunyoungs@google.com> Add shadow to AdaptiveIconDrawables using View level shadow

Test: $ make RunSettingsRoboTests -j40
RunSettingsRoboTests: ......
RunSettingsRoboTests: Time: 151.394
RunSettingsRoboTests:
RunSettingsRoboTests: OK (1355 tests)
RunSettingsRoboTests:

Bug: 36088922

Change-Id: I5b5651d2305ab65e1358609a4110e248dee9eab2
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
f588f7678db50cb17bf9c1d1976b4a5cc81570a8 27-Mar-2017 Daniel Nishi <dhnishi@google.com> Add a movies & tv apps category to storage settings.

Change-Id: I055e93d2a151195b90a5fd64f4fddebbbcffef59
Merged-In: Idfabe83739272b19cbef4b13a82339170f8f97b3
Fixes: 36223441
Test: Settings Robotest
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
804854cdfe5bc6f5c572b9f30acb900e14fa8d1d 31-Mar-2017 Jesse Evans <jsje@google.com> Removes instant apps from certain screens

Removes instant apps from the Special Access screens, as well as
notifications.

Test: make RunSettingsRoboTests
Bug: 36515324
Change-Id: I5b2f0ee3219acd89e2cbdcefed4d9608450395c0
(cherry picked from commit 1c9b6092eeb4a6eea7ba0d1db5fbe01c73adff37)
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
1fca17ce2ed7e371f5a2e14a047ccda10cca7aa5 30-Mar-2017 Bartosz Fabianowski <bartfab@google.com> Device management info: Refer to current user, not primary user

The device management info page should show information about the
current user's policies, not the primary user's.

Bug: 32692748
Test: m RunSettingsRoboTests

Change-Id: I5d8afa7fae1c0f3a4da78b085365882827e6721b
(cherry picked from commit b836da263d8559255c528fe68410649d979cf123)
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
0c88ff4ed91a731f83f9afe912b41f06f40a45ec 22-Mar-2017 Denis Kuznetsov <antrim@google.com> Update List of apps on device string,
remove "XX apps" string.

Bug: 32692748
Test: m RunSettingsRoboTests
Change-Id: I64f833497b5362f95cfc56a1057d97d9539ff029
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
e0b65fce67511792aa3a983024f292754fd9ef5a 07-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove code that check for dashboard feature."
f2cf2aea3777ef5298bb1131890552f5f619dd30 04-Mar-2017 Doris Ling <dling@google.com> Remove code that check for dashboard feature.

- remove DashboardFeatureProvider.isEnabled() and all relating code
and tests.

Bug: 35764802
Test: make RunSettingsRoboTests
Change-Id: If7796677abc8904b7436525836d50cdef38e37a4
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
86d52db588c598cd8277182db56e8eafc4cfdae1 01-Mar-2017 Suprabh Shukla <suprabh@google.com> Adding "Install Other Apps" in App Info page

Added a preference link to manage external sources in the app info
screen just like other special access permissions.

Test: Manually checked that the link appears on apps once their app op
is set to allow or deny.
Also, added some basic robolectric unit tests:
make -j32 RunSettingsRoboTests

Bug: 35481942
Change-Id: If687778b7a64fb7d278508b78d06272253a98e3e
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
5ac2e138b1a7dd61fb55c3d10fab7ed4159cc92e 27-Feb-2017 Antony Sargent <asargent@google.com> Merge "Fix app filter breakage caused by ag/1900403"
16e6eced00f7bb6f7315108010c34526bad19e54 24-Feb-2017 Antony Sargent <asargent@google.com> Fix app filter breakage caused by ag/1900403

Bug: 35726115
Test: manual, run existing robo tests by make RunSettingsRoboTests

In ag/1900403 I renumbered the int constants in ManageApplications.java
to remove a gap in the sequence without realizing that the arrays
containing strings/filters based on these constants still contained
entries for the constant whose value was removed.

In this CL I've fixed that and reorganized the initialization code slightly
to make it easier to keep things in sync going forward.

Change-Id: I6d2db6499fb7eb080570bc757bde497fcd39fead
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
b8642c746451babc42beb141347781e425bb2017 24-Feb-2017 Doris Ling <dling@google.com> Fix issue with app info summary for diasbled app.

- also check the component enable state to determine whether an app is
really enabled or not.

Change-Id: I8075ec9253b9136c58fc206e10b10f77b1efe6c2
Fix: 35673125
Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
e3ac0cd6db984e3f5b25a98c634d586c8c3a0289 09-Feb-2017 Daniel Nishi <dhnishi@google.com> Use the upstreamed StorageStatsSource wrapper.

This was upstreamed into SettingsLib when similar wrappers
started showing up in other projects. Settings, however, was
using the non-upstreamed version.

Change-Id: Iffadb75655165d3b64a25fd7b21e5b9765cb40be
Fixes: 35680800
Test: Settings Robotests still pass despite the data swap out.
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
4cf650b6b7521dfb5ec6c614fbb7771f1cc3bb55 22-Feb-2017 Antony Sargent <asargent@google.com> Merge "Add "Instant apps" filter to app listing"
e0eb1a2e2708167f3cc962aafce06d13067a5e49 08-Feb-2017 Daniel Nishi <dhnishi@google.com> Add metric events triggers for new storage actions.

Bug: 35063738
Test: Settings Robotests
Change-Id: I435cb16c492d3777e735266c2d3a2b1930443acb
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
ce82b66136902387cb9e870766df91e6c364ccb9 16-Feb-2017 Daniel Nishi <dhnishi@google.com> Merge "Fix a race condition where the extra view may not update timely."
c6ca314c0b872f75926807ca7d6eb24ebe7cb684 15-Feb-2017 Fan Zhang <zhfan@google.com> Log source with visibility change

- Add a method in VisibilityLoggerMixin to log visible event using
LogMaker, which allows logging additional FIELD_CONTEXT field.
- In Utils.startFragment, add current page's metricsCategory as an extra
to next page.
- In next page's onResume(), extract the previous page's metricsCategory
and send it to VisibilityLoggerMixin.visible()
- Update all caller with additional paramters

Change-Id: I8e1f2597fa465b7d3aa16fa1d21c052a3219694a
Fix: 35359289
Test: RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
05e8dfde9dca86e4a9c5398d9cab193559948fd2 10-Feb-2017 Antony Sargent <asargent@google.com> Add "Instant apps" filter to app listing

Bug: 35098444
Test: automated testing of ManageApplications is hard (b/34768986), so
testing is manual for now: install at least one instant app and then go to
Settings->Apps&Notifications->Apps and see if the filter lets you see
only instant apps.

In Settings->Apps&Notifications->Apps, the list of filters before this CL is:

All | Enabled | Disabled

With this CL, the filter list becomes:

All apps | Installed apps | Disabled apps | Instant apps

Change-Id: I65ffbfd7db99f45fc0310c7239bdfc0522c65e3a
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
a412c30d90d809319832f01d907cc46c83e6089e 08-Feb-2017 Daniel Nishi <dhnishi@google.com> Fix a race condition where the extra view may not update timely.

Previously, we queried for the extra view's stats during the rebuild.
The full rebuild can take an arduous amount of time. By moving the
background calculation outside of the rebuild code path, we can
load the stats in the background and update the view outside of the
app loading cycle.

Bug: 35144044
Test: Manual -- this was race condition-y, so I just tested several
times.

Change-Id: Id2f92e32c3b3f9c5d5cf4a7308cca38c2e52789c
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
de9e642bffb5c23f029523ea93366df77ddc48be 08-Feb-2017 Daniel Nishi <dhnishi@google.com> Don't show games and music apps in Other Apps.

Bug: 35143240
Test: SettingsLib Robotests
Change-Id: I0805de4f7e88206618cdbd4148752df8336204f6
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
b1934adfb7c8e3b7bebb67e8a10e8003f9d4a5ed 08-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix music crash regression: Part Deux."
a4739b9f518ee8acc3ff2a68235351c576a7f92b 07-Feb-2017 Daniel Nishi <dhnishi@google.com> Fix music crash regression: Part Deux.

Bug: 34888282
Test: Manual as a result of 34768986
Change-Id: Icebcb49befed5cc39eef7707ca6d97c45ec958aa
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
3dfbc46c0ea9b3a16e306c859fee6d87094f13bc 07-Feb-2017 Daniel Nishi <dhnishi@google.com> Re-add the break statement that was accidentally removed.

This fixes the problem where the game fragment starts at the same
time as external sources.

Bug: 35056002
Test: b/34768986
Change-Id: Ie35decc627dc6bec493a8c1f1976dc11d460f5fe
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
58543f1dd45afb1a70c594f41f9f703b8b0b8eaa 01-Feb-2017 Daniel Nishi <dhnishi@google.com> Don't crash in Music Storage Settings.

This crash occurs because the music files entry is active, but does
not have an AppEntry (because it is not an app.) ManageApplications
assumes all active elements have an AppEntry, which causes an NPE.

By adding in a null check, we can avoid this.

Bug: 34888282
Test: Manual -- because ManageApplications needs refactoring badly.
Change-Id: Ief0c202f6176d90e492e62e5930b940e5a28b95c
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
31027dae93bc38377630e5589ab2169a021368ad 19-Jan-2017 Daniel Nishi <dhnishi@google.com> Add a music apps view to the Storage Settings.

When you tap the Music & Audio preference, it takes you a
hybridized applications view. In this view, there also is
a line item which defines the amount of storage used by
audio files on the device. Using the new storage query, we
can add this information very quickly to the view.

Bug: 33199077
Test: Settings robo tests
Change-Id: If51cba0b3de20805543a39049367eb13613081e7
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
c208eff2f88a613db18da339caa47488ddafbb08 12-Jan-2017 Daniel Nishi <dhnishi@google.com> Hook up the Games storage category preference to a games view.

This patch adds functionality for the soon-to-be-deprecated games
and the new app categorization.

Bug: 33199077
Test: settings robo
Change-Id: Iae055c6f1b4d1af3f51aba9897c140ae7aac41c9
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
57d92315a48bccfd0f84e28a36e6f725e3d6cf96 16-Dec-2016 Suprabh Shukla <suprabh@google.com> Adding Manage External Sources Settings

Added a settings fragment to manage external sources. It lists all
applications that have either requested REQUEST_INSTALL_PACKAGES or have
their app op changed from default.

Test: Will include in follow-up CL. Tracked in b/33792674

Bug: 31002700
Change-Id: Ibd2a1922be214b62aec4eefa45f7b9691256b205
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
13f569ebd676cf1616b039d0d8aa141fff34be49 13-Jan-2017 Bartosz Fabianowski <bartfab@google.com> Add number of enterprise-installed apps to Privacy Settings page

This CL adds information about the number of apps that were installed
by the admin to the Enterprise Privacy Settings page.

Test: make RunSettingsRoboTests
Bug: 32692748

Change-Id: Ib710a1249db6d285da962122fd3dfb35a43752a1
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
b3d4de2ab76899c19cb6bbf7027515cfaf9120c6 10-Jan-2017 Daniel Nishi <dhnishi@google.com> Remove the app header from ManageApplications when used for storage.

This UI element is no longer in the mocks. It complicated the
implementation of the fragment because it was causing the wrong
apps to be selected on-tap.

This specific StorageUseActivity usage only happens when coming
from the Storage Settings UI, so we can freely remove it without
harming other uses of ManageApplications.

Bug: 34195303
Test: Manual -- it seemed a bit silly to add a test to ensure that
a broken UI element was indeed missing.

Change-Id: I5396364c297026a33b54d1794d9ad2c5102f0d7f
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
d6835a20fcff318187213bdc2e96fafb0e1ab1ef 16-Dec-2016 Julia Reynolds <juliacr@google.com> Support showing notifications as badges.

And remove unneeded app level settings.

Change-Id: I88f506b0704195181d1748a3135f8ee0f39b774f
Test: manual for now. will add tests when have real mocks for the pages
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
b6809667481476aa98685ffa49a594156065dbff 08-Dec-2016 Jaewoong Jung <jungjw@google.com> Merge "Makes app settings keep scroll position after unistalling apps."
2d0b3447360666847c483e6ce2521846c66c25c1 06-Dec-2016 Fan Zhang <zhfan@google.com> Add InstrumentFragment for non-PreferenceFragment types.

This allows app fragment use a less heavyweight fragment as super class
if they don't need PreferenceFragment. Using this class as base is
generally easier to set up robolectric tests too.

Bug: 33354536
Test: RunSettingsRoboTests
Change-Id: I91c4d242ea0333c76c8767c03c3f18dee6b6e104
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
a2674f730895e815865121d531f20a6c9ec5a07d 30-Nov-2016 Jaewoong Jung <jungjw@google.com> Makes app settings keep scroll position after unistalling apps.

Bug: 32195844
Test: Manual inspection after numerous tries to write one. Espresso
didn't work because the test scenario involves installing an app.
Robolectric didn't either because it doesn't fully emulate
ListView's scroll behavior.

Change-Id: Ia811198ddee6edf6d207a4e936d2e686b64bf02f
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
3d83300debb85090b2bbb9d659c0c859e210f1c2 17-Nov-2016 Bartosz Fabianowski <bartfab@google.com> Extract counting of installed apps into helper class

This CL extracts the code that counts the number of installed apps
for a set of users from ManageApplications to a helper class,
InstalledAppCounter. The new helper is designed to be unit-testable
(PackageManager dependencies are injected via a new PackageManagerWrapper
abstraction) and customizable (the set of users for which to count is
specified by subclasses).

The CL adds a unit test for the InstalledAppCounter as well.

Test: make RunSettingsRoboTests
Bug: 32692748
Change-Id: Ie7fbd40d9dd998b27f1f9de227b6a187b5c9d315
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
59f36994ba5978596ea08b144a3fa2b8b02940c7 14-Nov-2016 Lei Yu <jackqdyulei@google.com> Merge "Remove hardcode for textcolor in spinner item."
0a209093d1ddf8175720550b08174d05ba139f72 08-Nov-2016 jackqdyulei <jackqdyulei@google.com> Remove hardcode for textcolor in spinner item.

Remove the "android:textcolor" because "Android:textAppearance"
will set the textcolor to "?attr/textColorPrimary".
Set adapter has same theme as spinner, so view inside adapter
can be inflatered correctly.

Bug: 32592245
Test: screenshot
Change-Id: If7a78ede0a029aa9fcd8f9b324a423d477c65ad7
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
265d3c2a0c36251bf8a9f571d7239b6dd404d942 22-Jun-2016 Tamas Berghammer <tberghammer@google.com> Update package names to work with the proto3 compiler

Bug: b/28974522
Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
fdb833873ac323166533a13819b6e02f5ea83169 28-Oct-2016 Fan Zhang <zhfan@google.com> Use new app header in more screens.

- This covers app data usage settings, power usage details
- Addded helper method on AppHeaderController to build the header as
Preference because every fragment needs to do this anyway.

Bug: 32442716
Test: RunSettingsRoboTests

Change-Id: I6d38321b867154f8fb5194b993d118bcdbbfedc9
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
606c74404bf3878897d0f8ddd0525fea69e6089f 27-Oct-2016 Fan Zhang <zhfan@google.com> Hide gear icon in actionbar if new IA is enabled.

- The page that gear icon opens is moved to other places in new IA.

Bug: 31799948
Test: manual
Change-Id: I637d725425109d364951ac1c7515cc8bcd061cc5
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
4136d902bf983b3efba04d1ffde8559f2dc63c6b 21-Oct-2016 Fan Zhang <zhfan@google.com> Add app default UI to App & Notifications.

Bug: 31799948
Test: RunSettingsRoboTests
Change-Id: Icca4954f82af38316cc232b8879c0f7e7869ecb3
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
32b01bffddbca5c9957f4512655aca11457a5c02 07-Oct-2016 jackqdyulei <jackqdyulei@google.com> Add "FILTER_NOT_HIDE" for all app filters. am: d785a8db78 am: 00ed827516
am: 15c14f0cc2

Change-Id: I2322d0d3e496013cfb02444b2224fab1eecb47b9
d785a8db7835ed71b9b2ff2b4d477c4eab61c210 03-Oct-2016 jackqdyulei <jackqdyulei@google.com> Add "FILTER_NOT_HIDE" for all app filters.

The "FILTER_NOT_HIDE" is used to filter out apps that "blacklisted"
by the carrier. So when user insert a specific sim card, these apps
are hiden in settings > apps unless user enable them.

Bug: 31823872
Test: Manual
Change-Id: I28a38b5780cb63fe22af12d80cc24e965b2b83cf
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
ada98fb5b3d558cffd0d023430e62c10b8ed14cd 31-Aug-2016 Andreas Gampe <agampe@google.com> resolve merge conflicts of d30af7c to master

Change-Id: I3484e0e6c2a092f05539af569a9d9131f006ecf1
d5824967ee8d046f6337dfd068a015ac78eb71d3 25-Aug-2016 Todd Kennedy <toddke@google.com> Implement Web Action settings

Users can enable / disable Web Action from "Opening links" under
the apps setting.

Bug: 28140107
Change-Id: I4ed4b77953952a56316b780a54a482d0c564cbe4
Test: manual testing of the settings app
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
6507613ebcd22e4691c2af92a5c161bd327db336 08-Aug-2016 Fan Zhang <zhfan@google.com> Log visibility change for all fragments.

Bug: 30681771
Test: SettingsUnitTests

Refactor visibility logging from InstrumentedFragment into a mixin. And
apply mixin in remaining fragments.

Change-Id: Ibbb59904336254a3e4bb9e8c7d0b36e5a6bc2622
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
8a5d4bfbb8d969bc97a75c53cc1c2e2a1ffb7a74 01-Jun-2016 Jason Monk <jmonk@google.com> Fix apps spinner jank.

Change-Id: I7fbe580627538037fd0f1823787f7dcebbb43252
Fixes: 29056706
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
290ca6ec5c1f029bff7a43d1d499359e25a41904 19-May-2016 Jason Monk <jmonk@google.com> Don't use ApplicationsState for summaries

Since it grabs a lock that can be slow on the main thread, don't use
ApplicationsState in any of the summaries, instead load the information
directly from the PM.

Change-Id: Ibefe867810d2a9926177a8de4e23a7faea4b1c3b
Fixes: 28435146
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
1ef9c4afd56b534f836c38437624eabaa6691f0b 18-May-2016 Yohei Yukawa <yukawa@google.com> Follow class package change: LocaleList

In order to avoid layering violation, LocaleList needs to be moved from
android.util package to android.os package [1]. This CL follows up that
package change.

No behavior change is intended.

[1]: Ia8de2ee9df3dd0a42b1fe84574439519b680fe18

Bug: 28819696
Change-Id: Ibd7934b30062046830d63f33d1c6febef32da976
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
016f875ae78cdb1a2d52f89e5347c3e561b7bb3e 07-May-2016 Fan Zhang <zhfan@google.com> Fix crash when rotating screen in a few screens.

Bug: 26946312

Fixed in the following screens:
Apps > Gear > Special Access > Modify system settings
Apps > Gear > Special Access > Draw over other apps
Apps > Gear > Special Access > Apps with usage access
Language & input > Personal dictionary
Wireless & networks (More) > Android Beam

Change-Id: I0b9bd6c19f710302625dd87989e9d4ce3c96a9a2
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
4e8d3013a281e924b02172c90a52e21984f5d8b4 03-May-2016 Jason Monk <jmonk@google.com> Fix leaks

Change-Id: Iba29be756934d9564cfdee1f6281c56345772dc7
Fixes: 28074995
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
2db5eccee4faf9ec364ca5b659289135320b0e75 18-Apr-2016 Keith Cheung <keithcheung@google.com> Include work app in battery optimization settings

Fix: 23684151

Change-Id: If2d1a18838414122d8af57fda7138f87fd3f1e62
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
f8b2180b9674e39beeee1ea5efce8f52bf95ed4c 12-Apr-2016 Jason Monk <jmonk@google.com> Settings dashboard performance work

- Don't block main thread with rebuild work
- Don't run rebuild as foreground priority
- Don't use comparator on apps/notifications summaries, we don't
care about order
- Simplify dashboard item layout

Change-Id: I33bdd06a234ea308b44b45cac5ed1e9eac1c7d43
Fixes: 26541310
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
1d464b9677c4f956dab81622b2cb59c53cbf01dd 08-Apr-2016 Suprabh Shukla <suprabh@google.com> Merge "Moving HelpUtils to SettingsLib" into nyc-dev
b84720c075fb2eb4bb816f34d8f3edd70e5a1653 05-Apr-2016 Suprabh Shukla <suprabh@google.com> Moving HelpUtils to SettingsLib

Moved HelpUtils to SettingsLib in frameworks/base so it can be shared by
packageinstaller as well.

Bug: b/22096093
Change-Id: I8d620abcde8279a3b4d11bbcff8ae9b6f46a1895
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
1e91f9f30e46e03818bc48a35570f70305095ed5 01-Apr-2016 Julia Reynolds <juliacr@google.com> Show fewer filters on notifications page.

Bug: 27834480
Change-Id: Ibdc9924a7ea1b1db7be089507485de5c4fd41b58
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
4a25f35680a4940a566d5351bdc238d49634a972 30-Mar-2016 Jason Monk <jmonk@google.com> Only show enabled/disabled filters in main app list

Change-Id: I8d7c94098b71f5893b08786a4caa90d9c191da99
Fixes: 27921850
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
228638019d95450b419a25680f3dade69b3e29ae 30-Mar-2016 Jason Monk <jmonk@google.com> Fix bridged app list saved scroll state

(don't clear the list when we have the info)

Fixes: 27185911
Change-Id: Ieda4fd0fc6dd662741da9a1805c1435d4473490d
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
3e912e7ea537ae34234ccbe6fef9b2519a4da51b 08-Mar-2016 Julia Reynolds <juliacr@google.com> Notification summary updates.

Change-Id: I6b824acf27743637ca661b38b51c639ecf099208
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.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/ManageApplications.java
7d725461c60cf0cd36e7e0a1e999fa3c84f12419 11-Feb-2016 Sunny Goyal <sunnygoyal@google.com> Fixing the sections not getting created the first time

Change-Id: I9b8888d1633eba29e9ec79924d26cff0fce33ead
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
2b7d4cd49fa874ba99d19fbc6831dbbfc112e312 05-Feb-2016 Roozbeh Pournader <roozbeh@google.com> Replace LocaleList#getPrimary() with get(0)

getPrimary() is removed from the API due to potential confusion about
what it means.

Bug: 26984092
Change-Id: If218de84251461016f4ac06aa9a1cb8610b90d39
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
0da325412433ce4fa23d3a40cf563de2e884c9c0 02-Feb-2016 Sunny Goyal <sunnygoyal@google.com> Adding fast scroller in app list

Change-Id: I9b5c2225a7acf6d7d83d7d7a7bb08a023a66183d
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.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/ManageApplications.java
df828405b107fd6a2602580cf7e8f43723c69d58 06-Jan-2016 Jeff Sharkey <jsharkey@android.com> Follow PackageManager refactoring.

Change-Id: Iae8b40acf6317366f0de780e367e0c21a9966477
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
8c0a4238655990094fe444ac8f7b182963497030 24-Nov-2015 Julia Reynolds <juliacr@google.com> Split Sound & notification settings.

Bug: 25860852
Change-Id: If88daf6fd50b5abf86fb86f3590361f0118172a1
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
4cc3819857ea4e7e7715c72090f2c18ed1190f05 25-Nov-2015 Julia Reynolds <juliacr@google.com> Fix filter indicies.

Bug: 25837105
Change-Id: Ic857f4efdb3d25e38be7b8113cc2256127954e48
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.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/ManageApplications.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/ManageApplications.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/ManageApplications.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/ManageApplications.java
5711e73146ac530d38479aaf54def236c975d345 11-Aug-2015 Jason Monk <jmonk@google.com> Possibly fix apps loading forever

- Consistently handle results from filters whether async or not
- Make sure we trigger a rebuild after loading entries is complete

Bug: 22838302
Change-Id: I4595c61d4ea7069e59440c9dc673a1f0b73bc864
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.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/ManageApplications.java
be4df036e1c688a1b7a5fc9d4ab18f09729296b3 10-Aug-2015 Dianne Hackborn <hackbod@google.com> Fix issue #23037899: Support for Battery Optimization permission + Dialog

New pretty dialog.

Change-Id: I6094b83139beffc407b01049a0d9d1f85a95df07
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
888673bd51acf9263163acfebdd0680358deabaa 05-Aug-2015 Jason Monk <jmonk@google.com> Hide show/hide system from battery optimizations list

Bug: 22977820
Change-Id: I1741bfe3e8703bae8ce10503879adfd12e9eb4fc
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
356fce4606b76e46d3d4d1edf9ae215b5418add3 24-Jul-2015 Zach Johnson <zachoverflow@google.com> Hide apps in the battery menu that have COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED

Once they are enabled for the first time, they'll show up indefinitely.

b/22667081

Change-Id: Ia28de99d7d638d54c15fac2e08edeb70a9657e23
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
94f9c824c42f209f363c3ae8d637c909790e36b5 21-Jul-2015 Jason Monk <jmonk@google.com> Don't show disabled apps in ignore optimizations

Bug: 22612760
Change-Id: Iddb3ad9cb9403d9e51bfcda82db3d10ee34ca47d
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
f8f98021040e325b07f96ca93a9171c9cc7625d1 16-Jul-2015 Billy Lau <billylau@google.com> Bug 21589105 Rescope SYSTEM_ALERT_WINDOW (UX and Settings app change)...

Overall, fixed the detection of the state of permission in the corresponding UX
to be more accurate. Also ensured that apps can actually launch the summary UX
through a custom intent.

AndroidManifest:
Adds the proper intent-filter so that apps can launch the Settings page using
intent.

strings:
Made changes to strings so that wordings are uniform everywhere and raised the
char limit due to requests from translators.

Change-Id: Ia03403641ad53bd1a33b84dae6db1739cfcf9d60
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
443513cc0d033ce58bcdd328becedce34c16f932 15-Jul-2015 Jason Monk <jmonk@google.com> Disable ignore battery optimization items that can't change

Bug: 22507803
Change-Id: Ia33746dc569f4d9f96242a502e54bcc8eb47bf12
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
52df60d83dc48818aacbe1721e6aaa9be39e8451 14-Jul-2015 Billy Lau <billylau@google.com> Merge "Bug: 21589105 Rescoping SYSTEM_ALERT_WINDOW and WRITE_SETTINGS permission to an explicit toggle to be enabled through Settings via Apps -> Advanced Apps." into mnc-dev
7f70ba18e6760c2539704c16cf3865bf49953d50 03-Jul-2015 Billy Lau <billylau@google.com> Bug: 21589105 Rescoping SYSTEM_ALERT_WINDOW and WRITE_SETTINGS permission to an
explicit toggle to be enabled through Settings via Apps -> Advanced Apps.

Added new and refactored an old xml to define the UX for two new Preferences
in Advanced Settings. Modified the existing AdvancedAppSettings to add
control flow for two new settings. Also enriched ManageApplications to
handle these cases. Added additional strings in xml/values/strings.xml
to support these settings. Also defined new classes to handle these the
toggle of these permissions per app.

Refactored codes from AppStateUsageBridge to a generic AppStateAppOpsBridge so
that future usages related to AppOps can inherit from this class.

Change-Id: I43b81282a063e05844c7805556a6d05cfc02bcdb
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
b573a1659dbe66cc6c756dbe089a28a3463d4622 09-Jul-2015 Jason Monk <jmonk@google.com> Fix rotation issues

Bug: 22373905
Bug: 22311581
Change-Id: Idbed99a3fc0cc64047da151be166ee0ea4c1fb3d
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
49983b991c01af0bc958eee1ddad144b7bde44ec 12-Jun-2015 Tim Kilbourn <tkilbourn@google.com> Show correct text for app link domains.

The user's preferences were not queried on the app listing, making it
look like an app would open links even after the user disabled app
links for the app.

Bug: 21093152
Change-Id: I133ff229bb5e289ebec8df06924936fb3177f095
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
a08a225d184fa75bb066fcb2d151d589106986de 02-Jul-2015 Christopher Tate <ctate@google.com> App link handling is not just for "official" verified handlers

Allow apps to be enabled as link handlers for their accepted domains
even when they are not the "official" apps for those domains.

Also clean up a bunch of inconsistent/wrong state reporting in the UI.

Bug 22069429

Change-Id: Ic3b2bcc476dfc30085d3df7412b02bdc5d53df6d
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
6ecca51254a6f2ac3b82149563cd02e48c579af6 16-Jun-2015 Jason Monk <jmonk@google.com> Don't show work apps in ignore optimizations list

The setting is global, so we only ever need one of each app.

Bug: 21847753
Change-Id: Ib04061d87b9deb81a579ad110451f2f55ec7aeff
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
744f2adb56ac0077a103c8e6e3b20f421eddc780 16-Jun-2015 Jason Monk <jmonk@google.com> Merge "Layout refinement for app lists" into mnc-dev
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/ManageApplications.java
3f98c0ce510ba95f8ecb3d815a4e722002fcf9f2 13-Jun-2015 Dianne Hackborn <hackbod@google.com> Fix issue #21813831: Need API for asking to be added to power whitelist

When launching the battery whitelist for a particular app, we now
default to the app being asked to enable adding to the whitelist, and
dismissing the dialog will dismiss the entire whitelist UI.

You can now launch the whitelist without specifying an app to just
get the regular UI.

Change-Id: Idf3840b8a30febe71fbd600969c257d72809643f
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
3a90d7cc69899f20f82ebe976fa04e19ebf27aaa 10-Jun-2015 Jason Monk <jmonk@google.com> New dialog for ignore battery optimizations

Bug: 21375688
Change-Id: I7240cc0615044cf5a34349e5ffdf2ae2e0f6333f
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
ba0e2c8688f9a99d3e0c9e1b1b8211fc2a687fc3 09-Jun-2015 Jason Monk <jmonk@google.com> Advanced apps updates (2/2)

Change the title of the screen, add a category to break things up

Bug: 21372377
Change-Id: I03c2060937f540235755e4b74c5634543e526d25
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.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/ManageApplications.java
15dcebe1e79ad396a08873f940e2f33d432cf387 27-May-2015 Jason Monk <jmonk@google.com> Help fallbacks and intent work

- Handle a backup URI, so that if the specified URI is not available,
another can be used.
- Add some data to help intents when they are intent URIs
- Fill in the context with a classname when it isn't present

Bug: 15475009
Change-Id: I7050fa61121901929e650b20bd7a0ae21e8ba207
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
74ecb1f21163545e5666312a1b3bfce6d64f4b1a 21-May-2015 Jason Monk <jmonk@google.com> Fix loading screen one more time

Don't rebuild the app list until the entry load is complete to avoid
having a slowly populating list shown to the user.

Bug: 21086054
Change-Id: I801ab292fdbf6801c1b9c8f957336660810da5f6
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
2c56d450dd030657ea44e3b600653721d3c7d9c0 19-May-2015 Jason Monk <jmonk@google.com> Default ignore optimizations to show system apps

Bug: 21211422
Change-Id: Ied526cffa86406b8b81824cf2cdb03cc37bb7433
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
0c3d8f1c0f869f5faa4b828e118f8717c8f77d40 13-May-2015 Chris Wren <cwren@android.com> Merge "replace temporary metrics categories with permanent ones." into mnc-dev
8b7dc08e775db599a1239a9d4a51d6912fee90d2 13-May-2015 Chris Wren <cwren@android.com> replace temporary metrics categories with permanent ones.

Bug: 21114836
Change-Id: I05ca033e2e15fc1ae4330453bbe50aaa6cd1ea6c
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.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/ManageApplications.java
3bdb0d690ed0ec7dbee6734a44dd67bbcd2d8824 12-May-2015 Jason Monk <jmonk@google.com> More updates to battery optimization whitelist

Mostly just string updates.

Also fix crash in power details.

Bug: 19991702
Bug: 21027488
Bug: 21063077
Change-Id: I5a5e382a20ffaecd9eb16454906c985cc1510572
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
bcb4f2c913a74e1b03c6ac41e014410b10a462bd 11-May-2015 Jason Monk <jmonk@google.com> Update strings for ignore optimizations control

Bug: 19991702
Change-Id: Ie5b54fd70176cfceb8b88cf18a9974321ba84c28
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.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/ManageApplications.java
97cebec1a0975e1a85a4bbb0024e403c655722a8 07-May-2015 Jason Monk <jmonk@google.com> Merge "Detect uninstalled apps during resume" into mnc-dev
4cbf9b2d5878cdaf8646851f1e86c89984e7ed76 07-May-2015 Jason Monk <jmonk@google.com> Detect uninstalled apps during resume

Also cleanup disabled apps check while here

Bug: 20651305
Change-Id: I5ba8f6e7aee817842bb2ae2ee825647089bcacd3
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
68d6d465746a6dcec6f7e0a44fadae19b886fa42 07-May-2015 Jason Monk <jmonk@google.com> Merge "Always start storage list sorting by size" into mnc-dev
069732c5f914d75231d0c562ac07cbb23860fc6e 07-May-2015 Jason Monk <jmonk@google.com> Always start storage list sorting by size

Bug: 20075068
Change-Id: I50a39decaa61bf7c3489243924c0d3928c4fe2ce
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
20f464eddec2ffa64a385a1e9f51b9b8766ecf50 06-May-2015 Jason Monk <jmonk@google.com> Fix app headers in settings

Use SettingsPreferenceFragment's method for pinned headers where
possible, and add a frame within the fragment for them to live in
otherwise so that this view doesn't end up on the activity.

Bug: 20886475
Change-Id: I985eb1497744ea50bfabed862e5088eb89df5b61
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.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/ManageApplications.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/ManageApplications.java
fbaf4363f6701a79a0c26bd988704445cb04d72c 29-Apr-2015 Jason Monk <jmonk@google.com> Allow filtering system apps on most app lists

Change-Id: If852adec4122aca3f11b0f894c0c44d12a75cc77
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
50aa8a99ebc782bd7ddf9f59e230658ff87aca9b 23-Apr-2015 Jason Monk <jmonk@google.com> Merge "Fix crash in notifications app list"
365b3a6b4b30837aad2cec62711ecda33b572ff3 23-Apr-2015 Jason Monk <jmonk@google.com> Fix crash in notifications app list

Bug: 20310018
Change-Id: I670c4cd10607c84a6c185d6dce579da497b6bb65
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
3d0bc10ce297b5e29ad3bb21a9ba3ed8e5071f80 23-Apr-2015 Jason Monk <jmonk@google.com> Allow users to re-enable apps once disabling them

Entries in the app list should not be disabled, instead we should
be filtering for only items the user can modify.

Bug: 20210219
Change-Id: Ida298a9ba16c1201ac238b85f299bdc7b0ae7a1d
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
d8da51ccfecf16f2c06f788e6bcbc232d1f0cb32 17-Apr-2015 Jason Monk <jmonk@google.com> New UX for app usage screen

Now uses ManageApplications base, and has a details screen which has
a switch and a link to optional app settings.

Bug: 20290386
Change-Id: If32ce8d82e55f3908644c575925b3f6506a68e6e
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
38e7b2666442e0b8c063b7390a7641504750a4a9 21-Apr-2015 Jason Monk <jmonk@google.com> Fix filtering for manage apps

Bug: 20453766
Change-Id: Ia4a0f0d9a652332944ef846770d5bc4cc50395d9
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
02a310d8c9c5de9b0dad2ac2bc7d6d964b94583b 16-Apr-2015 Jason Monk <jmonk@google.com> Filter app list by storage volume

(when coming from storage settings)

Bug: 19989309
Change-Id: I932b67d25b5c9305067969ba13acb1a9f78e6cdb
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
1f4efd7360dea3038fe2096b1d4bccaae8e2a09f 15-Apr-2015 Jeff Sharkey <jsharkey@android.com> Move packages between candidate volumes.

We now allow moving packages between all possible candidate volumes,
as determined by the framework. Moving now jumps through wizard to
help user understand what's going on.

Bug: 19993667
Change-Id: I5416ed2865f400b1d718c68a3f0e033080fefa0e
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
c1235be6f00520ee18b76d5619a40ea1a99087bb 14-Apr-2015 Jason Monk <jmonk@google.com> Merge "Allow help to be defined to intent uri"
23acc2bb8af7da000d72a8c1d8c28a2792200348 14-Apr-2015 Jason Monk <jmonk@google.com> Allow help to be defined to intent uri

Allow help uris to be either an intent uri or as uri (as they were
before). Also add a default help uri, and specific helps for several
screens.

Bug: 15475009
Change-Id: Iff982892973f01d32ff61ea88d4844e9a7153500
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
6ef272300416b89c1ab4710614eea3d80d8d0f33 13-Apr-2015 Jason Monk <jmonk@google.com> Remove all apps page

Instead move the functionality back into overflow menu as show/hide
system apps. Also move the reset app preferences from advanced to
the overflow menu.

Bug: 20210160
Change-Id: Ied573e1f7dfc438b06642ee2af8f11868130ba3b
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
b5aa73f46f812ba03518a6d1ac218e3af5975236 31-Mar-2015 Jason Monk <jmonk@google.com> Fix loading screens for manage and running apps

Also add loading screen to manage permissions as this can take a
long time to load in some circumstances. Build loading screens into
Utils and SettingsPreferenceFragment so that it can be easily used
other places in the future.

Change-Id: I7febd06695487e02ced793a9fd418051b5f0eab8
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
e8981e3c581a43a3caef7211b864e47093bd4781 04-Apr-2015 Fabrice Di Meglio <fdimeglio@google.com> Settings - add support for Launch by Default - part 2

UX fixes

- make the ManageApplications list to be able to handle some disable items
- add domain list for App that are not verified

Change-Id: Ib37c6f3f3dd1d1cdc17db434967f583cc89e068c
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.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/ManageApplications.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/ManageApplications.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/ManageApplications.java
5b3aa36e6fd17db995a31f9549b8fe628754a750 18-Mar-2015 Jason Monk <jmonk@google.com> Implement new Manage Apps list

Manage apps now only has one list. When entered from the dashboard
it is not sortable or filterable, and shows a combination of downloaded
apps and anything that shows up in launcher. When 'all apps' is
entered through advanced app settings, the list shows all apps and
can be filtered and sorted.

Bug: 19443900
Change-Id: I555ee56417c330424d458750b6f81d3bd543f66d
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
55eaa96fe44ab473975fd2d9b3d97836935752fe 19-Mar-2015 Alan Viverette <alanv@google.com> Clean up usage of theme colors, deprecated Resources.getColor* methods

Change-Id: I34e11e0773c9f8e00e3eab422781094e19a16d3d
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
9a23adf69dc53126c9858b19760eab5b67c23b97 18-Mar-2015 John Spurlock <jspurlock@google.com> Settings: Remove all unused imports.

Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.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/ManageApplications.java
aadc070a35ca47940e9fa964ba68c5ce817202ef 17-Oct-2014 Alexandra Gherghina <alexgherghina@google.com> Move up spinner in apps screen

Bug: 18006320
Change-Id: Ic23c2c3e02a6c6a20b180065975228d42fd91899
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
06cd50177a4eddf6e8fc86a5b935f6985d8d82c9 18-Sep-2014 Alexandra Gherghina <alexgherghina@google.com> Reset spinner selection

This makes sure that when you go back to the spinner screen, the
selection is the one corresponding to the current profile.

Bug: 17378446
Change-Id: I536cc2701f9481986a63df1b01a38151edf2fa83
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
56645002b2729c1f7696529e530164a031fb7978 04-Sep-2014 Alexandra Gherghina <alexgherghina@google.com> Reset Settings task when using the user switcher

Bug: 17294618
Change-Id: I8bd9d7226e52017938828f3bc195cc995fe80b20
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
f276e75f2d1705221a68597ec1c145e6dda63238 31-Jul-2014 Alexandra Gherghina <alexgherghina@google.com> Open the same tab when switching profiles in apps settings

Bug: 16369104
Change-Id: Ibd23824a120541b17a5255952b7cf02d07b62c7b
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
80e1f1bfdb814a08fb8b07b2e279285d495042e9 31-Jul-2014 Alexandra Gherghina <alexgherghina@google.com> Extract common functionality for profile spinner into Utils

Bug: 16645615
Change-Id: Ic8928fff8294cd99eeb86b69b44b8e4128cadf92
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
c8a1db191207e38b7ad0acdfd276651e4911e812 24-Jul-2014 Alexandra Gherghina <alexgherghina@google.com> Toggle between primary and managed profile in apps settings

This adds a spinner to the apps screen which can be used to toggle
between the Settings app in the primary and managed profile so that the user
can edit settings belonging to both profiles.

Bug: 16369104
Change-Id: I09a94c07597e6509de025dfbbe0e454ae3d9b0aa
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
fe9590bb19e3acf6b68b67b40f43de8bc094d1b6 23-Jul-2014 Dianne Hackborn <hackbod@google.com> Work on issue #16135174: Apps page "smoke" gradient footer must be removed

New header in running services. Not yet done.

Change-Id: Ibe2f4145796c7863ec80e0ea2d8d87dc910bac7e
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
cc22af08117a2f90d879cc360f76de48fd234e0d 18-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #15696670 Settings > Apps using old Holo colors in tabs, space indicator

- update color from Holo to the Theme accent color

Change-Id: Ifd9aced1654e2fddc0ab729cd5c6170b6a07f01e
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
b5ba7e2435eda9c6ba909f4760de6f222e177da2 06-Feb-2014 Jeff Sharkey <jsharkey@android.com> am a5b5bfbb: am 5b4350f2: Merge "Fix memory leak in ManageApplication"

* commit 'a5b5bfbbef09b074328c84f9e1980b62dffab480':
Fix memory leak in ManageApplication
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/ManageApplications.java
f3a9578910050d35fd536c1f9a7b5d629b3c19d8 18-Jul-2013 Jun Su <juns@nvidia.com> Fix memory leak in ManageApplication

ApplicationsAdapter new a Session member and make it has a reference to
it self. If we don't release it explicitly, the cross reference will
cause memory leak.

Change-Id: Iecce35ae1d56d98cee6347e84d3a3ff57f3b15a5
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
e10f8528220fc4506ff6deee5c71ddab3da5e21d 04-Dec-2013 Amith Yamasani <yamasani@google.com> Merge "Fix switching running/cached apps with memory bar"
37f3c8f574b984e4980ebf598358726b3f852156 06-Sep-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #10624988 Incorrect mirroring of RAM and Internal Storage for Apps screens in Settings

- well this CL is only for preventing a wrong rendering (the real CL would need to be one latter
and would need to fix the onDraw(Canvas) for LinearColorBar so that it takes care of the layout direction)
- force LTR layout direction on the LinearColorBar, hence preventing the two TextView to render their
text "in the middle".
- use BidiFormatter to wrap number strings

Change-Id: Ie164e5509c0364a81c85a3ac69f97a89f20a4130
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
a6683e0f4af75005ab5a1742d30df4bee071f725 03-Aug-2013 Dianne Hackborn <hackbod@google.com> Reset app preferences now resets all app ops.

Change-Id: I7966245b5f322f55e139b2da661c02cd58530f11
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
f5f08628cc0129e92277d6ddfcf6ae680887573d 20-Jun-2013 Dianne Hackborn <hackbod@google.com> Fix issue #9486022: Disabled Apps column doesn't always show up in Manage Apps

We need to resume the current tab before checking to see if
there are any disabled apps and deciding from that the number
of tabs to show.

Change-Id: I95037f15ff7a97f0234143d10ebcee79224a3114
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.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/ManageApplications.java
596f0cfb4654a18b863f7e6a9dd6742bd57c2b96 30-Jan-2013 Dianne Hackborn <hackbod@google.com> Improve resetting of application state.

We now reset preferred apps to our defaults, instead of
just clearing everything out.

Change-Id: I70f713ce62b2ffb2d7f6a8e056978847734c27f7
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
18b64f446cd7b9043909b0cd42d1ab364392da24 18-Jan-2013 Dianne Hackborn <hackbod@google.com> Improve app ops UI.

Merge app entries together some.

Also a little weekend present for swetland.

Change-Id: Ie2b6654d9de0b9eeaafbf4b070845353c130b9c1
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
8f28cd5d75e385f52d6b29e19eccd7eb639d6579 30-Nov-2012 Jeff Sharkey <jsharkey@android.com> Fix incorrectly inverted text color.

Bug: 7632947
Change-Id: I2eb8c4c24bda5b08215204330c30431bf6d0fc27
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
eca1fc2cadb9c1f15ab042e2080a8b8eb40ab6fa 02-Nov-2012 Thiago Vinícius Freire de Araújo Ribeiro <thiagovfar@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
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.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/ManageApplications.java
38305fb1777147cbcb86774c466e88434daff141 15-Sep-2012 Jeff Sharkey <jsharkey@android.com> Data usage multi-user support.

Switch to storing policy per-user instead of per-app, meaning each
user has control over their own set of apps. Summarize the usage of
non-current users. Only allow owner to make changes to overall
network policy.

Hide auto-sync menu when viewing app details. Search for
MANAGE_NETWORK_USAGE intent across all package names sharing a UID.

Bug: 7121279, 5419594, 6978663
Change-Id: Ia70f04df70d27da27faccb947cd27021c628a41a
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
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/ManageApplications.java
13ba7e655643f664aa134e45362e155f18d42931 30-May-2012 Dianne Hackborn <hackbod@google.com> Fix issue where Manage Apps would not start on correct page.

We weren't setting the correct initial page in the view
pager.

Change-Id: I68846505a4f23547e9b09e4bc06e3d455ae9556f
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
a4af18755e0a344c628e4ddc4ece793d3401e6fb 18-May-2012 Dianne Hackborn <hackbod@google.com> Fix issues 6512411 and 6512951 in ManageApplications.

6512411 java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
6512951 Settings crash while returning from App info screen

Also fix padding around the UI, and display of storage use.

Change-Id: Ibfcfe1a4a80f25f81ba2cabbb2e3d60aaa9ac04e
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.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/ManageApplications.java
14d5714a8238b244b974e4e62fe688398ab45dcb 14-May-2012 Dianne Hackborn <hackbod@google.com> Implement issue #6477793: Add "restore" button to manage apps

Added!

Change-Id: I1b4ffdd24a1c5878ae3acf3970f9364304eb5250
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
7a3221bb95efd2e38e2aea243bcb13577bb276b3 03-May-2012 Amith Yamasani <yamasani@google.com> Use Spinner instead of Tabs, so that a 4th entry doesn't disappear off the screen.

This is for the 3 to 4 lists that you can switch between in the Settings->Apps
screen.

Bug: 6375122

Change-Id: I8a4e46b8aa3e06bc79edb5f65400462060fe5a29
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
48c72676b3717fc1f46c6e0ca9c4842ca6f588e1 09-May-2012 Amith Yamasani <yamasani@google.com> Merge "Apps tabs align to title on 2-pane settings." into jb-dev
f0b05de3e06ad319a32fc1784d1b5cef48521f81 09-May-2012 Amith Yamasani <yamasani@google.com> Apps tabs align to title on 2-pane settings.

Pad the lists in Apps screen.
Pad the color bar to align with the list.

Bug: 6449489

Change-Id: I28c39e2aae04a1fe36c6b7dc447ae19da575edaf
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
db5584158180bbb5af9a07f0c5f505388807f13c 09-May-2012 Kenny Root <kroot@google.com> Merge "Allow movement of forward-locked apps to SD" into jb-dev
3c24cfed8d5116ff21986acb60a918cb079a0efd 12-Apr-2012 Kenny Root <kroot@google.com> Allow movement of forward-locked apps to SD

Forward-locked apps are now in ASEC containers which can exist on both
SD card and internal storage. Merry Christmas.

Change-Id: If793cf76858395bfc67cd18ab18f488a83757d5f
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
bfb6a555aa894c54bd668c3f44bfac77e5774c4f 04-May-2012 Amith Yamasani <yamasani@google.com> Appease the monkey gods.

Bug: 6443925

Change-Id: Ia36a154d63763d7a3f826a80a5d1ae678b94208e
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
3b7dbcecf70788df4950340cbf750dbe524dca96 01-May-2012 Amith Yamasani <yamasani@google.com> Fix NPE in ManageApps when switching orientation.

Bug: 6394351
Change-Id: Ia66ab18195325b024223cdbce19756150e1d6c8c
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
02c22131e93e1a506141b1890c7134909ded876f 27-Apr-2012 Amith Yamasani <yamasani@google.com> Make Manage Apps remember which tab was shown.

This fixes the forgetfulness on orientation change. The code was
already in, but there was a typo in the key string that saved the tab.

Bug: 6000318
Change-Id: If29f42b83aa0ec9f05061b8690e0bdbe8c4a2812
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
44dda2d7f52007d2ef33b9e9b9b9b1ec84c5582e 23-Apr-2012 Jeff Sharkey <jsharkey@android.com> Use statfs() in IMediaContainerService.

Since Settings runs in system UID, it needs to export statfs()
operations to IMediaContainerService.

Bug: 6346248
Change-Id: I5801948211f0e55040da4850e3dd55b93f80798f
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
9244df4c6422931697a0cf6e327b15cd71b6d8c4 14-Feb-2012 Dianne Hackborn <hackbod@google.com> Add debug app / wait for debugger dev options.

Re-organize dev options a bit.

Change-Id: I291b177c87cb8fb4bd8316d05aa6eadfaaf5f0d2
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
af9252849fd94c1f2859c56a4010900ea38a607e 11-Nov-2011 Amith Yamasani <yamasani@google.com> Add compatibility aliases for shortcuts added to home screen in gingerbread.

Bug: 5016573
Change-Id: I1898b2f51216354829acca11e73186465f25ec32
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
39dd54bee0d0d63284b49aeb3759dfafeaf13ab6 08-Nov-2011 Amith Yamasani <yamasani@google.com> Potential fix for monkey crash.

The tab was being changed by a "keypress" after the fragment was
destroyed. Disable the widget until a resume.

Bug: 5157399
Change-Id: Ic1515255052eaea01f71c133d8570f25d65351b2
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
5d70679c02a57416eac46581d7242e2382e4b973 09-Sep-2011 Jeff Sharkey <jsharkey@android.com> Larger touch targets, snap to persisted value.

Extend ListView content to screen edges, and use InsetBoundsDrawable
to draw separator and divider with expected padding. Sweep touch
targets are now much larger.

Snap sweep to persisted value, and fix NFE when parsing label value.

Bug: 5274249
Bug: 5262865
Bug: 5242857
Change-Id: Ifa0f3e622767d5b4dc85a73d6340207e6038a429
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
762eaa77e3e12d5337ddc9cb87b473c47af5524a 01-Sep-2011 Kenny Root <kroot@google.com> Intent.getAction() can return null

Make sure we don't rely on action being non-null when it could be. This
fixes some paths into this Settings screen.

Bug: 5246883
Change-Id: I13e247ff95f389a45f5031a559d5ca4914082af3
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
c883ee5eaae1666f8321cfcc3058fb3843e695dc 29-Aug-2011 Dianne Hackborn <hackbod@google.com> Small improvements for issue #5225666

Sort disabled apps to the bottom of the list to make them easier to
find together.

Also change the order of the tabs because with the new layout anything
after the third tab is buried so put all apps at the end so the running
tab is more visible.

Change-Id: Id022fdbf366505cf0da3fb9a6270c3f2e2704d51
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
81aa9508d82255e41bdf538a25904eeb7966e5f2 23-Aug-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5078738: some options moved to overflow menu"
348b62e6e9568166a17b1304296e0f08aee97cf5 20-Aug-2011 Gilles Debunne <debunne@google.com> Bug 5078738: some options moved to overflow menu

Change-Id: I4ea41dfcd2b0d05de870fb8af5a7614970538491
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
b654cbb896a6e6db9ecec164476b0ac4a3e72774 18-Aug-2011 Jeff Sharkey <jsharkey@android.com> More TabWidget and padding tweaks to match spec.

Also fix NPE in UserDictionarySettings.

Bug: 5184822
Change-Id: I082981c3bcf9b1e6575dcf9f42495a17f0ec8672
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
430a3d3376cfa2c2a03d6f18d28577c34750102c 08-Aug-2011 Dianne Hackborn <hackbod@google.com> Update to work with the activity manager taking over OOM settings.

The values it needs are no longer in properties.

Also fix a few problems: bug with apps being left in the services
list, sorting of internal storage.

Change-Id: Ife9706e004931269c36a7bc37b9dbb016064c2e4
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.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/ManageApplications.java
cfd524f07af0820e2e41fd74e7e3c5b7433854f8 24-May-2011 Amith Yamasani <yamasani@google.com> Visual adjustments for smaller tablets.

Make the Manage Apps tab indicators horizontally scrollable.
Use medium font size for user dictionary.

Bug: 4462313

Change-Id: Iba44e758715c0187ea17ed072794b8596dee0e54
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
0385cf14a1b02fafc3d1a094ccfee45de4e9b03a 25-Jan-2011 Dianne Hackborn <hackbod@google.com> Fix issue #3306021 NPE at android.app.AlertDialog.getDefaultDialogTheme(AlertDialog.java)

It looks like the dialog fragment was not being removed along with
the containing fragment. The containing fragment now checks for
when it is being removed and removes its dialog fragment at that
point.

Also fix issue #3340766 NPE at
com.android.settings.applications.RunningProcessesView.startServiceDetailsActivity

We need to check if the running processes view is still attached to its
owner, since we clear owner when it is paused.

In addition, fix a bug where ManageApplications was not persisting
its "show background processes" state, and remove the icons from
its menu items to make them more understandable in the action bar.

Change-Id: I4498ef92023eb60f90758ff18d8eed7b41af79b0
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
a31be80ef056add00e0d239414f80f932978277f 24-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3381583 - Settings action bar not refreshing menu content

Change-Id: I71416dbf691a6dacfb58c6ac3cc0df8233db8f44
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
14ffda6f248d5a9d64c94ec6947ea317f75d6006 16-Nov-2010 Dianne Hackborn <hackbod@google.com> Fix issue #3163240: Blank running services screen after returning
from any specific service

Also get rid of async Vpn thing since the framework problem is fixed.

Change-Id: Ic7aafd666ea11b036e3e42c55332620db1fdf154
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
5203bdffe6ce2b829d0fab8c7691fa92aca6e972 04-Nov-2010 Amith Yamasani <yamasani@google.com> Create activity wrappers for settings launchable through intents or shortcuts.

Meta data specifies the fragment class and top-level header that it belongs to.

Bug: 3127704
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.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/ManageApplications.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/ManageApplications.java
4e4ed14ee2b82cb90a25b3027eb36f190ce2e1e7 29-Oct-2010 Dianne Hackborn <hackbod@google.com> Fix issue #3146784: ANR in manage applications

See the big comment.

Change-Id: I36164a6fcba58fe2b0e2b3aa216780d0d0e5ed37
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
d2be882d8f2e5acd8a5806c649ba4640249cf4ba 21-Oct-2010 Dianne Hackborn <hackbod@google.com> Fix issue #3114356: Storage visualization in Manage Apps is confusing

Also fixes issue #3097388: If you launch Manage Applications when SD
card app info isn't available, incomplete information gets cached

Change-Id: If3377a965653590e5bc1df25e38764a83e96b820
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
1337d0f70b18dd732c6a617be83e5be0bb8f2f87 14-Oct-2010 Dianne Hackborn <hackbod@google.com> Implement issue #3094621 and #3094609 - wipe sd card

3094621: add "wipe sd card" option to factory data reset
3094609: collapse unmount/format into one command

Implements requested UI changes. Also some final tweaks to
Manage Applications.

Change-Id: I0219195dd0c74d8c003ef1c3f6e09714859d7f89
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
673085af9e5e040eb0109138e9cb6916fa4b88f0 12-Oct-2010 Kenny Root <kroot@google.com> Don't show the sort menu for running process list

You could bring up the menu and sort running processes by size or name
which would display the applications list at the same time the running
process list was being displayed. This happened because the
mApplicationsAdapter is used for the list of apps and is sortable, but
the running process list doesn't use the adapter.

Disable the menu when the running applications list is presented to
prevent this situation where two ListViews are visible.

Bug: 3084901
Change-Id: I5304cf7a1f426269ed4858e649729a35b9344717
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.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/ManageApplications.java
9a294912ada6b90e6dac882e79ee449964c2263f 27-Sep-2010 Winson Chung <winsonc@google.com> Modifying the ACTION_MANAGE_ALL_APPLICATIONS_SETTINGS action handling to default to All Apps tab

Change-Id: I5c18b916b09979117e4b746f521a81ca554903b4
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.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/ManageApplications.java
44178e2801c013e60defb4b5f390d893e7344a71 14-Sep-2010 Dianne Hackborn <hackbod@google.com> Supercalifragilisticexpialidocious.

Change-Id: Ifaece97c80b859cb455eab56230e076eca916f4a
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
ff3673c7f477b1d78e64a8bc28754552dcdc8826 16-Aug-2010 Dianne Hackborn <hackbod@google.com> Make running services initial update async.

Also fix the value show for an app's awake time.

Change-Id: I801681d3a1d47a6bb1f3fb8cc5b0ef009201146f
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
508fedc4102790dcd7004e4962e2b540967b714b 29-Jul-2010 Dianne Hackborn <hackbod@google.com> Improvements to manage apps / running services:

- Running services now keeps a single data structure to make
switching through the UI a lot faster.
- Display text when there are no apps.
- Fix deadlock.
- Add new preference entry to view manage apps for storage use.
- Etc.

Change-Id: I0f5babf407ed7e84169f59584ddcb6cd0e9d67d9
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.java
e7623f775cb37a8de049dae8c03b5b396526fdd1 27-Jul-2010 Dianne Hackborn <hackbod@google.com> Rewrite Manage Applications to be faster and simpler.

Change-Id: I4cf405e83a369cb935bccf375798557ffd93e14e
/packages/apps/Settings/src/com/android/settings/applications/ManageApplications.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/ManageApplications.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/ManageApplications.java