History log of /frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/AppUtils.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4af5b9276e48b606a2ec9f24adee2072eee0a1bf 28-Feb-2017 Antony Sargent <asargent@google.com> New design for instant apps in app details header

Bug: 35098444
Test: make RunSettingsRoboTests

In the previous design for instant apps, some metadata about the app
such as developer title, maturity rating, etc. was going to be shown
in the app header. In the latest design, we instead are just showing
a little label that says "Instant app".

The two CL's for this topic work together to change this:

frameworks/base : adds code to work around the problem that
robolectric doesn't know about the new isInstantApp method of the
ApplicationInfo class, so we need to avoid calling it during tests.

pacakges/apps/Settings: removes the code that previously displayed
the instant app metadata, and instead just insert the "Instant app"
label.

Change-Id: Ie436085d4a257a1dd90b64d34d6ef15b8df369fd
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/AppUtils.java
67952e94a92a429abd0dbc758c99655f67ae2c30 10-Feb-2017 Antony Sargent <asargent@google.com> Add "Instant apps" filter to app listing

Bug: 35098444
Test: new test added in ApplicationsStateTest.java ; run it by doing the
following commands:
make SettingsLibTests -j40
adb install -r $OUT/data/app/SettingsLibTests/SettingsLibTests.apk
adb shell am instrument -w com.android.settingslib

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: Ia2ec099f758901839a2aa84fe155ae032990092f
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/AppUtils.java
e06b4d1d9f718b9fe02980fea794a36831a16db2 06-Jan-2016 Jeff Sharkey <jsharkey@android.com> Consistent naming for PackageManager methods.

When hidden PackageManager methods take a userId argument, they
should be named explicitly with the "AsUser" suffix. This fixes
several lagging examples so that we can pave the way to safely
start passing flags to new methods without scary overloading.

Also fix spacing issues in various logging statements.

Change-Id: I1e42f7f66427410275df713bea04f6e0445fba28
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/AppUtils.java
ed03f451c877326352e1d7b783099ff9c04f1d2e 21-Oct-2015 Tony Mantler <nicoya@google.com> Move some app methods to AppUtils in SettingsLib

Change-Id: If9a1e997ff92957905039cd13143e26324eb7e92
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/AppUtils.java