• Home
  • History
  • Annotate
  • only in /packages/apps/Settings/src/com/android/settings/applications/
History log of /packages/apps/Settings/src/com/android/settings/applications/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
688d1d81cba16deb03e0f495b1e65c71a981d5a4 05-Jun-2018 Doris Ling <dling@google.com> Only add entry with unique package name to default browser list.

When we query the package manager for activities that can handle the
web data uri, different capable activities within the same package will
be returned as separate entries. However, when we show the default
browser apps to the user, the entries are simply base on package name.
So, if there are multiple activities within the same package that can
handle the web data, they will be shown as duplicate entries.

When we process the resolved activities, check the corresponding package
name for duplicate entries before adding it to the default browser list.

Change-Id: I4e1f1e1ea22781efe24d791b367246423ca7a3c4
Merged-In: I70c88866eb3d5fe6466554749e23c85f429dd30c
Fixes: 84207432
Test: make RunSettingsRoboTests
efaultapps/DefaultBrowserPicker.java
cf2e1fd5936aae877615e2061908151ea1530596 30-May-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Plumb context object to PowerWhitelistBackend." into pi-dev
3489f6502430c49e8c9faa2f4d22264ee922c952 29-May-2018 Fan Zhang <zhfan@google.com> Plumb context object to PowerWhitelistBackend.

Change-Id: Ice0d037625d47f1f668b00499a7f1ad2302cc0ba
Merged-In: Ice0d037625d47f1f668b00499a7f1ad2302cc0ba
Fixes: 76435804
Test: robotests
ppStatePowerBridge.java
anageapplications/ManageApplications.java
9ab2f372262c3a6372d8a71f26428a446d628d99 25-May-2018 Fan Zhang <zhfan@google.com> Prevent disabling default phone/sms apps in battery setting

- In handleDisableable(), call getKeepEnabledPackages() in the same way
as AppActionButtonPreferenceController.
- Update getKeepEnabledPackages() to dynamically query default phone/sms
app packages.

Change-Id: I8dc7d6248cf440dcc053f6acba9d5548d5670c41
Merged-In: I8dc7d6248cf440dcc053f6acba9d5548d5670c41
Fixes: 80328396
Bug: 80312809
Test: robotests
pplicationFeatureProviderImpl.java
a30e046597d46a28b6a36c62e6a0aee2b36dad83 21-May-2018 Julia Reynolds <juliacr@google.com> DO NOT MERGE Handle usageevents for work profile apps

Test: robotests
Change-Id: Ifdc6e456d76614220b2052e6ca8a8f3676d0e2ee
Fixes: 79142791
ppStateNotificationBridge.java
anageapplications/ManageApplications.java
cac18e12ac5ae59248182edf9bef43ab6472e723 14-May-2018 Fan Zhang <zhfan@google.com> Move app setting link from Entity header to pref controller

Change-Id: I13a27486a9c9b4c4fb358715d678473e63c1b624
Merged-In: I13a27486a9c9b4c4fb358715d678473e63c1b624
Fixes: 79688822
Test: robotest
ppinfo/AppHeaderViewPreferenceController.java
ppinfo/AppInfoDashboardFragment.java
ppinfo/AppSettingPreferenceController.java
e70e27cceabd14ddcbc91a034aabd87e8991eba9 12-May-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Unrestricting app when put on power whitelist" into pi-dev
0f447022cf8808ae3879547b326a97d4d0296b99 11-May-2018 Suprabh Shukla <suprabh@google.com> Unrestricting app when put on power whitelist

Power whitelisting and background restrictions are opposing rules, so to
keep apps out of confusing states, unrestricting an app whenever it is
put on the power whitelist.

Test: atest RunSettingsRoboTests:HighPowerDetailTest

Bug: 77924141
Change-Id: I4952ac6c893bc7e98aa1b6ad3a86906fc299dea5
anageapplications/ManageApplications.java
bd376296cd5b5a41c421b4d831036957915336ce 04-May-2018 Matthew Fritze <mfritze@google.com> Establish permanently unavailable settings

Distinguish between settings which are permanently unavailable on
the device, and temporarily unavailable. This enables us to restrict
which setting slices are exposed in onSliceGetDescendants.

The primary changes in this CL are renaming:
"DISABLED_UNSUPPORTED" -> "UNSUPPORTED_ON_DEVICE"
to be more clear the the setting will cannot be accessed on the device, and,
adding a new enum to encapsulate settings which are currently unavailable, but
could be enabled in the future.

Also remove UNAVAILABLE_UNKNOWN. Devs should never need this enum.

Bug: 78910582
Fixes: 79245656
Test: robotests
Change-Id: I42c2cedab66be2d76999795f46470a079cc1ec71
Merged-In: I58821a6cfd6134b3b351657b6edf5f74ead00643
ataSaverController.java
eviceAdministratorsController.java
nabledVrListenersController.java
ighPowerAppsController.java
remiumSmsController.java
ppinfo/AppBatteryPreferenceController.java
ppinfo/AppDataUsagePreferenceController.java
ppinfo/AppMemoryPreferenceController.java
ppinfo/DefaultAppShortcutPreferenceControllerBase.java
ppinfo/TimeSpentInAppPreferenceController.java
c3e4619af17c6c6afce98ce536a712243dacdcca 01-May-2018 Doris Ling <dling@google.com> Fix crash in ExternalSourceDetailPreferenceController.

- Add null check for the package info when trying to retrieve the
install app state. During package update, the package info might becomes
null. The App info activity will finish in that case, but this method
might be called before the activity actually finishes.

Change-Id: I18ff448666dfb403bb6693fccd3e54276db36f37
Fixes: 78257414
Test: make RunSettingsRoboTests
ppinfo/ExternalSourceDetailPreferenceController.java
f5d1f165eb65d6e09985d78afc7c25c9f46bca25 12-Apr-2018 Julia Reynolds <juliacr@google.com> Notification summary updates

- Fix app info summary
- Add configure notifications summary

Test: make -j RunSettingsRoboTests
Change-Id: Ic3c3036ee903fe7403032925a8145693807793d5
Fixes: 77598357
Fixes: 73018368
ppinfo/AppNotificationPreferenceController.java
50f641be29464cb5f33e7b81d00be9f1f9c28cea 10-Apr-2018 Beverly <beverlyt@google.com> Update mSortOrder when changed to frequent

Update mSortOrder so when the activity is resumed, the
apps are sorted how the user wants

Test: make ROBOTEST_FILTER=ManageApplicationsTest RunSettingsRoboTests
Change-Id: I422846aada29ee254996b2e94da27af7ed935a0b
Fixes: 77691626
anageapplications/ManageApplications.java
968dcaf41a468254befa55c96046dde007e90660 09-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Use proper icon size for default app prefs." into pi-dev
283ac08e8696ac24dc0c7f980b3b38de5adb9642 09-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "GesturesSettingPreferenceController to Toggle" into pi-dev
e0d2140256ff8f2ae58005fb9049aea9c17b6234 07-Apr-2018 Fan Zhang <zhfan@google.com> Use proper icon size for default app prefs.

Change-Id: Ib48c7a546fcd3a3a9e32b7a65cbdadd54721f252
Fixes: 77726902
Test: robotests
efaultapps/DefaultAppPreferenceController.java
3c4c3fc5c7e502933e4362f30517642f5acecc76 02-Apr-2018 HJ ChangLiao <hjchangliao@google.com> GesturesSettingPreferenceController to Toggle

Convert GesturesSettingPreferenceController to
TogglePreferenceController,
All of its children need follow the change,
add setter and robotest for them:
AssistGestureSettingsPreferenceController
DoubleTapPowerPreferenceController
DoubleTapScreenPreferenceController
DoubleTwistPreferenceController
PickupGesturePreferenceController
SwipeToNotificationPreferenceController

Change-Id: I792b2d370eea828bf345fb2b1cc3eac260eb66f4
Merged-In: I792b2d370eea828bf345fb2b1cc3eac260eb66f4
Fixes: 74913806
Fixes: 67998110
Fixes: 67998098
Fixes: 67998048
Fixes: 67998069
Fixes: 67997452
Test: make RunSettingsRoboTests
ssist/ManageAssist.java
2df5a0b322935de5916b05eb9fb29b9883eae1d4 27-Mar-2018 John Li <lijohn@google.com> Move these radio buttons to the left

Assign new single layout to RadioButtonPreference for w/ or w/o icon
and call setIconSpaceReserved(false) in RadioButtonPreference's
constructor. In case of having icon, calling setIcon() can make
icon_frame visible.

Bug: 70850017
Test: m -j56 SettingsRoboTests RunSettingsRoboTests
Change-Id: I8b35f75b6d8114a5e4c69ec1a3287c55e764ffe0
efaultapps/DefaultAppPickerFragment.java
963a4fb59e60c42319c8fcf3fc767814b082d86c 05-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Couple more Scoped Directory Access changes." into pi-dev
54ee35c35c3fac1710ca08a85a19305ed9b2b0b4 04-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add app info notification summary" into pi-dev
20c5eb841b122fdbfeadf2df30321e7cd1e2f6c5 03-Apr-2018 Felipe Leme <felipeal@google.com> Couple more Scoped Directory Access changes.

- Moved DirectoryAccessDetails rendering logic to refreshUi so it's updated.
- Call ScopedAccessProvider to reset preferences on "Clear access" UI.

Test: manual verification
Test: atest CtsAppSecurityHostTestCases:ScopedDirectoryAccessTest#testResetDoNotAskAgain,testResetGranted

Bug: 72055774
Change-Id: I4a6bf187cacfb59d948abbe71afc3b7500cb15aa
ppStorageSettings.java
irectoryAccessDetails.java
4720ba39e314d871b13b6a2f930cfefdd3466588 03-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove wrapper for ConnectionManager/IPackageManager" into pi-dev
d73d3a8f55d31c8c0399820248494af4f2a04e8a 03-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove more wrappers" into pi-dev
01cfb9d8c54dd2c888cea15987e7644e8a78a3e0 02-Apr-2018 Fan Zhang <zhfan@google.com> Remove wrapper for ConnectionManager/IPackageManager

Bug: 76167422
Test: robotests
Change-Id: I5f051b0ce58b97a3cfd5d4bae469463dcd6d83ac
ppStateAppOpsBridge.java
ppWithAdminGrantedPermissionsCounter.java
ppWithAdminGrantedPermissionsLister.java
pplicationFeatureProviderImpl.java
947a673f74a2dc070bd860aa6f50c05f001adbe5 02-Apr-2018 Fan Zhang <zhfan@google.com> Remove more wrappers

- WallpaperManagerWrapper
- UserManagerWrapper

Bug: 76167422
Test: robotests
Change-Id: I3ca866089082e01f1e9d7a4554387962f45a5437
ppinfo/PictureInPictureSettings.java
8c48defb521d82d9c08320a950f8306dc833ee57 30-Mar-2018 Matthew Fritze <mfritze@google.com> Expand isAvailable to include DISABLED_DEPENDENT

isAvailable will now return true when getAvailabilityStatus
returns DISABLED_DEPENDENT_SETTING. This is because the setting
should be displayed in the Fragment even if it has a dependent setting,
which matches existing behaviour. Slices will still display the warning
slice without inline content, where the main action brings you to the
setting page. For now, we have to assume the user will be able to figure
out how to enable the setting. In Q, we would like to build a more
intelligent flow so that we can prompt or even help the user fix the
dependency (we just ran out of time in P).

The only setting that had previously used DISABLE_DEPENDENT_SETTING
was a developer option.

Change-Id: I1f774a2e09cb60de01388cf6c35785c8b5dea176
Fixes: 77334915
Test: robotests
ppinfo/AppMemoryPreferenceController.java
78756b18804461bc155423d0f96b3c0eab515b43 30-Mar-2018 Julia Reynolds <juliacr@google.com> Add app info notification summary

Test: make -j RunSettingsRoboTests
Change-Id: I803b473d994dff4ec8591c43452820b0e702ea0e
Fixes: 72442731
ppinfo/AppNotificationPreferenceController.java
aab36de0d69ff0ee7c0fdf809899e1b4a61d1d26 31-Mar-2018 Fan Zhang <zhfan@google.com> Remove wrapper for device policy manager

Bug: 76167422
Test: robotests
Change-Id: I69dc7341cf1ff408bc24c2a062586cef25b7b918
ppInfoBase.java
ppWithAdminGrantedPermissionsCounter.java
ppWithAdminGrantedPermissionsLister.java
pplicationFeatureProviderImpl.java
ppinfo/AppActionButtonPreferenceController.java
ppinfo/AppInfoDashboardFragment.java
e33ff4e97c8aedfed887ee6b20f32bcaf3238d04 31-Mar-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove wrapper class for AutofillManager in Settings" into pi-dev
65499ac2a3b32135d2f1da64328bfbf714667a5f 31-Mar-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Final (?!?!?!?!) Directory Access improvements." into pi-dev
19b9f120dbe581a0aa8c1c0afb7b73a0ebed0343 30-Mar-2018 Fan Zhang <zhfan@google.com> Remove wrapper class for AutofillManager in Settings

Robolectric now supports new system services. So we no longer need any
wrapper class.

Bug: 76167422
Test: robotests
Change-Id: Ic54b95f747bea933bacec299b00a29f3cc4f7bb5
efaultapps/DefaultAutofillPreferenceController.java
c0c3eaa66c9e5d38ccd3c7a8de32d46829420532 30-Mar-2018 Fan Zhang <zhfan@google.com> Remove more wrappers

Bug: 76167422
Test: make RunSettingsRoboTests -j40
Change-Id: I0dc42c483ae92d508dec94e42573b55ced0e4bb0
ppinfo/PictureInPictureSettings.java
68acecff564fd9fa6181eec432615728f83f2f57 30-Mar-2018 Felipe Leme <felipeal@google.com> Final (?!?!?!?!) Directory Access improvements.

- Hide children items when parent is granted access (and vice versa).
- Added dividers in between volumes.

Test: manual verification
Test: atest CtsAppSecurityHostTestCases:ScopedDirectoryAccessTest#testResetDoNotAskAgain,testResetGranted

Bug: 72055774

Change-Id: Ie4ad117d1f8a53bf7dbf7747e768a301b0d03604
irectoryAccessDetails.java
b5c651c9399aa53e0bef296a265a47c825fe12b2 30-Mar-2018 Fan Zhang <zhfan@google.com> Register most app info related controllers in xml

Bug: 77216595
Test: robotests
Change-Id: I79afa38820b7518d8b3112148802797ebcf6d184
efaultAppSettings.java
ppinfo/AdvancedAppInfoPreferenceCategoryController.java
ppinfo/AppDataUsagePreferenceController.java
ppinfo/AppInfoDashboardFragment.java
ppinfo/AppInfoPreferenceControllerBase.java
ppinfo/AppInstallerInfoPreferenceController.java
ppinfo/AppInstallerPreferenceCategoryController.java
ppinfo/AppNotificationPreferenceController.java
ppinfo/AppOpenByDefaultPreferenceController.java
ppinfo/AppPermissionPreferenceController.java
ppinfo/AppStoragePreferenceController.java
ppinfo/AppVersionPreferenceController.java
ppinfo/DrawOverlayDetailPreferenceController.java
ppinfo/ExternalSourceDetailPreferenceController.java
ppinfo/InstantAppDomainsPreferenceController.java
ppinfo/PictureInPictureDetailPreferenceController.java
ppinfo/WriteSystemSettingsPreferenceController.java
b803a230312746cb83586692f396dae54dbd57d6 29-Mar-2018 Fan Zhang <zhfan@google.com> Check time-spent-in-app intent must come from system app.

Change-Id: Ie73aacdaf919b336d99a296328c2fbb4f75036b0
Fixes: 74580195
Test: robotests
ppinfo/TimeSpentInAppPreferenceController.java
1cda00b12bfffbb0f3aa0a94e8758235164c54f6 26-Mar-2018 Julia Reynolds <juliacr@google.com> Allow app lists to have a toggle

And make the notifications app list toggle block/unblock
notifications.

Test: make -j RunSettingsRoboTests
Change-Id: I7417b98fb1c66504897df515c4c84afad591764e
Fixes: 74318867
ppStateNotificationBridge.java
anageapplications/ApplicationViewHolder.java
anageapplications/ManageApplications.java
9f5849aaf41a7cccd2b5918fe5934117fa2922f1 26-Mar-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix text overlap issue when flinging in ManageApplication" into pi-dev
de052eb2b9222161769da4ac2004501194eb9af3 24-Mar-2018 Fan Zhang <zhfan@google.com> Fix text overlap issue when flinging in ManageApplication

The issue is we have a background handler to find app size and set to
summary asynchronously. When flinging quickly, the view being request to
update by the background handler could be scrolled off screen already.
This change forces onPackageSizeChanged update to only happen when it's
not scrolling.

Change-Id: Ia7ccab776c3c789c8d4c0b55104b48e257b9cebf
Fixes: 76176014
Test: manually fling
anageapplications/ManageApplications.java
396e91abf048d3ebc3c6cb37dc6bb93ac30323bd 26-Mar-2018 Benjamin Franz <bfranz@google.com> Merge "Do not allow force stopping protected packages" into pi-dev
30da391fa026bbc2569ac4a57bf8d9f45a36f939 24-Mar-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add preference controller to launch app-time-spent UI." into pi-dev
64a8f70a7f1e7ccf42d03ab2882541f31c718aa9 23-Mar-2018 Fan Zhang <zhfan@google.com> Add preference controller to launch app-time-spent UI.

Bug: 74580195
Test: robotests
Change-Id: Iba9338f04cc037a134ef9445ce97cbbe21f53833
ppinfo/AppInfoDashboardFragment.java
ppinfo/TimeSpentInAppPreferenceController.java
ff9500d0f99ac89e44772b8fbc93aa74c68760d8 21-Mar-2018 Julia Reynolds <juliacr@google.com> Add manage notifications screen

Test: make -j RunSettingsRoboTests
Bug: 74318867
Change-Id: I1c872c976677ee38f7d9d9523d18fc8ca03fa547

Add manage notifications screen

Test: make -j RunSettingsRoboTests
Bug: 74318867
Change-Id: Ia3626e9f69e8b91b1a2bba9ef549c775972e749a
ppStateNotificationBridge.java
anageapplications/AppFilterRegistry.java
anageapplications/ManageApplications.java
00cc0275347de4b6f72b318970e2334e86938536 22-Mar-2018 Benjamin Franz <bfranz@google.com> Do not allow force stopping protected packages

Bug: 75997475
Test: make RunSettingsRoboTests
Test: manual
Change-Id: I0670f6f0afbc603d8ac61711cfefec2b1fc4b43b
ppinfo/AppActionButtonPreferenceController.java
b8dec9c8a9b9744c305f04f401a95dc221376cef 21-Mar-2018 Ben Lin <linben@google.com> Merge "Add ability to open up "Open by default" page directly via intent." into pi-dev
a3970d4e529d15b9d4a3685aa150444a1dbffa45 20-Mar-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove LinearColorBar and replace uses with ProgressBar." into pi-dev
ee2ac81999a2de41d57fa295104a5bf0024979e9 20-Mar-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fixing settings crash when no default home app is set" into pi-dev
617acf352b095461eac15eeb9896b9a5fff06e9a 14-Mar-2018 Sunny Goyal <sunnygoyal@google.com> Fixing settings crash when no default home app is set

Test: make -j20 RunSettingsRoboTests
Bug: 74519090
Change-Id: I8846bae1f0083be981cfde9a68291c1b01359228
efaultapps/DefaultHomePreferenceController.java
38bf192ed6224d56443088a424f032ee86447ddc 18-Mar-2018 Andrew Sapperstein <asapperstein@google.com> Remove LinearColorBar and replace uses with ProgressBar.

We never actually needed it, since progress bar can do
everything we want it to. Renamed data_usage_progress to
color_bar_progress to reflect its more generic state.

Updated color_bar_progress to use proper values.
Since we can't seem to use private attrs in settings,
use the dimen/color values that are customizable.

Updated usages to use regular ProgressBar APIs.

Fixes: 74111937
Test: visual inspection and robotests
Change-Id: I4f0c59e6cf5c629e3cc3901800d9c4afc95fa495
unningProcessesView.java
e8ffc29f7fa67a607553b4cb7512887845f4af82 15-Mar-2018 HJ ChangLiao <hjchangliao@google.com> Remove ops preference from specific app

Remve below preference in Settings>Apps>Specific app:
Display over apps screen> App display on top permisson
Usage access> App usage preferences
Modify system settings> App modify system settings permission

Change-Id: Ib4128e563b0e2739c16136694ce24182f0da6626
Fixes: 72737995
Test: Manual test
sageAccessDetails.java
ppinfo/DrawOverlayDetails.java
ppinfo/WriteSettingsDetails.java
6acc0cf3cdf3e47feb5a9c99adf4e732bfec9f2b 07-Mar-2018 Fan Zhang <zhfan@google.com> Update string: clear data -> clear storage

Change-Id: I710f7b95a53e5437d895ff920f3cce7aa4c5a6cf
Fixes: 34515307
Test: visual
ppStorageSettings.java
c08984befdadbfb5eadfe33df722a4dffab3f98d 06-Mar-2018 Doris Ling <dling@google.com> Add intent fields when launching instant app.

- add browseable category, package name, and new task flag.

Change-Id: Ie558f5885b5f0f78c88241de7c2d7a21cfb9d0fe
Fixes: 74131502
Test: make RunSettingsRoboTests
ppinfo/InstantAppButtonsPreferenceController.java
0ced3704270fbc5d2713102617f49e8bdeff1294 05-Mar-2018 Fan Zhang <zhfan@google.com> Update pref fragment for "see all" in app & notification

Instead of launching intent, now to launches all app list as a
subsetting. This is more consistent with the other setting pages and
fixes a task affinity issue.

Change-Id: I0464a2b8f46d46f06bcf297c0f876ae12a7c490b
Fixes: 74205806
Test: robotests
anageapplications/ManageApplications.java
0cdc103e8287d3bd01944cdd2afb5c11897998fe 28-Feb-2018 Ben Lin <linben@google.com> Add ability to open up "Open by default" page directly via intent.

Bug: 74010481
Test: Manually check; sending an Intent with package:// scheme works, if
originated from app of same cert.
Change-Id: I5700e495d259d0197421f40594861bc43e3c154c
(cherry picked from commit 8e2f5a758b7ca44cdafa5a34a9b929e88f1ba9af)
nstalledAppOpenByDefaultPage.java
b513ca9303ab670e509dc3652f5dd65d34498947 01-Mar-2018 Antony Sargent <asargent@google.com> Move force stop button back out of options menu

In ag/3485781 we moved the force stop button up into the options
menu, but it turns out we didn't actually want to do that. This
CL reverts that change.

Bug: 72948647
Test: make RunSettingsRoboTests
Change-Id: Id687dbde378dc9d95d88a9c188762094d05b6561
ppinfo/AppActionButtonPreferenceController.java
ppinfo/AppInfoDashboardFragment.java
ppinfo/ForceStopOptionsMenuController.java
46d6ecc2b186245785dfaa7936c0723b6ebb91a0 01-Mar-2018 Oscar Shu <xshu@google.com> Merge "Adding Wifi setting to special_access settings"
04f1423bfaa333f60074ec3fbfcf31b9ead4f7c0 28-Feb-2018 Fan Zhang <zhfan@google.com> Remove custom updateState() if it's just setting summary

Change-Id: I6311d67d6ba11961a6814b91dcd8e37a2e17df40
Fixes: 73950519
Test: rerun robotests
ppAndNotificationDashboardFragment.java
ppPermissionsPreferenceController.java
ppinfo/DefaultAppShortcutPreferenceControllerBase.java
ppinfo/DrawOverlayDetailPreferenceController.java
ppinfo/WriteSystemSettingsPreferenceController.java
906572b127e57aac01bfe1a45ddcc7f053883f47 27-Feb-2018 Fan Zhang <zhfan@google.com> Change PreferenceController#getSummary return type.

Return CharSequence instead of String.

All user visible string should be modeled as CharSequence.

Bug: 73950519
Test: robotest
Change-Id: I30befef0c33f94351d4a2774e283bd1ed804aa8b
ppPermissionsPreferenceController.java
ppinfo/DefaultAppShortcutPreferenceControllerBase.java
ppinfo/DrawOverlayDetailPreferenceController.java
ppinfo/WriteSystemSettingsPreferenceController.java
3f04897a197c84e7f149efc0d2172d3a628d85dc 01-Feb-2018 xshu <xshu@google.com> Adding Wifi setting to special_access settings

In the settings app, allow users to override app permission for
CHANGE_WIFI_STATE for every application that declared that permission.

Bug: 70562620
Test: compile, robotests

Manual test:
Flash build to device (walleye)
Download iPass from playstore
Open iPass and try connect to a wifi network; verify success
Open settings -> Apps & notifications -> Advanced -> Special app access
-> Wifi access
Select iPass from the list
Toggle the switch to off
Open iPass and try connect to a wifi network; verify failure

Change-Id: Ib2be4c83988a81ba7831d096c9b1980462e66903
anageapplications/AppFilterRegistry.java
anageapplications/ManageApplications.java
ce281e060d814306e045c981596a5b539bc1df44 26-Feb-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix bug causing the Overlay Settings page to be hidden behind overlays."
9aeaa197a93f60deb78eea06fbe95060e3190b15 12-Feb-2018 Peter Visontay <pvisontay@google.com> Fix bug causing the Overlay Settings page to be hidden behind overlays.

Test: Manually using an app that displays a full-screen overlay.
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=DrawOverlayDetailsTest
Bug: 72734249

Change-Id: I84b61fea2a793bebfac025ca3a209286ceeef963
ppinfo/DrawOverlayDetails.java
f7843adabd4e8e1cc84a52721daabefa3a1410fd 22-Feb-2018 Fan Zhang <zhfan@google.com> More renaming in DashboardFragment

getPreferenceControllers() -> createPreferenceControllers() for the same
reason as in ag/3647936

Bug: 73668763
Test: robotests
Change-Id: I97670a91a2a38d1c844d1b9d37f4222c5e6f45a0
ppAndNotificationDashboardFragment.java
efaultAppSettings.java
pecialAccessSettings.java
ppinfo/AppInfoDashboardFragment.java
ssist/ManageAssist.java
aed8994f6f50a6bc0adfaa92b499ebde3a8f2a76 22-Feb-2018 Fan Zhang <zhfan@google.com> Rename Indexable::getAllPreferenceControllers.

To getPreferenceControllers. "all" is redundant. Then internally, the
old getPreferenceControllers() is renamed to
createPreferenceControllers() to emphasize the controllers are created
from code (versus the ones created from xml).

Bug: 73668763
Test: robotest
Change-Id: Ifec46aefdc2a418031c8e152028b30bdcd396fc7
ppAndNotificationDashboardFragment.java
efaultAppSettings.java
pecialAccessSettings.java
ssist/ManageAssist.java
158096d25d53d8aa91efb1e89d46f803fc2569ee 24-Feb-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Settings: Move DefaultAppInfo CandidateInfo to SettingsLib"
fef14cac00b7e4f1ef0481845421618bc3810643 21-Feb-2018 Dake Gu <dake@google.com> Settings: Move DefaultAppInfo CandidateInfo to SettingsLib

Bug: 3600711
Test: Moved DefaultAppInfoTest to SettingsLib
m RunSettingsRoboTests
Change-Id: If9e2288009277f1940b9769790b78bb0a58b626a
ssist/DefaultAssistPicker.java
ssist/DefaultAssistPreferenceController.java
ssist/DefaultVoiceInputPicker.java
ssist/DefaultVoiceInputPreferenceController.java
efaultapps/DefaultAppInfo.java
efaultapps/DefaultAppPickerFragment.java
efaultapps/DefaultAppPreferenceController.java
efaultapps/DefaultAutofillPicker.java
efaultapps/DefaultAutofillPreferenceController.java
efaultapps/DefaultBrowserPicker.java
efaultapps/DefaultBrowserPreferenceController.java
efaultapps/DefaultEmergencyPicker.java
efaultapps/DefaultEmergencyPreferenceController.java
efaultapps/DefaultHomePicker.java
efaultapps/DefaultHomePreferenceController.java
efaultapps/DefaultPhonePicker.java
efaultapps/DefaultPhonePreferenceController.java
efaultapps/DefaultSmsPicker.java
efaultapps/DefaultSmsPreferenceController.java
efaultapps/DefaultWorkBrowserPreferenceController.java
41baba147c88b3c9b7fb5ce1dbcf2e96e5cb9262 23-Feb-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix NPE in InstantAppButtonsPreferenceController"
2b730e420db4212b3fcb6964cef3ea2881003609 23-Feb-2018 Tracy Zhou <tracyzhou@google.com> Merge "Correct picture-in-picture setting behavior for managed profile."
8ce416977c60426f7f8b7d47164fd8392f177f7f 21-Feb-2018 Tracy Zhou <tracyzhou@google.com> Correct picture-in-picture setting behavior for managed profile.

- Show picture-in-picture setting in the app info page for managed
profile.
- Navigate to work app setting instead of non-work app setting on
tapping setting icon from picture-in-picture window. This requires
correctly processing passed-in UserHandle to fetch the right package
info.

Bug: 71592457
Test: make RunSettingsRoboTests
Change-Id: Id3dd04e88a57ae3d8c319c17615992637128589b
ppInfoBase.java
ppinfo/PictureInPictureDetailPreferenceController.java
8f7edfa108c58e8eb3101e238e349ee9fcdb06a3 22-Feb-2018 Doris Ling <dling@google.com> Fix NPE in InstantAppButtonsPreferenceController

- check for valid install options menu before trying to disable it.

Change-Id: Ibe644a506094e66b0f657092a25557f5096d4942
Fixes: 73767192
Test: make RunSettingsRoboTests
ppinfo/InstantAppButtonsPreferenceController.java
deb1e5705332fc9f9e6ad8f2f938935d400c95da 21-Feb-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add Open button to launch instant app."
f9ab8ea7bda40eda8a9d4eba4d3848c14570afd1 20-Feb-2018 Doris Ling <dling@google.com> Add Open button to launch instant app.

- move logic from InstantAppButtonsController into
InstantAppButtonsPreferenceController, as it is not really necessary to
have separate control to be in different class.
- add logic to check if the instant app provides a default launch uri.
If so, show a Open button to launch the uri, and move the Install
button into option menu. If not, Install button remains as is.
- also update the instant app button layout to match the regular 2
buttons layout.

Change-Id: Ibcae780ad697ca93a48604b03c8f4600dd3c0472
Fixes: 69562807
Test: make RunSettingsRoboTests
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.java
ppinfo/AppInfoDashboardFragment.java
ppinfo/InstantAppButtonsPreferenceController.java
nstantapps/InstantAppButtonsController.java
1f6d24a991a688110fdd75ac852c51bd882c81e9 19-Feb-2018 Fan Zhang <zhfan@google.com> Get rid of direct usage of Utils.onBuildStartFragmentIntent

Change-Id: I87eb97d6da4cd4f99be5bcdb1e3e245eb1c7bd1c
Fixes: 73250851
Test: robotests
ppInfoBase.java
47854c2945c844a636722dec1ec7dd27860834b8 19-Feb-2018 Fan Zhang <zhfan@google.com> Migrate more places to subsetting launcher

Bug: 73250851
Test: robotests
Change-Id: Iaf29df45ddb42fd58f181cb01e10998a97cb7c34
ppInfoBase.java
hortcutPreference.java
ppinfo/AppInfoDashboardFragment.java
ppinfo/DefaultAppShortcutPreferenceControllerBase.java
b1d6c76b538860e2c1f1dd2d3e328c77b6d0668f 17-Feb-2018 Fan Zhang <zhfan@google.com> Migrate more settings to SubSettingLauncher

Bug: 73250851
Test: robotest
Change-Id: Ifc27b90d68bf4a907f169e19338e9b52ea5f9922
rocessStatsSummary.java
7cf99f5f1239f2e657b5592e286f0c0d31661da0 16-Feb-2018 Fan Zhang <zhfan@google.com> Migrate more settings to use SubSettingsLauncher

Bug: 73250851
Test: robotests
Change-Id: I08f6f380489646231d6d8ceb1488e2efb036bf69
onvertToFbe.java
rocessStatsBase.java
unningProcessesView.java
ppinfo/AppInfoDashboardFragment.java
anageapplications/ManageApplications.java
bf3e2243efe73651ca762b1a455ae7a60059d5dd 12-Feb-2018 Julia Reynolds <juliacr@google.com> Allow extras to be passed to app info subscreens

And pass though some extras through to notification settings.

This enables us to highlight appropriate preferences on the
subscreens while still funneling users through the app info
screen.

Test: make RunSettingsRoboTests
Bug: 72764587
Change-Id: I0197b595fe4bf3504588d9dd2985dd20de73c640
ppinfo/AppInfoDashboardFragment.java
ppinfo/AppInfoPreferenceControllerBase.java
ppinfo/AppNotificationPreferenceController.java
956dd9451bd8a2b65ead36bd96bd0ece7fe935f7 14-Feb-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Re-added support for deprecated BIND_AUTOFILL permission."
b25ffe2c9faab58e6859e2c8b06ea5f50215572d 14-Feb-2018 Felipe Leme <felipeal@google.com> Re-added support for deprecated BIND_AUTOFILL permission.

This permission was renamed during the O previews but it was supported on the
final O release, so we need to carry it over.

Test: manual verification
Bug: 70682223

Change-Id: I24b41358fba7449d9216b49aa8b90480906cfb67
efaultapps/DefaultAutofillPicker.java
bba02d88a4661f83384f74d2a16dd0c8b5d36949 09-Feb-2018 Ben Lin <linben@google.com> Introduce config_disable_uninstall_update flag.

This adds the following flag:
config_disable_uninstall_update

Which by default is false. When set to true, it will hide the "Uninstall
updates" menu item for all cases.

This is useful for cases where the device OEMs want to allow users to
install apps, but do not want the ability to roll back updates on system
applications.

Bug: 62379281
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AppInfoDashboardFragmentTest
Change-Id: I55fe92467ca95c05f6682174c117031d8295790e
ppinfo/AppInfoDashboardFragment.java
92757b2454c3bbc6d54a5b49efad4ebafc9fe01b 25-Jan-2018 jackqdyulei <jackqdyulei@google.com> Add controller for battery saver button

Bug: 72228477
Test: RunSettingsRoboTests
Change-Id: Iae9096a10553ea761d099e1e72c1de56b693bac0
ayoutPreference.java
408dc4122883d1296bb891196e28a5d012ab6594 20-Jan-2018 Salvador Martinez <dehboxturtle@google.com> Update copy for battery estimate related features

Many features are using the enhanced estimates but the copy for them
has gotten out of sync. This CL moves shared strings between Settings
and SysUI to SettingsLib and also updates features that use the
strings to have consistent behavior/text.

Test: Robotests
Bug: 65656091
Bug: 66909350
Bug: 67469159
Change-Id: Ie5ef1ed65429ca9805cff374f1439e5d61eb6591
ecentAppsPreferenceController.java
3ded640895f646f9a212485754db0900889904b6 05-Feb-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Change superclass to InstrumentedFragment."
f52ff285116ae97f353c223184890549a11236a1 05-Feb-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Autofill compat - Settings"
c21cfe9ea21d72a658c68954b3ddc99d7fff9cab 05-Feb-2018 Svetoslav Ganov <svetoslavganov@google.com> Autofill compat - Settings

Test: manully can change autofill serivces

Update settings due to API signature change.

Change-Id: Idaf00fdbe7cb07cb174f3bbd8edcfa95ac734764
efaultapps/DefaultAutofillPicker.java
efaultapps/DefaultAutofillPreferenceController.java
f6b5dad77c334f3417b764222bdb0b6c9ace0e24 03-Feb-2018 Doris Ling <dling@google.com> Unregister broadcast receiver from AppInfoDashboardFragment.

- onDestroy() call is missing from the fragment. Added it to unregister
the receiver that listens to the package remover.

Change-Id: I27c67a19e11824116849b769f0a7951b80c40f84
Fixes: 72879457
Test: make RunSettingsRoboTests
ppinfo/AppInfoDashboardFragment.java
e07e8cc42386e5eacf8e87fba5f6842b30056299 02-Feb-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Introduce boolean flags to show/hide battery/memory in App info."
72489725c6dbcf69de4ee96ac0d67570e24e4e5a 16-Nov-2017 Doris Ling <dling@google.com> Change superclass to InstrumentedFragment.

- for fragments that do not implement the preference screen, change them
to inherit from InstrumentedFragment instead.

Change-Id: I791c2634024bd2c248efea955be5c680180d735c
Fixes: 68277111
Test: make RunSettingsRoboTests
unningServiceDetails.java
7bd80f15fee1a925cac0bbd033b196c973c157c3 02-Feb-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix VisibleForTesting annotation in AppStateAppOpsBridge"
3bf23ff59e2981496b8679ec79cc76be3d226e39 20-Jan-2018 Ben Lin <linben@google.com> Introduce boolean flags to show/hide battery/memory in App info.

This adds two flags:
config_show_app_info_settings_memory
config_show_app_info_settings_battery

Which when individually set to false, will hide them item from "App
info" which is accessed from clicking on an application in Apps &
notifications -> App info.

Bug: 62379413
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=com.android.settings.applications

Change-Id: Ifb3b644901728dc7ea04d13198abddaa7b230538
ppinfo/AppBatteryPreferenceController.java
ppinfo/AppMemoryPreferenceController.java
fb9e3afc849c07f15fff59ea08254cc9daa33618 02-Feb-2018 Tony Mantler <nicoya@google.com> Fix VisibleForTesting annotation in AppStateAppOpsBridge

Should be PRIVATE (the default) and not NONE since it's called from the
regular constructor for the object.

Bug: Clean-up
Test: Compiles
Change-Id: I9eb8881ed03dcddd1b478e313f5a314b338fccd7
ppStateAppOpsBridge.java
e679e9b1b42bb83e43e6a776d756972be965f9dd 01-Feb-2018 Doris Ling <dling@google.com> Fixes crash from selecting uninstalled app info from recents.

- when the package is uninstalled, also remove it from the recent tasks
- move retrieveAppEntry() from onCreate() to getPreferenceControllers()
so that if the package info is invalid, do not create any controllers,
as the activity will be finished anyway.

Change-Id: Ibbfa16e3d1f941a0a200e78ec73a06ca8511f82b
Fixes: 72656345
Test: make RunSettingsRoboTests
ppinfo/AppInfoDashboardFragment.java
4f3b5563880821ace4801da835ed3f680411cb5c 30-Jan-2018 Julia Reynolds <juliacr@google.com> Notification settings updates

- Footer preferences were too dim
- Fix text and target on recently sent apps
- Make 'behavior' a dialog
- reorder settings on apps page

Change-Id: Idf8056bc77ead89fe2025bbde3346861e23a3c8d
Fixes: 72652526
Fixes: 72651810
Fixes: 72652024
Bug: 72651953
Test: make RunSettingsRoboTests
otificationApps.java
anageapplications/ManageApplications.java
5dda7faac0a516e48ae851ea7b712bd2da5ed3aa 30-Jan-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove app info page v1 related codes."
ce55d7c6a140f620fcf23e0ca678b66cf4d07ba5 16-Jan-2018 Doris Ling <dling@google.com> Remove app info page v1 related codes.

- change to use AppInfoDashboardFragment completely
- remove InstalledAppDetails and the corresponding tests

Change-Id: I8cbdf71cadc8b5743929abbafe91185e5e39b6b2
Fixes: 69384089
Test: make RunSettingsRoboTests
nstalledAppDetails.java
nstalledAppDetailsTop.java
ecentAppsPreferenceController.java
ppinfo/AppInfoDashboardFragment.java
anageapplications/ManageApplications.java
604a3d22486d1dd4f02b05cb9eca85976209e2a8 19-Jan-2018 Doris Ling <dling@google.com> Move force stop button into option menu.

- only show 1 button in the app info page
- move all handling for the force stop button from
AppActionButtonPreferenceController to a new option menu controller

Bug: 71778950
Test: make RunSettingsRoboTests
Change-Id: Iaa2c9784162a5f1acaaf9e11e3ce988945b40538
ppinfo/AppActionButtonPreferenceController.java
ppinfo/AppInfoDashboardFragment.java
ppinfo/ForceStopOptionsMenuController.java
b441d90f8c4592a08a49a2d6abd7f9a37914afe6 25-Jan-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Changed DirectoryAccessDetails to handle children directory on external volumes."
025883da78cdb0fbf70bcd3c2c2d32169c25c7f7 24-Jan-2018 Felipe Leme <felipeal@google.com> Changed DirectoryAccessDetails to handle children directory on external volumes.

Test: manual verification

Bug: 63720392

Change-Id: Ief4ee0fe271212e2eccbdcedea8ebb3374c4e69b
ppStorageSettings.java
irectoryAccessDetails.java
e902012cbcaf5458b0aae436579170279acb4d3c 25-Jan-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Prevent crash in recent app list"
e04101be07b2225ee51f474d8f254d892fc4c6bc 25-Jan-2018 Antony Sargent <asargent@google.com> Prevent crash in recent app list

In some situations if you have recently used an app and then uninstalled
it, the display of recent apps in Settings->Apps & notifications would
crash. This is due to a bug in recent CL that fixed b/71591298.

Test: make -j64 RunSettingsRoboTests
Change-Id: Id04b073b2617eeff0e188b10d3743496a9f70d5e
Fixes: 72340364
ecentAppsPreferenceController.java
28dee1f08640c66febadf0354555f032e8b0a3bd 11-Jan-2018 Leif Hendrik Wilden <leifhendrik@google.com> Migrate to use instrumentation classes from settingslib.

Test: Compiles. Manually tested.
Change-Id: I70a6e76cc8440547746ecc008c32bd06a7de8161
sageAccessDetails.java
70d01a51c33221cd22ff16b92e2fafec988f67f1 23-Jan-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Finished initial implementation of StorageAccessDetails."
e3f187a4a90006a297c283a4713667c8fd92ab4b 23-Jan-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Revert "Migrate to use instrumentation classes from settingslib.""
cab0ee611d375d70a3803d857e62c745ccd98de2 22-Jan-2018 Leif Wilden <leifhendrik@google.com> Revert "Migrate to use instrumentation classes from settingslib."

This reverts commit 1546cca529bf56430332e15b05ceb6efb37e57bf.

Reason for revert: Broke fingerprint setup flow. b/72267201

Change-Id: I8321265ae64732c526325882ddea51080decddf5
sageAccessDetails.java
6d88d79aa5e3e06c7199e47e614ac806e352fabc 20-Jan-2018 Felipe Leme <felipeal@google.com> Finished initial implementation of StorageAccessDetails.

It still needs some polishing and unit tests, which will be added later.

Test: manual verification

Bug: 63720392

Change-Id: I8da1094aaaf4ebbe5d388021e859265091fd429c
ppStateDirectoryAccessBridge.java
irectoryAccessDetails.java
d0660d284957cf99a32ee6d46efd72eb651da046 19-Jan-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Include instant apps in Recently opened apps list"
a6203c3f6a172e72351276bcda75e8b8a5cd8aa9 19-Jan-2018 Antony Sargent <asargent@google.com> Include instant apps in Recently opened apps list

We were accidentally excluding instant apps from the recently opened
apps list in Settings->Apps and notifications.

Test: make RunSettingsRoboTests
Change-Id: I9cac956ceacbfba74a79b38cb01afa2de74ee6fe
Fixes: 71591298
ecentAppsPreferenceController.java
937dfdf2537564600f7f20de827de3c509c7f6f2 19-Jan-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Only show app action button if it is not instant app."
de7135fbb1cc98e61d99a912405a30b829419e56 19-Jan-2018 Leif Wilden <leifhendrik@google.com> Merge "Migrate to use instrumentation classes from settingslib."
eb2695c2aad73186561f25f0a1b8361fd3e1f036 18-Jan-2018 Doris Ling <dling@google.com> Only show app action button if it is not instant app.

- for instant app, we are showing another set of buttons, and hence the
regular app action buttons should be not be available.

Change-Id: I53f2a10921451c281166e123671c088ab87b2b0d
Fixes: 71919219
Test: make RunSettingsRoboTests
ppinfo/AppActionButtonPreferenceController.java
6042c0bd6ce82399e4d52e5152618d0b484f194a 18-Jan-2018 Felipe Leme <felipeal@google.com> Renamed Storage Access to Directory Access.

Test: manual verification
Test: make RunSettingsRoboTests -j40

Bug: 63720392
Bug: 72135562

Change-Id: I31e63456994d7a9cd2a83a260930835a1052e793
ppStateDirectoryAccessBridge.java
ppStateStorageAccessBridge.java
irectoryAccessDetails.java
torageAccessDetails.java
anageapplications/AppFilterRegistry.java
anageapplications/ManageApplications.java
1546cca529bf56430332e15b05ceb6efb37e57bf 11-Jan-2018 Leif Hendrik Wilden <leifhendrik@google.com> Migrate to use instrumentation classes from settingslib.

Test: Compiles. Manually tested.
Change-Id: Ie5515bb0fe3e621fc7723a9b04ba23e4bfa9c401
sageAccessDetails.java
70ad5e661a30967fefe4f9e45b2095002d871711 18-Jan-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Move styleActionBar to onStart()"
8e3e611755fdb74536bc372df51bfba337a1da17 18-Jan-2018 tiansiming <tiansiming@xiaomi.com> Merge "Fix NPE crash in AppInfoBase" am: e49cc3d659 am: abcb069d95
am: b5697b2d45

Change-Id: I5e40dde6e0f98a8ba046df78f9b9e3ddcc3f2ce9
9de49990158f48c375758b32e127116b49e1d117 18-Jan-2018 Fan Zhang <zhfan@google.com> Move styleActionBar to onStart()

Change-Id: I002c266acc0e1095269e92eb7988b1ab505e48ff
Fixes: 72097389
Test: robotest
ppinfo/AppHeaderViewPreferenceController.java
7a6726ecda13e240f9a8f6912cda8e01ca6eb97d 17-Jan-2018 Fan Zhang <zhfan@google.com> Make LinearColorBar support RTL

- Move the class to widget package
- Remove a bunch of useless drawing

Change-Id: I82f840819c89eaf3cf9b7a87e56f1031989e3262
Fixes: 62700884
Test: robotest
inearColorBar.java
unningProcessesView.java
81469702f32be538b5efedbf65f6688785708153 14-Jan-2018 tiansiming <tiansiming@xiaomi.com> Fix NPE crash in AppInfoBase

This crash can hardly happen under the normal operation of the user,
but it may have a chance to appear in monkey test. To enhance the
robustness of the program, intent.getData() here should not be null
in any situations.

Bug: N/A
Test: adb shell am start -n
'com.android.settings/.Settings\$AppDrawOverlaySettingsActivity'

Change-Id: I732b564056e3e585405f146d99efe3b410edbc41
Signed-off-by: tiansiming <tiansiming@xiaomi.com>
ppInfoBase.java
a35adb12f0f2e0550ff86cdd14f7288c811b31ab 16-Jan-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Initial screens for Storage Access."
7a0ad2b30f72f8f4b423491efe4f5afa2660f0ac 12-Jan-2018 Felipe Leme <felipeal@google.com> Initial screens for Storage Access.

This new settings will be accessed through Apps -> Special Apps and it will let
users change the status of granted (or denied) Scoped Access Permissions.

This initial CL implements the landing activity that shows all packages and an
initial version of the detailed activity for a specific page, althouth the
detailed activity is not ready yet.

Test: manual verification
Test: export ROBOTEST_FILTER=com.android.settings.core.codeinspection.CodeInspectionTest && make RunSettingsRoboTests -j40
Bug: 63720392

Change-Id: Id0419c2c4aaaec365803218d6947e230e4776f13
ppStateStorageAccessBridge.java
torageAccessDetails.java
anageapplications/AppFilterRegistry.java
anageapplications/ManageApplications.java
4f389a7731559fa1dc63f5d353203d264dec864e 13-Jan-2018 Fan Zhang <zhfan@google.com> Tweak app notification page title and expand button cutoff

Change-Id: If9b93023ac9ab946b7c2b0dd65852948029da896
Fixes: 71813209
Test: visual
anageapplications/ManageApplications.java
1a0d0ccfd982a8fbd0f753cdb0e52e57feffaa7a 08-Jan-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Running services: Hide actionbar buttons in overflow menu"
5da84c7de0cf5de766e5306c20adcadd0c033875 08-Jan-2018 Fan Zhang <zhfan@google.com> Running services: Hide actionbar buttons in overflow menu

Change-Id: Ia3fe67c438613ef7df5bb4c1e44854666131d0bb
Fixes: 70972973
Test: visual
unningServices.java
69084b3a8d4647040ee674a01ce990ea2440a1c1 19-Dec-2017 Ben Lin <linben@google.com> Add ability to show/hide assist_and_voice_input preference.

This adds a new boolean flag, config_show_assist_and_voice_input, which
when set to false will hide the assist_and_voice_input preference item.

Bug: 62379282
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=DefaultAssistPreferenceControllerTest
Change-Id: I3bfc84f0fba07cd52679269daadbdcfccd205ff1
ssist/DefaultAssistPreferenceController.java
2c3c8c8537a5d1fd34cf51be22b659555399dc10 05-Jan-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Support getDynamicSummary in BasePreferenceController"
c69f73f4d156fad10b5a30731e46b08e7ae0114d 03-Jan-2018 Matthew Fritze <mfritze@google.com> Support getDynamicSummary in BasePreferenceController

Adds dynamic summary getter in relevant BasePreferenceControllers.
Preferece controllers that don't have dynamic summaries or which
are not yet BasePreferenceControllers are not changed right now.

Change-Id: I435ccab7758d90515583fd8ca10a9b1ef0c858b9
Fixes: 71514936
Test: robotests
ppPermissionsPreferenceController.java
ppinfo/DefaultAppShortcutPreferenceControllerBase.java
ppinfo/DrawOverlayDetailPreferenceController.java
ppinfo/WriteSystemSettingsPreferenceController.java
1ed3e361340b05d24dc6c903f77676019b2e7be6 21-Dec-2017 Ben Lin <linben@google.com> Add ability to show/hide items for Special Access.

This adds five new boolean flags:
config_show_high_power_apps
config_show_device_administrators
config_show_premium_sms
config_show_data_saver
config_show_enabled_vr_listeners

Which when individually set to false, will hide the respectively item
from "Special Access" in Apps & notifications. It will also hide them
from surfacing in search results.

Bug: 70907131
Test: Updated SpecialAccessSettingsTest, and created:
HighPowerAppsControllerTest
DeviceAdministratorsControllerTest
PremiumSmsControllerTest
DataSaverControllerTest
EnabledVrListenersControllerTest

Change-Id: I5ad58755643e71d4fb71774404ad96c127440ae4
ataSaverController.java
eviceAdministratorsController.java
nabledVrListenersController.java
ighPowerAppsController.java
remiumSmsController.java
pecialAccessSettings.java
09d2d7176050818c61e95a26cc566a0ef41c8ba5 21-Dec-2017 Tony Mantler <nicoya@google.com> Move ServiceListing to SettingsLib

Also tidy things up a bit

Bug: 70902607
Test: RunSettingsRoboTests
Change-Id: Id641beb601513bb4e34a098bf2729eb98954175d
rListenerSettings.java
3abedefd38a2f25ded28aa130604cf92de338605 20-Dec-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add ability to show/hide default_home preference."
b60d2cbb5bb5319b52f30aed6ca071f1faa57b44 19-Dec-2017 Ben Lin <linben@google.com> Add ability to show/hide default_home preference.

This adds a new boolean flag, config_show_default_home, which when set
to false will hide the default_home preference item.

Bug: 62378256
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=DefaultHomePreferenceControllerTest

Change-Id: Ibbf17ebb76b61fc8b2eac84016e3d874ca15a513
efaultapps/DefaultHomePreferenceController.java
92a08de636b77573f284e5adcd40c35e783201c3 18-Dec-2017 rongrong.x.gao <rongrong.x.gao@sonymobile.com> Merge "Launch new Home app when selecting Home app in Settings" am: f05fc290b7 am: b0ab6da4e3
am: fbc9e954d7

Change-Id: Ifffdd0e1d6f3df829d9e4cc9710876d415a33420
f05fc290b7083846b9c6f1b796b6abb09b677600 18-Dec-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Launch new Home app when selecting Home app in Settings"
6d8b89a7396487a5361683c6612754da68e3cae4 18-Dec-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add preference controller for app header view."
b573e23b48c5b02e8b69fb49eabbba8ee3bcfd3c 02-Mar-2017 rongrong.x.gao <rongrong.x.gao@sonymobile.com> Launch new Home app when selecting Home app in Settings

Launches the newly selected Home app when it has been selected in
Default Home app settings. This CL makes the change take effect
immediately, instead of when the Home button is pressed.

Bug: 70697830
Test: make RunSettingsRoboTests
Test: Manual - Change default home app in Settings
Change-Id: If7e2956bc6f8ddba0a7e8da48a0d38e3936c57e9
efaultapps/DefaultHomePicker.java
bf2516009068f4f686b34b316bb16c74ad4b57b3 15-Dec-2017 Tony Mantler <nicoya@google.com> Move PowerWhitelistBackend to SettingsLib

Bug: 70716754
Test: RunSettingsRoboTests
Change-Id: I897ce3469bb2d72a0cbe96b16b8de1a565ba4e64
ppStatePowerBridge.java
anageapplications/ManageApplications.java
e712aed3d729ab6e0cd85ceded029f8fcac5f50d 14-Dec-2017 Doris Ling <dling@google.com> Add preference controller for app header view.

- move code related to initializing/refreshing the app header from
AppInfoDashboardFragment into a new controller.
- this is the last preference logic in AppInfoDashboardFragment. With
this change, the conversion into dashboad fragment will be considered
as complete.
- remaining work for the bug will be enable the feature flag and remove
the obsolete InstalledAppDetails.

Bug: 69384089
Test: make RunSettingsRoboTests
Change-Id: I14056bf291278b2b36f9502177c84edd6a899d0f
ppinfo/AppHeaderViewPreferenceController.java
ppinfo/AppInfoDashboardFragment.java
70aaa94bb2e02b3e8ff1c920bc93c5daf8889141 13-Dec-2017 Doris Ling <dling@google.com> Add preference controller for app action buttons.

- move code related to initializing/refreshing the action buttons from
AppInfoDashboardFragment into a new controller.

Bug: 69384089
Test: make RunSettingsRoboTests
Change-Id: I8eb5f42a1b6d3c35f5a9e1356a9e5e31f643d5d3
ppinfo/AppActionButtonPreferenceController.java
ppinfo/AppInfoDashboardFragment.java
aceacf5d437608f8fefab7e269c4f34db95dac80 13-Dec-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Move AppInfoDashboardFragment into appinfo package."
8412f70f6c0372ada18dc83f326d9bcd9ded1d2a 13-Dec-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix crashes related to ExternalSourcesDetails."
a0006d93bdeb24137cb29f44cfb2de020bd64f6e 08-Dec-2017 Doris Ling <dling@google.com> Move AppInfoDashboardFragment into appinfo package.

- update all references to AppInfoDashboardFragment
- removed PackageUtil inner class and change the corresponding function
to be a simple method.

Bug: 69384089
Test: make RunSettingsRoboTests
Change-Id: Ief067e25a303ef16db20b2ca1d8840cb06eff5f9
ppInfoDashboardFragment.java
nstalledAppDetails.java
nstalledAppDetailsTop.java
ecentAppsPreferenceController.java
ppinfo/AppBatteryPreferenceController.java
ppinfo/AppDataUsagePreferenceController.java
ppinfo/AppInfoDashboardFragment.java
ppinfo/AppInfoPreferenceControllerBase.java
ppinfo/AppInstallerInfoPreferenceController.java
ppinfo/AppMemoryPreferenceController.java
ppinfo/AppNotificationPreferenceController.java
ppinfo/AppOpenByDefaultPreferenceController.java
ppinfo/AppPermissionPreferenceController.java
ppinfo/AppStoragePreferenceController.java
ppinfo/AppVersionPreferenceController.java
ppinfo/DrawOverlayDetailPreferenceController.java
ppinfo/ExternalSourceDetailPreferenceController.java
ppinfo/InstantAppButtonsPreferenceController.java
ppinfo/InstantAppDomainsPreferenceController.java
ppinfo/PictureInPictureDetailPreferenceController.java
ppinfo/WriteSystemSettingsPreferenceController.java
anageapplications/ManageApplications.java
e29587e3345f617b832f43edb73d3b6ed61d70bb 12-Dec-2017 Doris Ling <dling@google.com> Fix crashes related to ExternalSourcesDetails.

- ExternalSourcesSettingsTest crashes due to the package moved of
ExternalSourcesDetails. Corresponding xml has been updated in previous
CLs. So, reverting the suppress tag for the test class.
- ExternalSourcesDetails can be launched directly with
MANAGE_UNKNOWN_APP_SOURCES intent, and client can pass in invalid
package while launching ExternalSourcesDetails. Need to check whether
the app info is invalid before we try to launch the fragment.
- also fix test failure for not founding the app list as list object
type and id had been changed.

Change-Id: Id7787ca889f770e10d7a8e9fbf8dc79c9d6e884d
Fixes: 70383636
Test: make RunSettingsRoboTests, make SettingsUnitTests
ppinfo/ExternalSourcesDetails.java
6e447d69bcc39cd6126d2b0a5d540888ddc9a325 07-Dec-2017 Doris Ling <dling@google.com> Add controllers for iinstant app related preferences.

For AppInfoDashboardFragment:
- add app installer preference into the preference screen
instead of creating it dynamically.
- add controller for the App Installer, Instant App buttons, and instant
app domains preferences.

Bug: 69384089
Test: make RunSettingsRoboTests
Change-Id: I8d362cacb78077c173130018c33c4d00abfe9843
ppInfoDashboardFragment.java
ppStoreUtil.java
ppinfo/AppInstallerInfoPreferenceController.java
ppinfo/AppInstallerPreferenceCategoryController.java
ppinfo/InstantAppButtonsPreferenceController.java
ppinfo/InstantAppDomainsPreferenceController.java
nstantapps/InstantAppButtonsController.java
bbdeafe58b8e98c41553ab87b19cad162a24bdaa 11-Dec-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove Slice getter from BasePreferenceController"
ea63e4c6c6b0b89d50be8b804f4b27715ad534c4 08-Dec-2017 Sunny Goyal <sunnygoyal@google.com> Clearing task when opening home settings in case it is already in the same task

Test: Manually tested on device
Bug: 69960568
Change-Id: If9de28936a7156c4d9c68c85c168ff4aa7492151
efaultapps/DefaultHomePreferenceController.java
f5276841838f4a05c079457ecf7739b0822e9deb 05-Dec-2017 Matthew Fritze <mfritze@google.com> Remove Slice getter from BasePreferenceController

After working through a prototype here: (ag/3324435)
it is clear that we don't need the controller to
provider the slice. We will build an index that
will contain sufficent UI information, and a reference
to the controller.

At Slice Bind time, we can get the curret value from the
controller, and the UI information from the Index.

Bug: 67996923
Test: robotests
Change-Id: Id43a51bcd73051bc719cd5829907583e0edf23b2
ppinfo/AppBatteryPreferenceController.java
ppinfo/AppInfoPreferenceControllerBase.java
ppinfo/AppMemoryPreferenceController.java
ppinfo/AppPermissionPreferenceController.java
ppinfo/DefaultAppShortcutPreferenceControllerBase.java
c66dbdc2c505e5f0e93d28823e9c9965783f26f3 08-Dec-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add controllers for default app shortcut preferences."
765007b0bfb2f27707e2394b597d208f8e512bb8 02-Dec-2017 Doris Ling <dling@google.com> Add controllers for default app shortcut preferences.

- add the default app shortcut preferences to the preference screen
xml instead of creating them dynamically in the fragment.
- add controller for each of the shortcut preference.
- move the corresponding shortcut detail settings into the appinfo
package.
- add individual preference screen xml for the shortcut detail settings
instead of using the shared screen template.

Bug: 69384089
Test: make RunSettingsRoboTests
Change-Id: I7bc0b3b727e87fb1a32a82291e64b8e290947671
ppInfoDashboardFragment.java
ppStateInstallAppsBridge.java
rawOverlayDetails.java
xternalSourcesDetails.java
nstalledAppDetails.java
ictureInPictureDetails.java
ictureInPictureSettings.java
riteSettingsDetails.java
ppinfo/DrawOverlayDetailPreferenceController.java
ppinfo/DrawOverlayDetails.java
ppinfo/ExternalSourceDetailPreferenceController.java
ppinfo/ExternalSourcesDetails.java
ppinfo/PictureInPictureDetailPreferenceController.java
ppinfo/PictureInPictureDetails.java
ppinfo/PictureInPictureSettings.java
ppinfo/WriteSettingsDetails.java
ppinfo/WriteSystemSettingsPreferenceController.java
anageapplications/ManageApplications.java
47f6e548953ccf8ec5889a79f37f561070e59cb9 30-Nov-2017 Jaekyun Seok <jaekyun@google.com> Move codes generating html file from xml files to SettingsLib (1/2)

LicenseHtmlGeneratorFromXml, LicenseHtmlLoader and indirecly AsyncLoader
shoud be commonly used by Settings and TvSettings.

So this CL will move them to SettingsLib.

Test: building succeeded and tested on sailfish.
make ROBOTEST_FILTER=SettingsLicenseActivityTest RunSettingsRoboTests

Change-Id: I12e9169b1d3d313a6c5da0d575a6526327268381
etchPackageStorageAsyncLoader.java
82789a1f3925e5a5f99cae1dc40afe3252204615 05-Dec-2017 Dianne Hackborn <hackbod@google.com> Merge "Update to support long version codes."
86daa8f4c6a3ce24917f098f515661a9251e2098 01-Dec-2017 Doris Ling <dling@google.com> Add controllers for default app shortcut preferences.

For AppInfoDashboardFragment:
- add the default app shortcut preferences into the preference screen
instead of creating them dynamically.
- add controller for each of the shortcut preference.

Bug: 69384089
Test: make RunSettingsRoboTests
Change-Id: I1e81944a3bc867fd6a3a0d484bab77c3ad0e6441
ppInfoDashboardFragment.java
hortcutPreference.java
ppinfo/DefaultAppShortcutPreferenceControllerBase.java
ppinfo/DefaultBrowserShortcutPreferenceController.java
ppinfo/DefaultEmergencyShortcutPreferenceController.java
ppinfo/DefaultHomeShortcutPreferenceController.java
ppinfo/DefaultPhoneShortcutPreferenceController.java
ppinfo/DefaultSmsShortcutPreferenceController.java
c383932a8ad16088202faf14f248ae5a60c7b0ac 29-Nov-2017 Dianne Hackborn <hackbod@google.com> Update to support long version codes.

Bug: 64459786
Test: manual
Change-Id: I2d4af47f6ace237aa4c37af95d1de97be2870acd
rocStatsData.java
rocStatsEntry.java
6eb88778484fde825092e8b880dda7948fbdb042 23-Nov-2017 Doris Ling <dling@google.com> Convert install app detail to dashboard fragment.

- first round for changing AppInfoDashboardFragment to inherits from
DashboardFragment instead.
- add controller for Battery, DataUsage, Memory, Notification, Storage,
Permission, Version, and Open by Default settings.

Bug: 69384089
Test: make RunSettingsRoboTests
Change-Id: I60079e5442b4eef46a178e27de96a8635e15ebde
ppInfoDashboardFragment.java
rocStatsData.java
rocStatsEntry.java
rocStatsPackageEntry.java
ppinfo/AppBatteryPreferenceController.java
ppinfo/AppDataUsagePreferenceController.java
ppinfo/AppInfoPreferenceControllerBase.java
ppinfo/AppMemoryPreferenceController.java
ppinfo/AppNotificationPreferenceController.java
ppinfo/AppOpenByDefaultPreferenceController.java
ppinfo/AppPermissionPreferenceController.java
ppinfo/AppStoragePreferenceController.java
ppinfo/AppVersionPreferenceController.java
681a4cdd47aabd1c2332bd886785f28322da953f 30-Nov-2017 Fan Zhang <zhfan@google.com> Add search menu to all pages

Change-Id: I0910df3d26fe583deb70d7052bde28b64e7844a7
Fixes: 68814716
Test: robotests
ppInfoDashboardFragment.java
nstalledAppDetails.java
e0b0e9f9025038d72f8129606cc1f432afcb54e0 29-Nov-2017 Fan Zhang <zhfan@google.com> Refactor help menu stuff into a controller

This is a clean up to action bar menu item pattern, we will use the same
pattern to build search icon on all pages in a later change.

Bug: 68814716
Test: robotests
Change-Id: Iedd3ec263e8ccb63ed75ec7a95b28c00878b1de4
ppAndNotificationDashboardFragment.java
rocessStatsSummary.java
rocessStatsUi.java
b83fd6c3d1b6d4d9321c6f8858a8ab996fd463e7 27-Nov-2017 jeffreyhuang <jeffreyhuang@google.com> Update tests to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: Ib344f0622dfa3b9f9a8fdd6736bc34cb4f536db8
ppInfoWithHeader.java
529e207986671d63b780f2555f4795c74a2697d0 18-Nov-2017 Doris Ling <dling@google.com> Create version 2 of InstalledAppDetails

- this is the first step for converting InstalledAppDetails into
DashboardFragment
- add a feature flag to determine whether to show the new installed app
detail page.
- decouple the fragment from AppInfoBase: extends from
SettingsPreferenceFragment directly and copy all codes from
AppInfoBase.

Bug: 69384089
Test: make RunSettingsRoboTests
Change-Id: If1ab5b216620eaba1d6bde20e65e7a602931fd94
ppInfoDashboardFragment.java
nstalledAppDetails.java
nstalledAppDetailsTop.java
ecentAppsPreferenceController.java
anageapplications/ManageApplications.java
4a01283309f737395a01f0fae68a369dc537a8da 14-Nov-2017 Doris Ling <dling@google.com> Remove the feature flag for using new title.

- remove all code that check for the feature flag, and use the new logic
by default.

Change-Id: I7fbe60da84c1c0f35e7241402a71d2bc4cd300e6
Fixes: 64564191
Test: make RunSettingsRoboTests
onvertToFbe.java
anageDomainUrls.java
ictureInPictureSettings.java
remiumSmsAccess.java
unningServices.java
ppops/BackgroundCheckSummary.java
anageapplications/ManageApplications.java
43fccf984216b02e4544e1b8d2ea18ede1670a99 13-Nov-2017 Sunny Goyal <sunnygoyal@google.com> Adding a link to Setting activity for the Home app

The link is only visible if there is a default home add and it
implements a settings activity

Test: make -j20 RunSettingsRoboTests
Change-Id: Iac5d0ebd561bed2e5b2f84236cdb728362ed8663
efaultapps/DefaultHomePreferenceController.java
4e540db06de70b6d5a36aec2f9cc4d309032a177 08-Nov-2017 Fan Zhang <zhfan@google.com> Update app icon for ManageDomainUrls setting

Change-Id: I6c26a055983ea72049d1633336d6da8736a78fa0
Fixes: 69057114
Test: robotests
anageDomainUrls.java
d1a405e05358ad1f2603bb28303976e24c5ecf4d 03-Nov-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove duplicate preferences in Accessibility settings."
024668a2c5291bbd29b93b8aba8b28b06d16a2cb 03-Nov-2017 Doris Ling <dling@google.com> Remove duplicate preferences in Accessibility settings.

- addPreferencesFromResource() call has been added to
InstrumentedPreferenceFragment, and hence sub-class should not call it
again.

Change-Id: Ia016d9d407ac3f838c962d1ced585647382a051a
Fixes: 68820835
Test: make RunSettingsRoboTests
anageDomainUrls.java
c58a88368f109a362f40881a4a0589a31650749f 02-Nov-2017 Fan Zhang <zhfan@google.com> Convert encryption status to preference controller

- Move Crypt/Encryption setting into security package.
- Reformat crypt_keeper_settings.xml
- Add controller and test for encryption status

Bug: 32953042
Test: robotests
Change-Id: I1f4b2f97133435c70a49522a59886ac4da6759af
efaultAppSettings.java
a7f135596d2af74fc97ecde9bff8a403252d4c2e 31-Oct-2017 Fan Zhang <zhfan@google.com> Switch to use ThreadUtils.postOnMainThread

Change-Id: I344d25a1a667de9c0b23d6d528d905b4da3a4c40
Fixes: 63896139
Test: rerun tests
unningServiceDetails.java
efaultapps/DefaultAutofillPicker.java
40ebbf01a556ea32649a6761901360989cb17c3d 31-Oct-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge changes from topic "small_icons"

* changes:
Use small icon in location and vpn settings UI
Clean up: use AppPreference for PowerGaugePreference
Switch to use small icon for most app related pages
Update UI to use a smaller icon for ManageApplication page.
afa12a41d5b8a71c9239d0a4c9746434264e608c 30-Oct-2017 Doris Ling <dling@google.com> Remove DividerPreference and its corresponding usage.

Change-Id: I64ff1b2d6ab77cf40159e6ad157ab2464e7970ed
Fixes: 37250410
Test: visual, make RunSettingsRoboTests
remiumSmsAccess.java
1c3a4de93dc1a1a69c50714582faad441e4a626f 29-Oct-2017 Fan Zhang <zhfan@google.com> Switch to use small icon for most app related pages

- Renamed AppProgressPreference to AppPreference to handle most app
related prefs
- Add ed AppSwitchPreference - the same layout as AppPreference except
it's a SwitchPreference
- Use above 2 prefs in most app related pages.
- Everything under special access pages
- Recent app list in App & notifications
- App data usage detail page
- Default app picker pages

Bug: 65182905
Test: robotests
Change-Id: I96c980ba1db49e36dabe25b5eade1197215aad11
ictureInPictureSettings.java
rocessStatsPreference.java
ecentAppsPreferenceController.java
efaultapps/DefaultAppPickerFragment.java
efaultapps/DefaultAppPreferenceController.java
974d2fe0809700fe1bfd866c7a7238cac1c1c773 28-Oct-2017 Fan Zhang <zhfan@google.com> Update UI to use a smaller icon for ManageApplication page.

- Rewrite preference_app.xml to have a small icon
- Update ApplicationViewHolder to hide/show summary row dynamically
- but only do this for notification settings - this UI has empty
summary for most row. For other UI, just keep the empty summary row
until summary comes in. If we also hide/show summary row there will
be a height change animation which is janky.

Bug : 65182905
Fixes: 63582851
Test: robotests

Change-Id: Ice67324f08c67e014a018dfc51e00fe4449036dd
ecentAppsPreferenceController.java
anageapplications/ApplicationViewHolder.java
anageapplications/ManageApplications.java
anageapplications/MusicViewHolderController.java
anageapplications/PhotosViewHolderController.java
f68e6ec2ae7b76946fd49c6b79f9716f603f01db 28-Oct-2017 Fan Zhang <zhfan@google.com> Move app ops classes to their own package

Bug: 68426851
Test: robotests
Change-Id: I076b7adf59d4bf66792eb0aebaa3dc305d6d0c4b
ppOpsCategory.java
ppOpsState.java
ackgroundCheckSummary.java
ppops/AppOpsCategory.java
ppops/AppOpsState.java
ppops/BackgroundCheckSummary.java
5214fae4be424844aaaf58eebf931edb70cb7c46 28-Oct-2017 Fan Zhang <zhfan@google.com> Remove dead code

- Remove AppOpsDetails/AppOpsSummary and related code

Bug: 68426851
Test: robotests
Change-Id: I4b665e65bfff8b0365f45325b34965dc51d07bc0
ppOpsCategory.java
ppOpsDetails.java
ppOpsState.java
ppOpsSummary.java
ackgroundCheckSummary.java
648cc071b13409aaf7fae43e845b0dfd3b0b870b 28-Oct-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove dead code and obsolete patterns"
22d53b14a8684565c255f6dcd8b3030e72d1a9a6 28-Oct-2017 Fan Zhang <zhfan@google.com> Remove dead code and obsolete patterns

- Remove code and resource for ProcessStatsMemDetail
- Remove TintablePreference (tinting icon is not a supported
pattern starting in Android O)

Bug: 68426851
Test: robotests
Change-Id: Ib9c2fc8332255fe29c8f3dce378456403d7af8a3
rocessStatsMemDetail.java
8b14a1a7a6b37b6c5b30de0b505ce404da602567 17-Aug-2017 Doris Ling <dling@google.com> Change to use the expand button in support lib.

- functionality for hiding portions of the preferences in the preference
screen is added to the support lib. So, changing the settings
implementation to use the feature from the support lib instead.
- remove ProgressiveDisclosureMixin and the related code

Fixes: 63985174
Test: make RunSettingsRoboTests
Change-Id: Ib1d39b2db93d78a56c7adf90abcae5226f9564c2
ppAndNotificationDashboardFragment.java
471bc86ae67695d19bcdaec697987f9aeeee7d78 26-Oct-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Update activity titles for fragments without preference screen."
ed4685fafb470e6160f1a6d220e68a7d2ed039a4 25-Oct-2017 Doris Ling <dling@google.com> Update activity titles for fragments without preference screen.

1. Move getPreferenceScreenResId() from individual subclass to
InstrumentedPreferenceFragment.

2. Removed InstrumentedPreferenceFragment.getTitle() and let the
preference fragments that do not have preference screen set the activity
title directly instead.

3. Removed OptionsMenuFragment as all it does is call
setHasOptionMenu().
- changed subclasses of OptionsMenuFragment to extend from
InstrumentedPreferenceFragment directly.
- none of the exisitng subclasses actually implements the option menu
related methods to provide any option menu. So, the setHasOptionMenu()
call is not added to the subclasses.

4. Update Languages preference title.
- launch the fragment from the preference controller instead of from the
default handling, as we need the title res id at launch time to get it
work properly when retrieving the title from back stack.

Bug: 64564191
Test: blaze-bin/screenshots/android/i18nscreenshots/i18nscreenshots
Change-Id: Ibecdcab32cbaed8bf604ec5ebe0a926b4e489a7d
ackgroundCheckSummary.java
unningServices.java
9e1570c5f367ab5b5961db7d8217599741dda016 26-Oct-2017 Jeffrey Huang <jeffreyhuang@google.com> Merge "Introduce MemoryUsagePreferenceController"
2bb74379e51f81ad76a787275d94b9f7207835f1 25-Oct-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Update preference screen title."
03a3b518debfb3870d780a6e29c8f115013cd866 18-Oct-2017 Doris Ling <dling@google.com> Update preference screen title.

- Add missing title to preference screen xml so that they will be used to
set the activity title when the fragment is launched.
- Also updated some incorrect preference screen titles.
- Overrides getTitle() in preference fragments that do not use the
preference screen xml.

Bug: 64564191
Test: blaze-bin/screenshots/android/i18nscreenshots/i18nscreenshots
Change-Id: Id72d5ddf18f0962bc484de8bbd847a2e55d6371e
ackgroundCheckSummary.java
onvertToFbe.java
nstalledAppDetails.java
anageDomainUrls.java
ictureInPictureSettings.java
remiumSmsAccess.java
unningServices.java
rListenerSettings.java
ssist/DefaultAssistPicker.java
ssist/DefaultVoiceInputPicker.java
efaultapps/DefaultAutofillPicker.java
efaultapps/DefaultBrowserPicker.java
efaultapps/DefaultEmergencyPicker.java
efaultapps/DefaultHomePicker.java
efaultapps/DefaultPhonePicker.java
efaultapps/DefaultSmsPicker.java
anageapplications/ManageApplications.java
c57f18d8536f3bda8167488f4939bbd729a9140e 20-Oct-2017 jeffreyhuang <jeffreyhuang@google.com> Introduce MemoryUsagePreferenceController

- Use a hard-coded preference instead of injecting
so that search can index the preference
- Create a preference controller to update the summary

Change-Id: Idf822ccbb7a58a9ec561d5c2c2948dbc3272544f
fixes: 36463051
Test: Manual using settings app
rocessStatsBase.java
2e950fca63e7038807ec73420c4d1dd6dc40539e 23-Oct-2017 Doris Ling <dling@google.com> Set uninstall button to gray color.

For user installed app, set the uninstall button as negative button so
that it will have the correct color.

Change-Id: Ic631386affddf82ae0ebbf29fb572de1f067fc90
Fixes: 68154647
Test: make RunSettingsRoboTests
nstalledAppDetails.java
2dda5a567d10cc71492d3541d0ed0b72902a35a3 19-Oct-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Convert more loadIcon() to IconDrawableFactory"
abdeead11486a2a6f9c1b623035661b01b209d9f 18-Oct-2017 Fan Zhang <zhfan@google.com> Convert more loadIcon() to IconDrawableFactory

- AppGridView: used by preview chart in display size setting.
- DefaultBrowserPreferenceController: default browser icon in default
apps settings
- Enterprise application list
- Accessibility search result loader

Change-Id: Ibd12cd8854c68760ea3428fffa735bcbba48a277
Fixes: 64336923
Test: robotests
efaultapps/DefaultBrowserPreferenceController.java
25deda512926577c0f8d2fa519217a1cce21ae31 18-Oct-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix a monkey crash: guard against position -1."
5d80fd29665214bb692a85af0c9bae1054fad2f7 18-Oct-2017 Fan Zhang <zhfan@google.com> Fix a monkey crash: guard against position -1.

When handling onClick in ManageApplications, skip getAppEntry if
position is -1.

Change-Id: I565c42b2c9f742445e49fd4c2e7db539d0f6f8ad
Fixes: 67940121
Test: manual
anageapplications/ManageApplications.java
5317e70be1c383b3b6b71159f3cce1ab85da84bd 18-Oct-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Use IconDrawableFactory to load icons for default apps."
b73a67c7a0858e8c0b44d3421cf6d7b66a80f9e9 18-Oct-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Switch to recyclerview in ManageApplications"
78369d91bcdc34a01269cf33fc231aee76c1b593 12-Oct-2017 Fan Zhang <zhfan@google.com> Switch to recyclerview in ManageApplications

- Replace ListView with RecyclerView in layout
- Replace ApplicationAdapter's superclass to be RecyclerView.Adapter
- Change adapter interfaces (where necessary) to work with RecyclerView
- Replace fast scroll with Recycler's mechanism (all in xml)
- Removed section indexer (text bubble when fast scroll) because
recyclerview doesn't support it.

Bug: 64804294
Test: robotests
Change-Id: I55b221836ce6abdeddf4568c8a8a5632cbddbd3b
anageapplications/AppViewHolder.java
anageapplications/ApplicationViewHolder.java
anageapplications/FileViewHolderController.java
anageapplications/ManageApplications.java
anageapplications/MusicViewHolderController.java
anageapplications/PhotosViewHolderController.java
efa763624a86f77c99b5cac53d8cf81e474ffc4b 17-Oct-2017 Fan Zhang <zhfan@google.com> Use IconDrawableFactory to load icons for default apps.

Bug: 64336923
Test: robotests
Change-Id: I2a4ca05a866784f97e247bad1c1679a6ec0f5efa
ssist/DefaultAssistPicker.java
ssist/DefaultAssistPreferenceController.java
ssist/DefaultVoiceInputPicker.java
ssist/DefaultVoiceInputPreferenceController.java
efaultapps/DefaultAppInfo.java
efaultapps/DefaultAutofillPicker.java
efaultapps/DefaultAutofillPreferenceController.java
efaultapps/DefaultBrowserPicker.java
efaultapps/DefaultBrowserPreferenceController.java
efaultapps/DefaultEmergencyPicker.java
efaultapps/DefaultHomePicker.java
efaultapps/DefaultHomePreferenceController.java
efaultapps/DefaultPhonePicker.java
efaultapps/DefaultPhonePreferenceController.java
efaultapps/DefaultSmsPicker.java
efaultapps/DefaultSmsPreferenceController.java
47775667b84d6b6fdcec8f9ccbeff37053644cc0 17-Oct-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add work-only-category controller"
1bde0d84b0dc189df3fcb8d0bceb5260805704ef 17-Oct-2017 Fan Zhang <zhfan@google.com> Add work-only-category controller

The controller will hide category if there is no child in it.

Change-Id: I9bbcc4115b991574e608933f98857b0b4eb2ed7d
Fixes: 62185871
Test: robotests
efaultAppSettings.java
efaultapps/DefaultWorkBrowserPreferenceController.java
efaultapps/DefaultWorkPhonePreferenceController.java
11e91230367bd5dabcbf62b76d4596643c830144 17-Oct-2017 Fan Zhang <zhfan@google.com> Reorder default app summary to match subpage ordering

Change-Id: I618f44ba8cf6f590b86d483cfecb090b71ef1268
Fixes: 65049890
Test: robotests
efaultAppSettings.java
bd5621596281a8b1f0e6a13f4999be3477615b01 12-Oct-2017 Fan Zhang <zhfan@google.com> Encapsulate AppFilter and its display label into 1 class

Bug: 64804294
Test: robotests
Change-Id: I2a752794ded4ccb8510adf37d41afa4514d8c4c0
anageapplications/AppFilterItem.java
anageapplications/AppFilterRegistry.java
anageapplications/ManageApplications.java
a8cac7a409957830c3e05acf346824ca47754a34 12-Oct-2017 Fan Zhang <zhfan@google.com> Move ManageApplications to sub package and remove dead code

Bug: 64804294
Test: rerun test
Change-Id: I23cbd8da9b65f52470030ba3b9b676ece2bada11
ppInfoBase.java
ppOpsDetails.java
ppStateInstallAppsBridge.java
ppViewHolder.java
xternalSourcesDetails.java
ileViewHolderController.java
anageApplications.java
usicViewHolderController.java
otificationApps.java
hotosViewHolderController.java
esetAppPrefPreferenceController.java
esetAppsHelper.java
anageapplications/AppViewHolder.java
anageapplications/FileViewHolderController.java
anageapplications/ManageApplications.java
anageapplications/MusicViewHolderController.java
anageapplications/PhotosViewHolderController.java
anageapplications/ResetAppPrefPreferenceController.java
anageapplications/ResetAppsHelper.java
350ccf53f23d5fa5de37e88cf4ce0487c54e8164 12-Oct-2017 Fan Zhang <zhfan@google.com> Clean up: remove unused code

Bug: 64804294
Test: rerun existing robotests
Change-Id: I5a10cbd8475b74843e4d864eb38105003e98d27e
anageApplications.java
9249707fc9245e0b0dda1dfe3b3e1111c0b9efde 10-Oct-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix Settings crash when activity is null"
c96eeb279ee07ec3db2a525cb86d0326540e5d18 05-Jul-2017 songkailun <songkailun@xiaomi.com> Fix Settings crash when activity is null

in ManageApplications, if getActivity is null, it will cause crash
because in HelpUtils#prepareHelpMenuItem it will call activity's
getString method.

Test: manual
Change-Id: I4c9cf985e94192a936d195ea4279ec1d0f22eb10
Signed-off-by: songkailun <songkailun@xiaomi.com>
anageApplications.java
bd88450183e68f5f543e4ecb8e189b5c0ec5693c 16-Sep-2017 Felipe Leme <felipeal@google.com> Adds a Util.setSafeIcon() function used to avoid crashes.

There are many places on Settings that loads an icon provided by an application,
and if the icon is too big it crashes Settings.

This CL creates a helper method used to set an icon in a safe way, and
uses it in a few places (but most likely not all of them).

Bug: 65739885
Test: manual verification with an app providing a 2MB png

Change-Id: Iae2becb6d0ec8893328d9ef1de618f9bd12fa4a0
efaultapps/DefaultAppPreferenceController.java
9bbc0cc38aed167db109a9fa633da3dac24a95f1 04-Oct-2017 Svet Ganov <svetoslavganov@google.com> Merge "Use new no overlay flag instead app ops" into oc-mr1-dev am: 9cb867d6e3
am: 6adbad6937

Change-Id: I0b60e9cd77643f5b2a22c5d09ddb2994d28ec82a
6adbad6937fa9d68f022536796c89cf4e0bb08cf 04-Oct-2017 Svet Ganov <svetoslavganov@google.com> Merge "Use new no overlay flag instead app ops" into oc-mr1-dev
am: 9cb867d6e3

Change-Id: Iffb4b44729d42539509593590999b73763a53ab5
9cb867d6e352d08102973611dfd552e1b5b78d63 04-Oct-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Use new no overlay flag instead app ops" into oc-mr1-dev
31607521da611167ba9e4d09325baddf8a888ebb 03-Oct-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Explicitly set ENABLED state when a user enables an app."
e53d1caedc876351ee68dccd48c3187686b5ae6e 03-Oct-2017 Svet Ganov <svetoslavganov@google.com> Use new no overlay flag instead app ops

Test: updated DrawOverlayDetailsTest passes

bug:66936547

Change-Id: I7c17c95a2b44fd2ffd593a6eb03a16be034e9192
rawOverlayDetails.java
883d8e7ed14246bddd535c622fcedf69ae8ab401 03-Oct-2017 Fan Zhang <zhfan@google.com> Return false if can't find package info

Change-Id: Iaf667e0977f60abcbf3eb76c46c46f591c00123e
Fixes: 66981347
Test: robotests
sageAccessDetails.java
3638973a1703b85a2fbed07bc5f221436126540d 29-Sep-2017 Jeff Davidson <jpd@google.com> Explicitly set ENABLED state when a user enables an app.

When a user explicitly clicks a button labeled "Enable" for an
application in settings, the underlying package state should reflect
this. Otherwise, it is impossible to distinguish between the default
state of an app and an app which the user has explicitly requested to
enable.

This behavior is consistent with the Play Store's.

This also fixes a metrics bug where enabling a DISABLED_UNTIL_USED app
would be erroneously treated as disabling the app.

Test: Flashed and verified enabling both DISABLED_UNTIL_USED and
DISABLED apps.
Fixes: 64223206

Change-Id: Ic18068e6047045d6f5333eaf10fcddd1e95a679d
nstalledAppDetails.java
2d479598f012c85f82eaa250c2a91d34c6447756 27-Sep-2017 Tony Mantler <nicoya@google.com> Merge "Make ApplicationsState.Session lifecycle-aware"
078d01c8c1603063cdcd1d7a8aedfb2a8b86a6dc 22-Sep-2017 Winson Chung <winsonc@google.com> Merge "Fixing issue with PiP settings not showing apps for other profiles." into oc-mr1-dev
am: 625b1dd13a

Change-Id: I5904804d9407a279de508fc8e071bc4132856545
76cbd4b3b2f119604edf84552c23a1d32df78b2e 22-Sep-2017 Tony Mantler <nicoya@google.com> Make ApplicationsState.Session lifecycle-aware

Bug: 66682989
Test: RunSettingsRoboTests
Change-Id: Idf56788fcae22639b7bf604a8c73cd5f0ff2da16
ppInfoBase.java
ppStateBaseBridge.java
anageApplications.java
anageDomainUrls.java
remiumSmsAccess.java
d0b1297e840f2346d68a5ce4a61b3ac9719b9dcc 22-Sep-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fixing issue with PiP settings not showing apps for other profiles."
744ff5c607fffe451f01d2dcd3f6a436b2e01f0f 21-Sep-2017 Doris Ling <dling@google.com> Merge "Fix NPE crash in UsageAccessDetails" am: cd959f28a0 am: 296c46404c am: c13415391b
am: 913d1667ce

Change-Id: Ib859bec6cd9ca1422856d091fc7a0b9894397b04
913d1667cead0ef328c19c037f710141809b1886 21-Sep-2017 Doris Ling <dling@google.com> Merge "Fix NPE crash in UsageAccessDetails" am: cd959f28a0 am: 296c46404c
am: c13415391b

Change-Id: I8e5050b2b4c5884b93ef56155f50d1fffcc13579
296c46404c4647a423eb260563ac407aa538282f 21-Sep-2017 Doris Ling <dling@google.com> Merge "Fix NPE crash in UsageAccessDetails"
am: cd959f28a0

Change-Id: I21f898f7ec8fd67d4f29d73491b4ac57cad7a252
e8b863318125cf088d7f357ef0f04f2935b869fd 15-Sep-2017 Winson Chung <winsonc@google.com> Fixing issue with PiP settings not showing apps for other profiles.

Bug: 65417722
Test: make -j40 RunSettingsRoboTests
Change-Id: If3562dc7c2ddf07e2fc19591238dc3a7b4e9dba7
Merged-In: I3c3fc7a68c172eeccc767cd04b1393b38b36073e
ackageManagerWrapper.java
ackageManagerWrapperImpl.java
ictureInPictureSettings.java
serManagerWrapper.java
serManagerWrapperImpl.java
3baa08b44f78aa82b642d08b0f72f7da4371351b 15-Sep-2017 Winson Chung <winsonc@google.com> Fixing issue with PiP settings not showing apps for other profiles.

Bug: 65417722
Test: make -j40 RunSettingsRoboTests
Change-Id: I3c3fc7a68c172eeccc767cd04b1393b38b36073e
ictureInPictureSettings.java
39de7aedee622984cbfccca09bf2116381571d81 19-Sep-2017 tiansiming <tiansiming@xiaomi.com> Fix NPE crash in UsageAccessDetails

mPackageInfo will be null in RefreshUI method in UsageAccessDetails.java

Bug:https://issuetracker.google.com/issues/65872768
Test:As explained in the link above

Change-Id: I8bd4b822cfe5d8a3347ca7f5886605cbdfb9b8b6
Signed-off-by: tiansiming <tiansiming@xiaomi.com>
ppInfoBase.java
sageAccessDetails.java
36ed425ab2ca8281e426a6b89d3f8379c7752dff 15-Sep-2017 Doris Ling <dling@google.com> Merge "Add a new feature flag for the expand button in support lib."
6f60cddc9e4f9dfd932181765d6b75b2040b0ad7 15-Sep-2017 Doris Ling <dling@google.com> Add a new feature flag for the expand button in support lib.

- check the feature flag to determine whether to use the existing
progressive disclosure mixin or use the expand button in the support
library.
- add corresponding preference xml files that add the new preference
group attribute to use with the expand button in the support lib.

Bug: 63985174
Test: make RunSettingsRoboTests
Change-Id: Ida6eb6182a8066ad1413b7f6142512345fd914d0
ppAndNotificationDashboardFragment.java
24968fa3c1d1bddd6a4320758a4c81b72e489589 15-Sep-2017 Daniel Nishi <dhnishi@google.com> Merge "Fix work profile storage bugs." into oc-mr1-dev am: 67f0299a25
am: 08fe250704

Change-Id: I8c69cf593d2159c62bbea04d3b85bf65dd944448
08fe250704fec839c8e791e0512cd0483c753ffc 15-Sep-2017 Daniel Nishi <dhnishi@google.com> Merge "Fix work profile storage bugs." into oc-mr1-dev
am: 67f0299a25

Change-Id: Ia30e1b297d8c4f9b4167f09e92f1ce1645b26977
dee1a22c45c78dd1d4a681314045b0757b63623d 01-Sep-2017 Doris Ling <dling@google.com> Consolidate all wrappers used for testing.

- Add the wrapper package and move all wrappers to the wrapper package.
- Get rid of some wrapper interface/impl implementation and have a
wrapper class directly.

Bug: 65634579
Test: make RunSettingsRoboTests
Change-Id: Ic757d8f7bacfa7a034c7e692205bc1dc4b0e1de1
ccessibilityManagerWrapperImpl.java
ccessibilityServiceInfoWrapper.java
ccessibilityServiceInfoWrapperImpl.java
ctivityInfoWrapper.java
ctivityInfoWrapperImpl.java
ppCounter.java
ppInfoBase.java
ppLister.java
ppStateAppOpsBridge.java
ppWithAdminGrantedPermissionsCounter.java
ppWithAdminGrantedPermissionsLister.java
pplicationFeatureProviderImpl.java
utofillManagerWrapper.java
utofillManagerWrapperImpl.java
PackageManagerWrapper.java
PackageManagerWrapperImpl.java
nstalledAppCounter.java
nstalledAppDetails.java
nstalledAppLister.java
anageApplications.java
otificationApps.java
ackageManagerWrapper.java
ackageManagerWrapperImpl.java
ictureInPictureSettings.java
ecentAppsPreferenceController.java
serManagerWrapper.java
serManagerWrapperImpl.java
ssist/DefaultVoiceInputPicker.java
efaultapps/DefaultAppInfo.java
efaultapps/DefaultAppPickerFragment.java
efaultapps/DefaultAppPreferenceController.java
efaultapps/DefaultAutofillPreferenceController.java
efaultapps/DefaultHomePreferenceController.java
nstantapps/InstantAppButtonsController.java
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
anageApplications.java
a9693524bf92e4b67915476699b9325bd23cb883 14-Sep-2017 Doris Ling <dling@google.com> Change the permission labels to lowercase.

In the summary for Apps permissions, change the list of permissions
lable to lowercase instead.

Change-Id: I5b3133c33de7110dbec6ab179c6f1308c4ed481e
Fixes: 65049565
Test: make RunSettingsRoboTests
ppPermissionsPreferenceController.java
4de9df2943cbe047b83c8d428d8572ee0066d771 26-Aug-2017 Roozbeh Pournader <roozbeh@google.com> Define Utils.formatRelativeTime() and use it

Previously, relative times were formatted using formatElapsedTime()
(appending translations of "ago" to them), sometimes resulting in
grammatically hard-to-understand or unnatural localizations. Now we
use ICU's RelativeDateTimeFormatter, which uses grammatically correct
and natural localizations from CLDR data.

Bug: 64507689
Bug: 64605781
Bug: 64556849
Bug: 64550172
Test: make -j RunSettingsRoboTests
Change-Id: Ia2d098b190ab99e7748ef6f03b919f5c6174ba7d
ecentAppsPreferenceController.java
09ed020f1342a2e18b2076b8cd41fdbf6eb0c853 02-Sep-2017 Daniel Nishi <dhnishi@google.com> Merge "Make photos/videos storage preference normal." into oc-mr1-dev am: 3d1f6abd6f
am: 5467aed58d

Change-Id: Ic5218a18aa0ea099a113a4c45737baf6bfc05e3a
5467aed58dd109d6510b933b2d319e47341a8169 02-Sep-2017 Daniel Nishi <dhnishi@google.com> Merge "Make photos/videos storage preference normal." into oc-mr1-dev
am: 3d1f6abd6f

Change-Id: Ic944357091b2cd16115fd4b0f3ff0459090a3e27
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
anageApplications.java
hotosViewHolderController.java
2e47a326058e1e73a11a8d16cfcfbd8fadbf1127 02-Sep-2017 Daniel Nishi <dhnishi@google.com> Merge "Show work profile apps only on app list." into oc-mr1-dev am: 8618b8649f
am: d3e0d745a8

Change-Id: Ieb84a6732af3eacb9d576ecc9cb685cff38b8e20
d3e0d745a8bb9b23c8bec0b215292f662f28b76b 02-Sep-2017 Daniel Nishi <dhnishi@google.com> Merge "Show work profile apps only on app list." into oc-mr1-dev
am: 8618b8649f

Change-Id: I8757ff64193dc0754b01aa769e55a355464e2d01
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
anageApplications.java
b628d1ed53a73b00ffafaf60a1979ed978bca87b 31-Aug-2017 Felipe Leme <felipeal@google.com> Removed deprecated BIND_AUTOFILL permission.

Test: make -j100 RunSettingsRoboTests

Bug: 37563972

Change-Id: I423f9c6234e8c1898ed66b22e1078c6f91c58422
efaultapps/DefaultAutofillPicker.java
9260c92c24a14c672b9cda25747889a4b9bf900d 30-Aug-2017 Lei Yu <jackqdyulei@google.com> Merge "Add device/profile app check in background check" into oc-mr1-dev am: f5d7db2cfa
am: ec8007b426

Change-Id: I118fee2b974a0815d21d422358250281da9804f0
ec8007b42602b26d1a364534afaadc4e30ea666f 30-Aug-2017 Lei Yu <jackqdyulei@google.com> Merge "Add device/profile app check in background check" into oc-mr1-dev
am: f5d7db2cfa

Change-Id: I7ffb1cd690b638f4266b5e37913510f545b780b9
00015fbf500a3b9d7af75deac2764540c96179c2 22-Aug-2017 jackqdyulei <jackqdyulei@google.com> Add device/profile app check in background check

If app is device or profile app, we disable the background check
toggle. This cl also create an util method for this check and
remove duplicate code

Bug: 64665807
Test: RunSettingsRoboTests
Change-Id: Id8336eadaac8832327bc3653aaa7dfbacde352ac
ppInfoBase.java
nstalledAppDetails.java
51a13df33a35d17077cad6a547d78f817cc8407c 15-Aug-2017 Jesse Evans <jsje@google.com> Merge "Change strings from Instant app account to setting" into oc-mr1-dev am: 858ea46a3a
am: eee0e82fba

Change-Id: I996ed8caf0581cc3f273423b7d8d3989235e2f4e
eee0e82fbab866a7939db08ef3713e3f6964de33 15-Aug-2017 Jesse Evans <jsje@google.com> Merge "Change strings from Instant app account to setting" into oc-mr1-dev
am: 858ea46a3a

Change-Id: I22fb4b6d3ee5456a591f8dfa8f78d9f6d6da82dd
804b0daf49ffc8846cbf074687fe2f43feb38348 12-Aug-2017 Jesse Evans <jsje@google.com> Change strings from Instant app account to setting

Test: existing tests
Bug: 63762769
Change-Id: I5499f76b9f8b5f513813c4ee09a4fb00c96c3fd4
anageDomainUrls.java
a7144ae5b2efd085db64114cc181274de9c4b17d 11-Aug-2017 Kevin Chyn <kchyn@google.com> Merge "Clean up AssistGesturePreferenceController" into oc-mr1-dev am: 14450c5669
am: e54e3de80c

Change-Id: Ifa1964b6d9d6b32e8b2fc440c40f2431ddcc7b43
e54e3de80c7406b0d07f88c3a844a025c716da86 11-Aug-2017 Kevin Chyn <kchyn@google.com> Merge "Clean up AssistGesturePreferenceController" into oc-mr1-dev
am: 14450c5669

Change-Id: I511a265ff31d6ced75bc3915c97e09eb95cbbc51
bd947c7ba9c83db0b6d6cbc52db7d2c09eb6d4a5 04-Aug-2017 Kevin Chyn <kchyn@google.com> Clean up AssistGesturePreferenceController

The preference controller shouldn't be shared between the
"Assist Gesture" parent setting, and the child setting within

Fixes: 64318213

Test: manual test of settings && make -j RunSettingsRoboTests
Change-Id: I2d2437e2036881a08977924dc1386aa1fab67070
ssist/ManageAssist.java
187b2f9d0cc161b3955db953b2d7e5767a02cb71 03-Aug-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Convert app storage page to use generic ActionButtonPref"
c7e7f28e88f304563e8381daaa8d6e89c4083ea5 02-Aug-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Convert more pages to use ActionButtonPreference"
ac06e1eeae81ace0563db11494420b7fb51cfe50 01-Aug-2017 Fan Zhang <zhfan@google.com> Convert app storage page to use generic ActionButtonPref

Change-Id: I2154bbbc5c78fe313b22f1d66229d6da7586279f
Fix: 63991885
Test: robotests
ppStorageSettings.java
1105a1a4656b15e705be243e63a15c7385975ace 29-Jul-2017 Fan Zhang <zhfan@google.com> Convert more pages to use ActionButtonPreference

- text to speech page
- blue tooth detail page
- installed app page

Change-Id: Ib743a144cc6025055cd496ec077f13fce4db0c69
Bug: 63991885
Test: robotests
nstalledAppDetails.java
c5dc1dc250ba8ab387dd408d40af30dd06339d0e 01-Aug-2017 Tony Mantler <nicoya@google.com> Merge changes from topics 'SystemPropPoker', 'DevSettingsPrefsFile'

* changes:
Refactor SystemPropPoker
Remove development settings prefs file
26e7518f767088059f18243229c78ac658c10f67 01-Aug-2017 jackqdyulei <jackqdyulei@google.com> Merge "Add shadow and wrapper classes" into oc-dr1-dev
am: 0782535daf

Change-Id: I9f9337b3abc97652a1105c001fbe41d15b3e262d
d6084baa899d1e8057f3112d11739214b14d0b2b 25-Jul-2017 jackqdyulei <jackqdyulei@google.com> Add shadow and wrapper classes

These classes are used for accessibility service. Also
add a new Availablity type.

Bug: 62022517
Test: Build
Change-Id: Ia2ff72dd04fd99b17809822907746c2411cecb62
Merged-In: Ia2ff72dd04fd99b17809822907746c2411cecb62
ccessibilityServiceInfoWrapper.java
ccessibilityServiceInfoWrapperImpl.java
30420ae268be8247ceadd41fea4ea92428af22f5 01-Aug-2017 jackqdyulei <jackqdyulei@google.com> Merge "Add shadow and wrapper classes" into oc-mr1-dev am: 1b2408433a
am: 04c28ab23c

Change-Id: If01fbb956c5171a1fe9b64794e80a8b734ca6b54
c65e873d3e6b0c54e705304a03a0c8878cbcf535 01-Aug-2017 jackqdyulei <jackqdyulei@google.com> Merge "Use package from sipper if default is null" into oc-dr1-dev
am: ca24d0435b

Change-Id: Idfa84fd3c07b228ddc689244b7d33ca66463d25f
04c28ab23c5eb3f288cdb652126461e5134d9172 01-Aug-2017 jackqdyulei <jackqdyulei@google.com> Merge "Add shadow and wrapper classes" into oc-mr1-dev
am: 1b2408433a

Change-Id: If0839d6ae74defedaa3c8dcf20fb80c1cccab46e
1b2408433aec34f4b485347db2c9a0b61c55ba83 01-Aug-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add shadow and wrapper classes" into oc-mr1-dev
ca24d0435b605aca9cdc7089adb0495ed75be062 01-Aug-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Use package from sipper if default is null" into oc-dr1-dev
3d84d563368070814e16ec9dd1daba61656b7e61 31-Jul-2017 Tony Mantler <nicoya@google.com> Remove development settings prefs file

Move DevelopmentSettingsEnabler to SettingsLib

Bug: 64159590
Test: DevelopmentSettingsEnablerTest
Change-Id: Id609266019e05a3e06b4ee3bc10de9c019628a42
nstalledAppDetails.java
7620f6555a28286efe8f44dc90738d50150248e2 31-Jul-2017 jackqdyulei <jackqdyulei@google.com> Merge "Merge "Create wrapper and shadow for AccessibilityManager" into oc-dr1-dev am: d6c9a8b5b2 am: 68af5f3a5d" into oc-mr1-dev-plus-aosp
am: d8664d6cba

Change-Id: I73affa5a3fb146ac4ddc62a96b16b54a4554b224
295599526864f3092aac87b1c18afdbd5e32cca3 31-Jul-2017 jackqdyulei <jackqdyulei@google.com> Merge "Use package from sipper if default is null" into oc-mr1-dev am: 8be9d6519f
am: 6399937d47

Change-Id: I54392bce57eb20c96e51ee5270cc19d4b8d2b933
1f0f6317f6ba22956e71c9cf2c358c610b6d3811 27-Jul-2017 jackqdyulei <jackqdyulei@google.com> Use package from sipper if default is null

The BatteryEntry need a background thread to update the
package name and icon. However in InstalledAppDetails we
don't have this thread and it is unnecessary because we
already has the package name.

This cl:
1. Use the mPackageName from InstalledAppDetails directly in
BatteryEntry
2. Double check the defaultPackageName in AdvancedPowerUsageDetail,
use packageName from sipper if default is null

Bug: 64127162
Test: RunSettingsRoboTests

Change-Id: I5d21afca17f177817976758c28ed86b3a10e95eb
Merged-In: I5d21afca17f177817976758c28ed86b3a10e95eb
nstalledAppDetails.java
d8664d6cbad02fa1a427df5537f6906fab3a2336 31-Jul-2017 Android Build Merger (Role) <android-build-merger@google.com> Merge "Merge "Create wrapper and shadow for AccessibilityManager" into oc-dr1-dev am: d6c9a8b5b2 am: 68af5f3a5d" into oc-mr1-dev-plus-aosp
7bea7b2cdd1e13ae2ab3616986d2329cf73edbee 31-Jul-2017 jackqdyulei <jackqdyulei@google.com> Merge "Create wrapper and shadow for AccessibilityManager" into oc-dr1-dev am: d6c9a8b5b2
am: 68af5f3a5d

Change-Id: I24a1e496688277428b680eaa0a66dd12e0eac3d3
6399937d47a8d032ffd4ffb0e6228ab95880c7a4 31-Jul-2017 jackqdyulei <jackqdyulei@google.com> Merge "Use package from sipper if default is null" into oc-mr1-dev
am: 8be9d6519f

Change-Id: I6755b14b62b9ec8958ce2aa7e99b3faa4fbb7aa7
68af5f3a5d6c6fb43d11842c5d50142c60b2125f 31-Jul-2017 jackqdyulei <jackqdyulei@google.com> Merge "Create wrapper and shadow for AccessibilityManager" into oc-dr1-dev
am: d6c9a8b5b2

Change-Id: I9dcac73b1360471f4357ef75201b49c6d5031033
b3a488c40ccf8d530c040907c19c79dfe62c741f 31-Jul-2017 jackqdyulei <jackqdyulei@google.com> Merge "Create wrapper and shadow for AccessibilityManager" into oc-dr1-dev
am: d6c9a8b5b2

Change-Id: Id708356c38b10789974e35193c1d71dc0c9fdf34
8be9d6519f8244f7a9117ce46fc143dbfc5f7fb7 31-Jul-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Use package from sipper if default is null" into oc-mr1-dev
d6cb4a1738551acb968b527542304d1ba4b903cd 25-Jul-2017 jackqdyulei <jackqdyulei@google.com> Add shadow and wrapper classes

These classes are used for accessibility service. Also
add a new Availablity type.

Bug: 62022517
Test: Build
Change-Id: Ia2ff72dd04fd99b17809822907746c2411cecb62
ccessibilityServiceInfoWrapper.java
ccessibilityServiceInfoWrapperImpl.java
51872ed3456582533585d229d83d4df3ff4c0cb7 27-Jul-2017 jackqdyulei <jackqdyulei@google.com> Use package from sipper if default is null

The BatteryEntry need a background thread to update the
package name and icon. However in InstalledAppDetails we
don't have this thread and it is unnecessary because we
already has the package name.

This cl:
1. Use the mPackageName from InstalledAppDetails directly in
BatteryEntry
2. Double check the defaultPackageName in AdvancedPowerUsageDetail,
use packageName from sipper if default is null

This cl is cherry picked from oc-dr to fix the test breakage.

Bug: 64127162
Test: RunSettingsRoboTests

Change-Id: I5d21afca17f177817976758c28ed86b3a10e95eb
nstalledAppDetails.java
c27d74d08e009bf85737a237e7a5a77f676d0aea 28-Jul-2017 jackqdyulei <jackqdyulei@google.com> Create wrapper and shadow for AccessibilityManager

This is for testing, because robolectric doesn't recognize new
API.

Bug: 62022517
Test: Build
Change-Id: I1c150d86366305eacf3245bbabdf3d3e26124c77
ccessibilityManagerWrapperImpl.java
3521974b8a44beb63e642390b028ca72e1bb1438 27-Jul-2017 Jian Zhou <jianzhou@codeaurora.org> Merge "Settings: Fix SparseArray null pointer issue in monkey issues" am: 41b4d908bb am: 3aee5e1ad0 am: 86535a3d15 am: 62bb1e75ac
am: 8071e11d87

Change-Id: I60ffd8a6328b64952176c91922411000e86a9d31
8071e11d8788d51c92c9184167c326f3245f6c58 27-Jul-2017 Jian Zhou <jianzhou@codeaurora.org> Merge "Settings: Fix SparseArray null pointer issue in monkey issues" am: 41b4d908bb am: 3aee5e1ad0 am: 86535a3d15
am: 62bb1e75ac

Change-Id: I9dc6da68107514e839b4284a4aeab47f43f745e6
62bb1e75ac385504b1e0397492a7be63f50dcfbd 27-Jul-2017 Jian Zhou <jianzhou@codeaurora.org> Merge "Settings: Fix SparseArray null pointer issue in monkey issues" am: 41b4d908bb am: 3aee5e1ad0
am: 86535a3d15

Change-Id: Ia6f34a3cf6e9b64669ca494c5088791ae5021092
3aee5e1ad0550ddf7b31f99b04de0f4e0af61bb2 27-Jul-2017 Jian Zhou <jianzhou@codeaurora.org> Merge "Settings: Fix SparseArray null pointer issue in monkey issues"
am: 41b4d908bb

Change-Id: If3c634811506bdc9f3de5501e60f6a662ac2873a
41b4d908bb1ba2a1ede37015eaa9f98ca7339820 27-Jul-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Settings: Fix SparseArray null pointer issue in monkey issues"
882020d14b4239b944106902bcedae1c8db1a9bf 26-Jul-2017 Doris Ling <dling@google.com> Merge "Add divider line below "see all apps" preference" into oc-dr1-dev am: 0e9711ab92 am: f8bb8a9792
am: c0eac3803d

Change-Id: I72106b5c3e73dc194a5678e6e4c3ec6306d6b413
c0eac3803d57a0528e57ca7d27b01759470f2306 26-Jul-2017 Doris Ling <dling@google.com> Merge "Add divider line below "see all apps" preference" into oc-dr1-dev am: 0e9711ab92
am: f8bb8a9792

Change-Id: I91b902ed5db6662e7e9fc2187049311b00b50cc6
a60d3ef00cb98e6aae47717ca2142b158471364b 26-Jul-2017 Doris Ling <dling@google.com> Merge "Add divider line below "see all apps" preference" into oc-dr1-dev
am: 0e9711ab92

Change-Id: I7fc59ace61bb89b40ab3eabe774a89128895515f
0e9711ab92d9a71bcd18fcd2c17afd79f029db1f 26-Jul-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add divider line below "see all apps" preference" into oc-dr1-dev
60bb1d39eb00f244a01db37e94e4021875755934 22-Jul-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Post preference update logic to main thread"
ca87892984e21e2e6fc95609d5136ee4c1fab573 22-Jul-2017 Andrew Sapperstein <asapperstein@google.com> Merge "Add help uri for process stats summary and apps." into oc-dr1-dev am: 59a66d9b77
am: 80a5336b25

Change-Id: Ib32bcfa22706abf89633b86333498f77328daebb
ebd8308698a68144cb691ea07217bd4acc3a663b 22-Jul-2017 Andrew Sapperstein <asapperstein@google.com> Merge "Add help uri for process stats summary and apps." into oc-dr1-dev
am: 59a66d9b77

Change-Id: I2b279d3a1562e693caeaf64f2f91ab629b4e294f
59a66d9b775a804d07e6ad99995fb96f26e9486c 22-Jul-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add help uri for process stats summary and apps." into oc-dr1-dev
d6e51123a479478c1f7a7553b54bf2bf97417ba2 22-Jul-2017 Fan Zhang <zhfan@google.com> Post preference update logic to main thread

Change-Id: Ic1e1f64446a9aec9da7dce3fd23ae4ba17b25b28
Fix: 36131513
Test: robotests in the same topic
ssist/AssistSettingObserver.java
64590ec7a6e97fe817f08122ae58fcbf5dc3b503 22-Jul-2017 Andrew Sapperstein <asapperstein@google.com> Add help uri for process stats summary and apps.

Bug: 62903521
Test: manual
Change-Id: I55cdb061d79232676d4064677bd7f5936700e8b7
rocessStatsSummary.java
rocessStatsUi.java
6f44ea54ae48567049d047d862b44da0bf7fb0f5 21-Jul-2017 Doris Ling <dling@google.com> Add divider line below "see all apps" preference

- and increase the tile limit by 1 to accomodate the divider.

Change-Id: I94cbf47fd987a6ff4c4fabcc3124fae1f0438876
Fix: 63906012
Test: make RunSettingsRoboTests
(cherry picked from commit 6cd558e595a1d7cb6912b9c2cc1fb8e9e5267ecc)
ppAndNotificationDashboardFragment.java
ecentAppsPreferenceController.java
a8cae6b71d8828545cc6309c19d3f10ff3878bcc 19-Jul-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "BidiFormat wrap version code in installed app detail UI"
3f8408e2b21826ded3ba768a01fcb7837c6944ae 19-Jul-2017 Fan Zhang <zhfan@google.com> BidiFormat wrap version code in installed app detail UI

Change-Id: Ib592e4504331c4fc334ef5257e3d6d21c08098c0
Fix: 37862201
Test: visual
nstalledAppDetails.java
0038e448e150a5c31196452ed80b280075469fe1 18-Jul-2017 Lei Yu <jackqdyulei@google.com> Merge "Never store battery stats for cache" into oc-dr1-dev am: 8f8797f768
am: c150df6f8e

Change-Id: Iea0ac999b8f4dea20e0252b91b3013a5740ce353
ebf850ed0a7dd0473e3b4ee8ad1b2e1e7b156b41 17-Jul-2017 Rajeev Kumar <rajekumar@google.com> Stop showing Picture in Picture for Android Go.

Bug: 63715748
Test: visual, and runtest --path ManagedAccessSettingsLowRamTest.java
Change-Id: I65836c5d94d425ec6120572a1c27cd8a8d69cd69
pecialAccessSettings.java
114cf2a1a75a4e46243aa2b27e007add7899d08f 15-Jul-2017 jackqdyulei <jackqdyulei@google.com> Never store battery stats for cache

In PowerUsageBase, it will store battery stats if it has a configuration
change, which will make BatteryStatsLoaderHelper never get the correct
battery stats because it uses Bundle.EMPTY as the bundle message.

This cl:
1. Remove the store action even though it is configuration change.
2. Always use null to get battery stats
3. Always start a battery status check in register()

Bug: 63658232
Test: RunSettingsRoboTests
Change-Id: Ifbf970c63378ed66dddcdae4d952b7d1fd84216a
nstalledAppDetails.java
9664c1a55e6e5ac9848393d50f57ccb96e5054a4 14-Jul-2017 Rajeev Kumar <rajekumar@google.com> Refactor few public static methods.

Move public static methods from DataUsageSummary to DataUsageBase.

Bug: 62349208
Test: make RunSettingsRoboTests -j40
Change-Id: I632f75f4c4f370fb225a9787267043fec20994e5
nstalledAppDetails.java
6ce422086244122d2bc01aaddd158abd074fd272 14-Jul-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Move Apps & Notifications -> Notifications out from Advanced."
09304ec2fdc353cfb27371ac52f8467a7eca5c18 14-Jul-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Hide memory setting in app detail unless dev option is on."
82bbdfecabc36aa61f0dc0b505480e88a7b454a6 14-Jul-2017 Rajeev Kumar <rajekumar@google.com> Merge "Recycle TypedArray in SpacePreference."
cf01a0d0a92b2f2332e80e97503b391a52e4f091 14-Jul-2017 Doris Ling <dling@google.com> Move Apps & Notifications -> Notifications out from Advanced.

Increase the tile limit from 2 to 3, since there is now a divider
above Notifications which also counts towards the item limit.

Change-Id: Id492fc7d8539a6ae62e6f1a7929aaa98b5287126
Fix: 63674733
Test: Visual
ppAndNotificationDashboardFragment.java
880e8c212c3b228e0a4b0e0e8f4ab7adf932a679 14-Jul-2017 Fan Zhang <zhfan@google.com> Hide memory setting in app detail unless dev option is on.

Change-Id: I785be8bc5228fa87e783f5ddbc41284346b8c8f1
Fix: 62059976
Test: robotests
nstalledAppDetails.java
b0ec2658d354c0c84aa3418900cf2992d06ce416 14-Jul-2017 Rajeev Kumar <rajekumar@google.com> Recycle TypedArray in SpacePreference.

Test: make RunSettingsRoboTests -j40
Change-Id: I8767ceb70adabffc4d6db020ef0e1524f64a1d05
pacePreference.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
dvancedAppSettings.java
efaultAppSettings.java
nstalledAppDetails.java
anageApplications.java
ssist/DefaultAssistPreferenceController.java
ssist/ManageAssist.java
efaultapps/DefaultAppInfo.java
efaultapps/DefaultAppPreferenceController.java
efaultapps/DefaultBrowserPreferenceController.java
efaultapps/DefaultHomePreferenceController.java
efaultapps/DefaultPaymentSettingsPreferenceController.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
anageApplications.java
959f0d59fc55b83bd5d3b26dc840c3745d781bf6 07-Jul-2017 Daniel Nishi <dhnishi@google.com> Merge "Shrink the music icon." into oc-dr1-dev am: e78190d124
am: a22ecac2f9

Change-Id: Ic5787c194d73c8de47f554f506c7601df00d55de
e663befae40f95154d8317bcb85856abe3625783 07-Jul-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "App header cleanup"
e78190d12424dfbb3605d838c0b570a58ff31a63 06-Jul-2017 Daniel Nishi <dhnishi@google.com> Merge "Shrink the music icon." into oc-dr1-dev
3903e15de2a4d8fc84a05dc5de1641a50f9bcc18 06-Jul-2017 Fan Zhang <zhfan@google.com> Fix a crash in AppInfoBase where appEntry is invalid am: 2c6634a8a9
am: 4a1245e8c1

Change-Id: Ibf609a79a19fca98554b3ec60940163674125af9
75bee9bf98b7d52348978e09ad68b31170957c2e 30-Jun-2017 Fan Zhang <zhfan@google.com> App header cleanup

- Refactor the entity header layout to use LinearLayout and add id to
content area
- Remove now unused AppHeader class
- Make entire icon+text area clickable and link to app info page
Refactor the binding logic from bindButton to its own method.
- Remove unused MultiLinePreference

Fix: 62705377
Test: make RunSettingsRoboTests

Change-Id: I6db554695410e71b669f6fdba29d98fedc3364b9
ppInfoWithHeader.java
nstalledAppDetails.java
rocessStatsBase.java
rocessStatsDetail.java
2c6634a8a9f76aaa89de40102f39c62b175defbe 06-Jul-2017 Fan Zhang <zhfan@google.com> Fix a crash in AppInfoBase where appEntry is invalid

Change-Id: Ifbea967405ddc1e1bd069ddeab170bc67b1835b4
Fix: 63178369
Test: robotests
ppInfoBase.java
209bea558026753523ce73994f2d0c4decdb4120 29-Jun-2017 Daniel Nishi <dhnishi@google.com> Shrink the music icon.

The icons on the ManageApplications screen are 42dp by default. By
pushing a big inset, we can shrink it to be appropriate.

Change-Id: Iadf9f9f708c7469f42559f88626789127f865543
Fixes: 62548746
Test: Manual
usicViewHolderController.java
5243d5dd85b344ac4c851f7b566f4cd67b6ecd43 29-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add account sync summary." into oc-dr1-dev
2d6930b2dfcc6afeadd842e212f7c3e91dd2e074 29-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add account sync summary."
696afbc1cb4bf2f5c1c359306ebed3d162e339d4 28-Jun-2017 Daniel Nishi <dhnishi@google.com> Merge "Use the proper style for the SpacePreference." into oc-dr1-dev am: ff8312b36b
am: e440fdb769

Change-Id: I2b393b0583f295524eaaa79032f73abc0724469d
ff8312b36b2d0f0c9bd07a74bc73a3f56b15d74c 28-Jun-2017 Daniel Nishi <dhnishi@google.com> Merge "Use the proper style for the SpacePreference." into oc-dr1-dev
e76550a66e92e072aa1afa20a2bed7e8a6bd7924 21-Jun-2017 Doris Ling <dling@google.com> Add account sync summary.

- Check for the number of sync adapter that is enabled for the account and
update the summary text for the account sync preference accordingly.
- Add divider above the Remove Account button.

Merged-In: Ic333f62cce9aed0a72771324976ebe3d8e586287
Change-Id: I003d6dd0a070bf123f178b8d9ba7b6657466b905
Fix: 62862167
Test: make RunSettingsRoboTests
ayoutPreference.java
771848dde0d2960b8ec7d359090ba5106d6bb727 28-Jun-2017 Doris Ling <dling@google.com> Add account sync summary.

- Check for the number of sync adapter that is enabled for the account
and
update the summary text for the account sync preference accordingly.
- Add divider above the Remove Account button.

Bug: 62862167
Test: make RunSettingsRoboTests
Change-Id: Ic333f62cce9aed0a72771324976ebe3d8e586287
ayoutPreference.java
d8dce76a1a302ba438c2bb82c47a929040afed3e 27-Jun-2017 Daniel Nishi <dhnishi@google.com> Use the proper style for the SpacePreference.

The old style caused unsightly dividers to show up.

Change-Id: Ic59fdc9b2f120e8a637930f3246be5dab547af5b
Fixes: 62548473
Test: Manual
pacePreference.java
ce319da841f2b76796a1691d8d3a7e20c1a183cf 27-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Reduce jank around loading view when opening data usage UI"
58005fc5c1775eabb5138432dc02688dcac06bb3 27-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix assist gesture settings summary"
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
anageApplications.java
unningServices.java
ba3c8edc2ff9e1449d7392bc9ce80e0ca1074007 17-Jun-2017 daqi <daqi@xiaomi.com> resolve merge conflicts of 31a2f413f8 to master

Test: I solemnly swear I tested this conflict resolution.
Change-Id: I2d665a710a58d9e18d56517bffb69f42b9ffe7a6
remiumSmsAccess.java
891ab1a713fb6878d99981ea5c0bbbaa1a6a46db 21-Jun-2017 Kevin Chyn <kchyn@google.com> Fix assist gesture settings summary

Bug: 62841640

Test: make -j RunSettingsRoboTests && manual testing of settings

Change-Id: I75ffce4ff1054dad6b2733a7d4f6bc7e526a8034
ssist/ManageAssist.java
1d583e125faf3ae4c9cd82636d8f3ecf1cdec3aa 13-Jun-2017 Tony Mantler <nicoya@google.com> Make PreferenceController a mixin

Bug: 62912136
Test: Existing tests in BaseSearchIndexProviderTest
Change-Id: Ieda359806c09a019840b2005446c7ec8b61fdb00
dvancedAppSettings.java
ppAndNotificationDashboardFragment.java
ppPermissionsPreferenceController.java
ecentAppsPreferenceController.java
esetAppPrefPreferenceController.java
pecialAccessSettings.java
pecialAppAccessPreferenceController.java
ssist/AssistContextPreferenceController.java
ssist/AssistFlashScreenPreferenceController.java
ssist/AssistScreenshotPreferenceController.java
ssist/ManageAssist.java
efaultapps/DefaultAppPreferenceController.java
a310a50868a0c3bf490406a3fcc218ce762a7479 21-Jun-2017 Kevin Chyn <kchyn@google.com> Fix assist gesture settings summary

Fixes: 62841640

Test: make -j RunSettingsRoboTests && manual testing of settings

Merged-In: I75ffce4ff1054dad6b2733a7d4f6bc7e526a8034
Change-Id: I75ffce4ff1054dad6b2733a7d4f6bc7e526a8034
ssist/ManageAssist.java
559bd3651e0a87a5ea729efa1c789ca99f7fc6b6 21-Jun-2017 Julia Reynolds <juliacr@google.com> Disable managed services special access screens...

... on low ram devices.

- Remove them from the 'Special app access' screen
- Display an error message if an app intents directly to
them

Bug: 35219985
Test: visual, and runtest --path ManagedAccessSettingsLowRamTest.java,
when the device is in low ram mode and when it's not.
Change-Id: Ied919cb248ae56683a00e3492c4737dfd00449ac
pecialAccessSettings.java
b279330c0a0c380e038ada6e92ac852f3a3f8f75 17-Jun-2017 daqi <daqi@xiaomi.com> Fix PremiumSmsAccess memory leak

[Cause of Defect]
PremiumSmsAccess forget to invoke Session and AppStateSmsPremBridge
release method in the onDestroy callback.
And that would lead to the leak of activity context.

Test: 1. Settings - Apps - Advanced - Special access - Premium SMS access
2. adb shell dumpsys meminfo com.android.settings
3. observe activity object number
4. back to the last page
5. use AS trigger Settings gc several times
6. adb shell dumpsys meminfo com.android.settings
7. observe activity object number to check if the activity number decrease

Change-Id: I359900c16fa866fba94d187a61cf6bebbdd1ed0b
Signed-off-by: daqi <daqi@xiaomi.com>
remiumSmsAccess.java
296bdda5dfc3d3a434f377464ba87f187cce4a23 22-Jun-2017 Doris Ling <dling@google.com> Merge "Update summary for Recent Apps." into oc-dr1-dev am: d7fc071f48
am: dc361053a0

Change-Id: Ibd4dbb2d883a16d3d0811b15dbda9825178d5833
d7fc071f48fa55961be9887d3342e9c068fc4f02 22-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Update summary for Recent Apps." into oc-dr1-dev
21e6b40a0fb13a0728f919a1d1d3288cb6ffd8c6 22-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Move Apps & notifications -> App permissions into Advanced."
6b10f016c5ba31f4042193191546428f0b15f9cd 21-Jun-2017 Doris Ling <dling@google.com> Merge "Delay showing the loading progress spinner in Managed App." into oc-dr1-dev am: 153e2b89b9
am: 33b2f7f466

Change-Id: I601744831f54fc2bd86a6f2c692e38ba361b3603
c429ffb59280d2276d9f671436f4551aaa79fefb 19-Jun-2017 Julia Reynolds <juliacr@google.com> Merge "Migrate from setting to NotificationManager."
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
anageApplications.java
c72355f60bc945b0d427043dd6f686581fd0ba82 17-Jun-2017 Doris Ling <dling@google.com> Move Apps & notifications -> App permissions into Advanced.

- decrease the tile limit for the Apps and notification dashboard to
show 1 less item initiallly.

Change-Id: I334661ced410f9c077f01d7d27a8c3555afdccb9
Fix: 62486427
Test: visual
ppAndNotificationDashboardFragment.java
bc723ba16101a6dffb7843736a42425534fcf3b3 16-Jun-2017 Lei Yu <jackqdyulei@google.com> Merge "Display anomaly in battery usage page" into oc-dr1-dev am: b275471725
am: 1522839283

Change-Id: Ia234aa8a6e478ae7e5dac88867cef9297ff74ceb
b275471725899166ed5cbe734f1f08c103b51e71 16-Jun-2017 Lei Yu <jackqdyulei@google.com> Merge "Display anomaly in battery usage page" into oc-dr1-dev
2b7e3f228d00563e9fea49fee49fb0dc503caee9 27-Sep-2016 Jian Zhou <jianzhou@codeaurora.org> Settings: Fix SparseArray null pointer issue in monkey issues

SparseArray null pointer causes monkey test exception, add a
protect for this.

Change-Id: Iade3148a846962875f5f38c5d2bf5631d0d9ac42

Bug: 62685823
ppStateAppOpsBridge.java
6cd558e595a1d7cb6912b9c2cc1fb8e9e5267ecc 15-Jun-2017 Fan Zhang <zhfan@google.com> Add divider line below "see all apps" preference

Change-Id: I94cbf47fd987a6ff4c4fabcc3124fae1f0438876
Fix: 62040104
Test: make RunSettingsRoboTests
ecentAppsPreferenceController.java
3fb054f3d3df6ed3ca07036720116f9eae4098b7 13-Jun-2017 jackqdyulei <jackqdyulei@google.com> Display anomaly in battery usage page

This cl adds a new parameter, mAnomalies, for
AdvancedPowerUsageDetail.

If it is null, fragment will start AnomalyLoader to detect anomaly.
If not null, just display the anomaly.

Bug: 36925180
Test: RunSettingsRoboTests

Change-Id: I572bc5954c1cdb210d18b6dbe1ab9dba25c0a61f
nstalledAppDetails.java
ee4b6ba6ae8fe79ac46767edbdc920ccb11fce03 09-Jun-2017 Julia Reynolds <juliacr@google.com> Migrate from setting to NotificationManager.

Test: manual; changing settings and confirming with bugreport
Change-Id: I1595fc3ceca8cd31d5bece52dff75aebe29d2ae3
efaultapps/DefaultNotificationAssistantPicker.java
be3972d7c2fa98376cc21d1d6e8c10cfafc91afd 09-Jun-2017 Andrew Sapperstein <asapperstein@google.com> Update SummaryPreference to use config_headlineFontFamily.

Also deleted a couple of unused files.

Change-Id: I42b6f6c79c3a7ba00040d657204830c5a468a2b2
Fixes: 62385826
Test: manual
inearColorPreference.java
f928324747ad0fada2201f0a9c4a1d6196648a52 09-Jun-2017 Daniel Nishi <dhnishi@google.com> Merge "Update the music files icon." into oc-dev
am: 47c6afde7f

Change-Id: I20505a1958f7639ac91c571371a7555c4f9b9024
60287a50e8cb8d308cc7a04fc0ee9faae89e1352 09-Jun-2017 Daniel Nishi <dhnishi@google.com> Merge "Update the music files icon." into oc-dev
am: 47c6afde7f

Change-Id: I78e6e1a16e25aff0e0374f5910fcbba0624f712b
e1571b8dac3d89f660a939f2a412def1935fc87d 05-Jun-2017 Daniel Nishi <dhnishi@google.com> Update the music files icon.

Change-Id: Id1c933e395131ca6e9e9268d7c42f7324aa6fdac
Fixes: 62291640
Test: Manual
usicViewHolderController.java
ec4064cdbd8df16b5c7d49a71cb62b53e9cbb6b1 07-Jun-2017 Doris Ling <dling@google.com> Update summary for Recent Apps.

Change the formatting of the time since last used to match the
formatting in battery info.

Change-Id: Ibd59493719d9f90391713713b75afd11790deaa0
Fix: 62273254
Test: make RunSettingsRoboTests
ecentAppsPreferenceController.java
e9523336307b4a53c0c965260b1414d9a7e63730 06-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "String changes"
f4c91d32d55a54d6d7db177a2d39c78508e368c1 06-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add help url placeholders for new pages"
f4727ea07fe5613d81a91080353bd3a02dd71388 23-May-2017 Salvador Martinez <dehboxturtle@google.com> Add ability to see both battery estimates on long press

If the enhanced estimate is being used in battery settings
it is now possible to long press on the text to have it display
both instead of the string that is normally used.

Adds another loader to enable this since it needs both the old
and the new estimates simultaneously.

Feature is hidden behind a feature flag that only googlers will
have enabled.

Test: robotests
Bug: 38399275
Change-Id: I5caf26513baada27efd50ddb0e72d3868da47150
ayoutPreference.java
179645eecd1a2321e7dd8992678b47799e60f9e6 05-Jun-2017 Fan Zhang <zhfan@google.com> Add help url placeholders for new pages

Bug: 38412798
Test: visual
Change-Id: I4ede523cb13790ea05309279f80a778b2086f850
ppAndNotificationDashboardFragment.java
anageApplications.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
anageApplications.java
64c87589c5e8f926eea028f195beb371b9696f1b 02-Jun-2017 Lei Yu <jackqdyulei@google.com> Merge "Restart loader in onResume" into oc-dev
am: 74ca6aa060

Change-Id: I4cc76a8eeee55335bd6a4ab7d6870084ec609f9b
3aeffe5e9d5b94bcc562d69d3b8391c7bcdc1000 02-Jun-2017 Suprabh Shukla <suprabh@google.com> Merge "Always returning the updated preference summary"
ee01dcc74a357e67477246e39603b88183f17cc8 01-Jun-2017 jackqdyulei <jackqdyulei@google.com> Restart loader in onResume

We need to refresh batterystatsHelper in onResume, so we need to
call restartLoader instead of initLoader

Bug: 62237848
Test: RunSettingsRoboTests
Change-Id: I6f7e1b57b945c92d34587ca24db192600e7f797f
Merged-In: I6f7e1b57b945c92d34587ca24db192600e7f797f
nstalledAppDetails.java
7e59ec499c633162297344ef2d318ca80fb09f28 01-Jun-2017 Suprabh Shukla <suprabh@google.com> Always returning the updated preference summary

AppEntry is not being updated when opening nested app info activities,
which led to stale preference summary being returned for external
sources details.

Test: Manually checked the preference summary is correctly reflecting
the state of the switch.
Existing test ExternalSourcesSettingsTest passes.

Bug: 37487637
Change-Id: Id3c665c7cc7231023f4110725b3b15e43284de97
xternalSourcesDetails.java
210110f4ed325e2c02f600f95894a37bce1bb908 01-Jun-2017 jackqdyulei <jackqdyulei@google.com> Restart loader in onResume

We need to refresh batterystatsHelper in onResume, so we need to
call restartLoader instead of initLoader

Bug: 62237848
Test: RunSettingsRoboTests
Change-Id: I6f7e1b57b945c92d34587ca24db192600e7f797f
nstalledAppDetails.java
7d190dd69df6704663874edd5edfb86c0a2ee7d7 01-Jun-2017 Fan Zhang <zhfan@google.com> Merge "Add method to disable "disable" button in installed app UI" into oc-dev
am: e12790e34f

Change-Id: I4a5223a27c98f7ae9422fb017f4206721080890a
e12790e34fb060212c89bd9c9d3adb1cb5acf215 01-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add method to disable "disable" button in installed app UI" into oc-dev
1e6b7171ff11bd4496e8418a754875a98cc8dc39 01-Jun-2017 Daniel Nishi <dhnishi@google.com> Merge "Fix a bug where cache was double-counted." into oc-dev am: 7035a41715
am: 0a8b12a30a

Change-Id: I3f17e10a9aaf011aee587dbe0e36d18a3a27c42f
0a8b12a30a7453332fd66b7e97a0f95e94610d05 01-Jun-2017 Daniel Nishi <dhnishi@google.com> Merge "Fix a bug where cache was double-counted." into oc-dev
am: 7035a41715

Change-Id: I2c465b9561cea69e5772efd08af7794f762758ca
77ee0b08ddb8a348a051f19a349f371bf517905d 31-May-2017 Fan Zhang <zhfan@google.com> Add method to disable "disable" button in installed app UI

OEMs can now force grey out the "disable" button for important apps on
device.

Change-Id: I8ea431b52e50e424be55946f70175db5412e2f4a
Merged-In: Ic075a07ad12592bd60238c7b1c9ab84932c8db3c
Fix: 38250742
Test: make RunSettingsRoboTests
ppInfoBase.java
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.java
nstalledAppDetails.java
a45f3d2f33e2286b8c5fd89f962e700177210a48 31-May-2017 Fan Zhang <zhfan@google.com> Add method to disable "disable" button in installed app UI

OEMs can now force grey out the "disable" button for important apps on
device.

Change-Id: Ic075a07ad12592bd60238c7b1c9ab84932c8db3c
Fix: 38250742
Test: make RunSettingsRoboTests
ppInfoBase.java
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.java
nstalledAppDetails.java
6f92b661a4c3d4a064d536fd466918b44fdacef1 31-May-2017 Daniel Nishi <dhnishi@google.com> Fix a bug where cache was double-counted.

Cache was being counted as cache and also as data in the app info page.
This is due to a faulty assumption I made that getDataBytes() and
getCacheBytes() measured distinct areas of storage (in actuality,
getCacheBytes() is a subset of getDataBytes()). This improper assumption
also led to the unit test being incorrect.

Change-Id: I4144d50800f82feaecb7a0a8dff26be3e4f14da8
Fixes: 62182151
Test: Settings robotest & manual
ppStorageSettings.java
ppStorageSizesController.java
486e966bdeb9eef311aa63fe8aa102cbfe69a2bf 31-May-2017 Esteban Talavera <etalavera@google.com> Merge "Launchers that don't support managed profiles cannot be selected" into oc-dev am: 535533680f
am: 112f8d88fd

Change-Id: I23d0ee4977fc544b35723512977670cd2686c7d1
112f8d88fdf98ffaeabd2e843f9086ed229624c7 31-May-2017 Esteban Talavera <etalavera@google.com> Merge "Launchers that don't support managed profiles cannot be selected" into oc-dev
am: 535533680f

Change-Id: I9058ae475e16c3b3c3227aa979af78c8958d0628
535533680f3f92c38a0b3fe5ac660ab8e6fd2776 31-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Launchers that don't support managed profiles cannot be selected" into oc-dev
c62808a5a30e51c19a0aa4cf47d5b82cd3647a98 31-May-2017 Fan Zhang <zhfan@google.com> Revert "Revert "Share preference controller in AdavancedAppSettings search""

Bug: 62141436
Test: make RunSettingsRoboTests -j40
This reverts commit b2676a769eaad4a24544e341f9a912620fc3cc9e.

Change-Id: I27c8df94a3103602d2e176670bcf1f82528e70c0
dvancedAppSettings.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
23c2cf1d683e6d20e8075a5fbd8275d10c3a6d8f 30-May-2017 Daniel Nishi <dhnishi@google.com> Merge "Fix an override filter bug." into oc-dev
am: 5cc0a122d3

Change-Id: I9188da01862ae2af964ac09b84f5b3c6078572cc
11e4b2c3f12ef0ecce5c61ab428034168ada9d08 25-May-2017 Esteban Talavera <etalavera@google.com> Launchers that don't support managed profiles cannot be selected

If there is a managed profile, launchers that don't support managed profiles
cannot be selected as default Home

Change-Id: I7a19b5951402ec87a48464d783a539a607adabfe
Fix: 62013411
Test: m RunSettingsRoboTests
efaultapps/DefaultHomePicker.java
61eb68dae999cd87f29b019309d0584d4d9893a9 27-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Update recently opened app string and "see all" summary"
83365ec6ea34a7f266a19c3a7aa478ac160c515c 26-May-2017 Fan Zhang <zhfan@google.com> Update recently opened app string and "see all" summary

Change-Id: I84a01f01ac1c685db87970c3137f30ba58c800b3
Fix: 62040104
Test: make RunSettingsRoboTests
ecentAppsPreferenceController.java
012028e3a320dd3eeca3c39f0e47c1c40697bdf6 26-May-2017 Fan Zhang <zhfan@google.com> Misc logging changes

- log search result count, rank when clicking search result.
- log app package when default app is changed

Change-Id: Idd11bd67caba2beaa59c65839c40db8c71787388
Fix: 62072727
Test: make RunSettingsRoboTests
efaultapps/DefaultAppPickerFragment.java
3d4faff7843896caf1b05380d05ff063f3f437c5 25-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add logging to default browser preference controller"
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
anageApplications.java
378967484a955bc73ac1695ba42cedf9c2db2b33 25-May-2017 Fan Zhang <zhfan@google.com> Add logging to default browser preference controller

Bug: 38480521
Test: manual
Change-Id: I1b0d389f0aa6cc4c9d1895e4cae4d0561df0f0ca
efaultapps/DefaultBrowserPreferenceController.java
17d63964c71fa4f78a57337ad6a4dc313daa9f9d 25-May-2017 Fan Zhang <zhfan@google.com> Set correct uid when loading app icon in data usage UI.

work profile apps belongs to a different user. Set the correct uid when
loading the icon so the work profile badge is displayed.

Change-Id: I2ed27d6b83c1b42961500dc8d63475bf1f7eabcd
Fix: 38372681
Test: make RunSettingsRoboTests
ackageManagerWrapper.java
ackageManagerWrapperImpl.java
4516644b46fd584d6294e203e65a64e3392f2793 24-May-2017 jackqdyulei <jackqdyulei@google.com> Merge "Make "Battery usage" accessible at any time" into oc-dev
am: a935b3c030

Change-Id: I969c301888aca43b5e2154fc86dd139ebb83c3f3
58406203e2f5f3bd8a5b6c3a49aad402057e8455 23-May-2017 jackqdyulei <jackqdyulei@google.com> Make "Battery usage" accessible at any time

Before this cl, user could go to "Battery usage" page only if
related app has battery usage. This cl breaks this rule so we
could open "Battery usage" without battery data.

Bug: 38497822
Test: RunSettingsRoboTests
Merged-In: Ic53c33b7dcbac82de58f31cf96e0bd8fa54e53ea
Change-Id: Ic53c33b7dcbac82de58f31cf96e0bd8fa54e53ea
nstalledAppDetails.java
bce1ef6a0064b924035df2ddf2a7b8dae9deb336 24-May-2017 Lei Yu <jackqdyulei@google.com> Merge "Make "Battery usage" accessible at any time"
f51539110a854a2958e16b0daa733ec6e39cc1f1 23-May-2017 Felipe Leme <felipeal@google.com> Merge "Refactored ConfirmationDialogFragment to use default construcutor." into oc-dev am: 3cf690e906
am: 150fa397fc

Change-Id: Ibbc7d59b6db0f1b991266f5e41f8daf79f71e6ca
150fa397fcf04b3fd598e1995db1a71ea7461a56 23-May-2017 Felipe Leme <felipeal@google.com> Merge "Refactored ConfirmationDialogFragment to use default construcutor." into oc-dev
am: 3cf690e906

Change-Id: Ia76b7b27c3697645b58ee705733211b85a4dca40
3cf690e9063897d1723d64836f62128696342c4d 23-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Refactored ConfirmationDialogFragment to use default construcutor." into oc-dev
2a95a634660199d6f1bd003f5fb6aba82e105810 23-May-2017 jackqdyulei <jackqdyulei@google.com> Make "Battery usage" accessible at any time

Before this cl, user could go to "Battery usage" page only if
related app has battery usage. This cl breaks this rule so we
could open "Battery usage" without battery data.

Bug: 38497822
Test: RunSettingsRoboTests
Change-Id: Ic53c33b7dcbac82de58f31cf96e0bd8fa54e53ea
nstalledAppDetails.java
b53938ff2900aeaf11b5e543c40e931caa83b975 23-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add summary text to Apps & notifications -> Notifications"
929bc614de166b5922815fffa9f0ee7ee02ed131 23-May-2017 Doris Ling <dling@google.com> Add summary text to Apps & notifications -> Notifications

Share the summary provider for Apps & notifications -> Notifications ->
Notifications with Apps & notifications -> Notifications so that the
upper level also shows the corresponding notification summary.

Change-Id: Id6879d9a6b00237781320c18591703b3031c9627
Fix: 36376411
Test: make RunSettingsRoboTests
otificationApps.java
e78e851fffb934e53b8e10161144a0e321aa5843 18-May-2017 Felipe Leme <felipeal@google.com> Refactored ConfirmationDialogFragment to use default construcutor.

Test: manual verification
Test: make RunSettingsRoboTests -j90

Fixes: 38397850

Change-Id: Ie724e7e92a6a34d4db16e4406bf821f00d98d180
efaultapps/DefaultAppPickerFragment.java
efaultapps/DefaultAutofillPicker.java
6784e4197789d496a13b335680a7cb904fd20124 23-May-2017 Lei Yu <jackqdyulei@google.com> Merge "Use BatteryStatsLoader in InstalledAppDetails" into oc-dev am: 37f6b7f751
am: 996adfeb29

Change-Id: I11d0c39a68428637ce12aaffaa2a4f1e49bb716e
996adfeb29a017e578f5bd6caf96fe09a4d26c36 23-May-2017 Lei Yu <jackqdyulei@google.com> Merge "Use BatteryStatsLoader in InstalledAppDetails" into oc-dev
am: 37f6b7f751

Change-Id: I5b5edc8b88a16c83a77ca584d21279892ebb08bf
37f6b7f751f9c085aa0ff8bbd7193a44af2fb580 23-May-2017 Lei Yu <jackqdyulei@google.com> Merge "Use BatteryStatsLoader in InstalledAppDetails" into oc-dev
013d3f634274b7a7f920acc7d9c90925fd352d9b 22-May-2017 jackqdyulei <jackqdyulei@google.com> Use BatteryStatsLoader in InstalledAppDetails

InstalledAppDetails uses AsyncTask to update foreground mBatteryStatsHelper
in background thread, which is dangerous. This cl make
InstalledAppDetails use BatteryStatsLoader to update batteryStatsHelper
and only assign it once in UI thread.

Bug: 38497555
Test: RunSettingsRoboTests
Change-Id: I3078b60a2dae36995ae5f925b4d49e36e79bddfd
nstalledAppDetails.java
841d1d5aabc33024b2e03276085b0d1dbdb92b23 22-May-2017 Fan Zhang <zhfan@google.com> Show shadow when entity header starts scrolling.

- Add a controller to manage add/remove onScrollChangedListener to
recyclerviews.
- When recyclerview on each screen is scrolled to top, set actionbar
elevation to 0, otherwise set it to non-zero.
- When screen is moved to background, detach the listener.
- Use the controller in entity header.

Change-Id: Iecf194d885098c98c392810f62893ae9189f3936
Fix: 37670670
Test: make RunSettingsRoboTests
ppInfoWithHeader.java
nstalledAppDetails.java
rocessStatsDetail.java
7aac5c5791e6f720a7b1596d4f771766cac643f5 19-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge changes Iaf92730e,I54eb30f2,Ib80827ae

* changes:
Use entity header on AccountDetailDashboardFragment
Move entity header controller out of application package.
Clean up settings_entity_header layout.
5d20c1ab87e387ac7033c465d782951b52d40ce4 19-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix bug where app list says "No app" in multi-window mode"
5569e3a33f269fb133310afa50d1262d54005215 19-May-2017 Matthew Fritze <mfritze@google.com> Merge "Remove Language and Input duplicates" into oc-dev
am: 6f4a6a737d

Change-Id: Id6639a9dc08c1a27cf1bc4ed7969cc54a4bd2df2
6f4a6a737d125fa8b117a9e49657a68eba0937e9 19-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove Language and Input duplicates" into oc-dev
d7414259d03f00b08d2ad4bc223ff1d417c4c4a8 18-May-2017 Fan Zhang <zhfan@google.com> Move entity header controller out of application package.

Bug: 37669238
Test: rerun robotests
Change-Id: I54eb30f28fa0a88a6f0b97b53f9f1408320b5ce0
ppInfoWithHeader.java
ppOpsDetails.java
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.java
ntityHeaderController.java
nstalledAppDetails.java
rocessStatsDetail.java
f5bd885a1d0cd5e61aeb3d4a03261dea6548789a 18-May-2017 Fan Zhang <zhfan@google.com> Clean up settings_entity_header layout.

update layout view IDs, and controller variable names to be more
generic.

Fix: 36734470
Bug: 37669238
Test: make RunSettingsRoboTests
Change-Id: Ib80827ae3eae6d01a600068b4a8a44b239c32511
ppHeaderController.java
ppInfoWithHeader.java
ppOpsDetails.java
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.java
ntityHeaderController.java
nstalledAppDetails.java
rocessStatsDetail.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
anageApplications.java
742467ec9f384983f37d9a0e4e9775c27451816b 12-Apr-2017 Matthew Fritze <mfritze@google.com> Remove Language and Input duplicates

Change the keys in the Language and Input screen for the
gesture and tts-output settings so they can be disabled
in search. Then change the preference controllers to take
a key as input to avoid crashes on the other screens with
these settings.

Merge for: ag/2098173/

Test: make RunSettingsRoboTests
Bug: 33701673
Change-Id: I8bc0776131fcac5a6edf7e8271bc53252c2fc719
ssist/ManageAssist.java
b97a1bffa829647b797594a3e0c66d729c977ecd 12-Apr-2017 Matthew Fritze <mfritze@google.com> Remove Language and Input duplicates

Change the keys in the Language and Input screen for the
gesture and tts-output settings so they can be disabled
in search. Then change the preference controllers to take
a key as input to avoid crashes on the other screens with
these settings.

Test: make RunSettingsRoboTests
Bug: 33701673
Change-Id: Ifeb2a2d34a3efded3f0a9ba02ac76fd6f8ffd087
Merged-In: I8bc0776131fcac5a6edf7e8271bc53252c2fc719
ssist/ManageAssist.java
2ed0f99989bf51b10e2276565b6b62c36de17e62 17-May-2017 Fan Zhang <zhfan@google.com> Rename app_details to entity_header

Bug: 37669238
Test: rerun robotests
Change-Id: Iab2cdf83d8b35ce3d45b0c413cad8614d44d5ed3
ppHeaderController.java
nstalledAppDetails.java
dffaa57cb16ae7a8e8d48d9c4b787168a2ba0465 17-May-2017 Matthew Fritze <mfritze@google.com> Merge "Remove default app duplicates in search" into oc-dev am: 0c55014b88
am: 79cfaa7b91

Change-Id: I1beb3569054d6acbcd9f22d112031de51b862dc9
79cfaa7b9168d5276d05db015a884330f4cabd28 17-May-2017 Matthew Fritze <mfritze@google.com> Merge "Remove default app duplicates in search" into oc-dev
am: 0c55014b88

Change-Id: I62f5fbd444836aa73b6ff801bad944c9a8fddd4b
0c55014b88c34d9b80d7b06954ebfb0763643da2 17-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove default app duplicates in search" into oc-dev
61c80c2ab6d363c75a32f5eb7dec25d95db9e4e8 17-May-2017 Matthew Fritze <mfritze@google.com> Merge "Remove Special App Access duplicate from Setting search" into oc-dev am: d6aa9f3454
am: c6192251b2

Change-Id: Ia442b29148675a291aca2b317c398bf285b3a2eb
c6192251b2311ef783257febb3c1609dc5790cc8 17-May-2017 Matthew Fritze <mfritze@google.com> Merge "Remove Special App Access duplicate from Setting search" into oc-dev
am: d6aa9f3454

Change-Id: I0ae7c3ec171d1954a362c908ea73a8a5741f2554
96d05ef43af65094db101b0f4e4ae2ddaba58495 16-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Update strings in special app access and dev options"
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
rawOverlayDetails.java
xternalSourcesDetails.java
anageApplications.java
ictureInPictureDetails.java
pecialAccessSettings.java
riteSettingsDetails.java
8e0754e84cd056740614964d9060a7dcc6c1f681 13-May-2017 Fan Zhang <zhfan@google.com> Correctly report whether the current app is default home.

Change-Id: I79c374228e82c91667d7b5a0dcc19fa1216e57c4
Fix: 38065524
Test: make RunSettingsRoboTests
nstalledAppDetails.java
efaultapps/DefaultHomePreferenceController.java
2eb170cd6ff43db01dc0ff3c1fcac5ebba4489de 29-Apr-2017 Maurice Lam <yukl@google.com> Clean up choose lock intent creation

Consolidated the many variants of ChooseLock*.createIntent, so that
it will take the same set of arguments.

Also modified SetupChooseLock*.createIntent to modifyIntentForSetup,
which will take the intent created by ChooseLock* and modify it for
use with setup.

Test: cd tests/robotests && mma
Change-Id: I5ff033f459c33ec9980872a536b3996d89f2bbbb
onvertToFbe.java
777ed2535a7fd6f618a0d12f381af99252283574 10-May-2017 Juan Lang <juanlang@google.com> Depend on SettingsLib's version of lifecycle and FooterMixin.

The implementations have been imported into SettingsLib. Setting's copy
can now be removed, which this change also does.

Test: Manually check battery status, which uses FooterMixin, looks OK.
make RunSettingsLibRobotTests && make RunSettingsRoboTests
&& make RunSettingsGoogleRoboTests
Change-Id: I6539605fdad80d156ff5ff249e68df4a1c412067
esetAppPrefPreferenceController.java
ssist/AssistContextPreferenceController.java
ssist/AssistFlashScreenPreferenceController.java
ssist/AssistScreenshotPreferenceController.java
ssist/DefaultVoiceInputPreferenceController.java
ssist/ManageAssist.java
76d9b5304880450f6d13c9fbb383bd14842acc06 12-May-2017 Matthew Fritze <mfritze@google.com> Remove Special App Access duplicate from Setting search

Bug: 33701673
Test: make RunSettingsRoboTests
Change-Id: I7f6a466c0551828c319c2da541fbeb0e428c62f8
ppAndNotificationDashboardFragment.java
4d9a1ae9a25d03d1d2d0f31871b43b0e54630d92 11-May-2017 Matthew Fritze <mfritze@google.com> Remove default app duplicates in search

Default Work Browser and Phone app search results look
identical to the regular defaults. Supress the results
until we differentiate work results.

"Assist and voice input" duplicate is a parent-child
duplication and is removed, as well.

Bug: 36101902
Test: make RunSettingsRoboTests
Change-Id: I3bb75c199cd76e24de42548dd166c4bccd0c7f0a
dvancedAppSettings.java
77590cd1fc122754a41263c19318168bbce7a163 08-May-2017 Svetoslav Ganov <svetoslavganov@google.com> Merge "Report normalized package name as default key" into oc-dev am: 0560127e9d
am: bf3ad99a38

Change-Id: Id4d90c665262151bc4413a8143cd131c1d069543
bf3ad99a388ba4998bd35800685418e58aff34bb 08-May-2017 Svetoslav Ganov <svetoslavganov@google.com> Merge "Report normalized package name as default key" into oc-dev
am: 0560127e9d

Change-Id: Id09f3e8efd951de0a96a604cab336cef0bdcd265
0560127e9d85ebd4fd0de313815414106ec0d5cf 08-May-2017 Svetoslav Ganov <svetoslavganov@google.com> Merge "Report normalized package name as default key" into oc-dev
7d3fb0481dd42af4f359fa3b2f5039c52f5825c0 07-May-2017 Svet Ganov <svetoslavganov@google.com> Report normalized package name as default key

Test: make RunSettingsRoboTests -j90

bug:36978445

Change-Id: I593de89c4fa4e9c63a86b9844736e38dce30a258
efaultapps/DefaultAutofillPicker.java
db6380973af2cb5fafcea722aec69cb8f7985708 06-May-2017 Fan Zhang <zhfan@google.com> Merge "Fix crash when there is no emergencybroadcast app on device" into oc-dev am: 4f5b13f97a
am: 779548122b

Change-Id: Ie1f2b075461dc0546cb1cfe2149cbda6254a33af
779548122b2b5c11207f796c74fa0825f5e93c2c 06-May-2017 Fan Zhang <zhfan@google.com> Merge "Fix crash when there is no emergencybroadcast app on device" into oc-dev
am: 4f5b13f97a

Change-Id: I7166624e96ed82f523545f390457661dfb7c3d42
4f5b13f97ae2a4557c07c52ad2b81ab81950917c 06-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix crash when there is no emergencybroadcast app on device" into oc-dev
0335cd1e9b428e78c37835a52c0dd92032de2c9e 06-May-2017 Fan Zhang <zhfan@google.com> Fix crash when there is no emergencybroadcast app on device

Some devices do not have emergencybroadcast app installed, so we should
not show the preference item for it. Add the preference controller into
AppAndNotificationFragment properly hides it.

Change-Id: Ic39ba24da9bd8f3200a5e44232a5489e35c48c0a
Fix: 37945069
Test: make RunSettingsRoboTests
ppAndNotificationDashboardFragment.java
a39f7c29067fe8161712455b3ec0d0115d6300d6 06-May-2017 Doris Ling <dling@google.com> Merge "Fix crash when primary user select app installed by secondary user." into oc-dev am: f9d9524574
am: 7c5ef68505

Change-Id: Ia7956ad53ecb8aed962f2d0f3950243ab4c6b06e
7c5ef6850579b067f814552367cf7e4441ea24be 06-May-2017 Doris Ling <dling@google.com> Merge "Fix crash when primary user select app installed by secondary user." into oc-dev
am: f9d9524574

Change-Id: I8b02370267e682ec17efcdf877c960e4189304ae
f9d952457472eb9b9eed0db843825f0c1bd6f295 06-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix crash when primary user select app installed by secondary user." into oc-dev
cc28cb372da331e75330d4544d5ae90b7cf34f65 04-May-2017 Doris Ling <dling@google.com> Fix crash when primary user select app installed by secondary user.

- PackageManager.getPackageInfo() can return null. When trying to check
the app permission info, check for null package info and only process
the permission info when package info is available.
- Update usage of PackageManager.MATCH_UNINSTALLED_PACKAGES to
PackageManager.MATCH_ANY_USER, as the implementation for querying
packages for other users have been changed.
- Add PackageManager APIs used by AppStateAppOpsBridge to
IPackageManagerWrapper for test purpose.
- Change UserManager.get() to Context.getSystemService() to fix test
failure.

Change-Id: I52de924618aa252ffaae02b8f06ebe5b1d0def61
Fix: 37409266
Test: make RunSettingsRoboTests
ppCounter.java
ppStateAppOpsBridge.java
PackageManagerWrapper.java
PackageManagerWrapperImpl.java
unningState.java
daad10b428acb3e8bef1e22216ae6bb7c071ad31 05-May-2017 Fan Zhang <zhfan@google.com> Change the logic for showing "App info" vs "show more"

Fix: 33265548
Test: robotests

The old logic shows "show more" when there is any recent app, new logic
first checks if there is any displayable recent app. Otherwise go back
to display "app info".

Change-Id: I485725eaa025b9e2cfffc5e9e1923aa771bb0e12
ecentAppsPreferenceController.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
7d50d9db12068f18868839621e33d3b896042ff8 04-May-2017 Daniel Nishi <dhnishi@google.com> Merge "Fix a bug where override filter was always on." into oc-dev
am: 408fd90102

Change-Id: I800644b0b754b6d2ff844531bfccce47caebfbe1
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
anageApplications.java
81682a42cf81585966700c239966c45b9c0e1e24 04-May-2017 Fan Zhang <zhfan@google.com> Update ConvertToFbe fragment to use InstrumentedFragment

It doesn't need to use SettingsPrefFragment.

Change-Id: I3f99fdc15afe338081baf64d8387e6b53c473a48
Fix: 37765437
Test: visual
onvertToFbe.java
ae2f2b5268e19423b85a5a8da86fc559b74143d6 02-May-2017 fanzhang172 <zhfan@google.com> Add recent apps in app & notification

- Introduce a RecentAppsPreferenceControler, which queries
UsageStatsManager and displays a list of recently used apps.

- Add a control flag for this feature, intially set to false.

- Make ManageApplications a static pref item instead of dynamic one.
This makes the RecentAppController easier to control "See all"
preference, which is backed by ManageApplications.

- Also adjust app_items.xml layout to make app item UI consistent with
preference item.

Change-Id: I0b9e1784faed32b3055ebf96ef98b6a5e422de50
Fix: 33265548
Test: robotests
ppAndNotificationDashboardFragment.java
ppCounter.java
ecentAppsPreferenceController.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
854acc9e4b8ec7f12d05d7cc2aacc925c2e384f9 02-May-2017 Daniel Nishi <dhnishi@google.com> Merge "Filter on volume for category storage view." into oc-dev
am: a41a190ac3

Change-Id: I967f4fd28c5375f0c56ad88dedc47a484918b629
ffda9c23c470202ebf35dc04f003728ad32c8d94 01-May-2017 Doris Ling <dling@google.com> Add summary text to App permissions settings.

Check the granted permissions for the installed app and compose the
summary text to use the first 3 permissions granted from the list:
Location, Microphone, Camera, Sms, Contacts, and Phone.

Change-Id: I61d21f279af2fe86132de22b94e1a49da0225fcd
Fix: 36376411
Test: make RunSettingsRoboTests
ppAndNotificationDashboardFragment.java
ppPermissionsPreferenceController.java
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
anageApplications.java
b519b676849a2bd01e803d76ab9d85765f47d9ed 01-May-2017 Jesse Evans <jsje@google.com> Make instant apps appear above disabled apps am: b2d85af91e
am: f52bfd03ea

Change-Id: I1b58da2932103f9879d3eb84c7b55aea2b208509
f52bfd03ea1f49ac526d19b30069bad11763ab55 01-May-2017 Jesse Evans <jsje@google.com> Make instant apps appear above disabled apps
am: b2d85af91e

Change-Id: Ie2fe92d08bf8d8697a5bf99add1efc83b8873956
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
anageApplications.java
bf4b1b02617640eb8b443a4ced96420e19f228a0 29-Apr-2017 Philip P. Moltmann <moltmann@google.com> Merge "Add "add service" pref to the autofill picker" into oc-dev am: 9301381ac2
am: 586b1e4cee

Change-Id: Idc79fbeb391264379d52b452f0f9278181e199bf
586b1e4cee4f05b55547211d5317abcc39a0338f 29-Apr-2017 Philip P. Moltmann <moltmann@google.com> Merge "Add "add service" pref to the autofill picker" into oc-dev
am: 9301381ac2

Change-Id: Ifde40f13acc2881209231267f5252f5b56c627f1
4e2addce972d6f64e85e53b2e585df58d399cd85 29-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Only show "reset app preference" actionbar menu in app info"
2aff7dbfda8376b289b30d1d0a6f31e5b75f0a88 28-Apr-2017 Philip P. Moltmann <moltmann@google.com> Add "add service" pref to the autofill picker

Mimicing the behavior we have for adding a print service.

Fixes: 37735998
Test: - Started auto fill picker with add-service-settings set and unset.
Only if set, the preference is added
- RunSettingsRoboTests (unrelated failure in
SetupChooseLockPatternTest)
- Enable + disable auto fill service while settings is open
Change-Id: Ie019a032a1d01373f8fd0ebd7ae2ddf9c4d8871f
efaultapps/DefaultAutofillPicker.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
anageApplications.java
d35129ea3d671bff2f45ee6b53bc1eba7a5c900c 28-Apr-2017 Felipe Leme <felipeal@google.com> Merge "Check for permission when displaying AutofilLServices." into oc-dev am: 5d27ad49a3
am: bb542f0894

Change-Id: I9421d7daa5184b4dbb06c7bfcd8b2ab46fe41252
bb542f0894cd2d55ede5f937a6e942c284597d2e 28-Apr-2017 Felipe Leme <felipeal@google.com> Merge "Check for permission when displaying AutofilLServices." into oc-dev
am: 5d27ad49a3

Change-Id: Iaf0b47c41ca879a88438f3a15fc7a6ab345236c1
5d27ad49a3f45eb763e38fb49e391add05b10639 28-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Check for permission when displaying AutofilLServices." into oc-dev
32927bceebb28c8a5df79f28bcbf05ed096b857d 28-Apr-2017 Doris Ling <dling@google.com> Merge "Refresh the App Info option menu after unintalling app updates." into oc-dev am: 64857437a4
am: 42126366f1

Change-Id: I98e675e80fcd1e3152b02395baec3559a2f7bf62
69ef213f7736cecdd5c5262e7a60b19f2a44c4a0 28-Apr-2017 Doris Ling <dling@google.com> Merge "Add summary to special app access." into oc-dev am: 02619a6d9f
am: 1081882be6

Change-Id: Iabe06fbc51e2f581eb6e8b01fee99f13a70864c6
42126366f14a4866a16561e3edffee4cc37b46e6 28-Apr-2017 Doris Ling <dling@google.com> Merge "Refresh the App Info option menu after unintalling app updates." into oc-dev
am: 64857437a4

Change-Id: Ifa91856e910de3df6f695d1a31462ca8edda0822
1081882be69a0a9e7fad65b12890ad04afa688e8 28-Apr-2017 Doris Ling <dling@google.com> Merge "Add summary to special app access." into oc-dev
am: 02619a6d9f

Change-Id: Iafd970711e33556aeead681128aaeda5046df34b
64857437a48c5c5fcfc6965531bd4e200cea95a1 28-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Refresh the App Info option menu after unintalling app updates." into oc-dev
02619a6d9f2a4e6461f2e950a2a000140b212b56 28-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add summary to special app access." into oc-dev
fc656da9080f5f43f8f4a82ce67bbe86ef2d576b 27-Apr-2017 Philip P. Moltmann <moltmann@google.com> Merge "Don't show autofill settings if not enabled" into oc-dev
am: 32d3d383cb

Change-Id: I58a04882f08402e77f0e5e4c9d0b183a8a2679da
32d3d383cbf1b16cfe744c660252ccfaa304e855 27-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Don't show autofill settings if not enabled" into oc-dev
61d6ec61aa2677ff6a1ee47234088ef318bbd760 27-Apr-2017 Felipe Leme <felipeal@google.com> Check for permission when displaying AutofilLServices.

Bug: 35956220
Test: manual verification
Test: make RunSettingsRoboTests -j90

Change-Id: Ica0079650f17cf96d8c8a9b0849a82b02cfa8dc6
efaultapps/DefaultAutofillPicker.java
d984e90b63eef8a372012edeb429bf100c8a8ebf 25-Apr-2017 Philip P. Moltmann <moltmann@google.com> Don't show autofill settings if not enabled

The non-indexable keys of language-and-input on my angler are:
game_controller_settings_category, gesture_assist,
gesture_double_tap_screen, default_autofill

Fixes: 35956220
Test: Disabled auto-fill and looked at settings: did not find
autofill button and could not find auto-fill in search
Settings robolectric test
Merged-In: I0923e707422d1b1de5153a63fa3a5fe4773c055d
Change-Id: I0923e707422d1b1de5153a63fa3a5fe4773c055d
utofillManagerWrapper.java
utofillManagerWrapperImpl.java
efaultapps/DefaultAutofillPreferenceController.java
b7dd1e7255c0804d869e6f149bdd2f26ca4ed7d3 27-Apr-2017 Denis Kuznetsov <antrim@google.com> DO Disclosures: detailed application lists
am: 3de32ae4dc

Change-Id: I6af13a0cd991a038c2b93c8e62aa031113f414a1
3dc6c32ab1005e49575fc0e9fad6299d68cb0def 27-Apr-2017 Denis Kuznetsov <antrim@google.com> DO Disclosure: add UI that lists apps that were managed by owner: - had permissions granted by admin - were installed by owner via policy
am: 7db69b7a26

Change-Id: Ia3c2c560698e043ac2f8900c32e60df47ff9d06e
3de32ae4dc0adc29282ce8ecacd5c1d83d23343d 12-Apr-2017 Denis Kuznetsov <antrim@google.com> DO Disclosures: detailed application lists

Add UI that lists enterprise set default apps for handling important intents
(opening browser, using camera, phone, etc).

Bug: 32692748
Test: m RunSettingsRoboTests
Merged-In: I75bb97d1b3728b1dcb90981b24d12edf510c4b04
Change-Id: I7d0041e4fada48bc56f6a6637614ac4471dba65a
(cherry picked from commit f0a61dd1126f4b21fb15f1c3d9611ef86fc291a7)
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.java
nterpriseDefaultApps.java
nstalledAppLister.java
serAppInfo.java
7db69b7a26b6f281bf5fc10851c2dbf6147a01b4 27-Apr-2017 Denis Kuznetsov <antrim@google.com> DO Disclosure: add UI that lists apps that were managed by owner:
- had permissions granted by admin
- were installed by owner via policy

Bug: 32692748
Test: m RunSettingsRoboTests
Change-Id: I365e2f8f351671e68f83cceb7c0ca241d7a5a588
Merged-In: I365e2f8f351671e68f83cceb7c0ca241d7a5a588
(cherry picked from commit 60b2960cbb4df5310d054da57e2ec134b3fca0e6)
ppLister.java
ppWithAdminGrantedPermissionsCounter.java
ppWithAdminGrantedPermissionsLister.java
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.java
nstalledAppCounter.java
nstalledAppLister.java
serAppInfo.java
a0f134454faff92dbadfb4d037ab64c66509cfd9 27-Apr-2017 Felipe Leme <felipeal@google.com> Merge "Improvements on ACTION_REQUEST_SET_AUTOFILL_SERVICE:" into oc-dev
am: b21808bd6b

Change-Id: Id3d6bd2f3b76d51ff931b307ad7050b41c1b9d3a
3d3925f56503fcede27a2e5fd0c98983c69f825d 27-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Don't show autofill settings if not enabled"
4619ae065235f759789641f4622609491151e872 25-Apr-2017 Philip P. Moltmann <moltmann@google.com> Don't show autofill settings if not enabled

The non-indexable keys of language-and-input on my angler are:
game_controller_settings_category, gesture_assist,
gesture_double_tap_screen, default_autofill

Fixes: 35956220
Test: Disabled auto-fill and looked at settings: did not find
autofill button and could not find auto-fill in search
Settings robolectric test
Change-Id: I0923e707422d1b1de5153a63fa3a5fe4773c055d
utofillManagerWrapper.java
utofillManagerWrapperImpl.java
efaultapps/DefaultAutofillPreferenceController.java
aa7a23b40d3175897759c840db8e0ea9081129ec 26-Apr-2017 Felipe Leme <felipeal@google.com> Improvements on ACTION_REQUEST_SET_AUTOFILL_SERVICE:

- Moved to proper package.
- Returns right away when:
- AutofillService for package is already selected
- Autofill is not available

Bug: 37576671
Bug: 37673809

Test: manual verification
Test: make RunSettingsRoboTests -j90

Merged-in: Icda260cea1b4ce6cdefd8eff9625b2b768a5ed86
Change-Id: Icda260cea1b4ce6cdefd8eff9625b2b768a5ed86
utofill/AutofillPickerActivity.java
utofill/AutofillPickerTrampolineActivity.java
efaultapps/AutofillPickerActivity.java
efaultapps/DefaultAppPickerFragment.java
efaultapps/DefaultAutofillPicker.java
f7d54ba70c025efbceceee85d359b19a74ad1a6b 26-Apr-2017 Felipe Leme <felipeal@google.com> Improvements on ACTION_REQUEST_SET_AUTOFILL_SERVICE:

- Moved to proper package.
- Returns right away when:
- AutofillService for package is already selected
- Autofill is not available

Bug: 37576671
Bug: 37673809

Test: manual verification
Test: make RunSettingsRoboTests -j90

Change-Id: Icda260cea1b4ce6cdefd8eff9625b2b768a5ed86
utofill/AutofillPickerActivity.java
utofill/AutofillPickerTrampolineActivity.java
efaultapps/AutofillPickerActivity.java
efaultapps/DefaultAppPickerFragment.java
efaultapps/DefaultAutofillPicker.java
93be46ce5e1ccc1855d580b5077c1cf0f6b4225f 27-Apr-2017 Doris Ling <dling@google.com> Refresh the App Info option menu after unintalling app updates.

When we are done uninstalling app updates, invalidate the options menu
so that it will be rebuilt and the correct available menu items will be
shown.

Change-Id: I485fe9ff129ac0b2d75094c3b899bf6553e54c74
Fix: 36407258
Test: make RunSettingsRoboTests
nstalledAppDetails.java
6f3364bf78f2e2dfbb7451c2ed2c54e85d97060f 12-Apr-2017 Doris Ling <dling@google.com> Add summary to special app access.

Get the count of apps that has unrestricted data access and add that to
the summary for Apps & notifications -> Special app access.

Bug: 36376411
Test: make RunSettingsRoboTests
Change-Id: Id80a030e1e066f1391f94114f478091a2a87fcd8
ppAndNotificationDashboardFragment.java
pecialAppAccessPreferenceController.java
5ce67493c3db245e51df3ce1ffcdc75467ebe4c3 26-Apr-2017 Tobias Thierer <tobiast@google.com> resolve merge conflicts of 999f6a9a29 to master

Test: make

Change-Id: If37a66bc38d0fd02ef7465e9be86032c2aff6314
2e02794115948ffbf3c79fe6c9cdfee04326e63f 26-Apr-2017 Fan Zhang <zhfan@google.com> Merge changes I4ae01109,Ib45289c3 into oc-dev am: eda3e8c3d9
am: 7d04b2dab0

Change-Id: Ieece29f0f8488a9932aa96be6958430337df8d4e
999f6a9a29290253a519e34e89136c811dab3a49 26-Apr-2017 Felipe Leme <felipeal@google.com> Merge "Implemented ACTION_REQUEST_SET_AUTOFILL_SERVICE." into oc-dev
am: c36ed203db

Change-Id: I5c27b2def2e7bea0c0cf575f5ff18db032b4519d
c36ed203db51992a3098cfb9440ead77f3d15199 26-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Implemented ACTION_REQUEST_SET_AUTOFILL_SERVICE." into oc-dev
db2b55a2440991449d7c1f7d87938ee3b6fda6aa 25-Apr-2017 Felipe Leme <felipeal@google.com> Implemented ACTION_REQUEST_SET_AUTOFILL_SERVICE.

Bug: 37673809
Fixes: 37576671
Test: manual verification
Test: make RunSettingsRoboTests -j90

Change-Id: I36170cb715473dfbf598deedd9719a46168aabc8
efaultapps/AutofillPickerActivity.java
efaultapps/DefaultAutofillPicker.java
7d04b2dab08b4c2e6da9b17d42153950741c6c70 25-Apr-2017 Fan Zhang <zhfan@google.com> Merge changes I4ae01109,Ib45289c3 into oc-dev
am: eda3e8c3d9

Change-Id: I897373ce37fd8352edb27ef954b1dc7792ea7026
f0a61dd1126f4b21fb15f1c3d9611ef86fc291a7 12-Apr-2017 Denis Kuznetsov <antrim@google.com> DO Disclosures: detailed application lists

Add UI that lists enterprise set default apps for handling important intents
(opening browser, using camera, phone, etc).

Bug: 32692748
Test: m RunSettingsRoboTests
Change-Id: I75bb97d1b3728b1dcb90981b24d12edf510c4b04
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.java
nterpriseDefaultApps.java
nstalledAppLister.java
serAppInfo.java
60b2960cbb4df5310d054da57e2ec134b3fca0e6 12-Apr-2017 Denis Kuznetsov <antrim@google.com> DO Disclosure: add UI that lists apps that were managed by owner:
- had permissions granted by admin
- were installed by owner via policy

Bug: 32692748
Test: m RunSettingsRoboTests
Change-Id: I365e2f8f351671e68f83cceb7c0ca241d7a5a588
ppLister.java
ppWithAdminGrantedPermissionsCounter.java
ppWithAdminGrantedPermissionsLister.java
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.java
nstalledAppCounter.java
nstalledAppLister.java
serAppInfo.java
f6126e7a00defc36fefc659af6c99dd67b69bcc8 25-Apr-2017 Fan Zhang <zhfan@google.com> Fix ANR in installed app details.

InstalledAppDetails tries to refreshUi whenever something about a
package changes. It does not need to refresh when the changing package
is different from what's being displayed.

Change-Id: Ib45289c39ee402cf8974bf52c881f44d225b8be5
Fix: 37424866
Test: make RunSettingsRoboTests
nstalledAppDetails.java
97686254be76c72290cbf2a7b042e9a8b5726920 25-Apr-2017 Daniel Nishi <dhnishi@google.com> Merge "Fake data to be 0B after clearing." into oc-dev am: cba520fc9d
am: 8c6327cfe5

Change-Id: If56a028099b9b8eeb66a90fcb617be745ccac2c1
8c6327cfe5e93274b724bd169669a2daf6e417fb 24-Apr-2017 Daniel Nishi <dhnishi@google.com> Merge "Fake data to be 0B after clearing." into oc-dev
am: cba520fc9d

Change-Id: Ica285a037ead3cd869e3905489eb6abeb95c5194
cba520fc9de7c4a3515a3f84a50f640a5761499b 24-Apr-2017 Daniel Nishi <dhnishi@google.com> Merge "Fake data to be 0B after clearing." into oc-dev
52cf12dd006c4c3989664be429a3e6b21dd4f750 21-Apr-2017 Fan Zhang <zhfan@google.com> Merge "Fix disable/force stop app button incorrect state." into oc-dev am: 6190c159e8
am: f1267ddbe1

Change-Id: Ia7b4cbf0d318e6e8f792c984d5869f31f9bcb29e
f1267ddbe1389d31e9499537913165ad89e15666 21-Apr-2017 Fan Zhang <zhfan@google.com> Merge "Fix disable/force stop app button incorrect state." into oc-dev
am: 6190c159e8

Change-Id: I3aff38236f1eeb69779a53a1b971f83f69bc752d
278bea730d52f65275f184a54a149d8258bba17f 21-Apr-2017 Daniel Nishi <dhnishi@google.com> Fake data to be 0B after clearing.

The data folder -technically- takes up 16kB of space. By faking it to be
0B immediately after clearing, we can get the UI to look right.

Change-Id: I65321a79fc3266f66f61909682132de176237fb1
Fixes: 34199891
Test: Settings robotest
ppStorageSettings.java
ppStorageSizesController.java
0969b8ff35ccb99ea1de053e6a69cdd02586553c 21-Apr-2017 Fan Zhang <zhfan@google.com> Merge "Remove deep link to app store from app header." into oc-dev am: 8d01d48672
am: 2c8649f641

Change-Id: If6f87a8b3c7ac989a83dd4518354658e42669ef0
2c8649f641a43a3d63a2bafce46e92a3735d4dfa 21-Apr-2017 Fan Zhang <zhfan@google.com> Merge "Remove deep link to app store from app header." into oc-dev
am: 8d01d48672

Change-Id: I984df5f918fd0f5cafb5fc73c7edc3ca054c4dc9
b61f945e8e32a264aa0fd635cfd21bdc46195b89 21-Apr-2017 Fan Zhang <zhfan@google.com> Fix disable/force stop app button incorrect state.

The LayoutPreference calls super.onBindPreview, which enables all
children views. This is usually fine because a Preference object has
just one click target. But the LayoutPreference can hold multiple click
targets so we should not force enable everything during every single
bind.

To fix this, we don't call super.onBind, and manually wire up
onClickListener and selectable/focusable state. Everything else from
super.onBind is useless to this preference type.

Change-Id: Ibb89f1be399311b9ee053733a050f04be6aa85e8
Fix: 37452204
Fix: 37538936
Fix: 35633637
Test: make RunSettingsRoboTests
ayoutPreference.java
dcc0af50c67cfdd1769977e2d97f0446da116e69 20-Apr-2017 Fan Zhang <zhfan@google.com> Remove deep link to app store from app header.

The link doesn't actually work and uses wrong icon. There is a working
version at the app info screen already.

Change-Id: I16890bd66e095c3185e12d604d8daba5036ab24c
Fix: 37544209
Test: robotests
ppHeaderController.java
nstalledAppDetails.java
8a7d60d1ffcec1f43a51e5b08f5c43594bd7486a 19-Apr-2017 Fan Zhang <zhfan@google.com> Merge "Fix action bar background not wide enough on tablets" into oc-dev am: 8cd4b4541d
am: 30dd978830

Change-Id: I2f63be40765bb8d2acd6c9c06809420f53eaa032
30dd9788302756d78b5bd9940c0cb23a16e548b0 19-Apr-2017 Fan Zhang <zhfan@google.com> Merge "Fix action bar background not wide enough on tablets" into oc-dev
am: 8cd4b4541d

Change-Id: I226818d439c7351331ff356e4bc25906a6601b9f
8cd4b4541d155a9534f3aa9a25652273af4c592f 19-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix action bar background not wide enough on tablets" into oc-dev
91f6cad7424e9d728e41e0fbd46827b13542986f 19-Apr-2017 Sunny Goyal <sunnygoyal@google.com> Merge "Using a common class for loading drawables and handling various badging" into oc-dev am: d2561263a8
am: 77fca989a0

Change-Id: I402e3924400d60c56ee2af2f78b365c5090cccf2
77fca989a020c8aa4fe07a0cedd94bd03ff7a129 19-Apr-2017 Sunny Goyal <sunnygoyal@google.com> Merge "Using a common class for loading drawables and handling various badging" into oc-dev
am: d2561263a8

Change-Id: I2e8d795a9d94f068c988c57cdc7610421b62da96
a006c6de81b3aa348ee0d94ae69283fb733dc183 18-Apr-2017 Fan Zhang <zhfan@google.com> Fix action bar background not wide enough on tablets

Change-Id: I82e444dc913429c77c768afada24e10c12c79160
Fix: 37475599
Test: make RunSettingsRoboTests
ppHeaderController.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
ppHeaderController.java
ppInfoWithHeader.java
anageApplications.java
rocessStatsDetail.java
f0b8ffeb98b80cdcdb0e66368781f8a387ee8a3b 18-Apr-2017 Matthew Fritze <mfritze@google.com> Merge "Revert "Add summary to special app access."" into oc-dev am: 4fa0a617ec
am: d9997261dd

Change-Id: Ie13c5b63e82edff9f0d442a29ebcc626c7e37f79
d9997261ddadb78df64686a394918c2920012656 18-Apr-2017 Matthew Fritze <mfritze@google.com> Merge "Revert "Add summary to special app access."" into oc-dev
am: 4fa0a617ec

Change-Id: I7353685f51f4ff287b58e382bd87e9ad22f16783
4fa0a617ec715a5e0547559d66e65cca099cf8b1 18-Apr-2017 Matthew Fritze <mfritze@google.com> Merge "Revert "Add summary to special app access."" into oc-dev
13e5af06b8bf9f2520cc8db32f46bda04f4dd7bc 18-Apr-2017 Matthew Fritze <mfritze@google.com> Revert "Add summary to special app access."

This reverts commit 0e1b53fa6fda4382e4430492679cb7543f1cb510.

Change-Id: Ica5a9f7f40be3a4c2ae0e999d9832717dc44f3b5
ppAndNotificationDashboardFragment.java
pecialAppAccessPreferenceController.java
5d9ccedc591a6d1585ab93eafc23b60e934bf69b 18-Apr-2017 Jeff Sharkey <jsharkey@google.com> Merge "Follow storage API polishing." into oc-dev am: e398a84199
am: 4ecbc32b48

Change-Id: Ie47474e46fa6ebfffdddad04ab8c99b332c4f8cc
4ecbc32b4869b63c55a1566e20ae69894a8b6587 18-Apr-2017 Jeff Sharkey <jsharkey@google.com> Merge "Follow storage API polishing." into oc-dev
am: e398a84199

Change-Id: Iad89fac67061de273b88f5d3e384de0349577e57
991a74191810af349c79a72f6d47cf39463ad99d 18-Apr-2017 Doris Ling <dling@google.com> Merge "Add summary to special app access." into oc-dev am: 43458f0249
am: edbcea5a14

Change-Id: I902bb0bf99198fe922268222c20dfa34d5e49433
e398a84199575c44e9288f67184ee125746a97f5 18-Apr-2017 Jeff Sharkey <jsharkey@google.com> Merge "Follow storage API polishing." into oc-dev
554ae02f680e0555150f74d97f182b1fc84aa90a 17-Apr-2017 Fan Zhang <zhfan@google.com> Update action bar style in app header UI. am: be6fab0135
am: 00a0978293

Change-Id: I4d4029d732602dd515249d344e5edc597b858a54
b80f1ddaf04d07d47cead4de2422c4627573ea50 17-Apr-2017 Jeff Sharkey <jsharkey@android.com> Follow storage API polishing.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.StorageHostTest
Bug: 37325923, 35812899, 35806020
Change-Id: I4965b7391018354157f0683a643a14c5e9cd338d
etchPackageStorageAsyncLoader.java
usicViewHolderController.java
edbcea5a14dc0456aa405dd7963088aee1d09542 17-Apr-2017 Doris Ling <dling@google.com> Merge "Add summary to special app access." into oc-dev
am: 43458f0249

Change-Id: I7e02ef17fb3b0defb7e3d048e680c8fb7872912c
43458f0249fb6e7e6043ead80a6ec1fc1f5e78a1 17-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add summary to special app access." into oc-dev
00a09782930679bf32688c07136e0ea295d149b4 17-Apr-2017 Fan Zhang <zhfan@google.com> Update action bar style in app header UI.
am: be6fab0135

Change-Id: I51f4b7900fb1be6631b686915e02333db2df2e9f
0e1b53fa6fda4382e4430492679cb7543f1cb510 12-Apr-2017 Doris Ling <dling@google.com> Add summary to special app access.

Get the count of apps that has unrestricted data access and add that to
the summary for Apps & notifications -> Special app access.

Bug: 36376411
Test: make RunSettingsRoboTests
Change-Id: Ic72cd165da9a91e18e1982d2696830f3f5a0987c
ppAndNotificationDashboardFragment.java
pecialAppAccessPreferenceController.java
be6fab0135d785b18996e20c1be2eb49e7934881 14-Apr-2017 Fan Zhang <zhfan@google.com> Update action bar style in app header UI.

- Update background color of actionbar
- Remove elevation of actionbar so it appears to be the same entity as
app header.
- Add a shadow below app header view. We can't set elevation on app
header unfortunately because that will add shadow all round the view,
but we only want shadow below it.
- Updated app icon size/text size per to match UI spec.

Change-Id: I63d7fa42b859a008fa662aaf19848cd40529c2ff
Fix: 37207527
Fix: 37079248
Test: visual && make RunSettingsRoboTests
ppHeaderController.java
ppInfoWithHeader.java
nstalledAppDetails.java
rocessStatsDetail.java
e90e74604655db64744ec30f7ae1b0bb94883562 15-Apr-2017 Daniel Nishi <dhnishi@google.com> Merge "Jostle the elements around in app storage settings." into oc-dev
am: bea96cfb65

Change-Id: Ib4a8bf827266d5fbb015fb5d4c71cd7a7f19b617
bea96cfb6553ce82db5ad9e41ca4ce47c3f9269a 15-Apr-2017 Daniel Nishi <dhnishi@google.com> Merge "Jostle the elements around in app storage settings." into oc-dev
474f6bc6924e4181398272c91ec804a21d243530 15-Apr-2017 Doris Ling <dling@google.com> Merge "Fix crash when Assist app does not have settings activity." into oc-dev am: 0b7e3e056a
am: 6210546942

Change-Id: I19a813bbd56e9cb5ffefe680ad11efdd52c7503a
621054694218e21807e0e43d237cb6ac1536a6be 15-Apr-2017 Doris Ling <dling@google.com> Merge "Fix crash when Assist app does not have settings activity." into oc-dev
am: 0b7e3e056a

Change-Id: Ia0327dc5d11921debd3b4ced10467aebde5d486d
0b7e3e056ad1dd1b43524d30a3013519f6469a06 15-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix crash when Assist app does not have settings activity." into oc-dev
386e21808c336313771ff667ca81102af1a72cef 14-Apr-2017 Doris Ling <dling@google.com> Fix crash when Assist app does not have settings activity.

Check for null settings activity before trying to create settings
intent. If there is no settings activity, we will not show settings gear
for the preference.

Change-Id: I16f9d695cf9ef09ff65f4511d53d5778760125b5
Fix: 37161567
Test: make RunSettingsRoboTests
ssist/DefaultAssistPreferenceController.java
10cdecef1352a479bfc63bfeaa0af5b0ab4a9376 14-Apr-2017 Daniel Nishi <dhnishi@google.com> Merge "Use the music note icon for the music files pref." into oc-dev am: fbaa29a4b1
am: b6afa7575a

Change-Id: Ia644597897ad020468bc1bf8c12ba84c76e8893c
b6afa7575a2ef101f3542274358f4174c22dfe23 14-Apr-2017 Daniel Nishi <dhnishi@google.com> Merge "Use the music note icon for the music files pref." into oc-dev
am: fbaa29a4b1

Change-Id: Ic1b0ad7ec4e260703a2cdafcefdc4209957e2561
3d9fc827341c4cb05906fa51477c44cab620c0c7 14-Apr-2017 Jesse Evans <jsje@google.com> Merge "Instant apps show supported links not open default" into oc-dev am: 0f34680fe0
am: ec9090782c

Change-Id: I0d92c8ccecec2e61c88d3f9617d9c70827d2ea90
c274a28660f79b6b1933bd27938eddfed7a7b3aa 06-Apr-2017 Daniel Nishi <dhnishi@google.com> Use the music note icon for the music files pref.

Change-Id: I0e688321d7697aa4ad5b4ae16e7ca03f60e582cd
Fixes: 36900603
Test: Manual
usicViewHolderController.java
5d0c0fab8c1cebbe39118fc124a1ca3d7afd2368 14-Apr-2017 Jesse Evans <jsje@google.com> Merge "Instant apps should not say App Installed by" into oc-dev am: 28371d9c9e
am: 774b759ef9

Change-Id: Id8e60764ee9e0dd20f73798b1cd8df706d1d70e9
ec9090782c0cba7890d5d238bb774cd75d390f4d 14-Apr-2017 Jesse Evans <jsje@google.com> Merge "Instant apps show supported links not open default" into oc-dev
am: 0f34680fe0

Change-Id: Ib3df529beea9d610bc79512f6f50df5a4c41a640
0f34680fe0441bc65c8b89bc41f073f36b12efb9 14-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Instant apps show supported links not open default" into oc-dev
edc5099e8986d9beee70d18b6a1bf3cc8ebc6aaa 12-Apr-2017 Jesse Evans <jsje@google.com> Instant apps show supported links not open default

On the app info page, instant apps show only the supported links
dialog rather than Open by default which opens in a secondary page
where the user can control things that aren't relevant to instant
apps.
Test: make RunSettingsRoboTests
Bug: 36497697
Change-Id: If4eba7c11c5490cbda1ef617002121fe108c4085
nstalledAppDetails.java
e7202b5c3d4deebf236bcfd435d7a7eecc254ab5 02-Mar-2017 Daniel Nishi <dhnishi@google.com> Jostle the elements around in app storage settings.

This much more closely resembles the later mocks for
this page. The spacing, fonts, and colors are still off
and will be corrected once the final mocks land.

Bug: 34766830
Test: Manual
Change-Id: Ifbb8511d624cd06422025beee943fdead3faf53b
Merged-In: Id131e3596a0d08cb43c924a9f5cd9eb25329d7de
ppStorageSettings.java
ppStorageSizesController.java
774b759ef9e809dc3a662e276dd1896d2572180c 13-Apr-2017 Jesse Evans <jsje@google.com> Merge "Instant apps should not say App Installed by" into oc-dev
am: 28371d9c9e

Change-Id: I17c5ee53f16d26e9e01a54e717e1dcc10051650d
28371d9c9e9130977f0687394308d4b10148e0e0 13-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Instant apps should not say App Installed by" into oc-dev
73f47ff12b571276d053d310456dfaeb7dbe55cf 13-Apr-2017 Hyunyoung Song <hyunyoungs@google.com> Merge "Remove elevation from Apps detail info view to prevent NPE b/37286516 Test: manual" into oc-dev am: 8399697520
am: 4b9f884fd2

Change-Id: I43f0a9305882e40c13e17f3895086cdef58de46d
f6e699196574aa9d977362c9633e2e2cc6b72e13 13-Apr-2017 Daniel Nishi <dhnishi@google.com> Merge "Add a movies & tv apps category to storage settings." into oc-dev
am: c365a8735c

Change-Id: I665759c8ce9c74d83a1167c5d04e5134ff697d08
c365a8735c0d780717b46cd2081ecc3f32785983 13-Apr-2017 Daniel Nishi <dhnishi@google.com> Merge "Add a movies & tv apps category to storage settings." into oc-dev
4b9f884fd2e4ba1bb5dae177dd2e7389a3ee60dd 13-Apr-2017 Hyunyoung Song <hyunyoungs@google.com> Merge "Remove elevation from Apps detail info view to prevent NPE b/37286516 Test: manual" into oc-dev
am: 8399697520

Change-Id: Ie4fe4c452d99a47a6f29bd2a69f5dacd0f84f0e9
06304504cdd02f304c293a098aace7f93c5dcf49 13-Apr-2017 Hyunyoung Song <hyunyoungs@google.com> Remove elevation from Apps detail info view to prevent NPE
b/37286516
Test: manual

Change-Id: Ie3a10c94e79cd11eefafef25ac4ecd244cf67ea9
ppHeaderController.java
985741ea1c076ce80a44d9035a83033455e6b426 13-Apr-2017 Svet Ganov <svetoslavganov@google.com> Merge "Update the strings for the autofill enable dialog" into oc-dev am: 0770f85cdc
am: 6fa685e4da

Change-Id: Iac9a8bf0430652396809784598ed75f947b75426
6fa685e4dafe78dcdfb423eaa00425009fa31d6d 13-Apr-2017 Svet Ganov <svetoslavganov@google.com> Merge "Update the strings for the autofill enable dialog" into oc-dev
am: 0770f85cdc

Change-Id: Ia40ef434f7f67a8942496540360f5a5547eb8255
0770f85cdceb54e327f39babcb80bda3d52a9f1a 13-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Update the strings for the autofill enable dialog" into oc-dev
4fafa4e403d3f71455c995963ce48c334732f957 12-Apr-2017 Svet Ganov <svetoslavganov@google.com> Update the strings for the autofill enable dialog

Test: manual

bug:37244333

Change-Id: I6dfac8826d5a817567116ef2f57d646d92b54b4e
efaultapps/DefaultAppPickerFragment.java
efaultapps/DefaultAutofillPicker.java
f46bfaa5fc4d202ccb22fd826b52ee1a075b47ad 12-Apr-2017 Jesse Evans <jsje@google.com> Merge "Rename WEB_ACTION_ENABLED to INSTANT_APPS_ENABLED" into oc-dev am: 12c9f41c19
am: e1a307eab3

Change-Id: Iee0963f524d4c7a689111a551fc8f7febf195dbb
5564e51661af888e5d9f154f0938ada0343f95d4 12-Apr-2017 Lei Yu <jackqdyulei@google.com> Merge "Move bunch of battery methods to BatteryUtils.java" into oc-dev am: 171cbf8900
am: 94cfdcc26c

Change-Id: I84c4fe7eb70a3e6461e8f7d97669721b6d1c2b03
e1a307eab3d801ee508cf927faa28c10e8a2033e 12-Apr-2017 Jesse Evans <jsje@google.com> Merge "Rename WEB_ACTION_ENABLED to INSTANT_APPS_ENABLED" into oc-dev
am: 12c9f41c19

Change-Id: Id70340013a4a446ff21178aaa143b120f390d71c
94cfdcc26c4fa20ed89493a7de9d899f63f4946d 12-Apr-2017 Lei Yu <jackqdyulei@google.com> Merge "Move bunch of battery methods to BatteryUtils.java" into oc-dev
am: 171cbf8900

Change-Id: Id54c001de93286d83883ea6da476fd241acf77cd
12c9f41c1992f3494d98e440e447d9903c04d8a1 12-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Rename WEB_ACTION_ENABLED to INSTANT_APPS_ENABLED" into oc-dev
171cbf8900343927a7c8cc2a1a1cfe11aec29b08 12-Apr-2017 Lei Yu <jackqdyulei@google.com> Merge "Move bunch of battery methods to BatteryUtils.java" into oc-dev
7f4c5fc1f46a22ac963b8a23682cd515560a8e57 04-Apr-2017 jackqdyulei <jackqdyulei@google.com> Move bunch of battery methods to BatteryUtils.java

This cl moves following methods to BatteryUtils:
1. shouldHideSipper
2. removeHiddenBatterySippers
3. calculateBatteryPercent

As a result, we could use these methods in battery page as well
as app info page.

This cl also move bunch of tests to new file and add test for
method calculateBatteryPercent

Bug: 36816681
Test: RunSettingsRoboTests
Change-Id: Ic32700fe9741fbb96363db4af2d4fccb3ee8e317
nstalledAppDetails.java
fef4a43155ed58c48bd478a9c6f1fe69a8f90d26 08-Apr-2017 Jesse Evans <jsje@google.com> Rename WEB_ACTION_ENABLED to INSTANT_APPS_ENABLED

Test: make RunSettingsRoboTests
Change-Id: Iee3a279be6a33932797a5e9378c451feb9b3df1a
anageDomainUrls.java
de4e056449dd72bfdc667bbeeb6785bbdc9b9206 12-Apr-2017 Jesse Evans <jsje@google.com> Instant apps should not say App Installed by

Changes the text on the app installer details to say
"More info on {App Store Name}".

Test: make RunSettingsRoboTests
Bug: 36512295
Change-Id: I8629f840e9f4e5ce12ba91e9cb9def0db0471162
nstalledAppDetails.java
6292c8eab4338906ca55509ee7e310fd45e0dc32 12-Apr-2017 Fan Zhang <zhfan@google.com> Merge "Fix nav up button from running process details." into oc-dev am: 5ebfe92f09
am: 28e5589fcd

Change-Id: If852b5f08a8604865a083ad763544fd2120107e0
28e5589fcda0472fe2a1a3ba0fab053eca7b1f51 12-Apr-2017 Fan Zhang <zhfan@google.com> Merge "Fix nav up button from running process details." into oc-dev
am: 5ebfe92f09

Change-Id: I3fe9ed12b497584d079b94e89ac7cfeec63752e4
cb472bef7b0ac7e86d33cdea4af86fb97a1ad1f3 12-Apr-2017 Daniel Nishi <dhnishi@google.com> Merge "Fake the cache size to be 0 bytes when cleared." into oc-dev
am: 375c22d031

Change-Id: I2672ff3a908272feb1b1e8c2fd8584be745d71f1
5ebfe92f09d492fe43c97da4e4f9d89c05d9044b 12-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix nav up button from running process details." into oc-dev
375c22d0317f8c9d6184fe93c046308426b75ff6 12-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fake the cache size to be 0 bytes when cleared." into oc-dev
708a85065d6902ceb1a1262cd80d800dab7ee1ad 12-Apr-2017 Jesse Evans <jsje@google.com> Merge "Fixes instant apps on the Opening links screen" into oc-dev
am: 15f963bed9

Change-Id: I21b6b40c9abb52c52e525000b1e5f063a1c4c475
15f963bed92aa7b96effde4116f62ba648d48e74 12-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fixes instant apps on the Opening links screen" into oc-dev
7685987af142cb3b3f9f04e4064976ae8f89ca58 11-Apr-2017 Fan Zhang <zhfan@google.com> Fix nav up button from running process details.

Change-Id: I08fbbc1dab886dd26e7d780c0fc1b50c98a0e2f8
Fix: 36667083
Test: manual
unningProcessesView.java
unningServiceDetails.java
ad3843f4e4655a59f87449b5f518a10c0b80bd37 11-Apr-2017 Hyunyoung Song <hyunyoungs@google.com> Merge "Add shadow to AdaptiveIconDrawables using View level shadow" into oc-dev am: 9234a34a80
am: 71ba393033

Change-Id: I656587f889bdc4694cf0e8805a1f32feef7b8078
71ba393033098de743ce7acdbaaf567ef07b716d 11-Apr-2017 Hyunyoung Song <hyunyoungs@google.com> Merge "Add shadow to AdaptiveIconDrawables using View level shadow" into oc-dev
am: 9234a34a80

Change-Id: I25a0968edf534242130fdfda405bb6dfb8afc24a
1359d4fe0e1b445b7e8b36b1573ab03f8bcb3da1 28-Mar-2017 Daniel Nishi <dhnishi@google.com> Fake the cache size to be 0 bytes when cleared.

The fast track storage calculation returns a non-zero answer after
the storage has been cleared. The simplest workaround here is to
fake the size as 0 bytes in the view after cache clearing.

It will not be zero if the user exits and comes back, but this
should be fine.

MARK IT ZERO!

Change-Id: Ia012c2cf2842040d5eac3d4a72539ec7dcfb9570
Fixes: 34965659
Test: Settings Robotest
(cherry picked from commit bf1f8e9ca74736ea2d795ce918e45c972dfea52c)
ppStorageSettings.java
ppStorageSizesController.java
c717b54e5febfc55d407da2e2f61fd34b42eb3ee 11-Apr-2017 Daniel Nishi <dhnishi@google.com> Merge "Jostle the elements around in app storage settings."
1872bdef43da2ece4ff9d2ded2f856c4152ed7fb 11-Apr-2017 Honglu Yin <honglu.x.yin@sonymobile.com> Merge "Title is different after tapping "Memory used by apps"" am: 7d9146e10a am: 4604741c51 am: b9b563d243
am: 381570cda2

Change-Id: Ifd8fbcfa5a4d0e5aa8598fb26b4158b01db230c3
381570cda2fd669e47f83f1ab82cd9796072c131 11-Apr-2017 Honglu Yin <honglu.x.yin@sonymobile.com> Merge "Title is different after tapping "Memory used by apps"" am: 7d9146e10a am: 4604741c51
am: b9b563d243

Change-Id: Id276fbc68b12985074393454f729f950612685ed
1075d16c595e481e3ce5017aaba2efc9bee6e5a7 02-Mar-2017 Daniel Nishi <dhnishi@google.com> Jostle the elements around in app storage settings.

This much more closely resembles the later mocks for
this page. The spacing, fonts, and colors are still off
and will be corrected once the final mocks land.

Bug: 34766830
Test: Manual
Change-Id: Id131e3596a0d08cb43c924a9f5cd9eb25329d7de
ppStorageSettings.java
ppStorageSizesController.java
7d9146e10a8aadf8cf076368465a8259ee3f9e9c 11-Apr-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Title is different after tapping "Memory used by apps""
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
ppHeaderController.java
anageApplications.java
84aba27da4d617d616e41ec3ad143efbe7895abd 10-Apr-2017 Daniel Nishi <dhnishi@google.com> Merge "Add user icon to the other user preferences." into oc-dev am: b1c336de5f
am: f4af2774ee

Change-Id: I1ff26ce55a3b1ade531745e091e5c6e2de243593
fe33c58a1814d9c62474861a1e026461b8f82236 24-Mar-2017 Daniel Nishi <dhnishi@google.com> Add user icon to the other user preferences.

This icon is loaded in the background to avoid doing IO on
the main thread. Once we know there are more users and also
have the icon loaded, we add the category to the view.

Fixes: 36252572
Test: Robotest

Change-Id: Ib50287bb7ed323f22fbe407b56be1bf2fe98f121
serManagerWrapper.java
a480952e3d88691ddc8bee8619210f943086d9be 07-Apr-2017 Daniel Nishi <dhnishi@google.com> Merge "Fake the cache size to be 0 bytes when cleared."
222fe7d8a19ca1517756cabfee6e9b0e58998d51 07-Apr-2017 Doris Ling <dling@google.com> Merge "Add subtext to Default apps." into oc-dev am: 1e775c117a
am: 3da90f7f1c

Change-Id: Id89a509fa97edc1a31223bc25225a75f166e3f9c
edeb58d02329cb4faf64a1455fca3e12bcdf44b4 07-Apr-2017 Lei Yu <jackqdyulei@google.com> Merge "Remove PowerUsageDetail.java" into oc-dev am: bde7097fb9
am: 20dcdfe2cf

Change-Id: I612907ccce829d6ac590c5826bc6a1710b5b27dc
1e775c117ac86e805884030ed470dabf2aa826ea 07-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add subtext to Default apps." into oc-dev
bde7097fb95b6b8815d810e6092369375d456927 07-Apr-2017 Lei Yu <jackqdyulei@google.com> Merge "Remove PowerUsageDetail.java" into oc-dev
d007ff9395e93c9630388262e29e0f1d7a7ab735 06-Apr-2017 Doris Ling <dling@google.com> Add subtext to Default apps.

Retrieve the default Sms app, default Browser app, and default Phone app
and append the label together to form the summary text for Default apps
settings.

Bug: 36376411
Test: make RunSettingsRoboTests
Change-Id: I8ccf71dde43bba04c4bc4a900c9a181513e7710b
dvancedAppSettings.java
efaultapps/DefaultAppPreferenceController.java
efaultapps/DefaultBrowserPreferenceController.java
f6b12274f125c4deaba796dc07eaff31d13a9eb3 03-Mar-2017 Daniel Nishi <dhnishi@google.com> Re-add the option to migrate data back.

Currently, users can use an SD card or USB drive and adopt it as
internal storage using existing flows. They can manage this drive
perfectly fine using the old storage screen, which is still around.

One functionality that was lost was the ability to migrate data from
the adopted drive back to the private internal storage. This appeared
in a dropdown in the old storage settings.

By duplicating the code to create just that specific menu item and its
click behavior, we can restore this functionality to the new storage
view.

Change-Id: Id0e01c560e7249acccfe86c5da44466dd58fe5d4
Merged-In: I4b8c06912d2c0b2c5be5bce8b217d45accf34d4b
Fixes: 35926028
Test: Settings Robotest
ackageManagerWrapper.java
ackageManagerWrapperImpl.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
anageApplications.java
bf1f8e9ca74736ea2d795ce918e45c972dfea52c 28-Mar-2017 Daniel Nishi <dhnishi@google.com> Fake the cache size to be 0 bytes when cleared.

The fast track storage calculation returns a non-zero answer after
the storage has been cleared. The simplest workaround here is to
fake the size as 0 bytes in the view after cache clearing.

It will not be zero if the user exits and comes back, but this
should be fine.

MARK IT ZERO!

Change-Id: Ia012c2cf2842040d5eac3d4a72539ec7dcfb9570
Fixes: 34965659
Test: Settings Robotest
ppStorageSettings.java
ppStorageSizesController.java
fbf21f4c857a87a27f19203975c882cf29a59d1a 06-Apr-2017 Christine Franks <christyfranks@google.com> Merge "Prevent apps from displaying over Settings" into oc-dev am: 24596f51d5
am: 8606c652d5

Change-Id: Idb0cbf6b0467f9fd43b1e9e40e622146640a9a7e
0bf40ff77ccac88f0cf275404d874ce6afa55fca 01-Apr-2017 Jesse Evans <jsje@google.com> Fixes instant apps on the Opening links screen

Updates strings to the correct values.

Adds the Instant apps account preference, which launches the
instant apps accounts chooser.

Test: manual test of the settings screen.
Bug: 36514506
Change-Id: I876d0d242bf40a379a3737bc6422e2835fc17839
(cherry picked from commit 1c218c8368aa799ec85f7e75a1e14abde021db2a)
anageDomainUrls.java
ab86bf82447a5624ebc6881af5312f4c30cc3c41 06-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fixes instant apps on the Opening links screen"
c50403c60689e225e8784dd2ce1c62be93f1cfe7 15-Mar-2017 Christine Franks <christyfranks@google.com> Prevent apps from displaying over Settings

Specifically, the DrawOverlayDetails fragment only.

Bug: 36070413
Test: make RunSettingsRoboTests -j100
Change-Id: I0069f0cacf8c963c8c6878dc89a32b205983a568
rawOverlayDetails.java
418e5bffda17a399d8b5b1c4225e9331fa0cf4ef 06-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix crash when opening battery page" into oc-dev
4c52af621abceae142d0898e57c46822ed242b66 06-Apr-2017 Daniel Nishi <dhnishi@google.com> Merge "Lower case the first letter of storage type." into oc-dev
ae01ef590646f477f3eb439d65c40610b2c0dc34 05-Apr-2017 jackqdyulei <jackqdyulei@google.com> Remove PowerUsageDetail.java

Now we use AdvancedPowerUsageDetail instead.

This cl also:
1. Remove PowerUsageDetail in SearchIndexableResources since we
don't want to index PowerUsageDetail
2. Add AdvancedPowerUsageDetail in SettingsGateway

Bug: 36992358
Test: Build
Change-Id: I598bb159aa2b5a4889071ae9a17d29554e6afe11
nstalledAppDetails.java
cdbc114376499c22bc43c078d58cf3331dd40ade 31-Mar-2017 jackqdyulei <jackqdyulei@google.com> Fix crash when opening battery page

The settings crashes when opening battery usage detail page from
installed app page. Main reason is that it trying to open obsolete
page. This cl directs it to open AdvancedPowerUsageDetail instead.

Following cl will make InstalledAppDetail show calibrated percentage,
which is trakced in b/36816681

Bug: 36792973
Test: RunSettingsRoboTests
Change-Id: Ie63e64e543ed3b28974ffdda8b42c97e7749a0f7
(cherry picked from commit fac713318c8834ded349bc6d187499f61d399748)
nstalledAppDetails.java
9196c67f7bacfa5a634d4d1b3f89149a97cff070 05-Apr-2017 Felipe Leme <felipeal@google.com> Merge "Removed deprecated auto(F)ill settings." into oc-dev am: 0647c97a8e
am: 090b4e7e59

Change-Id: Ife3bc93b4da89bbb9554c8dcf78bcab073b73ec6
41789c1e0333c416dc2060e0f884a8e2f393a123 05-Apr-2017 Felipe Leme <felipeal@google.com> Removed deprecated auto(F)ill settings.

Bug: 35956626
Test: manual verification
Test: mmm -j90 packages/apps/Settings/tests/robotest
Change-Id: I5d0a02477204d273f331d8af93737c88e5af90e8
efaultapps/DefaultAutofillPicker.java
1c218c8368aa799ec85f7e75a1e14abde021db2a 01-Apr-2017 Jesse Evans <jsje@google.com> Fixes instant apps on the Opening links screen

Updates strings to the correct values.

Adds the Instant apps account preference, which launches the
instant apps accounts chooser.

Test: manual test of the settings screen.
Bug: 36514506
Change-Id: I876d0d242bf40a379a3737bc6422e2835fc17839
anageDomainUrls.java
cdd5863e2dc10fc434ba8709f0696e8a64870aa9 04-Apr-2017 Colin Cross <ccross@android.com> Revert "Merge "Removes instant apps from certain screens" into oc-dev am: 1c956b304a"

This reverts commit d7da58ade5eebc2ec664abb0afc7a8cd5e79b75d, reversing
changes made to 6d539dc7a474586a8c2ebfbc56284925e1e37a70.

Bad automerge of an already-present patch caused a duplicate definition
of LIST_TYPES_WITH_INSTANT.

Test: none
Change-Id: I98e74d1c0db739dd425c945652251a1050d26c63
anageApplications.java
d7da58ade5eebc2ec664abb0afc7a8cd5e79b75d 04-Apr-2017 Jesse Evans <jsje@google.com> Merge "Removes instant apps from certain screens" into oc-dev am: 1c956b304a
am: 1a8318c7ed

Change-Id: I2d6da7bd72d49218097c9135f78f14089b35a14c
c8e06b3fb6f09d92a9e101744f7ef4f688248ea2 04-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Adds the Clear App dialog for Instant Apps" into oc-dev
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)
anageApplications.java
5c9f7a88b48854ab5837e8a371690999235d2c7c 29-Mar-2017 Jesse Evans <jsje@google.com> Adds the Clear App dialog for Instant Apps

Adds a confirmation dialog for the user when tapping clear app.

From this dialog the user can either cancel, or confirm they
want to clear the app.

Test: make RunSettingsRoboTests

Bug: 36536695
Change-Id: Idffcf5ef318578ae2e075ea2cbb35323d41acade
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.java
nstalledAppDetails.java
ackageManagerWrapper.java
ackageManagerWrapperImpl.java
nstantapps/InstantAppButtonsController.java
5ed1fc855e970c10eb2f3be2c87672dec4128475 02-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Adds the Clear App dialog for Instant Apps"
8fc0d1f94814433a5d3ece1858a3e972ab935843 02-Apr-2017 Jesse Evans <jsje@google.com> Merge "Removes summary text from Instant Apps details" into oc-dev
91c51146a4060ce53901cdb38b7071837da2e700 02-Apr-2017 Jesse Evans <jsje@google.com> Merge "Removes instant apps from certain screens"
b643a0d30b158b5916c958fdc51b63ec1afadd0f 02-Apr-2017 Lei Yu <jackqdyulei@google.com> Merge "Fix crash when opening battery page"
57a0771bf50bdd9122df69ea2b3d1a38e7c90896 01-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Device management info: Refer to current user, not primary user" into oc-dev
ef64404f449ef349e50965ba0dad2820fee910e0 01-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Adds the lightning badge for Instant Apps" into oc-dev
6221a5b8d2138e564fa297e62d5ca9a05f43f824 13-Mar-2017 Suprabh Shukla <suprabh@google.com> Disabling switch preference when unknown sources are blocked

When the user restriction DISALLOW_INSTALL_UNKNOWN_SOURCES is set,
changing the preferences in settings is meaningless as package installer
will not let the install proceed. Disabling the settings switch and
updated the summaries to reflect when a switch is disabled. Removing
robolectric test as the logic is no longer testable due to missing stubs
for UserManager and UserHandle.

Test: CtsVerifier -> Device Owner Tests -> Policy Transparency Test

Bug: 34688413
Change-Id: I7cf6cc09a5d29721186a0df9405d3c7e486295ee
Merged-In: I7cf6cc09a5d29721186a0df9405d3c7e486295ee
xternalSourcesDetails.java
d9a3f3101941804cbc61b992850001820d18e3fc 01-Apr-2017 Suprabh Shukla <suprabh@google.com> Merge "Disabling switch preference when unknown sources are blocked"
cb9164ad480e156564cf5588c4fbaa3d9a85db7f 13-Mar-2017 Suprabh Shukla <suprabh@google.com> Disabling switch preference when unknown sources are blocked

When the user restriction DISALLOW_INSTALL_UNKNOWN_SOURCES is set,
changing the preferences in settings is meaningless as package installer
will not let the install proceed. Disabling the settings switch and
updated the summaries to reflect when a switch is disabled. Removing
robolectric test as the logic is no longer testable due to missing stubs
for UserManager and UserHandle.

Test: CtsVerifier -> Device Owner Tests -> Policy Transparency Test

Bug: 34688413
Change-Id: I7cf6cc09a5d29721186a0df9405d3c7e486295ee
xternalSourcesDetails.java
fac713318c8834ded349bc6d187499f61d399748 31-Mar-2017 jackqdyulei <jackqdyulei@google.com> Fix crash when opening battery page

The settings crashes when opening battery usage detail page from
installed app page. Main reason is that it trying to open obsolete
page. This cl directs it to open AdvancedPowerUsageDetail instead.

Following cl will make InstalledAppDetail show calibrated percentage,
which is trakced in b/36816681

Bug: 36792973
Test: RunSettingsRoboTests
Change-Id: Ie63e64e543ed3b28974ffdda8b42c97e7749a0f7
nstalledAppDetails.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)
ppCounter.java
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.java
anageApplications.java
otificationApps.java
9209ee53ed8545ab7461ba768db7921509f0afb6 29-Mar-2017 Jesse Evans <jsje@google.com> Adds the Clear App dialog for Instant Apps

Adds a confirmation dialog for the user when tapping clear app.

From this dialog the user can either cancel, or confirm they
want to clear the app.

Test: make RunSettingsRoboTests

Bug: 36536695
Change-Id: Idffcf5ef318578ae2e075ea2cbb35323d41acade
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.java
nstalledAppDetails.java
ackageManagerWrapper.java
ackageManagerWrapperImpl.java
nstantapps/InstantAppButtonsController.java
15c7f5fda4d09eb7eece01a111877c90f9eb3dc2 28-Mar-2017 Jesse Evans <jsje@google.com> Removes summary text from Instant Apps details

Test: Robolectric test to ensure header item is GONE.

Bug: 36512295
Change-Id: I020e90d6521c853e67ae600e5786445a8469a934
(cherry picked from commit 14a258443fa4f512531a99b0c11ac7d2b06ce378)
ppHeaderController.java
nstalledAppDetails.java
0b7037c24ed003d7edaff757360db8b52b74a4e2 29-Mar-2017 Jesse Evans <jsje@google.com> Adds the lightning badge for Instant Apps

Adds the lightning bolt badge for Instant Apps to the
InstalledAppDetails page.

Test: Robolectric test to ensure the badge is shown for Instant Apps
and also that it is not shown for installed apps.

Bug: 36512295
Change-Id: I8496d684fa3a9dc316fa5af16399e6d07f68255a
(cherry picked from commit 2400d31651142214159ec571064485a4346cb732)
ppHeaderController.java
1c9b6092eeb4a6eea7ba0d1db5fbe01c73adff37 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
anageApplications.java
45c42b2c70887925fbbdeafcabc9e85ed112962d 29-Mar-2017 Daniel Nishi <dhnishi@google.com> Lower case the first letter of storage type.

In the app details, the first letter of the storage type was
capitalized, causing an odd string of "X used in Internal storage."

Change-Id: Ibcac54259403f6d0f39df8fa2d3af10304a46057
Merged-In: I2b4f23ea1799dc1730fdab596e4a87a0cb673c68
Fixes: 36001265
Test: Settings robotest
nstalledAppDetails.java
b836da263d8559255c528fe68410649d979cf123 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
ppCounter.java
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.java
anageApplications.java
otificationApps.java
a61da379cd132ee3296c4bb0fea010447f463835 30-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Adds the lightning badge for Instant Apps"
6b16ba60f1878f6801695647abc1b53d1c714f33 30-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Removes summary text from Instant Apps details"
70085ec0ae06827c8156d63b9372fbfb18119863 29-Mar-2017 Daniel Nishi <dhnishi@google.com> Merge "Lower case the first letter of storage type."
2400d31651142214159ec571064485a4346cb732 29-Mar-2017 Jesse Evans <jsje@google.com> Adds the lightning badge for Instant Apps

Adds the lightning bolt badge for Instant Apps to the
InstalledAppDetails page.

Test: Robolectric test to ensure the badge is shown for Instant Apps
and also that it is not shown for installed apps.

Bug: 36512295
Change-Id: I8496d684fa3a9dc316fa5af16399e6d07f68255a
ppHeaderController.java
14a258443fa4f512531a99b0c11ac7d2b06ce378 28-Mar-2017 Jesse Evans <jsje@google.com> Removes summary text from Instant Apps details

Test: Robolectric test to ensure header item is GONE.

Bug: 36512295
Change-Id: I020e90d6521c853e67ae600e5786445a8469a934
ppHeaderController.java
nstalledAppDetails.java
c2157ab443fa0beb95f2729ad14161707f209cc2 27-Mar-2017 Daniel Nishi <dhnishi@google.com> Add a movies & tv apps category to storage settings.

Change-Id: Idfabe83739272b19cbef4b13a82339170f8f97b3
Fixes: 36223441
Test: Settings Robotest
anageApplications.java
0d5d180d7d63a940a12a39110b8d7baef8866b2d 29-Mar-2017 Daniel Nishi <dhnishi@google.com> Lower case the first letter of storage type.

In the app details, the first letter of the storage type was
capitalized, causing an odd string of "X used in Internal storage."

Change-Id: I2b4f23ea1799dc1730fdab596e4a87a0cb673c68
Fixes: 36001265
Test: Settings robotest
nstalledAppDetails.java
c5f93b9ba514437eb5fa05f5b1a1dc467bc59c25 28-Mar-2017 Daniel Nishi <dhnishi@google.com> Merge "Re-add the option to migrate data back."
f85ebb24bb4f94665f431f78aa4be4665ccf4b25 28-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Changes to installed app details screen for instant apps"
09955c38659ec6e0420f90b89292585ededf6d44 08-Mar-2017 Antony Sargent <asargent@google.com> Changes to installed app details screen for instant apps

Bug: 35098444
Test: make RunSettingsRoboTests

This implements the following changes to the app details screen:

-Suppresses the "Uninstall" and "Force Stop" buttons
-Adds "Install app" and "Clear app" buttons
-Adds a mechanism for showing a link to the store's app details
page that can be different from the default for installed apps.

Change-Id: Icea83f7d1fde62d4101cb0c8a6d03849f6c56bca
ppStoreUtil.java
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.java
nstalledAppDetails.java
nstantapps/InstantAppButtonsController.java
e31550d809193bf32278fdf86a9dcbad1cf34b8e 03-Mar-2017 Daniel Nishi <dhnishi@google.com> Re-add the option to migrate data back.

Currently, users can use an SD card or USB drive and adopt it as
internal storage using existing flows. They can manage this drive
perfectly fine using the old storage screen, which is still around.

One functionality that was lost was the ability to migrate data from
the adopted drive back to the private internal storage. This appeared
in a dropdown in the old storage settings.

By duplicating the code to create just that specific menu item and its
click behavior, we can restore this functionality to the new storage
view.

Change-Id: I4b8c06912d2c0b2c5be5bce8b217d45accf34d4b
Fixes: 35926028
Test: Settings Robotest
ackageManagerWrapper.java
ackageManagerWrapperImpl.java
4fa5c7b8ba94d8d6847f9cdf9e8a1d606260eeb3 25-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Move reset options to one place"
ddba96670048a07b98e5c1e0d9f3d9bd4ebe9b38 09-Mar-2017 jackqdyulei <jackqdyulei@google.com> Revamp the battery usage details page.

This cl adds AdvancedPowerUsageDetail to show the usage details page.
The AdvancedPowerUsageDetail contains all the needed ui components:
1. App Header
2. Two buttons
3. Usage breakdown preference category
4. Power management preference category

This cl also adds preference controller for two buttons but the
detail implementation will be added in the following cl.

Following cl will also remove previous detail page.

Bug: 35810915
Test: RunSettingsRoboTests
Change-Id: I17f95d1288762094671c0f148fa73367e51f175e
nstalledAppDetails.java
51059c5c9101300c7cd410bfe6582de25145079e 24-Mar-2017 Fan Zhang <zhfan@google.com> Move reset options to one place

Change-Id: I419c16cbfc69861e01f28c14abdde137bd78f0bb
Fix: 36458355
Test: make RunSettingsRoboTests
esetAppPrefPreferenceController.java
esetAppsHelper.java
296b7263ad5f9dfbfbe7833da02a551e3adf84eb 16-Mar-2017 Phil Weaver <pweaver@google.com> A11y shortcut settings enhancement

Adding shortcut on/off switch, improving the service picker,
and adding a switch to enable the shortcut on the lock screen.

Also adjusted setting search code to avoid indexing the
accessibility shortcut aside from the main accessibility settings
page.

Bug: 35872328
Bug: 35219988
Test: Ran in a variety of conditions, ran existing settings test.
Also added basic robo test, verified existing robo tests pass.
Change-Id: I4da9bad74caf96d9c8f3640e7db5417b4ee5d602
efaultapps/DefaultAppInfo.java
efaultapps/DefaultAppPickerFragment.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
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.java
nstalledAppCounter.java
anageApplications.java
a278962dbc545f69ca3712159d438f2e50dab0a5 23-Mar-2017 Fan Zhang <zhfan@google.com> Refactor DefaultAppPicker to a general radio button picker

Bug: 36557316
Test: make RunSettingsRoboTests
Change-Id: I52985e527e55697cf29f8d97d775d4bbed025beb
ssist/DefaultAssistPicker.java
ssist/DefaultAssistPreferenceController.java
ssist/DefaultVoiceInputPicker.java
ssist/DefaultVoiceInputPreferenceController.java
efaultapps/DefaultAppInfo.java
efaultapps/DefaultAppPickerFragment.java
efaultapps/DefaultAppPreferenceController.java
efaultapps/DefaultAutofillPicker.java
efaultapps/DefaultAutofillPreferenceController.java
efaultapps/DefaultBrowserPicker.java
efaultapps/DefaultBrowserPreferenceController.java
efaultapps/DefaultEmergencyPicker.java
efaultapps/DefaultHomePicker.java
efaultapps/DefaultHomePreferenceController.java
efaultapps/DefaultNotificationAssistantPicker.java
efaultapps/DefaultPhonePicker.java
efaultapps/DefaultPhonePreferenceController.java
efaultapps/DefaultSmsPicker.java
efaultapps/DefaultSmsPreferenceController.java
cb92917e1e9e5deb901f9c833f66c017779f20b0 22-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Use fragment context in AppHeaderController"
abba040727cb58e85108dca7dfb8988c1fd63cf2 22-Mar-2017 jackqdyulei <jackqdyulei@google.com> Use fragment context in AppHeaderController

The application context doesn't have the correct theme, use
fragment context instead

Fix: 36489386
Fix: 36516826
Test: RunSettingsRoboTests & Screenshot
Change-Id: I8285584220796264d85ea570df5b1df6ebeb275f
ppHeaderController.java
3a32ee6132e1020b302062d9f3b0bdc4f3cfb2af 22-Mar-2017 Fan Zhang <zhfan@google.com> Move autofill app picker from advanced app to language page

Change-Id: I38979e17e51bda92179ca5b7ba4293677aa18a96
Fix: 36130404
Test: make RunSettingsRoboTests
dvancedAppSettings.java
3720e0c4f1005242ff3b368b8f917eb5ca7d398b 21-Mar-2017 Fan Zhang <zhfan@google.com> Update system setting page subtext

- Move android version from about phone subtext to system update
- Updates strings for autofill, keyboard & input, factory reset, swipe
for notification
- Add a new pref category for spell checker and personal dictionary
- Display "None" if any default app is not selected
- Display current keyboard type as language subtext

Bug: 36395109
Test: make RunSettingsRoboTests
Change-Id: Id6ca94ea31e55f1c1ec04e47dcf657a25c35c7fe
efaultapps/DefaultAppPreferenceController.java
b076e00c5eed6720c5347a2d15890aa9d11157b0 20-Mar-2017 Bartosz Fabianowski <bartfab@google.com> Finish removing N/A DO disclosures from search index

DO disclosures referring to actions that the admin did not actually
take are hidden in the UI, but still show up in the search index. This
CL switches the remaining PreferenceControllers from setting visibility
to implementing isAvailable() instead.

Bug: 32692748
Test: m RunSettingsRoboTests

Change-Id: I54360698f28b549b18cdc230e3b9087cf4e9ff4a
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.java
7896f1092054b20b1cf2237f3b9b6ce53a225dc9 21-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Updating strings for unknown sources settings"
4e3dc4a91dc857346315c75a4873f9c4221698e0 21-Mar-2017 Suprabh Shukla <suprabh@google.com> Updating strings for unknown sources settings

Updated strings and removed some obsolete strings that were no longer
used. Removed unusued instance variable in AppStateInstallAppsBridge

Test: Manual

Bug: 36454399
Change-Id: I858bb388f311fd012527500cf35255d191b4dfb7
ppStateInstallAppsBridge.java
5dea0774f69c4df7741dc31878e11134b13b0038 21-Mar-2017 Winson Chung <winsonc@google.com> Merge "Update picture-in-picture settings to match mocks."
217d0e9d236e9c8eaf8e28861499a00cf1c5f929 17-Mar-2017 Winson Chung <winsonc@google.com> Update picture-in-picture settings to match mocks.

- Removing switches in top-level picture-in-picture settings, adding
details screen for each app which contains the switch and some
additional information.

Bug: 35957404
Test: make -j40 RunSettingsRoboTests
Change-Id: Ib22df8a52ab857e071ec43dd3e5d1f5282db35cb
nstalledAppDetails.java
ictureInPictureDetails.java
ictureInPictureSettings.java
5dc168af1add029df23674f60eb4130b82012e70 10-Mar-2017 Bartosz Fabianowski <bartfab@google.com> Start removing N/A DO disclosures from search index

DO disclosures referring to actions that the admin did not actually
take are hidden in the UI, but still show up in the search index. This
CL takes the following steps toward fixing this:
* Pass the list of PreferenceControllers to the search indexer
* Make the first two PrefrenceControllers set isAvailable() correctly

There are more disclosures to update, but the difficult work is done
as all others will follow the same pattern.

Bug: 32692748
Test: m RunSettingsRoboTests

Change-Id: I7d3e248b80abe72b79fce7afa11f28a822de6986
ppCounter.java
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.java
819c0bdc04cd86bac35fda9abd668aff3747c0f9 15-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix convert to fbe"
4f18cf4e201c7d6692e45e329b5b6adc46302b3c 14-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add Advanced button to Apps & notifications page."
fe3b134b623115b6f0d58776b7a098dc22741fe2 13-Mar-2017 Doris Ling <dling@google.com> Add Advanced button to Apps & notifications page.

- set the progressive mixin to show 3 items initially.

Change-Id: I874982e9b230d5b6afe4f2ced8e8c8c4dd84ba79
Fix: 36177949
Test: visual
ppAndNotificationDashboardFragment.java
c49ab99007d74edf7086e8254cb6812771313b52 13-Mar-2017 Fan Zhang <zhfan@google.com> Add misc logging:

- Button clicks in app detail page:
uninstall/disable/clear data/clear cache
- More logging in search:
log inline search result click, and its metadata such as
name/value/rank.

Fix: 32652772
Fix: 32798201
Test: make RunSettingsRoboTests
Change-Id: I90cef7c9ea9ea69ea9cf083013a38417097f8594
ppStorageSettings.java
nstalledAppDetails.java
5b729c3216766528946bb18a46cd971c294194aa 10-Mar-2017 Paul Lawrence <paullawrence@google.com> Fix convert to fbe

Bug: 35231198
Test: Convert to fbe now works
Change-Id: Icc468d4f9328aacc18ba9e7b053e8db1a9aa9c8d
onfirmConvertToFbe.java
5473f68cddb239a72f0aa9509f56550b08e02ce0 06-Mar-2017 Philip Quinn <pquinn@google.com> Add setting for the assist gesture sensitivity control.

The sensitivity control is only visible when the assist gesture itself
is enabled.

Test: make -j RunSettingsRoboTests; manual test on supported/unsupported
configurations.

Change-Id: I584975794c5cf9d788e93167292d142ae2faf1c5
ssist/GestureAssistPreferenceController.java
ssist/ManageAssist.java
e11cb90ed2a8322a694370b8e1038f1538d31bcc 10-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Replaced auto-fill by autofill to keep it consistent with API style."
1c1d11002d5e19df12893a6220e0f69b0b560267 10-Mar-2017 Fan Zhang <zhfan@google.com> Fix misc style issue in "Open by default" screen.

Fix: 35960603
Test: visual

Change-Id: I6d3f471bb31e8c945d4d3346ad9512cda095ed64
learDefaultsPreference.java
a2a09c9ce20797e985d7dead70ab8774b3dc8bc1 09-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Adding app specific screen for "External Sources""
4fa4a2e3f5383dfa0f82470188ba2ea12601f689 07-Mar-2017 Felipe Leme <felipeal@google.com> Replaced auto-fill by autofill to keep it consistent with API style.

To keep backward compatibility, it looks for the new service (AutofillService),
then falls back to the old one (AutoFillService) if not found.

Bug: 35956626
Bug: 36024626
Test: manual verification with a custom service
Test: RunSettingsRoboTests passes

Change-Id: I64112ac5d796e94866e632ec8ea79a3fb13e3d9b
dvancedAppSettings.java
efaultapps/DefaultAutoFillPicker.java
efaultapps/DefaultAutoFillPreferenceController.java
efaultapps/DefaultAutofillPicker.java
efaultapps/DefaultAutofillPreferenceController.java
9a8bae083819c9166a06e98255598fe95950c167 08-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix disabled WebView packages being shown as enabled in Dev Setting."
8e457342f89ca485fa42dc57e3af49d0ba53c893 08-Mar-2017 Daniel Nishi <dhnishi@google.com> Merge "Fix a crash when transferring an app."
f59d2115edc5466ab95bf6c2b81d3b0f67939523 07-Mar-2017 Suprabh Shukla <suprabh@google.com> Adding app specific screen for "External Sources"

Adding app specific screen so that third party apps and package
installer can directly intent there to direct users to change the
setting. Also added automater tests.

Test: adb shell am instrument -w -e class \
'com.android.settings.applications.ExternalSourcesSettingsTest' \
'com.android.settings.tests/android.support.test.runner.AndroidJUnitRunner'

Bug: 33792674
Bug: 35487166

Change-Id: I5a481ee7032979df94a9e267ea74aa90da6a0906
xternalSourcesDetails.java
6a256e77d624967470f60c68dab6d5447e8a24cb 02-Mar-2017 Daniel Nishi <dhnishi@google.com> Fix a crash when transferring an app.

This crash occurs because the background loader is loading
the storage for an app which is currently being moved off of
the device. In the native code which is calculating the storage,
it throws an InstallerException which is caught and rethrown as an
IllegalStateException.

We handle this in the view by reporting that we could not calculate
the size of the app.

Change-Id: I109b1be60ae60f8ef31b08cb4392b576261fa806
Fixes: 35922033
Test: Robotest
ppStorageSettings.java
ppStorageSizesController.java
etchPackageStorageAsyncLoader.java
dde06062f4b67bec506e7c42d6ac63b678b14820 08-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Move the action buttons in installed app detail page in the preference xml."
cb22870aa1dfc866081710becc5ff4b23303602e 07-Mar-2017 Doris Ling <dling@google.com> Move the action buttons in installed app detail page in the preference xml.

- instead of dynamically creating the preferences for the action
buttons, add the actions items to the installed app details xml.
- rename the reference as it is no longer a footer.

Change-Id: I41b99f50bcc4916384555b5d9470ac937ff1d2ac
Fix: 36001501
Test: make RunSettingsRoboTests
nstalledAppDetails.java
1f81d10dc5119f5a6c57ceada1161c4a9f528f19 07-Mar-2017 Fan Zhang <zhfan@google.com> Fix a crash when opening uninstalled app detail page

Change-Id: I417e7eb6f9c857ace4e8047b226abe03a7c8248d
Fix: 36027848
Fix: 34392538
Test: make RunSettingsRoboTests
nstalledAppDetails.java
e0b65fce67511792aa3a983024f292754fd9ef5a 07-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove code that check for dashboard feature."
3c89d8e2cfe5bc338f3e285945b6836cd2f69b05 23-Feb-2017 Gustav Sennton <gsennton@google.com> Fix disabled WebView packages being shown as enabled in Dev Setting.

WebView packages that cannot be chosen as WebView implementation should
be shown as disabled in the 'WebView Implementation' Dev Setting.
Simplify the logic in DefaultAppInfo a little bit to avoid
special-casing for the WebView Dev setting.
Also add tests to ensure we are correctly disabling WebView packages in
the Dev setting and showing their disabled-reasons.

Bug: 35707106
Test: 'make RunSettingsRoboTests'
Test: Ensure disabled WebView packages show up as being disabled in the
'WebView Implementation' Dev Setting.
Change-Id: Ic2f5265c3451b6396e55b7bc29689c3d889ddb5e
efaultapps/DefaultAppInfo.java
efaultapps/DefaultAppPickerFragment.java
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
ppAndNotificationDashboardFragment.java
ppInfoWithHeader.java
nstalledAppDetails.java
anageApplications.java
rocessStatsDetail.java
ad7aa871e78d36bbd267f3dff47ccc3d1caa6031 02-Mar-2017 Daniel Nishi <dhnishi@google.com> Fast track the installed app details storage.

Change-Id: Ic96a7b4bea6d92a32669887dacbc1f4e54e25ea9
Fixes: 35805032
Test: Settings robotest
ppStorageSettings.java
nstalledAppDetails.java
2f7d8bc086122578990977f5681d419977984e7f 04-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Adding "Install Other Apps" in App Info page"
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
ppStateInstallAppsBridge.java
xternalSourcesDetails.java
nstalledAppDetails.java
anageApplications.java
df0477bbba85384634529051cedd03a7aee047e5 03-Mar-2017 Roger Xue <rogerxue@google.com> Merge "move PermissionsSummaryHelper into SettingsLib to share with car settings Bug: 34679894 Test: make RunSettingsRoboTests -j128 Change-Id: I53a3f3d8d2a05b33d2cff52a06236dd7d31dbe63"
a9ee4e86492b4b34612d79a641a7c81cbd7e0584 03-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Show uninstall for all users option menu in app info."
42cce1e610bf3553a41e53622b7f376259ee5af8 01-Mar-2017 roger xue <rogerxue@google.com> move PermissionsSummaryHelper into SettingsLib to share with car settings
Bug: 34679894
Test: make RunSettingsRoboTests -j128
Change-Id: I53a3f3d8d2a05b33d2cff52a06236dd7d31dbe63
nstalledAppDetails.java
ermissionsSummaryHelper.java
2508ed56ca1ae3c8a775507090b31f57b61c188a 02-Mar-2017 Doris Ling <dling@google.com> Show uninstall for all users option menu in app info.

- when there is only 1 user installed the app, also check if it is
installed by the current user or by other user to determine whether or
not to show the uninstall for all button.

Change-Id: I1eecb13a7748c92159cb0626e2b6fe1ed6987d15
Fix: 34760157
Test: make RunSettingsRoboTests
nstalledAppDetails.java
fa9da424a851e4f40cbe7dba91af46ae9a409032 02-Mar-2017 Antony Sargent <asargent@google.com> Merge "New design for instant apps in app details header"
6d3947e2c1d01c531d11d8fbb6954b6187e383a9 02-Mar-2017 Garfield Tan <xutan@google.com> Merge "Remove DocumentsContract.ACTION_BROWSE."
afb57ecc35589bf36dedacf52f57e844e5ef7dd9 01-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Let fragment and indexProvider share prefControllers"
b00811da646a2ea335074f2a478f3c18b1a09274 28-Feb-2017 Fan Zhang <zhfan@google.com> Let fragment and indexProvider share prefControllers

Bug: 35812240
Test: make RunSettingsRoboTests
Change-Id: Ifd96f935836a52e0a56f170f3cdf9b9ddf7c499a
ssist/ManageAssist.java
021e7bc69baf3885964bd1147f474bafb8eb75a1 01-Mar-2017 Daniel Nishi <dhnishi@google.com> Merge "Use storage fast track to query packages in app info."
2d01be108d6c9ca07302dd45674ce45b40ed8160 01-Mar-2017 Garfield Tan <xutan@google.com> Remove DocumentsContract.ACTION_BROWSE.

Test: Code builds and tests pass.
Bug: 35760993
Change-Id: I7e540b71a7be60d250ffec899eb5c08941dc24a8
usicViewHolderController.java
3344782bac06e871dd7da1c721cb299861f6b6ce 24-Feb-2017 Daniel Nishi <dhnishi@google.com> Use storage fast track to query packages in app info.

App info used to use the old ApplicationsState path. This
removes the size query and replaces it with an AsyncTask to
load the sizes.

Fixes: 35805032
Test: Robotest
Change-Id: Ica1c88da2b407c3cbd4d7f970c7c44e4064393b3
ppStorageSettings.java
etchPackageStorageAsyncLoader.java
d06aaa8fd00321e938664a813c58a54118b5731f 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: I2cbc70bf4827c401e862c58ea4ca7f8f9ba1cf58
ppHeaderController.java
ppInfoWithHeader.java
nstalledAppDetails.java
nstantapps/InstantAppDetails.java
93e08ebf80556ad245c2a6c40c0bdc645297fcf4 28-Feb-2017 Daniel Nishi <dhnishi@google.com> Add a content description to the app info button.

This resolves an issue where Talkback would call the
app info button "unlabelled."

Change-Id: I59d8639584c48d8eeb7640bdac3d18bc7667009f
Fixes: 35338852
Test: Settings Robotest
ppHeaderController.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
anageApplications.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
anageApplications.java
ee2a238e1d814eb7df69bcd7da47e30db39cf8d1 23-Feb-2017 Daniel Nishi <dhnishi@google.com> Merge "Use the upstreamed StorageStatsSource wrapper."
7b8c9b92f1d2b8981bd75cba2c19ce0c08ecf141 23-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Don't show afw default app pref if there is no candidate."
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.
anageApplications.java
usicViewHolderController.java
c13b950b029bf5302d0f38a82e6e08c321902524 22-Feb-2017 Fan Zhang <zhfan@google.com> Don't show afw default app pref if there is no candidate.

Change-Id: I25f077662264406a8a4d819db7b4713be753a33b
Fix: 22564285
Test: make RunSettingsRoboTests
efaultapps/DefaultBrowserPreferenceController.java
efaultapps/DefaultPhonePreferenceController.java
efaultapps/DefaultWorkBrowserPreferenceController.java
efaultapps/DefaultWorkPhonePreferenceController.java
4cf650b6b7521dfb5ec6c614fbb7771f1cc3bb55 22-Feb-2017 Antony Sargent <asargent@google.com> Merge "Add "Instant apps" filter to app listing"
755a9dea2324978d6b4b8c1f669eadfefdde2ba9 22-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add logging to trace when force stop button is clicked"
20c5812a65f16b43f8eba2471493b8f9e4f95d1e 22-Feb-2017 Fan Zhang <zhfan@google.com> Add logging to trace when force stop button is clicked

Bug: 35633637
Test: manual
Change-Id: If7bcf7a3265d1eb75b7f58337f4757dfcbb0ba2f
nstalledAppDetails.java
c108b97f1757b60d1dbd72e2c6afa29bb229f7cd 22-Feb-2017 Fan Zhang <zhfan@google.com> Fix crash when cold start settings.

Change-Id: I992743be7820e932116121e7ee2d57ef94e87701
Fix: 35641857
Test: RunSettingsRoboTests
ssist/AssistSettingObserver.java
3633c243edb4fe6112da057cb607742695db0a8d 22-Feb-2017 Daniel Nishi <dhnishi@google.com> Merge changes from topic 'secondary-users'

* changes:
Update the loading of info for the secondary users.
Add support for visualizing secondary users.
dfce62c50755faa36586d7f5349a38d422d21908 17-Feb-2017 Fan Zhang <zhfan@google.com> Deprecate AppListPreference and AppListPrefWithSettings

- Convert ManageAssist into DashboardFragment
- Convert default assist pref to DefaultAppPickerFragment
- Add PreferenceController for each pref
- Add tests

Bug: 35203386
Test: make RunSettingsRoboTests

Change-Id: I0350a06cae7457809fb261e2d8ec99eda80cc50a
efaultAssistPreference.java
anageAssist.java
ssist/AssistContextPreferenceController.java
ssist/AssistFlashScreenPreferenceController.java
ssist/AssistScreenshotPreferenceController.java
ssist/AssistSettingObserver.java
ssist/DefaultAssistPicker.java
ssist/DefaultAssistPreferenceController.java
ssist/DefaultVoiceInputPicker.java
ssist/DefaultVoiceInputPreferenceController.java
ssist/GestureAssistPreferenceController.java
ssist/ManageAssist.java
ssist/VoiceInputHelper.java
efaultapps/DefaultAppInfo.java
efaultapps/DefaultAppPickerFragment.java
efaultapps/DefaultAutoFillPicker.java
efaultapps/DefaultAutoFillPreferenceController.java
efaultapps/DefaultHomePreferenceController.java
efaultapps/DefaultNotificationAssistantPicker.java
efaultapps/DefaultSmsPreferenceController.java
422e7c354dc57aea64dd5a455167f5f2a5cb5695 10-Feb-2017 Daniel Nishi <dhnishi@google.com> Update the loading of info for the secondary users.

Bug: 34715777, 34225103
Test: Settings Robotest
Change-Id: I32bb15ad8bc866c1fd41728e56faa8b09ae11eb6
serManagerWrapper.java
dfed8a2acb62fce32eb6cf6e1665b98696cdd992 20-Jan-2017 Daniel Nishi <dhnishi@google.com> Add support for visualizing secondary users.

This functionality adds the secondary users to the screen, but
currently does not populate the information for them. Once the
external stats query works, I will add a loader which will
populate this information.

This also does not cover work profiles. Support for that is
forthcoming.

Bug: 34715777, 34225103
Test: Settings Robotest
Change-Id: Ib9b692b214f5ce5d303dfd64516381443d4acebd
serManagerWrapper.java
serManagerWrapperImpl.java
07800b319dda1bbdbf4de160d59c9087ed7a91ed 17-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add metric events triggers for new storage actions."
3e0ae4ed90e380a334be531d3cb2a1107e17f8a2 17-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add settings for the assist gesture."
db59347c2972b380468900d1cb112910148db6b3 17-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Mark only browser as default in app detail page"
6786d8cd5335d51479ec09b4aa0dd67a68bd9729 16-Feb-2017 Fan Zhang <zhfan@google.com> Mark only browser as default in app detail page

Change-Id: I8112d859ba788a1dc67c44b5e0de668c0fc13169
Fix: 35307728
Test: make RunSettingsRoboTests
nstalledAppDetails.java
efaultapps/DefaultBrowserPreferenceController.java
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
anageApplications.java
ce82b66136902387cb9e870766df91e6c364ccb9 16-Feb-2017 Daniel Nishi <dhnishi@google.com> Merge "Fix a race condition where the extra view may not update timely."
0f28cbd21b7ac48c7254332bdfc1d11bca3b7d91 16-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Modify text in Apps & notifications settings."
015a50bef99a23a8c795486b99021a5784d65d64 16-Feb-2017 Doris Ling <dling@google.com> Modify text in Apps & notifications settings.

- in Settings->Apps & notifications->Apps->[select app], update the
header summary to installation status, and move the version text to
the bottom of the page.
- updatd preference title from Apps to App info
- update preference title from Notifications to App notifications

Bug: 34977561
Test: make RunSettingsRoboTests
Change-Id: I97e9b81c739fb99eaca2cf45fb11f208ad6cd9ca
nstalledAppDetails.java
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
ppHeaderController.java
ppInfoBase.java
ppOpsCategory.java
pplicationFeatureProviderImpl.java
onvertToFbe.java
nstalledAppDetails.java
anageApplications.java
anageDomainUrls.java
rocessStatsBase.java
unningProcessesView.java
hortcutPreference.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
anageApplications.java
2ed09339d4fcc9d8464e68c3832e39c68562e883 15-Feb-2017 Doris Ling <dling@google.com> Update layout for App info page.

- Move the app link buttons to the right
- Move the footer buttons to the top below the header
- Rename the app header details title, summary, and icon views.

Bug: 34977561
Test: make RunSettingsRoboTests
Change-Id: Id0cfc2b73b4e5cbbc1a58e497da52560892b69c8
ppHeaderController.java
nstalledAppDetails.java
a9831d40d081cc8c7ca32891e64c09b5e1d19abb 14-Feb-2017 Philip Quinn <pquinn@google.com> Add settings for the assist gesture.

Availability of the gesture is gated by a new FeatureProvider.

Test: make -j RunSettingsRoboTests; manual test on
supported/unsupported configurations.

Change-Id: I3529367a73e33370d5112b91d5144293ffa7fa22
anageAssist.java
1b2b8697edd5fe7c0c27945f4c7e0572867f5fc3 14-Feb-2017 Daniel Nishi <dhnishi@google.com> Merge "Don't show games and music apps in Other Apps."
85de8ad126bfa857752d8d4ad837477bf5866940 13-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add BatteryMeterView in Settings"
51967c0e6a80a81a5b985c4827c23c65cd44a50f 02-Feb-2017 jackqdyulei <jackqdyulei@google.com> Add BatteryMeterView in Settings

1. Show gauge icon at the top of battery main page instead of
battery usage graph.
2. Move the click action from battery usage graph to gauge icon.

Bug: 34387464
Test: RunSettingsRoboTest

Change-Id: Ib182619d6805b401cde03a50e2ae907cf4df7b94
ayoutPreference.java
3393daccd9b08c29928e7d71b6f6e1c7388c60b3 13-Feb-2017 Lenka Trochtova <ltrochtova@google.com> Replace deprecated ACTION_MASTER_CLEAR by ACTION_FACTORY_RESET.

Both do the same, ACTION_FACTORY_RESET is the new name.

Test: manual - reset the device
BUG: 33656232

Change-Id: I30cedea600bfcbeffa5d1094a6e0e83326f7ccfc
onfirmConvertToFbe.java
5780f569e932dfbc8dd8c23b63ab21cb7cd539b0 09-Feb-2017 Fan Zhang <zhfan@google.com> Merge "Convert auto-fill default selector to full screen pattern."
f8f55e574dbf03688d5d9b28bed0dd3802167fe5 09-Feb-2017 Fan Zhang <zhfan@google.com> Convert auto-fill default selector to full screen pattern.

Bug: 34280137
Test: RunSettingsRoboTests
Change-Id: Icde3bcaf11615010d481f39d8b32d28dfc120018
dvancedAppSettings.java
efaultAutoFillPreference.java
efaultapps/DefaultAppPickerFragment.java
efaultapps/DefaultAppPreferenceController.java
efaultapps/DefaultAutoFillPicker.java
efaultapps/DefaultAutoFillPreferenceController.java
efaultapps/SettingIntentProvider.java
b39805e0d48febbfc6b4695b66d11e838fa2cfae 09-Feb-2017 Fan Zhang <zhfan@google.com> Code clean up

- Remove unused DashboardTilePreference class
- Use FooterPreference in ManageAssist fragment
- reformat manage_assist xml file

Bug: 35203386
Test: visual
Change-Id: If3dbbd0fb1977d6f3c7dbf4544d71f5e6e801327
anageAssist.java
3fca717d3b63ff4ba2f90558b002d5e22f692800 09-Feb-2017 Antony Sargent <asargent@google.com> Merge "Infrastructure for showing instant app metadata in app header"
9ae1b8b0463a2b07c24498d05f133526ecf420d2 09-Feb-2017 Gustav Sennton <gsennton@google.com> Merge "Have WebView Implementation Dev Setting use DefaultAppPickerFragment."
5b596285a04c503b52278a54389d2034f83f85b4 03-Feb-2017 Gustav Sennton <gsennton@google.com> Have WebView Implementation Dev Setting use DefaultAppPickerFragment.

Make the WebView Implementation Dev Setting look like the fullscreen
settings deriving from DefaultAppPickerFragment.
Point the Activity opened through Settings.ACTION_WEBVIEW_SETTINGS to
the class WebViewAppPicker which is our new implementation of the
WebView Implementation setting.

Ensure the new setting closes if it is reached from a user that isn't an
admin of the device.

Bug: 34806477
Bug: 34966439
Test: Ensure WebView implementation Dev Setting looks ok (disabled
packages should have a text showing why they cannot be chosen).
Test: Start Intent with action Settings.ACTION_WEBVIEW_SETTINGS and
ensure the started Activity looks similar to the WebView Implementation
Dev Setting.
Test: Ensure picking a package that is no longer active, updates the
setting (so that package isn't visible anymore).
Change-Id: I08007c515193739ad61dfd735bb5130fc07bd6e6
efaultapps/DefaultAppInfo.java
efaultapps/DefaultAppPickerFragment.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
anageApplications.java
usicViewHolderController.java
f3ddd87c7ae702999107640289da177ee72a8b01 07-Feb-2017 Antony Sargent <asargent@google.com> Infrastructure for showing instant app metadata in app header

This adds infrastructure for displaying the following instant app
metadata in the app header:
-Developer title
-Maturity Rating icon and description string
-Monetization notice (eg ads and/or in-app purchases)

Bug: 35098444
Test: includes new robotests in AppHeaderControllerTest.java
Change-Id: Ifadfedc7f5f349869d6616aeb5ed19eb2b22a038
ppHeaderController.java
nstantapps/InstantAppDetails.java
4be105e9f46567bfde1f0903e4a212fcf21d5c54 08-Feb-2017 Fan Zhang <zhfan@google.com> Checke radio on default app screen if there's 1 option only

Change-Id: Ib091eb033ce541dc6a6d97ef45a15a5eb957e405
Fix: 34746591
Test: make RunSettingsRoboTests -j40
efaultapps/DefaultAppPickerFragment.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
anageApplications.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
anageApplications.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
anageApplications.java
3ac757ee2e86818223f14044fe60cd9f8c7e4700 03-Feb-2017 Svet Ganov <svetoslavganov@google.com> Refactoring of auto fill - lifecycle, auth, improvements - Settings

Test: manual

Change-Id: Ie425bfe1c71640cebe129cc0a2d5d09b731c57de
efaultAutoFillPreference.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
anageApplications.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
ileViewHolderController.java
anageApplications.java
usicViewHolderController.java
b3d76c0c22d0ccfd7e3f3fd1b847442a51dd9e2d 25-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add autofill app preference to Default Apps."
d506ddfc3f289fc5998242fb8b0f9633bd7f4ad1 18-Jan-2017 Jason Long <jasonlong@google.com> Add autofill app preference to Default Apps.

Add an option to AppListPreference to disable saving/restoring state.

Bug: 34396007
Test: Manual verification
Change-Id: I80103bd3d4e8fadfa30b7d3631d24c1b159da0dd
efaultAutoFillPreference.java
482908f22625791d051df16c24f94325dab0ae52 19-Jan-2017 Bartosz Fabianowski <bartfab@google.com> Add admin-set default apps to Enterprise Privacy Settings page

This CL adds information about the number of default handlers for
common intents (e.g. browser, e-mail, calendar) set by the admin.

Bug: 32692748
Test: make RunSettingsRoboTests

Change-Id: I569d9ddabeee2b2aa9a892b28066abb8bf920fcf
ppWithAdminGrantedPermissionsCounter.java
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.java
PackageManagerWrapper.java
PackageManagerWrapperImpl.java
2965d7505d641e77b1392b2197ee3303a7ad25c7 25-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove getCategoryKey() from DashboardFragment children."
7e6df837ee23a62879d2e5182f923388d209ce56 24-Jan-2017 Fan Zhang <zhfan@google.com> Remove getCategoryKey() from DashboardFragment children.

Use the centralized registry to look up category key instead.

Bug: 32936784
Test: make RunSettingsRoboTests -j40
Change-Id: I0b8c72d70f93e4b5c58871ac90de41f69ad15653
dvancedAppSettings.java
ppAndNotificationDashboardFragment.java
a1bae0ad7e07dc8b9d2023243ab4018130f8af66 24-Jan-2017 Winson Chung <winsonc@google.com> Merge "Update to new method to check if app supports picture-in-picture."
2b25b07a7b9f5b8303344404945a14cfe406537a 24-Jan-2017 Daniel Nishi <dhnishi@google.com> Merge "Hook up the Games storage category preference to a games view."
49d1448cc40585bb6c1f0b21afdf5b2578c1ad68 24-Jan-2017 Winson Chung <winsonc@google.com> Update to new method to check if app supports picture-in-picture.

- With change ag/1705896, we are no longer using resizeMode to
check for picture-in-picture support.

Bug: 34256643
Test: make -j40 RunSettingsRoboTests
Change-Id: Iea0c6e76db52d994295922580f14bb0cb0d65451
ctivityInfoWrapper.java
ctivityInfoWrapperImpl.java
ictureInPictureSettings.java
2a7c6bd84062ad80ee6da44283b1147be49de21a 24-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Adding settings for managing auto-enter picture-in-picture."
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
anageApplications.java
0a0d95a05a734d94c9fa5027e0181c61c375829d 20-Jan-2017 Winson Chung <winsonc@google.com> Adding settings for managing auto-enter picture-in-picture.

- Add per-app setting for users to control whether an app can
enter picture-in-picture when it is hidden.

Bug: 34520451
Test: make -j40 RunSettingsRoboTests
Change-Id: I182d6069ad01e42f1d3d6623ea21362ce802efba
Signed-off-by: Winson Chung <winsonc@google.com>
ctivityInfoWrapper.java
ctivityInfoWrapperImpl.java
nstalledAppDetails.java
ictureInPictureSettings.java
35692cf439fe1067ea742174033f5748a08a5d66 14-Jan-2017 Fan Zhang <zhfan@google.com> Full screen default app fragment

Fix: 34280137
Test: make RunSettingsRoboTests
Change-Id: Ib44e39589781d68c7952a2c16a44682791a422f1
dvancedAppSettings.java
ppAndNotificationDashboardFragment.java
efaultBrowserPreference.java
efaultEmergencyPreference.java
efaultHomePreference.java
efaultNotificationAssistantPreference.java
efaultPhonePreference.java
efaultSmsPreference.java
nstalledAppDetails.java
ackageManagerWrapper.java
ackageManagerWrapperImpl.java
efaultapps/DefaultAppInfo.java
efaultapps/DefaultAppPickerFragment.java
efaultapps/DefaultAppPreferenceController.java
efaultapps/DefaultBrowserPicker.java
efaultapps/DefaultBrowserPreferenceController.java
efaultapps/DefaultEmergencyPicker.java
efaultapps/DefaultEmergencyPreferenceController.java
efaultapps/DefaultHomePicker.java
efaultapps/DefaultHomePreferenceController.java
efaultapps/DefaultNotificationAssistantPicker.java
efaultapps/DefaultPhonePicker.java
efaultapps/DefaultPhonePreferenceController.java
efaultapps/DefaultSmsPicker.java
efaultapps/DefaultSmsPreferenceController.java
efaultapps/DefaultWorkBrowserPreferenceController.java
efaultapps/DefaultWorkPhonePreferenceController.java
60c7f095d564fcd4d1cf7bdc014624b39874e582 20-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Adding Manage External Sources Settings"
91bae6ca23a7e56d8c8247b8470748747f26b219 19-Jan-2017 Fyodor Kupolov <fkupolov@google.com> Tron metric for force stop app

Test: Manual
Bug: 31008660
Change-Id: I7c7818036286764ffa10bdc0d718b71a459846d9
nstalledAppDetails.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
ppStateInstallAppsBridge.java
xternalSourcesDetails.java
anageApplications.java
16f1fc66c2a5629e39001705bd6b761f4792cddc 18-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Tron metrics for special permissions"
5a638a6ad159dd489de3da1089327f71e2138911 18-Jan-2017 Tamas Berghammer <tberghammer@google.com> DO NOT MERGE: Revert "Update package names to work with the proto3 compiler"

This reverts commit fbd5f5fdce07a6d77dd2c3309c7272bf33414396.

Change-Id: I769f7a0f509996ccc39fd1c628cad7e5ec1202bf
dvancedAppSettings.java
ppLaunchSettings.java
ppOpsDetails.java
ppOpsSummary.java
ppStorageSettings.java
ackgroundCheckSummary.java
onfirmConvertToFbe.java
onvertToFbe.java
rawOverlayDetails.java
nstalledAppDetails.java
anageApplications.java
anageAssist.java
anageDomainUrls.java
remiumSmsAccess.java
rocessStatsDetail.java
rocessStatsMemDetail.java
rocessStatsSummary.java
rocessStatsUi.java
unningServiceDetails.java
unningServices.java
pecialAccessSettings.java
sageAccessDetails.java
rListenerSettings.java
riteSettingsDetails.java
2328946b581276088cd37cc316c15f38b0f9129d 14-Jan-2017 Fyodor Kupolov <fkupolov@google.com> Tron metrics for special permissions

Added tron metrics for the following special permissions:
Battery optimisation
- APP_SPECIAL_PERMISSION_BATTERY_ALLOW
- APP_SPECIAL_PERMISSION_BATTERY_DENY
Device administrators
- APP_SPECIAL_PERMISSION_ADMIN_ALLOW (when checked)
- APP_SPECIAL_PERMISSION_ADMIN_DENY (when unchecked)
Do not disturb access
- APP_SPECIAL_PERMISSION_DND_ALLOW
- APP_SPECIAL_PERMISSION_DND_DENY
Daw over other apps
- APP_SPECIAL_PERMISSION_APPDRAW_ALLOW
- APP_SPECIAL_PERMISSION_APPDRAW_DENY
VR helper services
- APP_SPECIAL_PERMISSION_VRHELPER_ALLOW
- APP_SPECIAL_PERMISSION_VRHELPER_DENY
Modify system settings
- APP_SPECIAL_PERMISSION_SETTINGS_CHANGE_ALLOW
- APP_SPECIAL_PERMISSION_SETTINGS_CHANGE_DENY
Notification access
- APP_SPECIAL_PERMISSION_NOTIVIEW_ALLOW
- APP_SPECIAL_PERMISSION_NOTIVIEW_DENY
Premium SMS access
- APP_SPECIAL_PERMISSION_PREMIUM_SMS_ALWAYS_ALLOW
- APP_SPECIAL_PERMISSION_PREMIUM_SMS_ASK
- APP_SPECIAL_PERMISSION_PREMIUM_SMS_DENY
Unrestricted data access
- APP_SPECIAL_PERMISSION_UNL_DATA_ALLOW
- APP_SPECIAL_PERMISSION_UNL_DATA_DENY
Usage access
- APP_SPECIAL_PERMISSION_USAGE_VIEW_ALLOW
- APP_SPECIAL_PERMISSION_USAGE_VIEW_DENY

Test: Manual + make RunSettingsRoboTests
Bug: 31008660
Change-Id: Id977e2c9f5aa811a2b0af036372b72c684621435
rawOverlayDetails.java
remiumSmsAccess.java
sageAccessDetails.java
rListenerSettings.java
riteSettingsDetails.java
9704a28c7b2934d40a70a4529a06641816be3d62 16-Jan-2017 Bartosz Fabianowski <bartfab@google.com> Add admin-granted permissions to Enterprise Privacy Settings page

This CL adds information about the number of apps that have been granted
particularly sensitive permissions (location, microphone, camera) by
the admin.

Bug: 32692748
Test: make RunSettingsRoboTests

Change-Id: I650d3e1ed3950960c58722b0c035a76daeb36478
ppWithAdminGrantedPermissionsCounter.java
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.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
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.java
nstalledAppCounter.java
anageApplications.java
ackageManagerWrapper.java
ackageManagerWrapperImpl.java
fbd5f5fdce07a6d77dd2c3309c7272bf33414396 22-Jun-2016 Tamas Berghammer <tberghammer@google.com> Update package names to work with the proto3 compiler

Bug: b/28974522
Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
(cherry picked from commit 265d3c2a0c36251bf8a9f571d7239b6dd404d942)
dvancedAppSettings.java
ppLaunchSettings.java
ppOpsDetails.java
ppOpsSummary.java
ppStorageSettings.java
ackgroundCheckSummary.java
onfirmConvertToFbe.java
onvertToFbe.java
rawOverlayDetails.java
nstalledAppDetails.java
anageApplications.java
anageAssist.java
anageDomainUrls.java
remiumSmsAccess.java
rocessStatsDetail.java
rocessStatsMemDetail.java
rocessStatsSummary.java
rocessStatsUi.java
unningServiceDetails.java
unningServices.java
pecialAccessSettings.java
sageAccessDetails.java
rListenerSettings.java
riteSettingsDetails.java
c8cae26b2133633cb30148c4425a0250c5ea407b 11-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove the app header from ManageApplications when used for storage."
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
anageApplications.java
6fbdb5df55ae91ec6f3f962d420282ea8cc48389 10-Jan-2017 Fan Zhang <zhfan@google.com> Fix NPE when opening app detail page for work profile app

Change-Id: I7a4e5e427801c688d4d16dfe64785b12cc97f445
Fix: 34156709
Test: RunSettingsRoboTests
nstalledAppDetails.java
d916dae21890bc9e844c3d0e6e5b744ef20472b9 07-Jan-2017 Fan Zhang <zhfan@google.com> Progressive disclosure on selected UIs: app, display

Bug: 32255863
Test: RunSettingsRoboTests
Change-Id: I1651433ba30a2b5f880095e07b5e2ed9c4e308b9
dvancedAppSettings.java
ppAndNotificationDashboardFragment.java
92f5a4844d7856b2cda78e34ad236ff98c5f8852 21-Dec-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Use MetricsEvent to log page views for new IA pages."
8f057ca3d401bc371bef9b2e94925cfe25980948 21-Dec-2016 Fan Zhang <zhfan@google.com> Use MetricsEvent to log page views for new IA pages.

Bug: 33812754
Test: RunSettingsRoboTests
Change-Id: Ib49daa1078df44f50ecfa351c061d36849708fd7
ppAndNotificationDashboardFragment.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
ppStateNotificationBridge.java
nstalledAppDetails.java
anageApplications.java
ec407ff78c69209c7071eefaf86e55cb1350872a 19-Dec-2016 Fan Zhang <zhfan@google.com> Left align preferences and graphs to leave space for icon.

Bug: 33559277
Test: Visual inspection
Change-Id: Iacf9556826174a03b1cbf8a6f179b63d8686c5f5
unningProcessesView.java
d5b48454a38cbc21efce91736ebd2895c6deae58 13-Dec-2016 Fan Zhang <zhfan@google.com> Build a new FooterPreference UI.

- Create a new layout for footer prefs.
- Create a new FooterPreference type to use the layout
- Create a Mixin to create and add the pref to screen
- Create a new lifecycle observer type to invoke mixin at right time
- Switch SettingsPreferenceFragment to use footer mixin.
- Switch FingerprintSettings to use the new footer pref.

Bug: 33579394
Test: RunSettingsRoboTests
Change-Id: I548ac39a0d120196a7ffed09b4f98bd9a80bae90
pplicationFeatureProvider.java
b6809667481476aa98685ffa49a594156065dbff 08-Dec-2016 Jaewoong Jung <jungjw@google.com> Merge "Makes app settings keep scroll position after unistalling apps."
36d0d143be78e234e7c92897cb63458279d6549b 07-Dec-2016 Fan Zhang <zhfan@google.com> Add search loader for installed apps.

- The loader filters out system apps.
- Loader performs case-insensitive match with app names.
- SearchResultAdapter combines results from multiple loaders into a
single list.

Fixes: 33347966
Test: make RunSettingsRoboTests
Change-Id: I228ca6fb82f0ac5151b2346c079c2de41104a4df
ackageManagerWrapper.java
ackageManagerWrapperImpl.java
f5c1577609bfb8c123474fda86d0bd4937c158e1 06-Dec-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add search provider for dashboard fragments in new IA."
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
ppOpsDetails.java
ppOpsSummary.java
ackgroundCheckSummary.java
anageApplications.java
rocessStatsMemDetail.java
unningServiceDetails.java
6e88635e97b200e4d070480e215c70ffc0ae9b37 05-Dec-2016 Fan Zhang <zhfan@google.com> Add search provider for dashboard fragments in new IA.

Bug: 33252252
Test: make RunSettingsRoboTests
Change-Id: I8ea3a144f2bee3d979b909aba29a3360e25fd04b
ppAndNotificationDashboardFragment.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
anageApplications.java
21556cdba176e8c544ecf24522d4939dcf0dcc2c 01-Nov-2016 Amith Yamasani <yamasani@google.com> Adapt to behavior change in MATCH_UNINSTALLED_PACKAGES

Don't use the PM flag to reach across users.
If retrieving labels, etc., use MATCH_ANY_USER, since
several Settings screens show work profile apps as well.

Bug: 31000380
Test: Manual test of affected screens
Change-Id: Ib6f981ae8443f640276d395c37247c8c0b610894
ppCounter.java
ppInfoBase.java
ppOpsDetails.java
ppOpsState.java
nstalledAppDetails.java
rocStatsPackageEntry.java
unningState.java
a532263fce6e5f0d5477d26741cfb8abac1d0abf 22-Nov-2016 Jean-Michel Trivi <jmtrivi@google.com> Merge "Add appOps settings for accessibility volume control"
db910257e272b79ea9e4f4b2edb9d72c42862de8 15-Jan-2016 Honglu Yin <honglu.x.yin@sonymobile.com> Title is different after tapping "Memory used by apps"

“App usage” is displayed as title after tapping
“Memory used by apps” on “Memory” screen. Change the
title from “App usage” to “Memory used by apps” for
consistency.

Bug: 32997657
Change-Id: I3bada43f1fea1ae9acabb151ac68b60900a26dda
rocessStatsSummary.java
62b96811c15d635a475e87ea22c4cedad1567bb6 18-Nov-2016 Bartosz Fabianowski <bartfab@google.com> Populate Enterprise Privacy Settings page - batch 1

This CL adds the first batch of items to the Privacy Settings page.
These are all the items that fall into the "What types of
information can your organization see?" category and do not require
deeper Framework changes. Further batches are to come in separate
CLs.

Test: make RunSettingsRoboTests
Bug: 32692748
Change-Id: I460093bc45ed0e5baab2a5cdf9833e654d436cc9
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.java
ackageManagerWrapper.java
ackageManagerWrapperImpl.java
172f4c51ad63fbc4dfab3988d39c5b98c095b61b 18-Nov-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Extract counting of installed apps into helper class"
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
ppCounter.java
nstalledAppCounter.java
anageApplications.java
otificationApps.java
ackageManagerWrapper.java
ackageManagerWrapperImpl.java
ee904e89f2b41bedd731b032c5bf4330679b76b2 17-Nov-2016 Fan Zhang <zhfan@google.com> Add dynamic tiles to development settings.

Remove static preference for MemorySettings and change it to dynamic
using manifest metadata.

Bug: 32623105
Test: RunSettingsRoboTests

Change-Id: Id224eb8a25fea03c75b8fb0b16842bc5b427897a
rocessStatsPreferenceController.java
2792b106f77cbf5671a288448dc02a0548883860 11-Nov-2016 Jean-Michel Trivi <jmtrivi@google.com> Add appOps settings for accessibility volume control

Test: make
Bug 30448020

Change-Id: I88b6fa1da646f4067115d4ef77051f1fed5fa46c
ppOpsState.java
acb1a61f3f1309fadbf762f4273fc6f641927586 11-Nov-2016 Sudheer Shanka <sudheersai@google.com> Update usage of ActivityManagerNative.

Bug: 30977067
Test: N/A
Change-Id: I46e37a09cff059d2784a819bc2651d6973fbd268
unningState.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
anageApplications.java
rocessStatsBase.java
994efdf467f9c1238903bfc3141f1e827df24356 09-Nov-2016 Julia Reynolds <juliacr@google.com> Merge "Allow users to pick a notification assistant."
0f3dd6d1680b391c2e618eaf4648b891316de058 08-Nov-2016 Julia Reynolds <juliacr@google.com> Allow users to pick a notification assistant.

Test: manual. select and deselect an assistant, and verify that
the assistant can and then cannot get notification events.

Change-Id: If89c77f37170a44c827f997631aa7413da5a83e2
efaultNotificationAssistantPreference.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
dvancedAppSettings.java
ppInfoBase.java
ppLaunchSettings.java
ppOpsDetails.java
ppOpsSummary.java
ppStorageSettings.java
ackgroundCheckSummary.java
onfirmConvertToFbe.java
onvertToFbe.java
rawOverlayDetails.java
nstalledAppDetails.java
anageApplications.java
anageAssist.java
anageDomainUrls.java
remiumSmsAccess.java
rocessStatsDetail.java
rocessStatsMemDetail.java
rocessStatsSummary.java
rocessStatsUi.java
unningServiceDetails.java
unningServices.java
pecialAccessSettings.java
sageAccessDetails.java
rListenerSettings.java
riteSettingsDetails.java
9f74ef8d4b0750573b91c901b69d2aa852f57c02 03-Nov-2016 Fan Zhang <zhfan@google.com> Add memory settings to developer setting.

Bug: 32623105
Test: make RunSettingsRoboTests
Change-Id: I81e38b1ea4e59c330d0eef078af2751b3de739fe
rocessStatsPreferenceController.java
8109a0fb6bc288babc757a9e61db9f469134d421 03-Nov-2016 Lei Yu <jackqdyulei@google.com> Merge "Show "uninstall for all users" when >1 users installed it."
ec767cc440de9d04ad05b0ecfe2be5347e9e82cb 25-Oct-2016 Julia Reynolds <juliacr@google.com> Channel updates from users lock fields from interference.

Also some apis have changed.

Test: manual, modify settings and check policy xml.

Change-Id: I967cb1fb30d8d400bdc0f3aa92fa07b4c87ddcf5
ppStateNotificationBridge.java
nstalledAppDetails.java
80d1ec7deea2f4719f0cb1a6da053f52f007004c 30-Oct-2016 Fan Zhang <zhfan@google.com> Tweak UI for action buttons under app header.

- Make a transparent button with border style

Bug: 1584976
Test: manual
Change-Id: Ide53d71963afd4587834357999b40df81bb93500
ppHeaderController.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
ppHeaderController.java
ppInfoWithHeader.java
anageApplications.java
rocessStatsDetail.java
5abaef7dd1496fa0f1acb23c28f967f59fca27ff 28-Oct-2016 Fan Zhang <zhfan@google.com> Use new app header in more screens.

- This covers all subclasses of AppInfoWithHeader: app launch settings,
app storage settings, draw over settings, write setting details,
usage access settings.

Bug: 32442716
Test: RunSettingsRoboTests
Change-Id: I8e5831a4fcce5f98c3a6cc6b0fd66bc4a53d1330
ppInfoWithHeader.java
rocessStatsDetail.java
1ff25ba7e6b500123a715b48123e39f70e0c1842 28-Oct-2016 Fan Zhang <zhfan@google.com> Modify AppHeaderController to provide UI for notif settings

- The AppHeaderController is no longer a singleton. Each time appheader
should be updated we will create a new controller. It acts as a
builder/mutator, user provides customizable inputs, and the controller
will bind everything to UI when calling done().

Bug: 32442716
Test: RunSettingsRoboTests
Change-Id: Icfc5bcd8bc170a02b57432d864eaddf71db0d5b4
ppHeaderController.java
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.java
nstalledAppDetails.java
6e3b964cf4afcf5dfd3e06370e989b0c17b93146 28-Oct-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "UI Refresh: a new app info header for app/notification."
c9536b8e4124e616f4cf9b2396b000a5355bf333 27-Oct-2016 Fan Zhang <zhfan@google.com> UI Refresh: a new app info header for app/notification.

- moved force stop and uninstall button to bottom of page (as footer)
- Forked appheader layout file, and created AppHeaderController to
contain all binding logic for header.

Bug: 32442716
Test: RunSettingsRoboTests
Change-Id: Id4eb365ca25e035c043c068867f5cbc3a202b201
ppHeaderController.java
pplicationFeatureProvider.java
pplicationFeatureProviderImpl.java
nstalledAppDetails.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
anageApplications.java
e091cef8624b1f6686c5425858c0399f4fefce5c 25-Oct-2016 jackqdyulei <jackqdyulei@google.com> Show "uninstall for all users" when >1 users installed it.

Bug: 32167081
Test: make SettingsTests

Change-Id: I407549838d40c160a84a36f2d9ebaa8dc73d6008
nstalledAppDetails.java
4136d902bf983b3efba04d1ffde8559f2dc63c6b 21-Oct-2016 Fan Zhang <zhfan@google.com> Add app default UI to App & Notifications.

Bug: 31799948
Test: RunSettingsRoboTests
Change-Id: Icca4954f82af38316cc232b8879c0f7e7869ecb3
dvancedAppSettings.java
anageApplications.java
cdacd1df9ae2f405abc17545db2876c7df191730 21-Oct-2016 Fan Zhang <zhfan@google.com> Add initial preferences to App&Notification screen.

Bug: 31799948
Test: manual
Change-Id: I93f9d6562f51d37fcd78bada2f7c37d6b16daabb
dvancedAppSettings.java
f37be6a859c2d5c12c1e485795699762d53bd5f1 20-Oct-2016 Fan Zhang <zhfan@google.com> Add empty page for App & Notifications

Bug: 31799948
Test: manual
Change-Id: Iaab1a5988af30504d4e34ff4f63ae69e86b70f27
ppAndNotificationDashboardFragment.java
47d00cf15844d7af6788252763b454abc43acab0 12-Oct-2016 Salvador Martinez <dehboxturtle@google.com> Memory Usage by apps no longer shows empty icon

ProcessStatsPreference will now fallback to a
default icon instead of an empty icon. Logging
was added to be able to identify what causes
list to add entries with no text.

Test: Manual, requires installing -> uninstalling an app
Bug: 31812426
Change-Id: Ia1b147ba7a552ec4880776ebf8dba6745154117a
rocStatsPackageEntry.java
rocessStatsPreference.java
062358f8adfcb8ba057a4100a828e21845371907 07-Oct-2016 Salvador Martinez <dehboxturtle@google.com> Added onClick logic for domain url list screen am: 26e5760033 am: 1d383e1220
am: 6a832d4db6

Change-Id: I15c67361c870f846641dbc1b96d1f8701af54301
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
6a832d4db607c5b58585eeab28e88e654c4dcaba 07-Oct-2016 Salvador Martinez <dehboxturtle@google.com> Added onClick logic for domain url list screen am: 26e5760033
am: 1d383e1220

Change-Id: Ib1e58b680a866dea0b4ac398215d94f6c636f1cc
1d383e1220df1ef75e2f8f85eded87f438cf8b86 07-Oct-2016 Salvador Martinez <dehboxturtle@google.com> Added onClick logic for domain url list screen
am: 26e5760033

Change-Id: I11428c85ef077b7eee6ec7b6722463e86ac21a9b
15c14f0cc2720bbf3b5cc14463511a79f466e3d6 06-Oct-2016 jackqdyulei <jackqdyulei@google.com> Add "FILTER_NOT_HIDE" for all app filters. am: d785a8db78
am: 00ed827516

Change-Id: I108753ea9af54aba754a8899f02a3f100f3b38fd
26e5760033c5c3d4f64a0cb34e436fdd95bf7e68 05-Oct-2016 Salvador Martinez <dehboxturtle@google.com> Added onClick logic for domain url list screen

This class was created from a code refactoring
in ManageApplications but the functionality
associated with clicking on a preference was
accidently left out. This CL restores that
functionality.

Test: run ManageDomainUrlsEspressoTest class
Bug: 31958776
Change-Id: I1a7f5ee92daeebdb9fd7d9c83a564f0d104aa562
anageDomainUrls.java
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
anageApplications.java
88075948007aa87cc6c859b5744d64871826a78a 29-Sep-2016 Salvador Martinez <dehboxturtle@google.com> Maintain focus on switch for a11y

Modified subsetting where user can toggle
if an app should be able to modify system
settings so that talkback announces state
change properly.

Test: Accessibility Scanner, Manual Verification
Bug: 31755538
Change-Id: I54ad016b5edb0937b77cfdeef0cfcae24a78e2a2
riteSettingsDetails.java
0162daa6510f845f8636e64a3adc3f914907e95c 19-Sep-2016 jackqdyulei <jackqdyulei@google.com> Disable the control of draw over permission for SystemUI

Bug: 31077838
Test: make SettingsTests && adb install -r \
${OUT}/data/app/SettingsTests/SettingsTests.apk \
&& adb shell am instrument -w \
'com.android.settings.tests/android.support.test.runner.AndroidJUnitRunner'

Change-Id: I760590f5558f2d686ffbfe78234a8b08e13883fd
ppStateOverlayBridge.java
rawOverlayDetails.java
265f4ca3798380697435b78841ff6130155dadd6 23-Sep-2016 Todd Kennedy <toddke@google.com> Add remote control of Instant Apps am: 6ed0c7e8d7 am: d95430cbe6
am: 212eb25768

Change-Id: Id1321667de7ca2b400c06a61a20ba10239697531
212eb25768eee6d381b8ced76740cece6c25877c 22-Sep-2016 Todd Kennedy <toddke@google.com> Add remote control of Instant Apps am: 6ed0c7e8d7
am: d95430cbe6

Change-Id: I3a052aeb59f608d21a3be43691128e2b7acd56a4
1e516287bd0c910f83d2ead28bf67e26dfbead86 16-Sep-2016 Fan Zhang <zhfan@google.com> Add visibility metrics to dialogs.

Bug: 30681529
Test: adb logcat -b events | egrep "(sysui_|notification_)"
Change-Id: I199d2e1b2cb8588a562b46bb8128d8ece24952f0
ppInfoBase.java
unningServiceDetails.java
9560b36306855218c3cf8bf3a11864ba07f4c837 17-Sep-2016 Tomohiro Takeda <tomohiro.takeda@sonymobile.com> Merge "Fix ApplicationsState.Session memory leak in settings app" am: 00a2619a10 am: 7b357f0b55 am: 2a03d33945
am: c1cb46cab6

Change-Id: I6671f8df8764945b34fc3ccf30594164be4905c2
c1cb46cab6cbb8f6a1be2d4c15dae8fac7dd82dc 17-Sep-2016 Tomohiro Takeda <tomohiro.takeda@sonymobile.com> Merge "Fix ApplicationsState.Session memory leak in settings app" am: 00a2619a10 am: 7b357f0b55
am: 2a03d33945

Change-Id: I0e481a1aa22a94f6a0a7c32147cd4e8c87052ce2
6ed0c7e8d7b987b04ae57fa9591f4db6711cbf9b 14-Sep-2016 Todd Kennedy <toddke@google.com> Add remote control of Instant Apps

Bug: 31470039
Test: manual
Change-Id: I82eb47f4d24fb88d0f264eca1176aec55364867c
anageDomainUrls.java
788671647c6d615684d159a94ffb5b4367df6896 12-Sep-2016 Robin Lee <rgl@google.com> Eliminate useless 'isManagedProfile' utils method

This exists in UserManager now

Change-Id: If35326a1fe0de3c7bfde842c5c170899dc5d819b
nstalledAppDetails.java
6cd4db05768b2582a953348e318b066310b5f300 08-Jan-2016 Tomohiro Takeda <tomohiro.takeda@sonymobile.com> Fix ApplicationsState.Session memory leak in settings app

Removes the creation of an unused session and some other redundant code
left behind when c5291b87 was applied.

Change-Id: Ie5ec0f00b3240df9cf2c4fa3bd05b49ba45f4547
dvancedAppSettings.java
ada98fb5b3d558cffd0d023430e62c10b8ed14cd 31-Aug-2016 Andreas Gampe <agampe@google.com> resolve merge conflicts of d30af7c to master

Change-Id: I3484e0e6c2a092f05539af569a9d9131f006ecf1
d30af7c2471092baa63b764a5df03ba7638f8672 31-Aug-2016 Todd Kennedy <toddke@google.com> Implement Web Action settings am: d5824967ee
am: 1fc2e5dcb7

Change-Id: I4e4976e848af3e8d12b65730147be1257fed382c
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
anageApplications.java
anageDomainUrls.java
98d840576e70bef4fa10526d5fdd01eecca443b3 24-Aug-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Refactored Screenshot preference to be dependent on context preference."
90d59f2332f85ea59f25aa696e1ac8e963b98f53 18-Aug-2016 Matthew Fritze <mfritze@google.com> Refactored Screenshot preference to be dependent on context preference.

Tests: Manual.

Change-Id: I2fde1a67ade4bf89bf38b4eae0ca98074cca868c
Fixes: 30681087
anageAssist.java
753f95d7e0c77f3a70ac6d2d8e51cc326bb1ee72 23-Aug-2016 Doris Ling <dling@google.com> Fix crash when selecting AppInfo for uninstalled app from Recents. am: 7574b64910
am: 0f7d5f36a3

Change-Id: I91f1ee6cebb8af959b0dbed6aa213fae4c8de605
bf61bf6459034be224039904f0365ac5db9fe052 23-Aug-2016 Matthew Fritze <mfritze@google.com> Stop apps with Storage Managers from launching activity when disabled am: 1051fe1e14
am: 7444ee791c

Change-Id: Ia358b60aff78a967663112399a260ffc2de27668
0f7d5f36a31607d400a3e97148ac345d58ab5c34 23-Aug-2016 Doris Ling <dling@google.com> Fix crash when selecting AppInfo for uninstalled app from Recents.
am: 7574b64910

Change-Id: I9ade2a06180e6464ab105c1a12c5383aa480f77a
7444ee791ce52eb51bd0a6f59e2077e4ea84e538 23-Aug-2016 Matthew Fritze <mfritze@google.com> Stop apps with Storage Managers from launching activity when disabled
am: 1051fe1e14

Change-Id: Ib2ae9dcbd034c36c44addfaea0bc84ebe3f2247b
6cdd5fccd89733a4f21c650109d81b3459ad6e58 23-Aug-2016 Doris Ling <dling@google.com> Merge "Fix crash when selecting AppInfo for uninstalled app from Recents." into nyc-mr1-dev
88d3cb7176a43d8ce2cf05c6acaa770f9128db91 23-Aug-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Stop apps with Storage Managers from launching activity when disabled" into nyc-mr1-dev
136fe5468c33c29e9f18eabce0afcf7b414d2f30 22-Aug-2016 Fan Zhang <zhfan@google.com> Have a fallback package name when matching targetPackage. am: 0c58131c37
am: 2dd0275d66

Change-Id: I4ecd52a133db924a47fcaf843a32c64227134fd8
2dd0275d669bd8b8dc4ab445b6c6156331f245ed 22-Aug-2016 Fan Zhang <zhfan@google.com> Have a fallback package name when matching targetPackage.
am: 0c58131c37

Change-Id: I0c57b1a71c6388a3fdfc761b44b142abfdf40bcb
5a6fad7607df00e36fa28a090d17f2e9a8bf20d0 22-Aug-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Have a fallback package name when matching targetPackage." into nyc-mr1-dev
7804d47be3684a1c8f8c20d03239d74ade183099 22-Aug-2016 Fan Zhang <zhfan@google.com> Hide default phone preference when there is no phone app. am: dc1e04035b
am: 0ae351771e

Change-Id: I8751c22c53b66b69f1a8a4d20f4997bb40316764
0c58131c37559ba193c48120b03be15b731477ab 12-Aug-2016 Fan Zhang <zhfan@google.com> Have a fallback package name when matching targetPackage.

Bug: 29774397

When figuring out best match package name, we should have a fallback.
Otherwise sometimes we get empty package names, causing problems when
trying to display memory usage for each app.

Change-Id: I9cc4205098bb7c727a3063b2275fb464c8153097
(cherry picked from commit d5ff4c42924d11c32ab591f5cef00694ce035e15)
rocStatsEntry.java
dc1e04035b438570fba85b245ef8f5463dda0be3 15-Aug-2016 Fan Zhang <zhfan@google.com> Hide default phone preference when there is no phone app.

Bug: 29859821
Change-Id: Ia6de0de04d74f4f947243f38ac2bd190ae586401
(cherry picked from commit bc6fc60683082dea6e91872e029787a0039e4cb5)
efaultPhonePreference.java
1051fe1e14ddbf20c0eb2dd68130c99c24eb4604 02-Aug-2016 Matthew Fritze <mfritze@google.com> Stop apps with Storage Managers from launching activity when disabled

An app with a storage manager would be able to launch Manage Storage
from application settings, but when the app was disabled, the
activity would be null.

Test: In order to properly unit test this function, a large redesign is
needed in this class, and is outside the scope of this bug.

Change-Id: Ia6b78bc6761bac8b701c904a6e438bbd951b63e8
Fixes: 30457616
(cherry picked from commit 8f17fcaa1dd85c816916ffbed3f66ad80c2bbf0a)
ppStorageSettings.java
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
ppInfoBase.java
nstalledAppDetails.java
73f857ce21164c54505caaa92496a5d23a4a10e0 18-Aug-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Stop apps with Storage Managers from launching activity when disabled"
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
dvancedAppSettings.java
ppLaunchSettings.java
ppOpsDetails.java
ppOpsSummary.java
ppStorageSettings.java
ackgroundCheckSummary.java
onfirmConvertToFbe.java
onvertToFbe.java
rawOverlayDetails.java
nstalledAppDetails.java
anageApplications.java
anageAssist.java
remiumSmsAccess.java
rocessStatsDetail.java
rocessStatsMemDetail.java
rocessStatsSummary.java
rocessStatsUi.java
unningServiceDetails.java
unningServices.java
pecialAccessSettings.java
sageAccessDetails.java
rListenerSettings.java
riteSettingsDetails.java
8f17fcaa1dd85c816916ffbed3f66ad80c2bbf0a 02-Aug-2016 Matthew Fritze <mfritze@google.com> Stop apps with Storage Managers from launching activity when disabled

An app with a storage manager would be able to launch Manage Storage
from application settings, but when the app was disabled, the
activity would be null.

Test: In order to properly unit test this function, a large redesign is
needed in this class, and is outside the scope of this bug.

Change-Id: Ia6b78bc6761bac8b701c904a6e438bbd951b63e8
Fixes: 30457616
ppStorageSettings.java
a36e4ca65682cfa80a505ce128bca8f7f75b8e4d 16-Aug-2016 Doris Ling <dling@google.com> Merge "Fix crash in Storage app info when the corresponding app is uninstalled in the background."
0436ed762008f8085c1b08a755d2da1973320f94 16-Aug-2016 Fan Zhang <zhfan@google.com> Merge "Hide default phone preference when there is no phone app."
bc6fc60683082dea6e91872e029787a0039e4cb5 15-Aug-2016 Fan Zhang <zhfan@google.com> Hide default phone preference when there is no phone app.

Bug: 29859821
Change-Id: Ia6de0de04d74f4f947243f38ac2bd190ae586401
efaultPhonePreference.java
cbd67e87de84e2015c14f0b6067c8267d1ddd972 13-Aug-2016 Adrian Roos <roosa@google.com> resolve merge conflicts of 523ec54 to master

Change-Id: I2f31db207be03a01be7786a0c93abdbb6b84fbf6
523ec5476d12ca500a386815719e66a287394ba5 13-Aug-2016 Adrian Roos <roosa@google.com> Assist: Allow disabling the disclosure animation am: fff9fd87bf
am: cea8891d5a

Change-Id: Ib18f9a866942cc40752b7ff36d2cd6a2aa6e7084
36e953fbe5e7c4e2ca54a1ca4c4d293b24a4cb54 13-Aug-2016 Doris Ling <dling@google.com> 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
ppInfoBase.java
nstalledAppDetails.java
d5ff4c42924d11c32ab591f5cef00694ce035e15 12-Aug-2016 Fan Zhang <zhfan@google.com> Have a fallback package name when matching targetPackage.

Bug: 29774397

When figuring out best match package name, we should have a fallback.
Otherwise sometimes we get empty package names, causing problems when
trying to display memory usage for each app.

Change-Id: I9cc4205098bb7c727a3063b2275fb464c8153097
rocStatsEntry.java
fff9fd87bfa45481442a10b6f6086ecd498a98bd 12-Aug-2016 Adrian Roos <roosa@google.com> Assist: Allow disabling the disclosure animation

Change-Id: I18a2e4144c762a0833d2384c51f916b841dfc8b3
Fixes: 30809067
anageAssist.java
f4c8f6ee15d53757220a550ccbf3ae865e70975d 04-Aug-2016 Doris Ling <dling@google.com> 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
nstalledAppDetails.java
5a845315f405aca9f2dba245f41e094e60795aab 04-Aug-2016 Doris Ling <dling@google.com> Merge "Fix crash when selecting AppInfo for uninstalled app from Recents."
8cf267bc284d5f6027aea373dc54ebb28c576851 02-Aug-2016 Salvador Martinez <dehboxturtle@google.com> Fixed storage used not updating when app disabled

Changes were made to ensure that the amount of
storage being used by a built-in app is properly
updated when the app is disabled/enabled.

Fixes: 30504019
Change-Id: Iba31392791bd1b54d8007d6ee0bd73dfd8f0de67
nstalledAppDetails.java
24299b82f262d746c61960fd608ee9d00065cb25 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
nstalledAppDetails.java
3ccc53d3091fbbee517bfceb0b204ca5e2e27119 28-Jul-2016 Matthew Fritze <mfritze@google.com> Assist and Voice Input SwitchPreferences animate with talkback am: 91e3e434cf
am: c1e6a5fe39

Change-Id: I7cc31d00719dac72711689abc2c8c149534a65cc
c1e6a5fe39021d9f89ecd9676e8321a0d58943cc 28-Jul-2016 Matthew Fritze <mfritze@google.com> Assist and Voice Input SwitchPreferences animate with talkback
am: 91e3e434cf

Change-Id: Ibd175cf6de45e5783f9f05b79d6a110d277e4f49
1c4c0af613c8f567d9d41ecbdef796d84b2976b5 28-Jul-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Assist and Voice Input SwitchPreferences animate with talkback" into nyc-mr1-dev
91e3e434cfc384c5546886442091ac4949bcb369 28-Jul-2016 Matthew Fritze <mfritze@google.com> Assist and Voice Input SwitchPreferences animate with talkback

Toggling Use text from screen now animates the switch preference
and has the appropriate "on/off" talkback response.

Change-Id: Ib5f940f251c45ead3a908d7f762eebb5f76931fb
Fixes: 30205119
anageAssist.java
e98675ce8c4ff06166ab98089a6572355f1cefcb 28-Jul-2016 Jeff Sharkey <jsharkey@android.com> Warn users when selecting non-Direct Boot apps. am: 4a8136b51b
am: f3449fb81e

Change-Id: Id6b2d3ebd5789a3077b9474922bc0a1bac9d0801
4a8136b51b746961aac6f5ce2459effef8c22680 27-Jul-2016 Jeff Sharkey <jsharkey@android.com> Warn users when selecting non-Direct Boot apps.

Certain apps like Phone, SMS, Emergency Info, and IME are critical
enough that they ideally need to be runnable before the device is
unlocked after a reboot. Users can still pick non-Direct Boot aware
apps, but this change now warns users that the selected app won't be
runnable until after unlocking.

Bug: 27196876
Change-Id: I0498904d2f664fb41e8c1e6bb30d1cbf437cf4b9
efaultEmergencyPreference.java
efaultPhonePreference.java
efaultSmsPreference.java
67cf3e6a8870f1b13f23d0fc3c7fde0f41df513b 15-Jul-2016 Tony Mak <tonymak@google.com> Merge \"Disallow user to block notification from OobConfig\" into nyc-mr1-dev
am: 080f794b6e

Change-Id: Ia7a8bda97395cb403ba1db94cb9048e1f43ed9e8
6ba9e15c4af5085a8923ff2c3045061e667ef135 14-Jul-2016 Tony Mak <tonymak@google.com> Disallow user to block notification from OobConfig

Change-Id: I4680e5c5b596e81ac33d544d0d81de9df3b7587c
Fix: 29632126
nstalledAppDetails.java
f32c1b77f5974bf70dfda0049ca24d9f37ba37c7 12-Jul-2016 Fan Zhang <zhfan@google.com> Merge \"Use app name as summary in default home app setting.\" into nyc-mr1-dev
am: 0fd709bf44

Change-Id: Ie2ea62621d24f8c2d6867fb6b8f4c3b00c57333d
233daf469da553474338f485661419db695075d7 12-Jul-2016 Fan Zhang <zhfan@google.com> Use app name as summary in default home app setting.

Bug: 27834147

Condition: Only use app name as summary if there is only 1 launcher app
installed.

Change-Id: Idb9b55d5618bbdbea6446758f2fcd09d0d6309af
efaultBrowserPreference.java
efaultHomePreference.java
4e77176ca329ec9c98130ab5a0c4a48439ae107b 27-Jun-2016 Steven Ng <stevenckng@google.com> Merge \"Disable \"disable\" button for the device provision app in the Settings app\" into nyc-mr1-dev
am: 8aee45afb6

Change-Id: Ic6fb6f14c8375acd1b0395ad879ae4868e7f7c79
8aee45afb6a13a560b41d0e2e13487e632ad6db3 27-Jun-2016 Steven Ng <stevenckng@google.com> Merge "Disable "disable" button for the device provision app in the Settings app" into nyc-mr1-dev
61c34c05568e709a2843412c1be5b5831bb270b8 22-Jun-2016 Andrew Sapperstein <asapperstein@google.com> Merge \"Update Settings to use DeviceDefault.Settings.\" into nyc-mr1-dev
am: 70ff5f8fa1

Change-Id: I3b556a3f7b0146deadf59b7c8fb244580b060fdf
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
nstalledAppDetails.java
5b66e143ccf158db32b7b69fffeb7df02af72327 11-Jun-2016 Andrew Sapperstein <asapperstein@google.com> Update Settings to use DeviceDefault.Settings.

BUG: 28625050

Change-Id: Id283703a309cf27bb284147421614196e903c660
inearColorBar.java
unningProcessesView.java
ca26435ca0e3462d71119529ddea37529c94113f 17-Jun-2016 Jason Monk <jmonk@google.com> Merge \"Protect against crash in memory details\" into nyc-dev
am: c3ec1ab889

Change-Id: If36b3350e0694ffae3086be9307295c4516828dd
07e52aeb1c6a7ecea3bb7235045285568035790a 17-Jun-2016 Jason Monk <jmonk@google.com> Merge \\"Protect against crash in memory details\\" into nyc-dev am: c3ec1ab889
am: 989a52dc8d

Change-Id: I09960da265e426c58fc651d3c9b932f20633f1fb
989a52dc8d18e8fc8699c0d27f8b21d15315b859 17-Jun-2016 Jason Monk <jmonk@google.com> Merge \"Protect against crash in memory details\" into nyc-dev
am: c3ec1ab889

Change-Id: I64ec49c820c21971056b342908a1e0c33d394d72
7a19965c9f4385bce0671f034b68e3bddfa5cc39 17-Jun-2016 Jason Monk <jmonk@google.com> Protect against crash in memory details

Change-Id: Ie80efa04d0c6bc9c117802e5a7018d448f4dc7b8
Fixes: 29308942
rocessStatsDetail.java
1fb5f435cfdce115bbc099c2b26fbb98ef28c73d 10-Jun-2016 Svetoslav Ganov <svetoslavganov@google.com> Merge \\"Don\\'t send user to permissions screen if none requested\\" into nyc-dev am: 3e5318496e
am: 650cc723d1

Change-Id: I7c2309f8ccc006cf0b37e5dce6bb75bef927b747
650cc723d108704b95d1d0810eb628660abc2f0b 10-Jun-2016 Svet Ganov <svetoslavganov@google.com> Merge \"Don\'t send user to permissions screen if none requested\" into nyc-dev
am: 3e5318496e

Change-Id: I9f04ac2bda5816997e86aa6aee683df3bbfcb74d
09841419431d544861fc5711ce5482709efda91c 10-Jun-2016 Svet Ganov <svetoslavganov@google.com> Merge \"Don\'t send user to permissions screen if none requested\" into nyc-dev
am: 3e5318496e

Change-Id: I6060ae5a113025b0cfbbd8ff1f58599cb8f4cf7e
30ee6ab320cc66575d6d09a654051ab8632a7a79 09-Jun-2016 Svet Ganov <svetoslavganov@google.com> Don't send user to permissions screen if none requested

bug:29105157

Change-Id: I90ef18f41deae9a7cf28192bd47f16c3af262c29
nstalledAppDetails.java
d2a07dfdfa740fcc22a64ab3269251caec12270c 01-Jun-2016 Jason Monk <jmonk@google.com> Merge "Fix apps spinner jank." into nyc-dev am: ad302548ea
am: dc8738fda2

* commit 'dc8738fda2a077bef2a08fd0b2444a4489b5388a':
Fix apps spinner jank.

Change-Id: I48b1645138c047f995fb379a837594964bd27e2d
dc8738fda2a077bef2a08fd0b2444a4489b5388a 01-Jun-2016 Jason Monk <jmonk@google.com> Merge "Fix apps spinner jank." into nyc-dev
am: ad302548ea

* commit 'ad302548ea5a030c2e44eb22a212285493037729':
Fix apps spinner jank.

Change-Id: I910f10090e2407c683435f7d3c4d20036c2465b5
f4c27c2689bace3065fda604db29327266e815ab 01-Jun-2016 Jason Monk <jmonk@google.com> Merge "Fix apps spinner jank." into nyc-dev
am: ad302548ea

* commit 'ad302548ea5a030c2e44eb22a212285493037729':
Fix apps spinner jank.

Change-Id: I1867f2166dea86a9debd6f4304d6e43a8cbe32aa
8a5d4bfbb8d969bc97a75c53cc1c2e2a1ffb7a74 01-Jun-2016 Jason Monk <jmonk@google.com> Fix apps spinner jank.

Change-Id: I7fbe580627538037fd0f1823787f7dcebbb43252
Fixes: 29056706
anageApplications.java
59358568d0220dc800cca3ff7633331dfe7e224a 31-May-2016 Andrew Sapperstein <asapperstein@google.com> Merge "Remove the last vestiges of #ff009587." into nyc-mr1-dev
am: 9ca09c020e

* commit '9ca09c020e561832cd2e4b5abd43c839c461c240':
Remove the last vestiges of #ff009587.

Change-Id: Iac6ec5047f88b277d313b98c19c4eac4ddce626f
517f14f3d81e4dd4d37f45312d8cd80532cc2251 27-May-2016 Andrew Sapperstein <asapperstein@google.com> Remove the last vestiges of #ff009587.

It was very close the proper colorAccent, so just use that everywhere.
This change updates the Memory Settings page and the running processes
page.

BUG: 28987891
Change-Id: I3895ae9b596125d7e4bda0d02f0686c87a75ead6
rocessStatsSummary.java
unningProcessesView.java
d6d7eaf95f816a22fa42d500995d1092c61a8f8b 25-May-2016 Andrew Sapperstein <asapperstein@google.com> Update color bar defaults to use theme attr colors
am: b40b0d2006

* commit 'b40b0d20066aeb53ae69e57979a92c337d0100df':
Update color bar defaults to use theme attr colors

Change-Id: I6e2fc7d85f6b895a2ee3dfbc0912e0f1adb2dd98
b40b0d20066aeb53ae69e57979a92c337d0100df 21-May-2016 Andrew Sapperstein <asapperstein@google.com> Update color bar defaults to use theme attr colors

Previously the values were hardcoded. Now the default value
for left and middle are colorAccent. Also updated SummaryPreference
to not call LinearColorBar.setColors unless its own setColors is called.

BUG: 28760785

Change-Id: Id28e809e6b5f0f6508258c995d5dcfacbc9c8725
inearColorBar.java
aea945a82133cfc2704c14b214fd93e06624f4f3 25-May-2016 Adrian Roos <roosa@google.com> Merge "Remove option to configure emergency app" into nyc-dev
am: 06b7d7cdf9

* commit '06b7d7cdf954902dad8fde766fe54ea315a463b3':
Remove option to configure emergency app

Change-Id: I4643f4cae85c6e70d82a8a25f34c2f17305b240d
06b7d7cdf954902dad8fde766fe54ea315a463b3 25-May-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove option to configure emergency app" into nyc-dev
9d16b2ddf3fb25e619cfd2ed9b643fa728a52e15 23-May-2016 Jason Monk <jmonk@google.com> Merge "Fix the momery leak in DrawOverlayDetails" am: 34646006ce
am: 05c4c91a6c

* commit '05c4c91a6c6799527eae900973efea49875c97da':
Fix the momery leak in DrawOverlayDetails

Change-Id: I9971a74e0afa36c275a70b171c101a3058c240eb
4feb4d9a8bb57591276fe569b3822166b8f05f90 22-May-2016 宋凯伦 <songkailun@xiaomi.com> Fix the momery leak in DrawOverlayDetails

https://code.google.com/p/android/issues/detail?id=210852

we need to release the mOverlayBridge in onDestroy, or it will cause Memory Leak issue
Signed-off-by: 宋凯伦 <songkailun@xiaomi.com>

Change-Id: If0113ed72773c366596a2c915ec504c1c68fe3b7
rawOverlayDetails.java
78091bf8cabc9f50cc8df14cf5947dc8a906a33d 20-May-2016 Adrian Roos <roosa@google.com> Remove option to configure emergency app

Bug: 28873644
Change-Id: Iddf4e781af8cb3ca3b62d1141c58402933bd8ec8
efaultEmergencyPreference.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
ppCounter.java
anageApplications.java
otificationApps.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
anageApplications.java
15c1bb48c3da3404a775c7101e3559772aa37d6e 13-May-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Guard against exception when getting package installer info." into nyc-dev
aed0537aaf433c6e858befbe19590deb77071d0a 13-May-2016 Sudheer Shanka <sudheersai@google.com> Guard against exception when getting package installer info.

Bug: 28742227
Change-Id: I8742c882ae6b18cb8f51a9da04170358a20a7d48
nstalledAppDetails.java
2dec0c7839784940601df3f2110a552a5cf73400 12-May-2016 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #28400000: Settings memory UI still showing z-ram..." into nyc-dev
a24b836e8534a617fb8184ba94140286618f4f65 11-May-2016 Dianne Hackborn <hackbod@google.com> Fix issue #28400000: Settings memory UI still showing z-ram...

...but probably shouldn't.

Change-Id: I3becb68a9989d915d11439b7beec1fe262261f78
rocStatsData.java
a188b2447fa6f1bcb7fbf8a32a2c7425e6e40a69 11-May-2016 Jason Monk <jmonk@google.com> Merge "Fix crash in not installed for this user apps" into nyc-dev
bde1a7cfb13736ad52ba838e0b21117b7da6dafb 11-May-2016 Jason Monk <jmonk@google.com> Fix crash in not installed for this user apps

Change-Id: I96fa409c5a91cdb6758dbf81714c1c97e28f47b6
Fixes: 28637871
ppStateAppOpsBridge.java
019aad4c61da0b358782bc3cc59cc2688bb84a39 10-May-2016 Jason Monk <jmonk@google.com> Switch fragments to SettingsPreferenceFragment

So all basic settings features are supported properly

Change-Id: I1702272cdbc6c13a5d3ca53840113169a37d4d20
Fixes: 28634520
onfirmConvertToFbe.java
onvertToFbe.java
unningServices.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
anageApplications.java
4e8d3013a281e924b02172c90a52e21984f5d8b4 03-May-2016 Jason Monk <jmonk@google.com> Fix leaks

Change-Id: Iba29be756934d9564cfdee1f6281c56345772dc7
Fixes: 28074995
anageApplications.java
otificationApps.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
c8d363e24c4906f2a9d261d46503f16b4b63bccd 23-Apr-2016 Svetoslav Ganov <svetoslavganov@google.com> Merge "Cleanup of the PackageInstaller API - Settings" 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
dvancedAppSettings.java
nstalledAppDetails.java
ermissionsSummaryHelper.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
nstalledAppDetails.java
9b167a6878d036ffb253687a4eb94e1e44e5fda4 21-Apr-2016 Keith Cheung <keithcheung@google.com> Merge "Include work app in battery optimization settings" into nyc-dev
2db5eccee4faf9ec364ca5b659289135320b0e75 18-Apr-2016 Keith Cheung <keithcheung@google.com> Include work app in battery optimization settings

Fix: 23684151

Change-Id: If2d1a18838414122d8af57fda7138f87fd3f1e62
ppStatePowerBridge.java
anageApplications.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
nstalledAppDetails.java
198d9f1cba686ab8e2c84c0ef300bdc79103e8f6 18-Apr-2016 Jason Monk <jmonk@google.com> Guard against app info crash

Change-Id: Ifb52ec61718723202e5ec7da5f9723a4764968ba
Fixes: 28171829
nstalledAppDetails.java
088fb52ef82a895e7c406909cdf12de63d8b4910 07-Apr-2016 Julia Reynolds <juliacr@google.com> Notification slider changes.

Bug: 27558254
Change-Id: I15635ae19e82a57d6e6fcb2f8f946f31bebf5d0f
nstalledAppDetails.java
f13a6a179523135d44166c20683fa4b6b0bf0780 13-Apr-2016 Sudheer Shanka <sudheersai@google.com> Merge "Add new section in Apps screen to show app installer name." into nyc-dev
0493422de2a6c1f6ed5443ac6ebaa72fc844cef4 12-Apr-2016 Jorim Jaggi <jjaggi@google.com> Merge "Always update value of screenshot preference" into nyc-dev
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
anageApplications.java
otificationApps.java
aa337e39d53995757dc039d0dd5b910b4e14cb00 12-Apr-2016 Jorim Jaggi <jjaggi@google.com> Always update value of screenshot preference

Bug: 26014678
Change-Id: I6127dee5c911171bc9b708dfe1e9ee21b17d0833
anageAssist.java
1d464b9677c4f956dab81622b2cb59c53cbf01dd 08-Apr-2016 Suprabh Shukla <suprabh@google.com> Merge "Moving HelpUtils to SettingsLib" into nyc-dev
ea35f873778ead590dbc455f1f558da641c1b3f4 28-Mar-2016 Jason Monk <jmonk@google.com> Restore the premiume SMS Preference.

Fixes: 27657256
Change-Id: I396eb9ba71f51fed517d7f958873369bc0ab011e
ppStateSmsPremBridge.java
remiumSmsAccess.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
nstalledAppDetails.java
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
anageApplications.java
1e91f9f30e46e03818bc48a35570f70305095ed5 01-Apr-2016 Julia Reynolds <juliacr@google.com> Show fewer filters on notifications page.

Bug: 27834480
Change-Id: Ibdc9924a7ea1b1db7be089507485de5c4fd41b58
anageApplications.java
e89bebe96f547fc7e6badf3e2bc80eebdda7793c 01-Apr-2016 Julia Reynolds <juliacr@google.com> Add null checks on filters.

Bug: 27496323
Change-Id: If8883279af11218042f420509c3a8e7b168c815f
ppStateNotificationBridge.java
8df04151d0461ce1520043eb74943f67f9a74aa8 30-Mar-2016 Amith Yamasani <yamasani@google.com> Merge "Don't prompt twice to uninstall updates" into nyc-dev
4a25f35680a4940a566d5351bdc238d49634a972 30-Mar-2016 Jason Monk <jmonk@google.com> Only show enabled/disabled filters in main app list

Change-Id: I8d7c94098b71f5893b08786a4caa90d9c191da99
Fixes: 27921850
anageApplications.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
anageApplications.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
nstalledAppDetails.java
b370a8d580cdc435081155e6ff5e50d6bb9105e7 23-Mar-2016 Joe Onorato <joeo@google.com> Adapt to procstats classes which moved.

Change-Id: I29a04ef3a3230f688ddf13e607a755b7d7f61991
rocStatsData.java
rocStatsEntry.java
rocessStatsBase.java
rocessStatsMemDetail.java
rocessStatsUi.java
cbde0b8afdccf6069a3b3137fb1c3a6abd67758a 16-Mar-2016 Hall Liu <hallliu@google.com> Add indicator for system dialer in Settings

Bug: 26748630
Change-Id: I60b9f2783fb4c1f49c79449dd150132c73a9fb2a
efaultPhonePreference.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
nstalledAppDetails.java
222be28d13cf7aaddb9944855e8079a8e86617e8 09-Mar-2016 Jason Monk <jmonk@google.com> Merge "Move temporary metrics constants to proto" into nyc-dev
3e912e7ea537ae34234ccbe6fef9b2519a4da51b 08-Mar-2016 Julia Reynolds <juliacr@google.com> Notification summary updates.

Change-Id: I6b824acf27743637ca661b38b51c639ecf099208
ppStateNotificationBridge.java
nstalledAppDetails.java
anageApplications.java
otificationApps.java
3e19fc5600f739e7f172fb9331cfc0f4a884d4ce 08-Mar-2016 Jason Monk <jmonk@google.com> Move temporary metrics constants to proto

Change-Id: I8fb3ac22df7bdc52039dd640f7696ebd32281f0b
pecialAccessSettings.java
e1c98ca821a8fd742f39b89626e1ed4d44295437 24-Feb-2016 Ruben Brunk <rubenbrunk@google.com> Add settings VR listener service.

Bug: 22855417
Bug: 26724891

- Adds a settings panel allowing users to toggle the
enabled/disabled state of each VrListenerService
component installed.
- If disabled, a VrListenerService will not be bound
from the framework, even when requested by a VR
application.

Change-Id: I606eb712c011d160b9fbdd3c0e8fd744c653ef07
rListenerSettings.java
cc5240962546545969dcf72e2ae4cb68df937642 03-Mar-2016 Julia Reynolds <juliacr@google.com> Merge "Notification filter changes." into nyc-dev
beb5e5210b55926fa4a7302a9e9d00ef49f40314 01-Mar-2016 Julia Reynolds <juliacr@google.com> Notification filter changes.

Bug: 27403688
Change-Id: I560ab6fc4a46673c0be4244b24f90e7c937b0006
ppStateNotificationBridge.java
nstalledAppDetails.java
anageApplications.java
a2d47fcf59f03d091edaf5895fd3b651e1f499e1 03-Mar-2016 Jason Monk <jmonk@google.com> Fix notification setting summary

Bug: 25926406
Change-Id: I503f2d2def095e37f6b16ca345112fe81ef73e29
ppStateNotificationBridge.java
otificationApps.java
602e133e79c68216756ac897e762497ea8747cd0 01-Mar-2016 Julia Reynolds <juliacr@google.com> Hide notification asst setting.

Bug: 22960980
Change-Id: If9f28e3944d6a3a450d2607448be9ec25fdcdb85
efaultNotificationAssistantPreference.java
01a44916003ebdff399406405548c6058b114c5a 29-Feb-2016 Jason Monk <jmonk@google.com> Guard against apps with no permissions

Bug: 27355802
Change-Id: Iee8d9898af0e5910319cb47218ceee8da1352554
nstalledAppDetails.java
0f1e17b76cbf7c55e1bf582c164cc66424ce0ef8 24-Feb-2016 Gustav Sennton <gsennton@google.com> Merge "Block the user from enabling or disabling webview fallback packages." into nyc-dev
c4b8c70e8a6e33da21f9969b0172d982e3b5cf31 24-Feb-2016 Akshay Kannan <akshayk@google.com> Merge "Restrict ICE to system image only in settings." into nyc-dev
5cddcf240898362fa24602919eccc62fa81573b3 24-Feb-2016 Akshay Kannan <akshayk@google.com> Restrict ICE to system image only in settings.

Bug: 23591361
Change-Id: I56767e94eb5f30bc175a097bb8cae340cb9dfb3a
efaultEmergencyPreference.java
642e1d9b59c174c3883e511092a1cce9d5ab251f 24-Feb-2016 Paul Lawrence <paullawrence@google.com> Merge "Show second warning screen before converting to FBE" 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
nstalledAppDetails.java
31467520ed2fa0010698be1778b99c3957e9d6fd 23-Feb-2016 Paul Lawrence <paullawrence@google.com> Show second warning screen before converting to FBE

Bug: 27126952
Change-Id: If045a0676600f4f9611ab27cfb686b8078b3cd5a
onfirmConvertToFbe.java
onvertToFbe.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
ppInfoBase.java
ppStateBaseBridge.java
efaultBrowserPreference.java
efaultEmergencyPreference.java
efaultHomePreference.java
efaultPhonePreference.java
efaultSmsPreference.java
rawOverlayDetails.java
nstalledAppDetails.java
hortcutPreference.java
riteSettingsDetails.java
91e2f89b0f8b440728fe395ee02a71ae59e21ffc 23-Feb-2016 Jason Monk <jmonk@google.com> Rearrange configure/default apps

Bug: 27276982
Bug: 27279305
Change-Id: I443e9d2bc0c3fd9bcc13ee86716c14fbb55af0ba
dvancedAppSettings.java
efaultBrowserPreference.java
efaultEmergencyPreference.java
efaultHomePreference.java
efaultNotificationAssistantPreference.java
efaultPhonePreference.java
efaultSmsPreference.java
anageAssist.java
anageDefaultApps.java
pecialAccessSettings.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
nstalledAppDetails.java
esetAppsHelper.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
929c97e6acf725df87456ad053ee47df47c921aa 19-Feb-2016 Julia Reynolds <juliacr@google.com> Merge "Delete Notification Topics." into nyc-dev
6e7cfdda7975a737268f8a7281da5186d3ad2201 17-Feb-2016 Tony Mak <tonymak@google.com> Merge "Home default setting should not shown in managed profile settings" into nyc-dev
ed5c50a9cb5b67c8eed9661221f8825b69dd4da8 12-Feb-2016 Julia Reynolds <juliacr@google.com> Delete Notification Topics.

Bug: 23220370
Change-Id: I072b68650af35ae3d5c5ccf6222dc31f5f36f9bb
ppStateNotificationBridge.java
nstalledAppDetails.java
0e19d2420b28fc254e3c89c911216dff3d7ecf53 17-Feb-2016 Tony Mak <tonymak@google.com> Home default setting should not shown in managed profile settings

Each default preference needs to have its corresponding
PreferenceAvailabilityProvider to provide us the availability of it.
If no corresponding provider is found, it is considered to be not
available. So it encourages other developers who will add new default app
preference later to consider the availability of it.

Bug:27143673
Change-Id: I073b7122dddc579504f397c5de2bdd4df3826269
efaultBrowserPreference.java
efaultEmergencyPreference.java
efaultHomePreference.java
efaultNotificationAssistantPreference.java
efaultPhonePreference.java
efaultSmsPreference.java
anageAssist.java
anageDefaultApps.java
7d725461c60cf0cd36e7e0a1e999fa3c84f12419 11-Feb-2016 Sunny Goyal <sunnygoyal@google.com> Fixing the sections not getting created the first time

Change-Id: I9b8888d1633eba29e9ec79924d26cff0fce33ead
anageApplications.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
ppInfoBase.java
ppStorageSettings.java
nstalledAppDetails.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
nstalledAppDetails.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
anageApplications.java
3b14483eae0a308c46d6335207e4ad0b1f8ed3b1 03-Feb-2016 Sunny Goyal <sunnygoyal@google.com> Merge "Adding fast scroller in app list"
0da325412433ce4fa23d3a40cf563de2e884c9c0 02-Feb-2016 Sunny Goyal <sunnygoyal@google.com> Adding fast scroller in app list

Change-Id: I9b5c2225a7acf6d7d83d7d7a7bb08a023a66183d
anageApplications.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
ppStateNotificationBridge.java
nstalledAppDetails.java
3e219fcca33ee5da475c8b0da5aa0b6623e8fa1a 01-Feb-2016 Jason Monk <jmonk@google.com> Merge "Metrics more of the things"
b7a7158b18147afbeacca604788e28d0d1209b07 30-Jan-2016 Jason Monk <jmonk@google.com> Fix storage preference animating away

Init it during the onCreate so it just doesn't appear.

Bug: 25606221
Change-Id: I899521590eae8d12c09938f8aa77680e3e277742
ppStorageSettings.java
dc252eb7b1169dbdde6b6bf8821eb6f8babd4d26 30-Jan-2016 Jason Monk <jmonk@google.com> Metrics more of the things

Add a dump for some of the state of the device.

Bug: 26687707
Change-Id: Icf517912b3006cc84c26863eb1b93d586a55464a
rocStatsData.java
78d1ca1c2a49753a79d1766866da4abe25eb80bb 27-Jan-2016 Tony Mak <tonymak@google.com> Merge "Default apps setting for managed profile"
9d1bfd1e8de6e46137a9571507c03526880d6a46 27-Jan-2016 Chris Wren <cwren@android.com> port settings over to new metrics enum

Change-Id: I0b3efd2f4db773ccbc52bfe59ee8eb0dab9584fb
dvancedAppSettings.java
ppLaunchSettings.java
ppOpsDetails.java
ppOpsSummary.java
ppStorageSettings.java
ackgroundCheckSummary.java
rawOverlayDetails.java
nstalledAppDetails.java
anageApplications.java
anageAssist.java
anageDefaultApps.java
rocessStatsDetail.java
rocessStatsMemDetail.java
rocessStatsSummary.java
rocessStatsUi.java
unningServiceDetails.java
sageAccessDetails.java
riteSettingsDetails.java
32ccffc07c47d6e30b4198c74a8f2d2fbb8a799d 27-Jan-2016 Tony Mak <tonymak@google.com> Default apps setting for managed profile

1. Print settings already support managed profile. Follow the UI of that.
ProfileSettingsPreferenceFragment is created to act as the base class
for per-profile setting.

2. Only show browser and dialer default setting in managed profile.

BUG=26707733

Change-Id: I20d00203e14db58ec03638f692dd83a1bd50c59c
efaultEmergencyPreference.java
efaultNotificationAssistantPreference.java
efaultSmsPreference.java
anageAssist.java
anageDefaultApps.java
a78572cf39ef2e0cb2623ba12905643e82457587 26-Jan-2016 Sudheer Shanka <sudheersai@google.com> Merge "Update the text shown when admin disabled fingerprint as unlock option."
7ea14c5625c988a81c09625f54faed846fc07ec7 22-Jan-2016 Jason Monk <jmonk@google.com> Move Home settings to Default apps

Change-Id: I2ac7f9dd2c1c505ff3163b2a90c574a360b9409c
efaultHomePreference.java
5590e2eb44bc8a301c8f4647b739d6788e9c1512 22-Jan-2016 Sudheer Shanka <sudheersai@google.com> Update the text shown when admin disabled fingerprint as unlock option.

When the admin has disabled fingerprint as unlock option, we let the
user know that the admin has disabled that option with a more details
link which will trigger the admin support dialog. And made some small
fixes apart from this.

Change-Id: I01021b952dc6fb29a65d37401a6411a6088d5cef
ayoutPreference.java
ef550767b0b469534a94c293ea517a19778b58b0 15-Jan-2016 Sudheer Shanka <sudheersai@google.com> Trigger a support dialog when an action is disabled by policy

Change-Id: I847b481a16cce33fe7bd4040d38ec50ca62172c2
ppInfoBase.java
ppStorageSettings.java
nstalledAppDetails.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
nstalledAppDetails.java
rocessStatsDetail.java
rocessStatsSummary.java
08703c8bb19b518214bc352199bd46baab597547 08-Jan-2016 Felipe Leme <felipeal@google.com> Added option do display and clear URI permissions.

BUG: 26447975
Change-Id: If5269a62908ce37501219ca8dba619041812d800
ppStorageSettings.java
df828405b107fd6a2602580cf7e8f43723c69d58 06-Jan-2016 Jeff Sharkey <jsharkey@android.com> Follow PackageManager refactoring.

Change-Id: Iae8b40acf6317366f0de780e367e0c21a9966477
ppLaunchSettings.java
learDefaultsPreference.java
anageApplications.java
anageDefaultApps.java
0c4052ceaad433978a916a5fe785d3965af7093e 04-Jan-2016 Julia Reynolds <juliacr@google.com> Merge "Allow users to choose a notification assistant."
2e1e0b7ef69b7a93cc170168aea211e739b3412e 14-Dec-2015 Julia Reynolds <juliacr@google.com> Allow users to choose a notification assistant.

Change-Id: Iddfbfedbb6a3aae246058ff41324dc06852484cb
efaultNotificationAssistantPreference.java
ae969d71976ab61116ab76885a6dadf86d25214f 04-Jan-2016 Jason Monk <jmonk@google.com> Merge "fix out of memory with continuous entry and exit InstalledAppDetail." am: d298d474e6
am: dfc6e32434

* commit 'dfc6e32434a0d208403f8ce754e079e77e34cf7f':
fix out of memory with continuous entry and exit InstalledAppDetail.
dfc6e32434a0d208403f8ce754e079e77e34cf7f 04-Jan-2016 Jason Monk <jmonk@google.com> Merge "fix out of memory with continuous entry and exit InstalledAppDetail."
am: d298d474e6

* commit 'd298d474e620766b4308376525ef6a2730bbb299':
fix out of memory with continuous entry and exit InstalledAppDetail.
2396a40c90a9f28ee4c63fd7199c38682eaeff70 21-Dec-2015 daqiangx <daqiangx.li@intel.com> fix out of memory with continuous entry and exit InstalledAppDetail.

A session keeps in ApplicationsState list. The fragment don't release
the session when it is destroyed. The cause of out of memory is that the
session list is increased, but it can't be released.

Change-Id: I23635610c9fdfb8a3423299a91cf9b11cb5cdb65
Signed-off-by: daqiangx <daqiangx.li@intel.com>
ppInfoBase.java
119d589ea5aa9c2ccc5164279d718a20d0865f20 24-Nov-2015 Svetoslav <svetoslavganov@google.com> DO NOT MERGE Modify system settings: incorrect UI state

The privilege for an app to write to the system settings is protected
by an app-op signature permission. App-op permissions are special: if
the app-op is deny/allow we deny/allow write access; if the app-op is
default holding the permission determies write access. The settings
code assumes that CHANGE_NETWORK_STATE is an app op permission
(system|appop) while it is a normal permission which any app gets by
declaring it used in the manifest.

The side effect is that the state of the toggle in the UI for write
system settings will initially be in the wrong state if the app uses
both WRITE_SETTINGS and CHANGE_NETWORK_STATE. However, the code in
the public API an app uses to check write settings access would return
the opposite since it checks the WRITE_SETTINGS permission and its
app op. Hence, if an app requires write settings to start the user
will see in the settings UI it has access but the app will not have
access, so the app would prompt the user to allow write settings.
The non-obvious fix is for the user to toggle the setting off and on
to get the app op in the right state and be able to launch the app.

bug:25843134

Change-Id: I3d726a66c7f9857bc7dbd5946fdbb8f340c6eb4d
(cherry picked from commit 356fb2d10d9f4c236b0f10d0e2facb93028b9f3c)
ppStateWriteSettingsBridge.java
1230ac820ea94b8f3f6285fd4cae056e62d96183 12-Dec-2015 Jason Monk <jmonk@google.com> Move DropDownPreference to supportlib

Change-Id: Ife6799d1136302b805b5191f1a86276c538ca4bf
ppLaunchSettings.java
f467c0acacd834257189dd73f260939a742114f9 08-Dec-2015 Dianne Hackborn <hackbod@google.com> Implement development UI for background check.

Allows you to toggle off full background access for
whatever apps you want.

Change-Id: I8542ecac1449ccd65dc18af3c0ca1fc18443f89c
ppOpsCategory.java
ppOpsState.java
ackgroundCheckSummary.java
9e9f7d11162df92bc430002423a281e22176de41 30-Nov-2015 Jeff Sharkey <jsharkey@android.com> Add fallback encryption-aware home screen.

When the home screen selected by the user isn't encryption aware, we
still need to put something on the ActivityStack. For now, let's use
an empty activity that knows how to dismiss itself when the
credential-encrypted storage is unlocked; that's enough for the
system to re-resolve the home intent and find the real home screen.

Also follow method refactoring.

Bug: 22358539
Change-Id: Iebc4ad8d2dd62ada079cab03d5765f7631fd4beb
ppStorageSettings.java
51a41d436e6ee3ae2fe548700cff539c842f1630 30-Nov-2015 Julia Reynolds <juliacr@google.com> Merge "Split Sound & notification settings."
8c0a4238655990094fe444ac8f7b182963497030 24-Nov-2015 Julia Reynolds <juliacr@google.com> Split Sound & notification settings.

Bug: 25860852
Change-Id: If88daf6fd50b5abf86fb86f3590361f0118172a1
anageApplications.java
9d80eeabe7807b5ff0a60bd40d3a1a84f681ea37 20-Nov-2015 Jason Monk <jmonk@google.com> Add some more summaries for Settings Home

Change-Id: Iaca8db6bdce87e667832b5b670e4eb027580b668
rocessStatsSummary.java
4cc3819857ea4e7e7715c72090f2c18ed1190f05 25-Nov-2015 Julia Reynolds <juliacr@google.com> Fix filter indicies.

Bug: 25837105
Change-Id: Ic857f4efdb3d25e38be7b8113cc2256127954e48
anageApplications.java
4cfe39f5397d037d106abf07db31b0e01484bd92 19-Nov-2015 Makoto Onuki <omakoto@google.com> Use explicit APIs to get device owner information

Bug 24676413

Change-Id: Id346c2f01658173c9671edcfd34bc33f1b25faa4
nstalledAppDetails.java
03e1bee786367fadac66af8a74466ef1a1de8157 24-Nov-2015 Svetoslav Ganov <svetoslavganov@google.com> Merge "Modify system settings: incorrect UI state"
356fb2d10d9f4c236b0f10d0e2facb93028b9f3c 24-Nov-2015 Svetoslav <svetoslavganov@google.com> Modify system settings: incorrect UI state

The privilege for an app to write to the system settings is protected
by an app-op signature permission. App-op permissions are special: if
the app-op is deny/allow we deny/allow write access; if the app-op is
default holding the permission determies write access. The settings
code assumes that CHANGE_NETWORK_STATE is an app op permission
(system|appop) while it is a normal permission which any app gets by
declaring it used in the manifest.

The side effect is that the state of the toggle in the UI for write
system settings will initially be in the wrong state if the app uses
both WRITE_SETTINGS and CHANGE_NETWORK_STATE. However, the code in
the public API an app uses to check write settings access would return
the opposite since it checks the WRITE_SETTINGS permission and its
app op. Hence, if an app requires write settings to start the user
will see in the settings UI it has access but the app will not have
access, so the app would prompt the user to allow write settings.
The non-obvious fix is for the user to toggle the setting off and on
to get the app op in the right state and be able to launch the app.

bug:25843134

Change-Id: I3d726a66c7f9857bc7dbd5946fdbb8f340c6eb4d
ppStateWriteSettingsBridge.java
6f526fcaf3dc83a5988a522bfa2b542390ece234 19-Nov-2015 Julia Reynolds <juliacr@google.com> Migrate package level notification settings to topic level.

Bug: 22854014
Change-Id: If0c20bec3b3f8b01b86d195d2e7ff7aa1e15882e
ppStateNotificationBridge.java
nstalledAppDetails.java
anageApplications.java
69d0b67ee0049a318f6d78e3ea03bb96665c83ed 18-Nov-2015 Julia Reynolds <juliacr@google.com> Remove 'peekable' notification preference.

Bug: 22854014
Change-Id: I920185cd8c766436338d38a51663bd5480699f5d
ppStateNotificationBridge.java
nstalledAppDetails.java
anageApplications.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
nstalledAppDetails.java
anageApplications.java
0e1a46cf6cbecc2bd6fb6cf6661e61859b243e76 04-Nov-2015 Paul Lawrence <paullawrence@google.com> Make Convert To File Encryption work

Actually call to recovery from ConvertToFBE
Adding credential check
Gray out Convert option when converted

Change-Id: Ic98929ff49733d182b529012e58870156f40679a
onvertToFBE.java
onvertToFbe.java
acbac8cdfeee704af0277a4579faa864b0ca20e0 02-Nov-2015 Paul Lawrence <paullawrence@google.com> Add developer option to convert from FDE to FBE

This set of changes adds the screen that offers this conversion,
and the plumbing so the option is only available on suitable
devices.

It does not implement the conversion mechanism.

Change-Id: I3c84dd40dfcb0e00dadbab54ba0e56e1ccb11ed8
onvertToFBE.java
d4dee3b70d469ed2d083bd4efce79b552cedf834 30-Oct-2015 Dianne Hackborn <hackbod@google.com> Merge "Further tweak to issue #issue #25371736: Don\'t include z-ram allocations in Android OS" into mnc-dr-dev am: 3b4e4dd91d am: a42bad972c am: 44643bad26
am: c271a8a00e

* commit 'c271a8a00e2686c371420406a12fd41c4a97e24d':
Further tweak to issue #issue #25371736: Don't include z-ram allocations in Android OS
a42bad972ca44f52ac84b3139198acc11dec0d4f 30-Oct-2015 Dianne Hackborn <hackbod@google.com> Merge "Further tweak to issue #issue #25371736: Don\'t include z-ram allocations in Android OS" into mnc-dr-dev
am: 3b4e4dd91d

* commit '3b4e4dd91d416c93fdc0326e54469ceabb8281ab':
Further tweak to issue #issue #25371736: Don't include z-ram allocations in Android OS
b6c7b050565b259eb098cb2a701254b6676aae1c 30-Oct-2015 Dianne Hackborn <hackbod@google.com> Further tweak to issue #issue #25371736: Don't include z-ram allocations in Android OS

Make sure the duration shown for z-ram is sane (the maximum of the
other process durations of that app).

Change-Id: I62c46b89f927b2c7c16f5c31f6910419b2bdd130
rocStatsData.java
rocStatsEntry.java
f8f52df7022a7b6b333fa380e3ef4ccf82206935 30-Oct-2015 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #25371736: Don\'t include z-ram allocations in Android OS" into mnc-dr-dev am: 508559d076 am: 68954d930d am: 2af9128966
am: 6ee79b2823

* commit '6ee79b282346b976df98b2af214af4800fc68c26':
Fix issue #25371736: Don't include z-ram allocations in Android OS
68954d930d0a583c7150e1a3959d5a798b8e5f34 30-Oct-2015 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #25371736: Don\'t include z-ram allocations in Android OS" into mnc-dr-dev
am: 508559d076

* commit '508559d0760596509f07fa56371c6e18d8bd9559':
Fix issue #25371736: Don't include z-ram allocations in Android OS
30bbd902dd98197fd39b4e43bf8cb5027c49984b 29-Oct-2015 Dianne Hackborn <hackbod@google.com> Fix issue #25371736: Don't include z-ram allocations in Android OS

Just distribute them across all of the running apps, by creating
an additional fake "z-ram" process for each of them.

Change-Id: I9b4efe9c7b907779a0ec76cb8652709619e2e686
rocStatsData.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
learDefaultsPreference.java
nstalledAppDetails.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
nstalledAppDetails.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
nstalledAppDetails.java
39b467482d1bf256a111c757e9b7621c6f523271 10-Sep-2015 Jason Monk <jmonk@google.com> Depend on support lib preferences

Bug: 24576551
Change-Id: Ic6190bacd3f7582c9bbc8de972da4612bd92421e
dvancedAppSettings.java
ppDomainsPreference.java
ppLaunchSettings.java
ppOpsCategory.java
ppOpsDetails.java
ppOpsState.java
ppStateAppOpsBridge.java
ppStateOverlayBridge.java
ppStateUsageBridge.java
ppStateWriteSettingsBridge.java
ppStorageSettings.java
ppViewHolder.java
learDefaultsPreference.java
rawOverlayDetails.java
nstalledAppDetails.java
nstalledAppDetailsTop.java
ayoutPreference.java
inearColorPreference.java
anageApplications.java
anageAssist.java
anageDefaultApps.java
rocStatsEntry.java
rocessStatsDetail.java
rocessStatsMemDetail.java
rocessStatsSummary.java
rocessStatsUi.java
esetAppsHelper.java
unningProcessesView.java
unningServiceDetails.java
unningState.java
pacePreference.java
sageAccessDetails.java
riteSettingsDetails.java
02858cc0c6c9cc4f17b7d9b341e1864ebf5b617d 10-Oct-2015 Christopher Tate <ctate@google.com> resolved conflicts for 192248cc to master

Change-Id: I636e9c78445c3bbd8b290ec0601a45d68b36a06d
78f7fa0fc8ed3ede373cdb42e2af2046c87ac470 10-Oct-2015 Christopher Tate <ctate@google.com> am 90de3beb: Disable app-link preferences for browser apps

* commit '90de3bebf432d0897607adaca281fe248cd6575f':
Disable app-link preferences for browser apps
90de3bebf432d0897607adaca281fe248cd6575f 09-Sep-2015 Christopher Tate <ctate@google.com> Disable app-link preferences for browser apps

Also make sure that the 'Clear defaults' action unsets the app's
standing as the default browser, when applicable.

Bug 23751034

Change-Id: I6131b763bfa76ba38d18cad2abbb35caffe789aa
ppLaunchSettings.java
learDefaultsPreference.java
762104ea5d5be567c434fcd8d610b0007d4a94fd 01-Sep-2015 Xiaohui Chen <xiaohuic@google.com> Cleanup USER_OWNER in Settings

This cl updates a couple places related to managed profiles.

Bug: 19913735
Change-Id: I72b5315885fc34d8716339ecc18447c15867a5ac
unningState.java
9dde0669f247c038f2c31f3cb1bb5afe376f6353 25-Aug-2015 Wei Liu <luciferleo@google.com> am 656c805b: am 70238114: am 6e58d516: Refactor UidDetailProvider and its dependencies to SettingsLib.

* commit '656c805bf38dd299ae25fbe39806650122aa6314':
Refactor UidDetailProvider and its dependencies to SettingsLib.
6e58d516f05bbceabdddd3aa08a94fcc32858e71 25-Aug-2015 Wei Liu <luciferleo@google.com> Refactor UidDetailProvider and its dependencies to SettingsLib.

so that it can be reused by Wear app data usage.

Change-Id: Id05f888274e15fbeffa175ee8073de02a8966867
unningState.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
anageApplications.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
ppInfoBase.java
ppInfoWithHeader.java
nstalledAppDetails.java
anageApplications.java
rocessStatsBase.java
rocessStatsDetail.java
rocessStatsUi.java
07298fbc3e103c099c1efba599469e1b6b24fc25 14-Aug-2015 Christopher Tate <ctate@google.com> resolved conflicts for merge of b1840567 to master

Change-Id: Ieb83bd61e624609ce3c339ed0c33c691cb4b38bb
7c8cb46fe383956830a04e079a13ded56f7c2154 14-Aug-2015 Chris Tate <ctate@android.com> am 36e2d32d: am 7e36d33c: Merge "Make "Ask every time" actually work that way" into mnc-dev

* commit '36e2d32dab47f9d46c0234202c2a799c43b67c9e':
Make "Ask every time" actually work that way
970291e20c9b7fa0ccc5677149c37ce68434968c 14-Aug-2015 Christopher Tate <ctate@google.com> Make "Ask every time" actually work that way

..in link-opening behavior. If a candidate is marked as "ask
every time," then the user is guaranteed to get a disambiguation
prompt including that candidate even when some other candidate
app is in the "always prefer this over a browser" state.

Bug 23147746

Change-Id: I73d8893ab74ea0356b757ab836349243cda2e307
ppLaunchSettings.java
49b6103b56d777cb41f280e0dc636f738f6ba56d 12-Aug-2015 Jason Monk <jmonk@google.com> Make DropDownPreference extend ListPreference

Lots of updates to handle static setting of entries/values
Callbacks are now through preference changes
Fix weird inconsistencies in callback return values...

Change-Id: I2ebe02c3492ce543162efcd55bdae3f2c4039287
ppLaunchSettings.java
01cfaadeeb9eb98f9a772a85ba6c4e1034319fb5 11-Aug-2015 Dianne Hackborn <hackbod@google.com> am e9bcef35: am be4df036: Fix issue #23037899: Support for Battery Optimization permission + Dialog

* commit 'e9bcef3541435c1e1a2716d48eb1c1c897841880':
Fix issue #23037899: Support for Battery Optimization permission + Dialog
be4df036e1c688a1b7a5fc9d4ab18f09729296b3 10-Aug-2015 Dianne Hackborn <hackbod@google.com> Fix issue #23037899: Support for Battery Optimization permission + Dialog

New pretty dialog.

Change-Id: I6094b83139beffc407b01049a0d9d1f85a95df07
anageApplications.java
11088b815b030114b14f8a3e7d81d9238c2d51b8 08-Aug-2015 Jeff Sharkey <jsharkey@google.com> am cb0c0718: am 67f0739c: Merge "Block moving when already in progress." into mnc-dev

* commit 'cb0c07181a77ef134310c0e037345f33e7a46d9e':
Block moving when already in progress.
67f0739ca3a81515975856b09d216debfd090ae9 08-Aug-2015 Jeff Sharkey <jsharkey@google.com> Merge "Block moving when already in progress." into mnc-dev
16634fd0ff74f243aa26ad4714df3a0921bdbe20 08-Aug-2015 Jeff Sharkey <jsharkey@android.com> Block moving when already in progress.

Use frozen state as a proxy for knowing if a package is currently
being moved, and block any new move requests until the current move
is finished.

Bug: 22069486
Change-Id: I50a70353132c1035b969982f0b7779f5dcb2251d
ppStorageSettings.java
8c26cbd87e8fe5880f84c5a27c89176e045f6669 08-Aug-2015 Billy Lau <billylau@google.com> am 5b2c66e4: am a59f39fc: Merge "Bug: 21588539 Move CHANGE_NETWORK_STATE to be in SYSTEM_SETTINGS" into mnc-dev

* commit '5b2c66e4da749ca59d09776ec7831e20d1211909':
Bug: 21588539 Move CHANGE_NETWORK_STATE to be in SYSTEM_SETTINGS
a59f39fca65d0828b0e4ade95a8404282e858ba9 08-Aug-2015 Billy Lau <billylau@google.com> Merge "Bug: 21588539 Move CHANGE_NETWORK_STATE to be in SYSTEM_SETTINGS" into mnc-dev
5b12cb7712d85025c93ad941b0694916c0566a37 05-Aug-2015 Jason Monk <jmonk@google.com> am 150e60ca: am 888673bd: Hide show/hide system from battery optimizations list

* commit '150e60ca9ad594d36aa12b425836a7d61b68501c':
Hide show/hide system from battery optimizations list
888673bd51acf9263163acfebdd0680358deabaa 05-Aug-2015 Jason Monk <jmonk@google.com> Hide show/hide system from battery optimizations list

Bug: 22977820
Change-Id: I1741bfe3e8703bae8ce10503879adfd12e9eb4fc
anageApplications.java
6be055a83dc6a70bbce04774b1725c8696abb1fa 05-Aug-2015 Jason Monk <jmonk@google.com> am c86f6dfd: am 244fd782: Merge "Remove summaries fro configure apps page" into mnc-dev

* commit 'c86f6dfdc83d1c6c1115dccc9db9d8073587036d':
Remove summaries fro configure apps page
3d9c7fc9982ddd513bc1bebdce76a12eecb61c88 01-Aug-2015 Billy Lau <billylau@google.com> Bug: 21588539 Move CHANGE_NETWORK_STATE to be in SYSTEM_SETTINGS

Change the implementation of AppStateAppOpsBridge to handle multiple
requested permissions in one operation due to the merging of
CHANGE_NETWORK_STATE permission with WRITE_SETTINGS.

This change will affect the packages that will be listed under the
"Write system settings" option in Settings->Apps->[Gear/Cog].

Change-Id: I7d2304d2846b6f505a7b1c3fcf53e7a9bd184ed5
ppStateAppOpsBridge.java
ppStateOverlayBridge.java
ppStateUsageBridge.java
ppStateWriteSettingsBridge.java
c5291b87b3b21cb6621d6d29b0400aad9c3d4f40 04-Aug-2015 Jason Monk <jmonk@google.com> Remove summaries fro configure apps page

Bug: 22741399
Change-Id: Iead63e39eafdc9217a4e569b3b7b4e71f401e85e
dvancedAppSettings.java
e09bfe34d985320bea7e9b924dd0910cf639fa33 04-Aug-2015 Chris Tate <ctate@android.com> am bd3d49f7: am 6e64e22e: Merge "Explain properly when apps can open multiple hosts\' links" into mnc-dev

* commit 'bd3d49f78712b12db99ef316e8ec42eb94ea0f06':
Explain properly when apps can open multiple hosts' links
d485c6b13da28af363630b9dab60207f901bb10f 04-Aug-2015 Christopher Tate <ctate@google.com> Explain properly when apps can open multiple hosts' links

The app link settings "Open by default" detail view was showing
only one host under label "Supported links," improperly implying
that the app would only open that host's links. The summary now
matches the 'App links' view's, explaining "Open $HOST and related
URLs" for apps with more than one.

Tapping on the item has always shown the full list of hosts
advertised by the app, and this remains unchanged.

Bug 22769535

Change-Id: I2be409df64639eb0f2b43a06e3195796c3a3df8b
ppDomainsPreference.java
82e6edfe1bad73b6757aa93725e74fb7f69a26a4 30-Jul-2015 Billy Lau <billylau@google.com> am 95026e03: am eb372c93: Merge "Bug: 22718745 Intents to \'draw over other apps\' should go direct to the package\'s page instead of the top level one" into mnc-dev

* commit '95026e032809f39fb2aece05e8b3d8f74eca77ea':
Bug: 22718745 Intents to 'draw over other apps' should go direct to the package's page instead of the top level one
eb372c93ee00fa9365206129136501497e6341c7 30-Jul-2015 Billy Lau <billylau@google.com> Merge "Bug: 22718745 Intents to 'draw over other apps' should go direct to the package's page instead of the top level one" into mnc-dev
fee785645b57c519a31ed403e60e8f76dcc8abbb 27-Jul-2015 Billy Lau <billylau@google.com> Bug: 22718745 Intents to 'draw over other apps' should go direct to the package's
page instead of the top level one

Settings:
Added two activities to handle app-specific Intent when app invoke permission
management UI.

SettingsActivity:
Added two fragment classes to handle app-specific Intent when app invoke permission
management UI.

AndroidManifest.xml:
We handle both Intent to top level settings and app-specific management UI for
app ops protected permissions.

AppStateAppOpsBridge:
Added a new field to PermissionState to keep track of permission declared vs one
that is actually granted during install time.

AppState{Overlay/Usage/WriteSettings}Bridge:
Updated the fields affected by changes in PermissionState.

{DrawOverlay/UsageAccess/WriteSettings}Details:
Disabled the toggling of permission if the app did not declare for the asked
permission.

Change-Id: Ibf63e4d9a4fbf7899a93d2176abb1204c4f75557
ppStateAppOpsBridge.java
ppStateOverlayBridge.java
ppStateUsageBridge.java
ppStateWriteSettingsBridge.java
rawOverlayDetails.java
sageAccessDetails.java
riteSettingsDetails.java
b5c146eef9dcbc405530ef1855d192ec59119100 29-Jul-2015 Zach Johnson <zachoverflow@google.com> am ecb19d54: am a425e864: Merge "Hide apps in the battery menu that have COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED" into mnc-dev

* commit 'ecb19d540025a6c1855d148f1b4015f3a107bfd1':
Hide apps in the battery menu that have COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED
a425e86478b60c4eb1f90f47197fa244379879de 29-Jul-2015 Zach Johnson <zachoverflow@google.com> Merge "Hide apps in the battery menu that have COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED" into mnc-dev
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.
5b5ed310d4eaf5f1c74594ada81a148d4f67f4c0 28-Jul-2015 Julia Reynolds <juliacr@google.com> Merge "Prevent crash in app memory updater." into mnc-dev
a15cf2279619a35d1cfe868fb116d90ed0c4a0c8 28-Jul-2015 Jorim Jaggi <jjaggi@google.com> am 22064d8b: am 4d9f5c91: Merge "Don\'t use screenshot if structure is disabled (2/2)" into mnc-dev

* commit '22064d8b89dbe4feb79acff3606540f416bd00a0':
Don't use screenshot if structure is disabled (2/2)
4d9f5c91aeb7ab1ab9828bce45d5f0a7c3ba0716 28-Jul-2015 Jorim Jaggi <jjaggi@google.com> Merge "Don't use screenshot if structure is disabled (2/2)" into mnc-dev
ed91bbdb1f2087a9ffcfebc6c0425d1f45976e22 28-Jul-2015 Julia Reynolds <juliacr@google.com> Prevent crash in app memory updater.

Bug: 22768769
Change-Id: I1eec14f5ffb46390aa6060babf86fc88ad76a16d
nstalledAppDetails.java
e32c17580e5ca3d985204495640c9096f1bde856 28-Jul-2015 Jorim Jaggi <jjaggi@google.com> Don't use screenshot if structure is disabled (2/2)

Bug: 22674955
Change-Id: I78208a4c746e3a501fe264918607ef94f64a8034
anageAssist.java
82b938c4aeb9522c3d78f904617836e43ea09bf2 27-Jul-2015 Julia Reynolds <juliacr@google.com> am 0c8bee96: am 9a1c0dce: Handle app uninstall via Storage & USB.

* commit '0c8bee9643717519c7d8ca7888068c7baf07b994':
Handle app uninstall via Storage & USB.
9a1c0dce7a496f51087cf0497b931a31c64b0a65 27-Jul-2015 Julia Reynolds <juliacr@google.com> Handle app uninstall via Storage & USB.

Bug: 22702406
Change-Id: Ie02fd53be93cad1af043be2c573bd650fc1c0df2
ppStorageSettings.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
ppStatePowerBridge.java
anageApplications.java
1fa5f4b33629a8995f44c56b3feb221ef0122477 24-Jul-2015 Svetoslav Ganov <svetoslavganov@google.com> am 6c2d4d73: am cce844a7: Merge "Reset permissions and app links when clearing app preferences - settings" into mnc-dev

* commit '6c2d4d73464e6026f42a615c75e3c5d7e3679d7b':
Reset permissions and app links when clearing app preferences - settings
9b6ff57eb550215c30a16225e59a2c4d0af7de92 24-Jul-2015 Jason Monk <jmonk@google.com> am a119087b: am 9927acd3: Merge "Don\'t show disabled apps in ignore optimizations" into mnc-dev

* commit 'a119087b8ba24e930d982c30a039f7c4204fc435':
Don't show disabled apps in ignore optimizations
cce844a7a31c4aec0770c40c7a9a805cb48b9f31 23-Jul-2015 Svetoslav Ganov <svetoslavganov@google.com> Merge "Reset permissions and app links when clearing app preferences - settings" into mnc-dev
9927acd3ad67ce2cc20e9f9c06af442f6ba69c8f 23-Jul-2015 Jason Monk <jmonk@google.com> Merge "Don't show disabled apps in ignore optimizations" into mnc-dev
841bb3d336b8c485ee71c5d065583c666a08fc86 23-Jul-2015 Svet Ganov <svetoslavganov@google.com> Reset permissions and app links when clearing app preferences - settings

bug:22359132

Change-Id: I55044a3fd1f8959a2a48cfd02276a24b2f619eb0
esetAppsHelper.java
bc3695c231a5a16f45059e0e561a35d49353afc5 21-Jul-2015 Billy Lau <billylau@google.com> am e267fb31: am d06ba151: Merge "Bug 21589105 Rescope WRITE_SETTINGS (UX and Settings app change)..." into mnc-dev

* commit 'e267fb3119754f205bf8518a6c00d3e957b0e45f':
Bug 21589105 Rescope WRITE_SETTINGS (UX and Settings app change)...
bb3aa2632abe5f01edcc5b440bf032ff3d8c3e5f 21-Jul-2015 Billy Lau <billylau@google.com> Bug 21589105 Rescope WRITE_SETTINGS (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 needing this capability can
launch the summary UX through a specific intent.

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

strings.xml:
Increased the CHAR limits for some strings due to requests from translators.

Change-Id: Ie64f86e034867ed582c1c583a5e8f84671fa4d63
ppStateWriteSettingsBridge.java
riteSettingsDetails.java
94f9c824c42f209f363c3ae8d637c909790e36b5 21-Jul-2015 Jason Monk <jmonk@google.com> Don't show disabled apps in ignore optimizations

Bug: 22612760
Change-Id: Iddb3ad9cb9403d9e51bfcda82db3d10ee34ca47d
anageApplications.java
b48e56c9b232710c2de0fa852d7230e9b0a191d7 20-Jul-2015 Jason Monk <jmonk@google.com> am 959a7380: am 178c4099: Merge "Handle monkey crash" into mnc-dev

* commit '959a7380f15ea95ccba6d7d6ae30fee8f312bb84':
Handle monkey crash
178c40998df2d5196bc5913fca831880cfa47c50 20-Jul-2015 Jason Monk <jmonk@google.com> Merge "Handle monkey crash" into mnc-dev
7cce6d0c529bf9d3820b1fc4d8b5ad364a74a478 20-Jul-2015 Christopher Tate <ctate@google.com> am f330857a: am b852fcbd: Merge "Offer \'ask\' as an available app-linking state" into mnc-dev

* commit 'f330857a17d29cec33ca0169cb30fdc69854ab52':
Offer 'ask' as an available app-linking state
bd45c3cbe0ccb9d5a1ebeabccda1e803d613e729 20-Jul-2015 Jason Monk <jmonk@google.com> Handle monkey crash

Don't create dialog if we don't have one to create, and make sure
that storage-related prefs are removed when they aren't needed.

Bug: 22571238
Change-Id: I452cbf75313cd14572fc7b57bd6164292cf17209
ppStorageSettings.java
b852fcbde9f5e0d92f5fc2ac8fc088eb114e3b63 20-Jul-2015 Christopher Tate <ctate@google.com> Merge "Offer 'ask' as an available app-linking state" into mnc-dev
2eda36509f43ce208db811dd34fe8f0633fc6397 17-Jul-2015 Christopher Tate <ctate@google.com> Offer 'ask' as an available app-linking state

Bug 22532193

Change-Id: I5bb43b1b8d84af1901f99fb10dd899c260d94c99
ppLaunchSettings.java
e5a95396da082a3ba432c5d8ed5a7baa2eacd55c 17-Jul-2015 Billy Lau <billylau@google.com> am e104fced: am 90a8a01b: Merge "Bug 21589105 Rescope SYSTEM_ALERT_WINDOW (UX and Settings app change)..." into mnc-dev

* commit 'e104fced18056905286ee01a3ef8c3d12f2b9e4d':
Bug 21589105 Rescope SYSTEM_ALERT_WINDOW (UX and Settings app change)...
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
ppStateOverlayBridge.java
rawOverlayDetails.java
anageApplications.java
543d68cc3a68098bface7335266a46d1ae0603ca 16-Jul-2015 Jason Monk <jmonk@google.com> am 194e92d3: am 50972605: Merge "Disable ignore battery optimization items that can\'t change" into mnc-dev

* commit '194e92d3a0dcc15056fac17690f2f36bdc96861a':
Disable ignore battery optimization items that can't change
f9d8deffaa79da57f04c9eed50d0d1991daac4b1 16-Jul-2015 Jason Monk <jmonk@google.com> am 7beb763d: am 4a6b9095: Merge "Change move storage from dropdown pref to dialog" into mnc-dev

* commit '7beb763da239fb71f214cab0587ae52f383985fc':
Change move storage from dropdown pref to dialog
509726054a3efc09d65d6c15f485ea6f1da2d272 16-Jul-2015 Jason Monk <jmonk@google.com> Merge "Disable ignore battery optimization items that can't change" into mnc-dev
e8400c2fb78e80979b5190d4abc9685442cdfc25 15-Jul-2015 Jason Monk <jmonk@google.com> Change move storage from dropdown pref to dialog

Use a horizontal pref and a single button that triggers the dialog

Bug: 21922660
Change-Id: Ifb4de75ca9269d2e8163eec5602932260adec0d9
ppStorageSettings.java
443513cc0d033ce58bcdd328becedce34c16f932 15-Jul-2015 Jason Monk <jmonk@google.com> Disable ignore battery optimization items that can't change

Bug: 22507803
Change-Id: Ia33746dc569f4d9f96242a502e54bcc8eb47bf12
anageApplications.java
254ce51b129a6b6a8f98b4641895ab085a3936c9 14-Jul-2015 Billy Lau <billylau@google.com> am de784e6a: am 52df60d8: 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

* commit 'de784e6ab5e86eb780cdeee4a2f01e2db9a1ef07':
Bug: 21589105 Rescoping SYSTEM_ALERT_WINDOW and WRITE_SETTINGS permission to an explicit toggle to be enabled through Settings via Apps -> Advanced Apps.
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
d4391c22d147cbf97823e14fbe16d0a97b195dd3 14-Jul-2015 Jorim Jaggi <jjaggi@google.com> am 464e54f8: am 8505d4a5: Merge "Disable voice input if assist is voice service" into mnc-dev

* commit '464e54f88b4aa933a7d26cb1afecf0ddfc282751':
Disable voice input if assist is voice service
0798ef0523b99212c4782d4fb0f1a68d903dbc39 11-Jul-2015 Jorim Jaggi <jjaggi@google.com> Disable voice input if assist is voice service

Bug: 22358252
Change-Id: Id4a9de8c5287c5e025d0ccc7f98edd8855db519c
anageAssist.java
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
dvancedAppSettings.java
ppStateAppOpsBridge.java
ppStateOverlayBridge.java
ppStateUsageBridge.java
ppStateWriteSettingsBridge.java
rawOverlayDetails.java
anageApplications.java
sageAccessDetails.java
riteSettingsDetails.java
de557d48badd10b7313ea2b40ff8156577a14678 13-Jul-2015 Wei Liu <luciferleo@google.com> Move AppItem, ChartData, ChartDataLoader from Settings to SettingsLib.

Change-Id: Id6189e600eb2adb67f31d079a5a5ecfc99addccc
nstalledAppDetails.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
nstalledAppDetails.java
b573a1659dbe66cc6c756dbe089a28a3463d4622 09-Jul-2015 Jason Monk <jmonk@google.com> Fix rotation issues

Bug: 22373905
Bug: 22311581
Change-Id: Idbed99a3fc0cc64047da151be166ee0ea4c1fb3d
anageApplications.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
anageApplications.java
b493b2910190b95bba6cad0f328a0339acebef9b 08-Jul-2015 Jorim Jaggi <jjaggi@google.com> Merge "Hide screenshot preference when assist is disabled" into mnc-dev
56db978c2af490699106a53dff26e05a0295b230 08-Jul-2015 Jorim Jaggi <jjaggi@google.com> Hide screenshot preference when assist is disabled

Bug: 22343636
Change-Id: Ic455232dda209f7fadec41aee85903623a4e6bda
anageAssist.java
4652115f1f75633b0cf3811910b0a5336fd90bf4 08-Jul-2015 Jason Monk <jmonk@google.com> Merge "Handle uninstall from notifications list" into mnc-dev
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
ppLaunchSettings.java
anageApplications.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
nstalledAppDetails.java
5b45c3cb2fdd9299a3fa632047f3da1bec4e868a 02-Jul-2015 Svetoslav <svetoslavganov@google.com> Fix build

Change-Id: I658528a9b0a8a281a2b30b2915c1be6963759378
ppOpsState.java
f7806581e582e5921d0eb4caa9751d1aa429bc47 01-Jul-2015 Jason Monk <jmonk@google.com> Avoid crashing

Bug: 22202631
Change-Id: I1980f77ae4300dbd19d6829dc5974bab0b88d612
nstalledAppDetails.java
d9bd96b3094039fdcb8c76042a6f2dc21d6c7875 27-Jun-2015 Jorim Jaggi <jjaggi@google.com> Add setting to disable screenshot separately (2/2)

Bug: 22063668
Change-Id: I85b255ac114184e0edbd71010d517b337ad935e5
anageAssist.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
dvancedAppSettings.java
nstalledAppDetails.java
ermissionsSummaryHelper.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
nstalledAppDetails.java
53a5d7ff2ce3ab446f4ad046e6703ed2caa18fa4 18-Jun-2015 Jason Monk <jmonk@google.com> Update disable dialog

Bug: 20826933
Change-Id: Ib84d3ba50ead2b71f62a3b163a5f5ba32a576c00
nstalledAppDetails.java
f8577c68afbf4965211ca99233f7c5e40560e566 17-Jun-2015 Jason Monk <jmonk@google.com> Merge "Support disabled until used apps" into mnc-dev
77537b697b411df54dedd65b1e5ca4eb5dd00846 16-Jun-2015 Jason Monk <jmonk@google.com> Support disabled until used apps

Bug: 21782239
Change-Id: I59bef6689a9efb74f64827026add0cbddc18cf53
nstalledAppDetails.java
610413d307f0a65b26d2ffb04f8389c1fe568029 16-Jun-2015 Yorke Lee <yorkelee@google.com> Merge "Send broadcast when default dialer changes" into mnc-dev
d0eab40a573bd03aec558615c9f8806848ef11c8 16-Jun-2015 Jason Monk <jmonk@google.com> Merge "Don't show work apps in ignore optimizations list" into mnc-dev
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
ppStatePowerBridge.java
anageApplications.java
sageAccessDetails.java
ec1c45c25df623548beb3e6f226c93f32135934b 16-Jun-2015 Jason Monk <jmonk@google.com> Add warning for disabling usage access on prof owners

Bug: 20751702
Change-Id: Id0f54f06c3bf05c32a973ad805c116cbae96028a
sageAccessDetails.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
ppOpsDetails.java
ppViewHolder.java
nstalledAppDetails.java
ayoutPreference.java
anageApplications.java
rocessStatsMemDetail.java
rocessStatsPreference.java
71c89a171acb1ddd63d10189c39c07134987bd2f 16-Jun-2015 Jeff Sharkey <jsharkey@android.com> Merge "More storage UI updates." into mnc-dev
2597625fd9704ff9eab94987d332378f806dae83 16-Jun-2015 Jeff Sharkey <jsharkey@android.com> More storage UI updates.

Storage volumes now have headers with larger fonts and progress bars
to show used versus free space. Updated Memory to use new formatting
template, and Data Usage to use consistent display logic.

Allocate a unique color for each private volume, and yell when a
volume is running low on space. Update private volume details to
launch into MediaStore-backed storage backends in a management mode,
and only show detailed items when hosting emulated storage. Show
details dialog about "Other" and user storage items.

Shortcut into single private volume when it's the only device. Add
real eject icon.

Bug: 21756698, 20275574, 21326612
Change-Id: If3ecd1d912d3e709c09d3e4da24f368e04dd3f9d
rocessStatsSummary.java
bada978ec3eab48564c29eb4f8169e88975a2da0 16-Jun-2015 Adrian Roos <roosa@google.com> Merge "Use AssistUtils.getAssistInfo" into mnc-dev
b627370e85bd6dec1a0e6379b0080036f21ae151 15-Jun-2015 Adrian Roos <roosa@google.com> Use AssistUtils.getAssistInfo

Use consistent logic with SystemUI for determining
default assist component.

Bug: 21780590
Change-Id: I1313b79ce3bb75944889e3ceccb4a2e6bb23e824
efaultAssistPreference.java
63fc740356f0fa7c3d98bf663cec4c08bdd3434d 15-Jun-2015 Yorke Lee <yorkelee@google.com> Send broadcast when default dialer changes

Bug: 21846308
Change-Id: Ic92c3e39fa23dc1f2e08aa5d1dd1b27835c325cf
efaultPhonePreference.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
anageApplications.java
dc748cb38ac79fb445d7bbba6f8220a85820d03a 10-Jun-2015 Jason Monk <jmonk@google.com> Merge "App storage settings - Request size onResume" into mnc-dev
ece9d5145f38ec077be9d7f3a2e145500b296a29 10-Jun-2015 Jason Monk <jmonk@google.com> App storage settings - Request size onResume

Our data might be stale (especially when coming from manage space
activities).

Bug: 21680510
Change-Id: Ifb919e05f23f76677b6de2aff3d13d00e195facb
ppStorageSettings.java
d09be7ed30d2ed4f3298c3075f506612b91a5878 10-Jun-2015 Jason Monk <jmonk@google.com> Merge "New dialog for ignore battery optimizations" into mnc-dev
3a90d7cc69899f20f82ebe976fa04e19ebf27aaa 10-Jun-2015 Jason Monk <jmonk@google.com> New dialog for ignore battery optimizations

Bug: 21375688
Change-Id: I7240cc0615044cf5a34349e5ffdf2ae2e0f6333f
anageApplications.java
9823f27936d07ef1f7ce0d79eca39c3f053d3e62 10-Jun-2015 Xiyuan Xia <xiyuan@google.com> Merge "Implement default assist app setting" into mnc-dev
0bd18745cff354f6994b70e71f3ab6b7e98fe004 10-Jun-2015 Makoto Onuki <omakoto@google.com> Merge "Show list of permissions instead of just numbers" into mnc-dev
86a554091d0705f2152fcf1d78ca1c7720d9842c 02-Jun-2015 Xiyuan Xia <xiyuan@google.com> Implement default assist app setting

- Add "None" support to AppListPreference
- Add DefaultAssistPreference to manage assist;
- Add AppListPreferenceWithSettings to show a settings icon;
- Implement DefaultAssistPreference based on AppListPreferenceWithSettings;
- Move voice input settings into ManageAssist and implement it
based on AppListPreferenceWithSettings;

Bug:20210110
Change-Id: If283b8b55a46b428ecfa6e45dc2123292b1d4302
efaultAssistPreference.java
anageAssist.java
da6a4904a9b6370b9a4ceeab6f8ecc08738a2c7b 10-Jun-2015 Chris Wren <cwren@android.com> Merge "annoint new constants" into mnc-dev
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
anageApplications.java
ca689aeadae563d35da5ae57d4d6542096a0bdfe 09-Jun-2015 Chris Wren <cwren@android.com> annoint new constants

Bug: 21114836
Change-Id: I63fb1da67a6f6d8dfad076e7e1c2cef0783c17f9
anageAssist.java
rocessStatsSummary.java
375c3a080ebc7651a16cf09c12841a6f4d6b8c73 05-Jun-2015 Makoto Onuki <omakoto@google.com> Show list of permissions instead of just numbers

Bug 21615746

Change-Id: I23439b3571f10d6d396174025a19b5ebb585dee9
dvancedAppSettings.java
nstalledAppDetails.java
ermissionsSummaryHelper.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
dvancedAppSettings.java
ppInfoBase.java
ppPermissionSettings.java
ppStateBaseBridge.java
ppStateNotificationBridge.java
ppStatePowerBridge.java
ppStateUsageBridge.java
ppStorageSettings.java
ppViewHolder.java
pplicationsState.java
learDefaultsPreference.java
nstalledAppDetails.java
nterestingConfigChanges.java
anageApplications.java
unningState.java
cd5b97dfad920ca5f84e42f3e0dbb648550637e6 04-Jun-2015 Jason Monk <jmonk@google.com> Merge "Fix updates of the enable/disable button" into mnc-dev
63fbf68a42df5f69671257cb88fd5ef9a8bacb89 04-Jun-2015 Jason Monk <jmonk@google.com> Fix updates of the enable/disable button

Make the entire ApplicationsState resume and do way too much work
so that we can get a little bit of state.

ApplicationsState could use some refactoring.

Bug: 21518528
Change-Id: Ibb6a2c15948f9bc69490426d4004dc83582087b4
ppInfoBase.java
58148481a53381cff75ed74421716690055a2f1d 04-Jun-2015 Jason Monk <jmonk@google.com> Merge "Protect against monkey crash" into mnc-dev
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
nstalledAppDetails.java
28ca64b3d11872e0f12e90e4d392823d74d59342 03-Jun-2015 Jason Monk <jmonk@google.com> Protect against monkey crash

Bug: 19541028
Change-Id: Ia8e477b3c2843b2e841c429ce090ff388958bfcb
unningProcessesView.java
96e25b8d938082715f93bd071eb386a2174b910d 02-Jun-2015 Adrian Roos <roosa@google.com> Merge "Only show emergency app preference if enabled" into mnc-dev
a7fe759de7c021b0d3467c75422acb14c62f90bd 28-May-2015 Jason Monk <jmonk@google.com> Merge "More memory updates" into mnc-dev
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
nstalledAppDetails.java
rocessStatsBase.java
rocessStatsDetail.java
rocessStatsSummary.java
rocessStatsUi.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
anageApplications.java
7581c30774712eaaced700e9b7186493bf384611 27-May-2015 Adrian Roos <roosa@google.com> Only show emergency app preference if enabled

Bug: 21471480
Change-Id: I93e5dcb9acb8be1220d2874d5bca764819139760
efaultEmergencyPreference.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
nstalledAppDetails.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
ppInfoBase.java
pplicationsState.java
nstalledAppDetails.java
1ecfc645ee74ddcc7555f44291943f75581a4f8e 26-May-2015 Jason Monk <jmonk@google.com> Merge "Fix crash while rotating with app info dialog up" into mnc-dev
5e2529aeb4071357e6b43836816d5cf15fe473ea 26-May-2015 Jason Monk <jmonk@google.com> Fix crash while rotating with app info dialog up

Bug: 21037445
Change-Id: Ie5b0f8aa04913d0ab781be334c6c305db97235a0
ppInfoBase.java
7231147b567aaf1c495eae569723c5dd7268c9e0 26-May-2015 Jason Monk <jmonk@google.com> Merge "Unbanish memory screen and new UX" into mnc-dev
beb171d2e50f93b5fb78d73b372a4981e13e04ff 21-May-2015 Jason Monk <jmonk@android.com> Unbanish memory screen and new UX

Give memory screen a makeover so that it looks nice enough to be
restored to its rightful home.

Bug: 20694769
Change-Id: I2f6933037b3fbbfb0d9fe5e3ca821ef59e171faa
ayoutPreference.java
rocStatsData.java
rocStatsPackageEntry.java
rocessStatsBase.java
rocessStatsDetail.java
rocessStatsPreference.java
rocessStatsSummary.java
rocessStatsUi.java
pacePreference.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
dvancedAppSettings.java
nstalledAppDetails.java
ermissionsSummaryHelper.java
ce6f165104fb8c567c13369bae97935e29c47f4c 21-May-2015 Jason Monk <jmonk@google.com> Merge "Fix loading screen one more time" into mnc-dev
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
anageApplications.java
b2e07cd0f9e2a869710c6b713f403afc4fbdbfab 21-May-2015 Jason Monk <jmonk@google.com> Merge "Remove data item from app info when not supported" into mnc-dev
b45e27bc0f52d64a71aecba661770b30f6299301 20-May-2015 Jason Monk <jmonk@google.com> Remove data item from app info when not supported

Bug: 21207963
Change-Id: I91693d9a85c0905cbb021181967fa16aac61d3ea
nstalledAppDetails.java
b56a10368fa3b7f2a359c8cf4a7abf1ba7edf232 20-May-2015 Jorim Jaggi <jjaggi@google.com> Merge "Follow up for I8050df3177b6d540829c3f0989a4e4b1381c87ec (2/2)" into mnc-dev
712530794bd6e16bc84d87eec65e1de20b2b4aea 19-May-2015 Jorim Jaggi <jjaggi@google.com> Follow up for I8050df3177b6d540829c3f0989a4e4b1381c87ec (2/2)

Change-Id: I7623488349209248596827d03fd77cd128f8b2b4
anageAssist.java
2c56d450dd030657ea44e3b600653721d3c7d9c0 19-May-2015 Jason Monk <jmonk@google.com> Default ignore optimizations to show system apps

Bug: 21211422
Change-Id: Ied526cffa86406b8b81824cf2cdb03cc37bb7433
anageApplications.java
bc38a9a0ab57be09d9159489d8802250abd7a6e6 19-May-2015 Jorim Jaggi <jjaggi@google.com> Add setting to disable assist data (2/2).

Bug: 20944446
Change-Id: I3c518176cab88ce9b5031a0241bee30240e6f896
anageAssist.java
07b2d119ec62dc141b61b70b00066aa94bbfdedf 15-May-2015 Jason Monk <jmonk@android.com> Try not to crash while AppInfo is finishing

Bug: 21025020
Change-Id: Iebb9e6b24ca503f87b5648f0aaf02dde01903488
ppInfoBase.java
nstalledAppDetails.java
67e067fff4e4ef1eb54f9c238dbf07312434a07e 17-May-2015 Svet Ganov <svetoslavganov@google.com> Hide platform platform legacy permissions behind a menu option - settings.

bug:21195624

Change-Id: Ib1dcfe2a15685c36e2a59e0921ea74d46ec9738c
dvancedAppSettings.java
anagePermissions.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
nstalledAppDetails.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
dvancedAppSettings.java
nstalledAppDetails.java
anagePermissions.java
78161c737557cdfea30e6ac3e06be75db72b1cd8 13-May-2015 Jason Monk <jmonk@google.com> Merge "Add additional permissions button to manage perms" into mnc-dev
c25f11889c5716095c0fb6d389e4e080f6e76d5f 13-May-2015 Jason Monk <jmonk@google.com> Add additional permissions button to manage perms

Bug: 20269176
Change-Id: Ic004204b0fd984717a6d3848e8295edc67047883
anagePermissions.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
anageApplications.java
anageDefaultApps.java
sageAccessDetails.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
ppInfoBase.java
nstalledAppDetails.java
anageApplications.java
ce57d168624b6b10b235cb41374e862cca25a1f3 12-May-2015 Jason Monk <jmonk@google.com> Merge "More updates to battery optimization whitelist" into mnc-dev
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
anageApplications.java
c27f9e179adef2061e0000385f350874a7772c4e 12-May-2015 Jason Monk <jmonk@google.com> App info > storage updates

- Fix button theme
- Hide move dropdown when can't move
- Cleanup by switching to using a horizontal preference layout, rather
than custom layouts

Bug: 21060534
Change-Id: I2cc3ab4063ff6b4dfe873f9152b34130d702faae
ppStorageSettings.java
bcb4f2c913a74e1b03c6ac41e014410b10a462bd 11-May-2015 Jason Monk <jmonk@google.com> Update strings for ignore optimizations control

Bug: 19991702
Change-Id: Ie5b54fd70176cfceb8b88cf18a9974321ba84c28
anageApplications.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
ppInfoWithHeader.java
nstalledAppDetails.java
anageApplications.java
rocessStatsDetail.java
9e1ea4b121d200e4338bf271e832c3f2e3613b20 08-May-2015 Jason Monk <jmonk@google.com> Merge "Choose correct network template for data history" into mnc-dev
4d1efa0e6da65f20f1baf827abee97df6551c277 08-May-2015 Jason Monk <jmonk@google.com> Merge "Fix crash on unistalling app" 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
nstalledAppDetails.java
10e1a94ef7bf7034e0e9bebe471c868abb3825a9 08-May-2015 Jason Monk <jmonk@google.com> Choose correct network template for data history

Bug: 19921796
Change-Id: I90376ed0314c47fcbee21c81b85f60d3cc3312a6
nstalledAppDetails.java
7ef58584e66e077ee7930ae100cc1a1915cd7b1a 08-May-2015 Jason Monk <jmonk@google.com> Merge "Fix crash in settings -> apps after adding profile" into mnc-dev
e4ccf878391cb860eb91a09d407f09fee1007dcb 08-May-2015 Jason Monk <jmonk@google.com> Fix crash in settings -> apps after adding profile

Bug: 20652411
Change-Id: I766f99ee520ab106ec2765c77057042ed14e8fed
pplicationsState.java
99245d13e9ac2fabe1300929a3a669f1d186070e 08-May-2015 Fabrice Di Meglio <fdimeglio@google.com> Merge "Add user selectable Default Browser feature - part 4" into mnc-dev
00b5a67a2e30b866cdf0743ae3a7dbdd16af12c7 07-May-2015 Fabrice Di Meglio <fdimeglio@google.com> Add user selectable Default Browser feature - part 4

- refresh Browser list depending on package installation / removal

See bug #20144393

Change-Id: I529f6e0bd8b5bd4cae1dea9479acfca9cf9a6b26
efaultBrowserPreference.java
anageDefaultApps.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
pplicationsState.java
anageApplications.java
f4db340daeb50572d7e0ab12f4745affae8b567f 07-May-2015 Jason Monk <jmonk@google.com> Consistently use weight to get average mem usage

Rather than just for the labels...

Also update bg mem to be converted to the same memory scale for
the bars. Also undo some bad average calculations that only made
things worse.

Bug: 20694769
Change-Id: I676803bf76d336355441891e768ba3c228dbfbca
rocStatsPackageEntry.java
rocessStatsDetail.java
rocessStatsPreference.java
rocessStatsUi.java
e2d63fef3ccbfd3001b7e794b3ee1203fc1c77af 07-May-2015 Jason Monk <jmonk@google.com> Merge "Updates/fixes to memory settings" into mnc-dev
1de522323fc2b20b86f59819d819708cafdbd2ab 07-May-2015 Jason Monk <jmonk@google.com> Updates/fixes to memory settings

- Update memory states to be Good performance, Ok performance, etc.
- Update header info to be based on history rather than
instantaneous
- Color memory bar differently based on state
- Fix run frequency bucketing to be correct
- Show dialog for selecting duration, and fix duration selection
- Update process naming to:
- If process name is "anything:xxxx" then show "Xxxx"
- If process name is "com.app.package.interface" then show "Interface"
- If process name is the package name then show the app name
- Otherwise fallback to the process name string

Bug: 20694769
Change-Id: Ic1fab28bfd2422bde84dd10bd305a4cc34be98cf
rocStatsData.java
rocessStatsDetail.java
rocessStatsPreference.java
rocessStatsUi.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
anageApplications.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
ppInfoBase.java
ppInfoWithHeader.java
anageApplications.java
rocessStatsDetail.java
3066f832435af08bbc2ed5fcef45228d5ff86e33 05-May-2015 Yorke Lee <yorkelee@google.com> Merge "Rename default dialer to default phone app" into mnc-dev
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
dvancedAppSettings.java
ppInfoBase.java
ppStatePowerBridge.java
nstalledAppDetails.java
ayoutPreference.java
anageApplications.java
628a98c1dff34e9736c71798d806df9971928de8 01-May-2015 Yorke Lee <yorkelee@google.com> Rename default dialer to default phone app

Change-Id: Ib6c147ba132ed5296de5e932e5dc378183ef92a3
efaultDialerPreference.java
efaultPhonePreference.java
anageDefaultApps.java
d527f420860e8dfaa7fd87d0c53220fcd87ec5b6 30-Apr-2015 Jason Monk <jmonk@google.com> Merge "Handle no peeking in app info pages" into mnc-dev
25f9e326ab65e5298737721e959b22aea68148f1 30-Apr-2015 Jason Monk <jmonk@google.com> Handle no peeking in app info pages

Bug: 20496400
Change-Id: Icdcb997f35497c7664af948ad7ada722835e42b4
ppOpsDetails.java
ppStateNotificationBridge.java
ppViewHolder.java
nstalledAppDetails.java
anageApplications.java
b880f1424bd743c6e0daa748ad9ba33030b0166c 29-Apr-2015 Fabrice Di Meglio <fdimeglio@google.com> Merge "Add user selectable Default Browser feature - part 3" into mnc-dev
d5f379304c19e4511dad2054334bcce37acb336f 29-Apr-2015 Fabrice Di Meglio <fdimeglio@google.com> Add user selectable Default Browser feature - part 3

- fix preference summary

See bug #20144393

Change-Id: I4ecf46e69bf6bafda87dbc05b7c2f68bbca725cb
anageDefaultApps.java
28c3ba156f06e8f021ff6eabababe1a8627ff100 29-Apr-2015 Jason Monk <jmonk@google.com> Merge "Allow filtering system apps on most app lists" into mnc-dev
fbaf4363f6701a79a0c26bd988704445cb04d72c 29-Apr-2015 Jason Monk <jmonk@google.com> Allow filtering system apps on most app lists

Change-Id: If852adec4122aca3f11b0f894c0c44d12a75cc77
anageApplications.java
afa7afda4fb2b8236957bf8a9eee6c4c32e96d62 29-Apr-2015 Fabrice Di Meglio <fdimeglio@google.com> Add user selectable Default Browser feature - part 2

- show full list of Browsers

This change depends on a Framework change which adds a new MATCH_ALL
constant flag in PackageManager for getting the full list.

See bug #20144393

Change-Id: I6ed29cbac28aaf1a955541db0615a1d20d267fd5
efaultBrowserPreference.java
0b31dc54bf4af2b11f46446f3a5c8d8d1d537242 28-Apr-2015 Yorke Lee <yorkelee@google.com> Merge "Simplify DefaultDialerManager" into mnc-dev
ec996be27b90f7bade344fef95f96460621e53ec 28-Apr-2015 Yorke Lee <yorkelee@google.com> Simplify DefaultDialerManager

The previous code worked with ComponentNames because it was
based off existing code for the default SMS application.
We only really need the package name however, so simplify the
code by storing and retrieving the package name directly.

Bug: 20304458
Change-Id: Icabd3a9f0f8166c105360494b601160d13767fad
efaultDialerPreference.java
169f824bfe0849de2dc2075e88e54d3248aedda7 28-Apr-2015 Yorke Lee <yorkelee@google.com> Merge "Rename setDefaultDialerApplication for consistency" into mnc-dev
f28c517174892f67383151dd4e701a298671b856 28-Apr-2015 Yorke Lee <yorkelee@google.com> Rename setDefaultDialerApplication for consistency

Change-Id: I0749f2cbaaf0e9fd7fb8274a088ca971a33b2a36
efaultDialerPreference.java
2583fc1e069d0a54df46258d360499492d7e86d2 25-Mar-2015 Jason Monk <jmonk@google.com> Move process stats screen into memory screen.

- Move process stats from developer options to top level
settings item.
- Some minor UI changes to the top of the page
- Major UI updates to detail page, now shows info with processes
as pref categories and services as prefs, with a way to kill
them (taken from Running Services page).
- Some major refactorings in code, in attempt to make it more
usable
- Added color bar on per app basis to visualize the avg/max
relationship
- Updated the way avg is calculated across multiple entries in
ProcStatsPackageEntry to be more accurate
- Change the way max memory is calculated in
ProcStatsPackageEntry to be less accurate but more useful

Bug: 19443802
Change-Id: Ia6aaabe42c415c50997a09bfb814a6f6e5731772
rocStatsData.java
rocStatsEntry.java
rocStatsPackageEntry.java
rocessStatsDetail.java
rocessStatsPreference.java
rocessStatsUi.java
954d8dad5e395544f95ca211466bcc7195d31877 24-Apr-2015 Jeff Sharkey <jsharkey@android.com> Migrate package movement to use new API.

We now kick off the move immediately, and pass along the "ID" of the
move in progress. This allows the progress activity to be completely
destroyed and recreated without kicking off a second conflicting move
operation.

Also uses new cleaner movement API that accepts direct VolumeInfo.

Bug: 19993667
Change-Id: I28bc268fcb42dfc9152020b16ef7058d63157597
ppStorageSettings.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
anageApplications.java
fb22526104aec924b60d158adc47ee657f31541a 23-Apr-2015 Jason Monk <jmonk@google.com> Merge "Allow users to re-enable apps once disabling them"
b0b514a2f65f76b2df7768d7dcf93f6225269b61 23-Apr-2015 Yorke Lee <yorkelee@google.com> Merge "Add default phone app to system settings"
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
anageApplications.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
ppInfoBase.java
ppStateBaseBridge.java
ppStateNotificationBridge.java
ppStateUsageBridge.java
anageApplications.java
sageAccessDetails.java
dc868a18f80fae26ae2c472163af707ad462482f 21-Apr-2015 Yorke Lee <yorkelee@google.com> Add default phone app to system settings

Bug: 20303635

Change-Id: Ibf052fa92347bff49a638c4042d899c9d6587410
efaultDialerPreference.java
anageDefaultApps.java
38e7b2666442e0b8c063b7390a7641504750a4a9 21-Apr-2015 Jason Monk <jmonk@google.com> Fix filtering for manage apps

Bug: 20453766
Change-Id: Ia4a0f0d9a652332944ef846770d5bc4cc50395d9
anageApplications.java
2d566e7f054d977f666c036e2d3739afaa7f25a5 17-Apr-2015 Tony Mantler <nicoya@google.com> Move PermissionsInfo to SettingsLib

Change-Id: Ibe587365b841d7e68d7bb7b7999656f73d9d9bc7
dvancedAppSettings.java
anagePermissions.java
ermissionsInfo.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
pplicationsState.java
anageApplications.java
4e53ac6dc8325fa719d200533639645e67aa322b 16-Apr-2015 Jeff Sharkey <jsharkey@android.com> Merge "Move packages between candidate volumes."
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
ppStorageSettings.java
pplicationsState.java
anageApplications.java
bef722cfad21210fd41f321a004552d248d94755 15-Apr-2015 Adrian Roos <roosa@google.com> Hide emergency app setting when not available

Bug: 20117344
Change-Id: Ieb6d166c0fa7c7376bbf262fa831ff3f626fce57
efaultEmergencyPreference.java
anageDefaultApps.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
anageApplications.java
73a2496d316cb9a8dc0020c245bc61f766b7f7c2 14-Apr-2015 Jason Monk <jmonk@google.com> Move default app preferences to one screen

- Move emergency and SMS app preferences to default apps
- Fix search on default apps
- Make all default app prefs use AppListPreference
- Some approximate UI work on AppListPreference

Bug: 20210110
Change-Id: Id04086163c7e87c92a03af421a27018fb380b45d
dvancedAppSettings.java
efaultBrowserPreference.java
efaultEmergencyPreference.java
efaultSmsPreference.java
anageDefaultApps.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
dvancedAppSettings.java
pplicationsState.java
anageApplications.java
esetAppsHelper.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
anageApplications.java
anagePermissions.java
unningServices.java
2eb901a4e8865f4c49de6b8013cecd606b6a79e6 10-Apr-2015 Fabrice Di Meglio <fdimeglio@google.com> Add user selectable Default Browser feature

- add Default Apps section in Apps / Advanced
- follow UX spec

This change depends on a Framework change which adds new APIs in PackageMaager
for setting and getting the default Browser App package name.

See bug #20144393

Change-Id: I2ff456eeaced9f740f4dd6fb6bccea6de6ea1308
efaultBrowserPreference.java
anageDefaultApps.java
1951726152cc8b0dde8b35f50c3710f8a56b8934 08-Apr-2015 Adrian Roos <roosa@google.com> Merge "Hide emergency app settings on non-voice deivces"
4157d7fcbb1edb5d051b7c402b1a489422864861 08-Apr-2015 Adrian Roos <roosa@google.com> Hide emergency app settings on non-voice deivces

Bug: 19841649
Change-Id: I30ba582f503514656c99f3aea2801a68dfd1a5fa
dvancedAppSettings.java
efaultEmergencyPreference.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
ppLaunchSettings.java
anageApplications.java
6e338dbe62aa96d2ff0a441f11fd47ee82d84045 07-Apr-2015 Jason Monk <jmonk@google.com> Merge "Add runtime permission summary for M apps"
6137d550b074ff29021158ffdfeff4406d3d2c3a 03-Apr-2015 Jason Monk <jmonk@google.com> Add runtime permission summary for M apps

Bug: 20104004
Change-Id: I88b7db34e52444a0c23a8f4ccb76e52bbb83f118
ppPermissionSettings.java
ppPermissions.java
c701a20aedf33c7246b37aa1c0b8a12dc2193c7f 07-Apr-2015 Adrian Roos <roosa@google.com> Merge "Fix crash on rotation while ICE dialog is open"
e06c34464e151ee0feddb9762319dc38909dcaa5 07-Apr-2015 Adrian Roos <roosa@google.com> Fix crash on rotation while ICE dialog is open

Bug: 20096049
Change-Id: I90c5d98b26cc55d7178e6c154ff1788ccb4c3974
efaultEmergencyPreference.java
7781ef68703995c6724eb618c8c0c3eb10cb2a73 05-Apr-2015 Dianne Hackborn <hackbod@google.com> Update with new assist app ops.

Change-Id: I796845dd1cb3ccfe951e0cbdb7cab55ec476f128
ppOpsState.java
8b2ea39cbc5b0923646b5ad4d5f66ff3c66a9f7f 24-Jan-2015 Fabrice Di Meglio <fdimeglio@google.com> Settings - add support for Launch by Default

- implement UX spec

Change-Id: I7ee8962f83983273d809e0ef6fc81b0eb2df15dd
dvancedAppSettings.java
ppDomainsPreference.java
ppLaunchSettings.java
ppViewHolder.java
pplicationsState.java
learDefaultsPreference.java
nstalledAppDetails.java
anageApplications.java
9c86a7adaea189de00da1b70b2f5373df1fcac11 02-Apr-2015 Adrian Roos <roosa@google.com> Add default emergency app setting

Bug: 19841649
Change-Id: I1763ee16e1e10c957261fe663f4c87269adcdef7
efaultEmergencyPreference.java
2f41aa7955e27a050155765803d3a5ae98782f26 26-Mar-2015 Jason Monk <jmonk@google.com> Add permissions screen to advanced apps

Add a screen that shows a list of permissions and how many apps
have been granted them, link to PackageInstaller for control of
the permissions.

Depends on I68cdbe53177f742daf396f4eb53761fd5cda2636
Change-Id: I183848ea89ea41a17eaf663441dc4ef963be99bf
dvancedAppSettings.java
anagePermissions.java
ermissionsInfo.java
8a963babe2e36b7a41f77b8d2598c97658196e58 20-Mar-2015 Chris Wren <cwren@android.com> log visibility of views

Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f
Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
dvancedAppSettings.java
ppInfoBase.java
ppLaunchSettings.java
ppOpsDetails.java
ppOpsSummary.java
ppPermissionSettings.java
ppStorageSettings.java
nstalledAppDetails.java
anageApplications.java
rocessStatsDetail.java
rocessStatsMemDetail.java
rocessStatsUi.java
unningServiceDetails.java
390910b333c9badbfc0dab5b851853ef82e95502 26-Mar-2015 Jason Monk <jmonk@google.com> Merge "Fix managed profile bugs in manage apps list"
1f4f30cd06ff9ef08db25db1922d523cf4010bcd 25-Mar-2015 Jason Monk <jmonk@google.com> Fix managed profile bugs in manage apps list

- Uses the same package manager flags as secondary users for managed
profiles, so that owner apps don't show up.

- Fixes bug in getting AppEntries that caused app info for profile
apps to get the owner one instead (which was unbadged and very
broken).

Bug: 19817357
Change-Id: I659ab1081c68a231330f5b16486abc5a0a5b2029
pplicationsState.java
ae194b749a60dc4d206bf05d449a2afc71cc425e 25-Mar-2015 Jason Monk <jmonk@google.com> Merge "Add running services screen to developer options"
5dc70b10851656487f8ac6e503fd9daab745aad5 25-Mar-2015 Jason Monk <jmonk@google.com> Add running services screen to developer options

This used to live under manage apps, but does no longer.

Bug: 19926589
Change-Id: I2554f14205286cc38fc87779873c37a5a1f80c4e
unningProcessesView.java
unningServices.java
79021c27c9087abf83fc602a6c2bb161be1b7b7a 25-Mar-2015 Svet Ganov <svetoslavganov@google.com> Lauch manage permissions UI from settings

Change-Id: I96f75ebfb4c3984b7e93abf1de41963aa67d4cbd
nstalledAppDetails.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
dvancedAppSettings.java
ppInfoBase.java
ppStateNotificationBridge.java
ppViewHolder.java
pplicationsState.java
nstalledAppDetails.java
anageApplications.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
dvancedAppSettings.java
ppInfoBase.java
pplicationsState.java
anageApplications.java
042dad7cc7c7e130f772c8b6c1d1f080beeb06b0 20-Mar-2015 Alan Viverette <alanv@google.com> Merge "Clean up usage of theme colors, deprecated Resources.getColor* methods"
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
ppStorageSettings.java
eaderPreference.java
nstalledAppDetails.java
ayoutPreference.java
ad99996ffb93a699cde3c27f13c3dea3028a4046 19-Mar-2015 Jason Monk <jmonk@google.com> Merge "Only show 2 buttons in app info screen"
55eaa96fe44ab473975fd2d9b3d97836935752fe 19-Mar-2015 Alan Viverette <alanv@google.com> Clean up usage of theme colors, deprecated Resources.getColor* methods

Change-Id: I34e11e0773c9f8e00e3eab422781094e19a16d3d
ppOpsSummary.java
anageApplications.java
rocessStatsUi.java
unningProcessesView.java
9a23adf69dc53126c9858b19760eab5b67c23b97 18-Mar-2015 John Spurlock <jspurlock@google.com> Settings: Remove all unused imports.

Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
ppViewHolder.java
pplicationsState.java
anageApplications.java
rocStatsEntry.java
rocessStatsPreference.java
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
eaderPreference.java
nstalledAppDetails.java
5774e865d23435ef798d959f68264975626c491f 18-Mar-2015 Jason Monk <jmonk@google.com> Merge "Fix crash in app info"
337996a485bb8d3f3c59d7bec0f666387b76a359 18-Mar-2015 Jason Monk <jmonk@google.com> Fix crash in app info

Bug: 19653600
Change-Id: Iddd2da2fcab284e34d40afe493c72bb469648380
ppLaunchSettings.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
nstalledAppDetails.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
ppInfoBase.java
ppStorageSettings.java
pplicationsState.java
nstalledAppDetails.java
anageApplications.java
588a0881c13d8ed63ba67b3145254c22211a2019 03-Mar-2015 Jason Monk <jmonk@google.com> Follow-up on comments from splitting app info

Bug: 19511439
Change-Id: Id1395597262f66514808f71d99978120dbba70e1
ppInfoBase.java
ppLaunchSettings.java
ppPermissionSettings.java
ppStorageSettings.java
eaderPreference.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
ppInfoBase.java
ppInfoWithHeader.java
ppLaunchSettings.java
ppPermissionSettings.java
ppStorageSettings.java
eaderPreference.java
nstalledAppDetails.java
324bd766ee1af9f6b7c7027336bdc15f81e39749 07-Feb-2015 Dianne Hackborn <hackbod@google.com> Include home state in mem usage.

Change-Id: I7639e963386adf55a18139f395e7fc43277cc930
rocessStatsUi.java
b94079a704ef9ca144ca94885d655b2befabcf45 31-Jan-2015 Dianne Hackborn <hackbod@google.com> Make proc stats UI app-centric instead of process-centric.

The UI now shows a much simpler overview of memory use for
the current measured duration, computing the weighted RAM
user per application. (This is done basically by rolling up
each individual process into an app that can contain multiple
processes, and using the recently introduced weighted RAM for
all data processing.)

The details screen is updated to reflect this new design,
showing an overview of a particular application, which
separate entries for each process running for that app.

Change-Id: I47d79c30086d733eb37440a6c21b18a92b767d01
rocStatsEntry.java
rocStatsPackageEntry.java
rocessStatsDetail.java
rocessStatsPreference.java
rocessStatsUi.java
5c22ab97812e33f328f05a092b569f89969b2903 21-Jan-2015 Fyodor Kupolov <fkupolov@google.com> Reset RunningState on user related changes

RunningState now listens to user-related broadcasts and resets its state if
necessary.

Previously, user entry was visible even after the user had been removed.

Bug:18696308
Change-Id: I499956c434d0d05bfa2a99b5e3e71ac73fe83297
unningState.java
903fa3f8ebabc4dd8c1841c54c65418937f052c8 15-Dec-2014 Zoltan Szatmary-Ban <szatmz@google.com> Badge items in Settings > Apps > Running correctly

That is, add a badge if the item belongs to a managed profile and
do not add if it belongs to the primary.

Bug: 18235061
Change-Id: Ice599b30cd2827180c21c8d0601af7f30b46e94b
unningState.java
f43aa811b7d29d0af3a3c9c05d581230cd2e831a 09-Dec-2014 Alexandra Gherghina <alexgherghina@google.com> Fix NPE in Running Processes view in Apps Settings

Bug: 18676587
Change-Id: Ib4b400241f0ebd6dd4aacad4bfdda6dfb75cdfb5
unningState.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
c66eb698a9e5e4b6e684ba38a92e7c0ce8bd596a 07-Nov-2014 Alexandra Gherghina <alexgherghina@google.com> Merge "Disable app notifications checkbox for uninstalled apps" 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
nstalledAppDetails.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
nstalledAppDetails.java
c41d613751e9cc41b787be28a9799f8c6920c4dd 30-Oct-2014 Alexandra Gherghina <alexgherghina@google.com> Hide managed profile entry in secondary users

Bug: 18132630
Change-Id: I0395373ac6f088f8fc880110c740cb5f05827901
unningState.java
0f5440f6e26581f51d67fe3cf32af9dd840e5519 30-Oct-2014 Alexandra Gherghina <alexgherghina@google.com> Apply predefined icon and label to managed profiles

Bug: 18132630
Change-Id: Ie6cfee420847d6992accb0bc0ca3f5535260bc55
unningState.java
aadc070a35ca47940e9fa964ba68c5ce817202ef 17-Oct-2014 Alexandra Gherghina <alexgherghina@google.com> Move up spinner in apps screen

Bug: 18006320
Change-Id: Ic23c2c3e02a6c6a20b180065975228d42fd91899
anageApplications.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
anageApplications.java
0ba89bd54c4b44b3803342da10b0c08b0bf76ad4 10-Oct-2014 Alan Viverette <alanv@google.com> Update Settings to use themed Context.getDrawable()

Explicit null theme is passed when using Resources.getDrawable() and
no theme is available, e.g. when using getResourcesForApplication().
This fixes an issue with ic_text_dot theming and helps avoid similar
issues in the future.

BUG: 17648301
Change-Id: I3e97c3490b6f2a55744f567b21284f2935ae9af7
ppOpsState.java
pplicationsState.java
unningState.java
c891ce6565fbeba8414c470b109088ac959f7143 12-Sep-2014 Dianne Hackborn <hackbod@google.com> Fix some things in settings: manage apps, battery, procstats

Issue #17461567: java.lang.ArithmeticException: divide by zero when
looking at Settings > Battery

Yeah, let's not do that.

Issue #17365562: Running services RAM totals are wrong

Okay so like a few months ago, I had this vacation coming up, and
it was around the feature complete (hahah) deadline, and I had to
rush to get this in before I left. So I rushed. And, well, I forgot
a few things. Here they are. We now show the right numbers and
even update things correctly when you change what processes are
being shown. Wow.

Finally, fixed a few issues in the dev tools procstats UI.

Change-Id: I8348a9c2ec3226a455c5c8465729e4487f324c8b
rocessStatsUi.java
unningProcessesView.java
5c0d0729b1701428d46ee7abb31f2a83d8da38ab 09-Sep-2014 Elliott Hughes <enh@google.com> Merge "Start cleaning up percentage formatting in Settings." into lmp-dev
56645002b2729c1f7696529e530164a031fb7978 04-Sep-2014 Alexandra Gherghina <alexgherghina@google.com> Reset Settings task when using the user switcher

Bug: 17294618
Change-Id: I8bd9d7226e52017938828f3bc195cc995fe80b20
anageApplications.java
7253df35a09d8d61ececedbb66179171802e42a7 03-Sep-2014 Elliott Hughes <enh@google.com> Start cleaning up percentage formatting in Settings.

This fixes some of the percentage formatting issues, but there are
still about ten strings with hard-coded %%s in them.

Bug: 15476051
Change-Id: I668b6b16e598425f6006f6de0005c980f613f5b2
rocessStatsDetail.java
rocessStatsPreference.java
rocessStatsUi.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
nstalledAppDetails.java
4e064343b35cfa6a7615e453c1f6bcf96397e414 21-Aug-2014 Jeff Davidson <jpd@google.com> Merge "Less intrusive VPN dialog." into lmp-dev
568eeca569f97bfdd7cf6ae3b9cb5e7360eadc2c 15-Aug-2014 Christopher Tate <ctate@google.com> Disallow downgrade of bundled home apps

Bug 14162565

Change-Id: I754721178722edbf0765039bc9669ed24b92633c
nstalledAppDetails.java
90b3b211efda80535ac2981032f66e117ffeb221 13-Aug-2014 Jeff Davidson <jpd@google.com> Less intrusive VPN dialog.

Add new AppOps to Settings and remove references to obsolete
ManageDialog. VPN UX now lives in Quick Settings.

Bug: 12878887
Bug: 16578022
Change-Id: I102a14c05db26ee3aef030cda971e5165f078a91
ppOpsState.java
d093c9f059a9fa9f68504da176a4913a9793d80e 08-Aug-2014 Julia Reynolds <juliacr@google.com> Disable disable button according to user restrictions.

Bug: 16891777
Change-Id: I5223af905dc43d259c5fd3e03eedf8c71bf23ae9
nstalledAppDetails.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
anageApplications.java
80e1f1bfdb814a08fb8b07b2e279285d495042e9 31-Jul-2014 Alexandra Gherghina <alexgherghina@google.com> Extract common functionality for profile spinner into Utils

Bug: 16645615
Change-Id: Ic8928fff8294cd99eeb86b69b44b8e4128cadf92
anageApplications.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
anageApplications.java
2153ef3858fdd3daac25d42e41a1fd0d048cc33c 30-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #16623129 Stability: Settings: NPE in RunningProcessesView...
startServiceDetailsActivity(RunningProcessesView.java:394)

- make the ListView header non selectable

Change-Id: Ic5e888a7d1d3d1df1bcb59f3027e4385d46ba5ca
unningProcessesView.java
54bac5f2c6e58fca8d1aa5cb4f5ed053a3559c02 29-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix App Info padding" into lmp-dev
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
nstalledAppDetails.java
95b86a5488a27d95bda8b6db1f608d6ce55dae8a 24-Jul-2014 Alexandra Gherghina <alexgherghina@google.com> Refactoring useless UserUtils class

Bug: 16542609
Change-Id: Iadb83c5e378cd342ea89d6e224ddc45e6f940c8b
unningState.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
anageApplications.java
unningProcessesView.java
6d26c1738004cd8df1efe2b4d9d98daac3a5555a 21-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix AppDetails padding on tablet UI" into lmp-dev
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
nstalledAppDetails.java
bdf28e40251772a35f776af9fd1a4b903f0f9771 09-Jul-2014 Michael Wright <michaelwr@google.com> Add OP_PROJECT_MEDIA to AppOps

Bug: 9905068
Change-Id: Ie929cfbe0001f6e6645316ea8b2eca13aab35675
ppOpsState.java
200cca4c1d849ba4c62674fcfd32c621805b2bd4 26-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix icon size for Data Usage / Battery Stats / Process Stats

- remove padding from app_percentage_item and apply it correctly
on its containers
- wrap app_percentage_item into preference_app_percentage for having
correct padding o nProcessStatsPreference and PowerGaugePreference

Change-Id: I290c92959f51a33a1edb49435cd0bd1e6cd9afa3
rocessStatsPreference.java
4241d0b8db1c4352956ce877272a9ebe1770ad01 28-May-2014 Emily Bernier <ember@google.com> Update Settings UI to add new microphone app ops.

Bug: 13585692
Change-Id: I5aa7087621a5d03f14f693a68ed4a4823b91a784
ppOpsState.java
74868d1c5d47b9f0475e4df1966f41f861521950 24-Jun-2014 Dianne Hackborn <hackbod@google.com> More work on proc stats UI for summary display.

Improve how we compute the bar to better represent the
actual memory situation. Scale the per-app bars to try to
show them better in terms of overall memory use. And some
bug fixes.

Change-Id: I336ff0c938a39092f2ac54d354c57d6b1b8220c0
rocessStatsMemDetail.java
rocessStatsUi.java
68f005fbd48f18cdab0168ba92b8fd40776edc1e 19-Jun-2014 Dianne Hackborn <hackbod@google.com> Modify proc stats to show new memory use computation.

Switch the proc status UI's memory use bar to be based on the
new total memory use computation, instead of showing that weird
"time spent in memory states" thing.

Also now have it link to a detail page that shows details of time
spent in memory states and RAM used by various things.

Change-Id: I6817a499db518adb8e72466a5e9cfe18a81be5d5
inearColorPreference.java
rocessStatsMemDetail.java
rocessStatsUi.java
67ab905a0ccacab79acbd2ab43d4b19120d148af 19-Jun-2014 Julia Reynolds <juliacr@google.com> Merge "Apply user restriction checks to app info screen in settings."
30df56dc36fd24e4ddbb19ab6a73c852b848c883 13-Jun-2014 Julia Reynolds <juliacr@google.com> Apply user restriction checks to app info screen in settings.

Bug: 14081992
Change-Id: Id90c00df600c19820dcbc391a09cc6a58e673d0e
nstalledAppDetails.java
0ec4251d12cdce0dfbc9cb3d9f46e33acf20af3f 19-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Make Process Stats more beautiful

- update padding layouts for being consistent with the rest of the Settings App

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I1813eec92a97e4cd9adb4a9c9852c8cd03c38a05
rocessStatsPreference.java
rocessStatsUi.java
e5c75ab44b70362fac1bab2442612dc9f60dd513 18-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #15696670 Settings > Apps using old Holo colors in tabs, space indicator

- updated the LinearColorBar colors, the gradient colors on top of it
and also the label colors too for being compatible with the rest of
the Settings App theming

Change-Id: If88be4ac7084d26299e8e738389279bec636ccd6
inearColorBar.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
ppOpsSummary.java
anageApplications.java
6bfec2d6b197068dd355bd1742179fe3da07136f 10-Jun-2014 Alan Viverette <alanv@google.com> Remove all dialog icons in Settings

BUG: 15474733
Change-Id: I43ab10a3bbcabdac6109abf80266f1c4b52bf6fb
nstalledAppDetails.java
unningServiceDetails.java
c7774499258f7b0de9baea0eaf678a786f3fb79a 16-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Code cleaning

- remove unused import

Change-Id: Ie2ddec2164925e2f6fe3b2d8137fa7fce8b71d1d
ppOpsSummary.java
15826d4ea1428b3d1edb86866ca57a93c2252bda 13-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Mode code cleaning: remove obsolete references to EXTRA_NO_HEADERS

- the EXTRA_NO_HEADERS flag as no more meaning as we are showing
the Tiles (previously named "Headers") only in the Dashboard
(which is the main Settings screen)

Change-Id: I55656de0d28ca9c84adbe6647d870838b4ac230b
nstalledAppDetailsTop.java
f420d2c0d310b6c4f760ebceb6e0dec7bbdb8076 09-May-2014 Jeff Sharkey <jsharkey@android.com> am e4dd4893: am 14f42ca9: am 110ddbfe: Merge "Fix NullPointerException issue when user change"

* commit 'e4dd48939ddeda2197b722c06f9ec803d8249f0d':
Fix NullPointerException issue when user change
e4dd48939ddeda2197b722c06f9ec803d8249f0d 09-May-2014 Jeff Sharkey <jsharkey@android.com> am 14f42ca9: am 110ddbfe: Merge "Fix NullPointerException issue when user change"

* commit '14f42ca9f46d2dafaadff2b0ccef645d66679bc7':
Fix NullPointerException issue when user change
bf427a2064e76cabc5e50573bcfcc0c954dd0720 25-Apr-2014 Jun Su <juns@nvidia.com> Fix NullPointerException issue when user change

When info is null, we have risk to have access null point.

Change-Id: Ie6acee5c99d6297e31d46585435a735a38b19e82
unningState.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
442f01c6018f2fddb413a730b54d2eae542b1078 22-Apr-2014 Christopher Tate <ctate@google.com> am 95228074: am c44d7c6b: Prohibit uninstall of the default (or only) home app

* commit '95228074d2e01575799a526a29ec53a61c36aa23':
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
nstalledAppDetails.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"
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
ppOpsCategory.java
ppOpsDetails.java
nstalledAppDetails.java
nstalledAppDetailsTop.java
anageApplications.java
rocessStatsDetail.java
rocessStatsUi.java
unningProcessesView.java
ab89566e82eec92718f97fe3e63d3e240e7f90d1 24-Jan-2014 Dianne Hackborn <hackbod@google.com> Update to follow per-version proc stats change.

Change-Id: Iea44f1c7e9bd59a2eeaa1739bbaa5c0bdc349b0b
rocStatsEntry.java
rocessStatsUi.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
anageApplications.java
e10f8528220fc4506ff6deee5c71ddab3da5e21d 04-Dec-2013 Amith Yamasani <yamasani@google.com> Merge "Fix switching running/cached apps with memory bar"
235e5d686fc73cfd82605bac86dcc9673916c5b7 16-Oct-2013 Christopher Tate <ctate@google.com> User ID, not uid, in an EXTRA_USER_HANDLE

Bug 11208808

Change-Id: Ica30c2114c922fc38460cafc14c02f10051717c9
rocessStatsDetail.java
b1e33884190732a58bfbfe659898e02d41fe39f4 11-Oct-2013 Dianne Hackborn <hackbod@google.com> Allow tapping on memory status regions to filter proc stats.

Change-Id: Iade56907df648a95600919578154635c49ac9dce
inearColorBar.java
inearColorPreference.java
rocessStatsUi.java
020999103b34860a89576cd5dba862009337e9a9 09-Oct-2013 Dianne Hackborn <hackbod@google.com> Fix issue #11033002: Percentages in proc stats details are not rounded correctly

Use round instead of ceil. Also, when showing services from multiple packages,
sort the package categories by the duration of the longest running service in
each, so that the more important ones come first.

Change-Id: I42b47b0522cd786a1c4ee5b59a549ec7c0c6ffe1
rocessStatsDetail.java
5635594c38fb319e050054e42109eb736f274acc 30-Sep-2013 Dianne Hackborn <hackbod@google.com> Fix issue #10948509: Crash in procstats when there is no data

Also make us much better about determining which app to blame for
a particular running process, organize the display of services by
their owning app, apply some new heuristics for deciding what goes
in the process list so that we can still display interesting processes
when we haven't collected pss data for them yet, etc.

Change-Id: I7e87225d3dabc66cf3ff020b5db48401b14aaf47
rocStatsEntry.java
rocessStatsDetail.java
rocessStatsPreference.java
rocessStatsUi.java
88cf7709cb7ed829980cb8ddac3d5c7ac945d772 24-Sep-2013 Dianne Hackborn <hackbod@google.com> Implement issue #10895990: Better durations for proc stats

Add new option to select data duration to show, with the default
being 3 hours.

Reworked how menus are updated to remove redundant code.

Switch to using new proc stats service API for retrieving stats,
which is more efficient and won't hit IPC limits.

Fixed layout for details items to ellipsize long items.

Change-Id: I1a0f8a4adf8fc330c2639077323c6379d23ad987
rocessStatsUi.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
nstalledAppDetails.java
49759af6b06b884d3a1af9dbb120370893744b94 15-Sep-2013 Dianne Hackborn <hackbod@google.com> Various proc stats UI improvements.

- Option to include system processes.
- Option to use uss instead of pss sizes.
- Option to select type of stats: background processes, foreground (top)
processes, cached processes.
- Details now shows max mem usage.

Change-Id: Ic994564ce846bc1021bf35576feeb9ef095b0e48
rocStatsEntry.java
rocessStatsDetail.java
rocessStatsUi.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
nstalledAppDetails.java
04436c51f63492944bbed276021a51cfe2081613 09-Sep-2013 Dianne Hackborn <hackbod@google.com> Follow-on for #10671878: Proc stats needs to remove old data structures

The UI can now show better information about services, now that we
have the name of the process each service runs in and its total run
time.

Change-Id: I0777d8295a50c8f69c57bad24ccafe3bf0fbe5b8
rocStatsEntry.java
rocessStatsUi.java
4c7de61320f3ea1df8d5cdd3d0645830b67722ea 06-Sep-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #10624988 Incorrect mirroring of RAM and Internal Storage for Apps screens in Settings" into klp-dev
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
anageApplications.java
unningProcessesView.java
04486738342fa5e11a78df836efe34b85bee125a 05-Sep-2013 Dianne Hackborn <hackbod@google.com> Add details screen to proc stats.

Lets you see the actual RAM use and % running time, a list of
all of the services that are associated with it (kind-of, not
working correctly for those that share processes), and most
importantly a glorious FORCE STOP button.

Change-Id: I34ac30c88f1187227a8a7809ae103118c8b9a865
rocStatsEntry.java
rocessStatsDetail.java
rocessStatsPreference.java
rocessStatsUi.java
a218e732b0a67e446f30bf2aa13e6df070fe856a 19-Aug-2013 Christopher Tate <ctate@google.com> Don't crash when procstats has data for a now-disused uid

That is, PackageManager.getPackagesForUid(uid) can return null,
so deal with it.

Bug 10374656

Change-Id: I4eacd48c809b778e131d37dba0e86c583553e41f
rocessStatsUi.java
a582a051951be9b1afd57e05fd6a405bccd9a46f 10-Aug-2013 Dianne Hackborn <hackbod@google.com> Proc stats UI improvements.

Now have a chart showing the memory state, and text showing the
current memory state. Trying to do better at picking the application
to blame for a process hosting multiple apps. Start of infrastructure
for more detailed reporting.

Change-Id: I93ca7ecf2fd0bc01e3be8d28b80212ac78fe7607
inearColorBar.java
inearColorPreference.java
rocStatsEntry.java
rocessStatsUi.java
c9e4bd111664705959716629c2535c085e6c7cd6 09-Aug-2013 Dianne Hackborn <hackbod@google.com> Improve process stats UI.

Now roll up multiple process stats to have at least a
day of data, change the visualization to have the bars show
"weight" (duration*pss) and the text the percent of total
time running, add label to show how much time the stats
are over.

Change-Id: I73763cb6a66d03d856ea4bf517eac0fe39c79c52
rocStatsEntry.java
rocessStatsPreference.java
rocessStatsUi.java
c6d658e37d7c0ab2d264fff4850ea20823669558 08-Aug-2013 Dianne Hackborn <hackbod@google.com> Initial rough stab at a proc stats UI.

You see procs, and you see some stats.

Change-Id: I91c86d198fd5e64a41c72901e150466b3c602caf
rocessStatsPreference.java
rocessStatsUi.java
d98d2abda6ce097c6473bb40e36810fa13a66403 05-Aug-2013 Dianne Hackborn <hackbod@android.com> am fc222b8d: am 8f00b771: Merge "Fix app ops details not displaying permissions under certain conditions."

* commit 'fc222b8d3aa716fe1596109ea960d57eb3aea1c5':
Fix app ops details not displaying permissions under certain conditions.
fc222b8d3aa716fe1596109ea960d57eb3aea1c5 05-Aug-2013 Dianne Hackborn <hackbod@android.com> am 8f00b771: Merge "Fix app ops details not displaying permissions under certain conditions."

* commit '8f00b7711c48a102a70f9b7e6a563aa14b79f5a5':
Fix app ops details not displaying permissions under certain conditions.
67e72d9e8a2146ede95c06cac60c2100ad59a33b 05-Aug-2013 Danny Baumann <dannybaumann@web.de> Fix app ops details not displaying permissions under certain conditions.

If there's a permission that is not granted, the loop is aborted instead
of just skipping said permission.

Change-Id: Icca567ebdd818f40ad6619f258c77590074d1deb
ppOpsState.java
2500f7a3f5d7a313b8e47129bf8cc7cba3113cb7 03-Aug-2013 Dianne Hackborn <hackbod@google.com> am ad38b60b: am 0a09b13c: am a6683e0f: Reset app preferences now resets all app ops.

* commit 'ad38b60b372314f6266381207bd82144f21b1027':
Reset app preferences now resets all app ops.
a6683e0f4af75005ab5a1742d30df4bee071f725 03-Aug-2013 Dianne Hackborn <hackbod@google.com> Reset app preferences now resets all app ops.

Change-Id: I7966245b5f322f55e139b2da661c02cd58530f11
anageApplications.java
34605e1dcf4ac61109911836e7bba864f62080d6 01-Aug-2013 David Christie <dnchrist@google.com> Merge "Add Strings for the new high power location monitoring app op."
a677ee210c67d13d15ba0663887675bda16354d8 26-Jul-2013 Amith Yamasani <yamasani@google.com> Whitelist fragments appropriate for an activity

Change-Id: If4f8c4e9d9949b652946cffe0ebb09b587e5a042
nstalledAppDetailsTop.java
4a06e4cc4370f5897f07f6314f25b37db759cf18 30-Jul-2013 David Christie <dnchrist@google.com> Add Strings for the new high power location monitoring app op.

Change-Id: I36b59fb0c18de1718c8fd2cfe30d713aed59c562
ppOpsState.java
15ab7758df616a27c28276ab97ddb2e2de6089f7 10-Jul-2013 Dianne Hackborn <hackbod@google.com> Update to show new location monitoring op.

Change-Id: I921e95327c743c5b9b89bfe5a94beca67bfdb7de
ppOpsState.java
ef2cfa7ad398a6b00a831434eb522f8e037c9594 20-Jun-2013 Dianne Hackborn <hackbod@google.com> am 7f74dea7: am 67571084: am 5da4c907: Merge "Fix issue #9486022: Disabled Apps column doesn\'t always show up in Manage Apps" into jb-mr2-dev

* commit '7f74dea7a833b7c9c0370ce81decc21d44bda7b3':
Fix issue #9486022: Disabled Apps column doesn't always show up in Manage Apps
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
anageApplications.java
6fd58003860c2fe6f9e4965fd06d7063c5c14566 05-Oct-2012 Johan Redestig <johan.redestig@sonymobile.com> Fix NullPointerException at RunningState

getServiceInfo returns null if you have a service defined in the
manifest as: <service android:name=".Xxx" android:exported="false" />
or and in an <application> with no label or icon.
Dont crash the Settings application because of that.

Change-Id: I6f9f69c130e610b7e4ab66426177b7bade1e1515
unningState.java
ec74da60cda5d0d7d1901e20a5a7806ef4cf387f 17-May-2013 Dianne Hackborn <hackbod@google.com> Add wake lock app ops to UI.

Change-Id: Id2f23acee08fa2830d3edc30a70abf06226ae4eb
ppOpsState.java
b0b0b110c04ddbbe5e2651dcb1a6f13551c61fb8 14-May-2013 Amith Yamasani <yamasani@google.com> Use circular avatars wherever appropriate

Battery stats, Data usage and Running apps

Change-Id: Ib7f851e55ef7e44f18d3f8a2cd27f5f2204b0145
unningState.java
6e91babedac9983b10fdf2650de86386800017be 01-May-2013 Dianne Hackborn <hackbod@google.com> Update UI to add new audio app ops.

Change-Id: I307d25bdd6bee2e7d7a9df32849ef206abaf2318
ppOpsState.java
ppOpsSummary.java
b7e49231ff8c03120c80a28edc43eca83266497b 16-Apr-2013 Amith Yamasani <yamasani@google.com> am c1e3983b: Merge "Fix NullPointerException at RunningState"

* commit 'c1e3983b319ae4998ede94742db5462d01f53b73':
Fix NullPointerException at RunningState
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
nstalledAppDetails.java
910b2116b0f1d3efdb95d663003a2181bf9faf33 05-Oct-2012 Johan Redestig <johan.redestig@sonymobile.com> Fix NullPointerException at RunningState

getServiceInfo returns null if you have a service defined in the
manifest as: <service android:name=".Xxx" android:exported="false" />
or and in an <application> with no label or icon.
Dont crash the Settings application because of that.

Change-Id: I6f9f69c130e610b7e4ab66426177b7bade1e1515
unningState.java
782c3de338d6b4ac8280e0686b8a4b39c0e3f70f 26-Feb-2013 Dianne Hackborn <hackbod@google.com> App ops: add operations for reading/writing clipboard.

Change-Id: I253d2ae34d95c7afa47af3d122e715c251ff6590
ppOpsState.java
7ff56d331e1dfe133e734a36d191fc1d81b31e95 13-Feb-2013 Dianne Hackborn <hackbod@google.com> App ops: new labels, fix crash, fix updating list.

- Add new labels for media ops.
- Fix crash due to missing boolean entry for access notifications op.
- Fix updating op category lists to remain stable (not jump
back to the top).

Change-Id: I505cfd91b1ff92587a627d33f3ac7a21145a9bbd
ppOpsCategory.java
ppOpsState.java
328e2d26663be87b7f6f03deb933d0fa21503511 17-Jan-2013 Daniel Sandler <dsandler@android.com> Show the user's list of notifications in Settings.

Requires new APIs in change I41338230 and change Icce8d6f9
from frameworks/base.

Change-Id: I21b645bdc265b477453f9b177f6776e2c58bd323
ppOpsState.java
d69e8dc44173c33c5425158c027bfe44ddcacf85 07-Feb-2013 Dianne Hackborn <hackbod@google.com> App ops: add "draw on top" op, improve switch ordering.

Change-Id: Ibe490305650f986f3ccf1ea25012272287455f59
ppOpsState.java
3b13d2b78636ff910a233388c603369e5ecd1f1e 06-Feb-2013 Dianne Hackborn <hackbod@google.com> App ops: add modify settings op.

Change-Id: I7aab6c7f565a20fe24156956895a7db20c8d3aaa
ppOpsState.java
983378738761150d8ba649b4b1d74635881e61ec 05-Feb-2013 Dianne Hackborn <hackbod@google.com> App ops: add UI for SMS ops.

Change-Id: I595df9a286ba5389f9e309516dc4a8ab34773277
ppOpsState.java
ppOpsSummary.java
8b0afc7fb53b90e522b86ba04bb17c0cba2364ab 02-Feb-2013 Dianne Hackborn <hackbod@google.com> App ops: improve presentation.

Change-Id: Ia8702f9421a2cf2e27e8e24bfdc596321ace515a
ppOpsCategory.java
ppOpsDetails.java
ppOpsState.java
27daaab633a80be50863e6539e947db674090662 01-Feb-2013 Dianne Hackborn <hackbod@google.com> App ops: Support neighboring cells, call phone, improve UI.

Change-Id: I0783c7ae941499cf9847bcf657141c3aea76f59d
ppOpsCategory.java
ppOpsDetails.java
ppOpsState.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
ppOpsState.java
nstalledAppDetails.java
anageApplications.java
f6ab51cd67f2341a9987434591f275816b5af73b 01-Feb-2013 Daniel Sandler <dsandler@android.com> Merge "Fix bugs with null AppOp permissions."
7d3a4c160cac37b72aa9149952358df4a3912cfb 31-Jan-2013 Daniel Sandler <dsandler@android.com> Fix bugs with null AppOp permissions.

Change-Id: I9f199d4f5843fbba374ced8206902098811b3786
ppOpsDetails.java
ppOpsState.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
anageApplications.java
0dd9902c89e7b705fd73158aadf1bf27843ad201 25-Jan-2013 Dianne Hackborn <hackbod@google.com> App ops: add UI for viewing and controlling ops per-app.

Change-Id: Iadd68cbd429af4d431dcd09b9adacd09c5092ae6
ppOpsCategory.java
ppOpsDetails.java
ppOpsState.java
nstalledAppDetails.java
43052367c654202a1a2124d44c7b33e92331d1f4 23-Jan-2013 Dianne Hackborn <hackbod@google.com> Handle new "disabled until used" mode.

We want these apps to still show up as normal apps,
not look like they have been disabled completely (entirely
gone) or by the user (listed separately as disabled).

Change-Id: Ib58ead274a74c6df3ee87c8db5f7d0652e37b9bd
pplicationsState.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
ppOpsCategory.java
ppOpsDetails.java
ppOpsState.java
ppOpsSummary.java
pplicationsState.java
anageApplications.java
fd50438e8ed3dad5e9355bd6e34d7d419aaa553c 17-Jan-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix Switches padding for Settings app"
228df665d4c98e267dce3f529ab953046cd03e5b 17-Jan-2013 Dianne Hackborn <hackbod@google.com> Show all apps that can perform an op.

Change-Id: Ic4c6fdbc5b345c890a2f41a00b4b5c11272702d7
ppOpsCategory.java
ppOpsSummary.java
a522a8ef8233382bbd39308b7d5f2e26eed44d22 16-Jan-2013 Dianne Hackborn <hackbod@google.com> Quick and dirty UI for viewing app op information.

Change-Id: If17bfbe84cf438ca9bb37bf446564f39de99cee1
ppOpsCategory.java
ppOpsSummary.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
nstalledAppDetails.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
nstalledAppDetails.java
unningServiceDetails.java
8f28cd5d75e385f52d6b29e19eccd7eb639d6579 30-Nov-2012 Jeff Sharkey <jsharkey@android.com> Fix incorrectly inverted text color.

Bug: 7632947
Change-Id: I2eb8c4c24bda5b08215204330c30431bf6d0fc27
anageApplications.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
anageApplications.java
unningProcessesView.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
nstalledAppDetails.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>
nstalledAppDetails.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
nstalledAppDetails.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
nstalledAppDetails.java
0e092f4eb010976349e3fd1e49e41e14b1a33aaa 11-Oct-2012 Jeff Sharkey <jsharkey@android.com> Switch to IPackageManager.getServiceInfo().

Bug: 7095093
Change-Id: I79b9f077c9d69c5629b7dd0071a11ccda50839cd
unningState.java
7cb4780870fe72882c9b37e91d1b812f16998b3d 10-Oct-2012 Jeff Sharkey <jsharkey@android.com> Use user-specific PackageManager.

Bug: 7095093
Change-Id: Ia97065d4bdf5203372b76b62a6dfd72858892234
unningState.java
54b3f501ca4a7ff88ead39247d2277d2efc82bb6 05-Oct-2012 Jeff Sharkey <jsharkey@android.com> Avoid NPE when missing PackageInfo.

Bug: 7296861
Change-Id: I87b64d5f4b1f34e47d785a18a029130fdca874a1
nstalledAppDetails.java
ab616d477be693fc455329953711264af0ed7814 05-Oct-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7226978: Still in app detail screen after uninstall

Change-Id: I3b03db0a68bfab5dd010474ee714d5f7a5538af0
nstalledAppDetails.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
nstalledAppDetails.java
be32d4b408a2fd0ec25bdd4f0e67cba2f23a4edb 03-Oct-2012 Jeff Sharkey <jsharkey@android.com> Follow API changes in framework.

Change-Id: I6c1f5c9ec342f69ceae3dddaa0cfab4e0a742372
nstalledAppDetails.java
5246e7f76d5fe62f7ffd99e889d90116b37b7f35 27-Sep-2012 Jeff Sharkey <jsharkey@android.com> Follow more Secure settings to Global.

Bug: 7232014, 7231331, 7231198
Change-Id: Iea055cfa58edb253b55fe30bf294994ad338cfa4
unningServiceDetails.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
pplicationsState.java
nstalledAppDetails.java
unningState.java
b1bf9cf3835ce41f3864f1056554f0180624e2c7 19-Sep-2012 Amith Yamasani <yamasani@google.com> Fix a crash in InstalledAppDetails

Initialize mPackageInfo in onCreate

Bug: 7194755
Change-Id: Ic82351591bd38c4c161bbb23c4033038d1d7fa85
nstalledAppDetails.java
9ba3d227e37b49412fe146b43f15aabb1da0d008 18-Sep-2012 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #7050530: NPE in Settings : settings.applications.RunningServiceDetails..." into jb-mr1-dev
9fae74f6c37b60d10a2bddb214c28e7f9f7484f3 18-Sep-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7050530: NPE in Settings : settings.applications.RunningServiceDetails...

...addDetailViews(RunningServiceDetails.java:439)

Change-Id: Id4a110bacf4da1bec07272b3b75e8bf0986cab92
unningServiceDetails.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
nstalledAppDetails.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
pplicationsState.java
nstalledAppDetails.java
anageApplications.java
70c6e0fb33efd3ccedc5bac654296e6d556b5fd0 16-Sep-2012 John Huang <jsh@google.com> Merge "Add support for per-package policy for sending premium SMS." into jb-mr1-dev
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
anageApplications.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
nstalledAppDetails.java
2e3c75094bde1cfca1b15f66f5ff3d0a85baf0a0 24-Aug-2012 Dianne Hackborn <hackbod@google.com> Make settings a little aware of multi-user install.

Change-Id: Id04f137dbc80dfee7b6c436efc2225ceccb88faa
nstalledAppDetails.java
271c8b06c2b6f12cd7f51c2be2ca50167b96e742 21-Aug-2012 Dianne Hackborn <hackbod@google.com> Make manage apps UI multi-user aware.

The details screens still need some work.

Change-Id: I850cc9ba9a8db7787fae629ae3cb6c6772c726f5
unningProcessesView.java
unningServiceDetails.java
unningState.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
nstalledAppDetails.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
pplicationsState.java
nstalledAppDetails.java
anageApplications.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
pplicationsState.java
nstalledAppDetails.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
nstalledAppDetails.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
nstalledAppDetails.java
unningServiceDetails.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
anageApplications.java
7d2658ffbf1b6bfcf51a28de5ea98293245f7ebe 18-May-2012 Dianne Hackborn <hackbod@google.com> Merge "Fix issues 6512411 and 6512951 in ManageApplications." into jb-dev
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
anageApplications.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
nstalledAppDetails.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
ppViewHolder.java
pplicationsState.java
nstalledAppDetails.java
anageApplications.java
14d5714a8238b244b974e4e62fe688398ab45dcb 14-May-2012 Dianne Hackborn <hackbod@google.com> Implement issue #6477793: Add "restore" button to manage apps

Added!

Change-Id: I1b4ffdd24a1c5878ae3acf3970f9364304eb5250
anageApplications.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
anageApplications.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
anageApplications.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
anageApplications.java
bfb6a555aa894c54bd668c3f44bfac77e5774c4f 04-May-2012 Amith Yamasani <yamasani@google.com> Appease the monkey gods.

Bug: 6443925

Change-Id: Ia36a154d63763d7a3f826a80a5d1ae678b94208e
anageApplications.java
9593b743cb625e88b97b2674c5f528bb07f96011 02-May-2012 Amith Yamasani <yamasani@google.com> Merge "Fix NPE in ManageApps when switching orientation." into jb-dev
3b7dbcecf70788df4950340cbf750dbe524dca96 01-May-2012 Amith Yamasani <yamasani@google.com> Fix NPE in ManageApps when switching orientation.

Bug: 6394351
Change-Id: Ia66ab18195325b024223cdbce19756150e1d6c8c
anageApplications.java
ebf44b1b89d10c0a0a36910a31a71579a9ed5428 30-Apr-2012 Gilles Debunne <debunne@google.com> Fixed inconsistent gray background in Running app detail

This is a cherry pick of https://android-review.googlesource.com/#/c/35200/

Checked with UI that this backgroud color was not wanted.

Change-Id: I10cd6757ed17fd3cf34f04e5d14e6f210f78ab2c
unningServiceDetails.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
anageApplications.java
bd4bac327b27ab42ba3bdc87d8655c9c21bfda5d 25-Apr-2012 Michael Jurka <mikejurka@google.com> Merge "New API to allow third-party apps to bind widgets"
c9029d99a36d78331b109b64c1f61812db7cedd9 20-Apr-2012 Michael Jurka <mikejurka@google.com> New API to allow third-party apps to bind widgets

Change-Id: Ieec9f247fdbfc02c2ad8f5bb7f6b9efe0669af84
nstalledAppDetails.java
8fda756e698c21f08992b9606dd3791c4755122c 25-Apr-2012 Amith Yamasani <yamasani@google.com> Safeguard from monkeys.

Bug: 6315950
Change-Id: I680b3f0a2cee565a39d58e95a8abe5f62cc7b466
unningServiceDetails.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
nstalledAppDetails.java
c1da7b105ae6f224a78fa7c8e151faf16e88a55c 23-Apr-2012 Jeff Sharkey <jsharkey@android.com> Merge "Use statfs() in IMediaContainerService."
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
nstalledAppDetails.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
anageApplications.java
70e4a652f82cbcbb023589a7d9077e7fd4d67594 13-Apr-2012 Eddie Ringle <eddie.ringle@gmail.com> Remove title bar background drawable from running app detail view

The use of this drawable made the view look out of place on the new Holo theme,
so removing it makes things look a bit more consistent.

Change-Id: Id12ad9c7d13b7a9813f656b0a3e4ac51fcc988cd
Signed-off-by: Eddie Ringle <eddie.ringle@gmail.com>
unningServiceDetails.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
ppViewHolder.java
anageApplications.java
b71efad62e1dc63d4b928e06419637ef1c3011ed 02-Dec-2011 Amith Yamasani <yamasani@google.com> Potential fix for NPE in Running services.

Bug: 5698270

Loop was removing items from the list being iterated.

Change-Id: I39e98c554b2fe6024381afbe79b737b812e78f08
unningState.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
anageApplications.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
anageApplications.java
8e26e6a216dc1e80917c6b13a0972e1ab83193da 20-Oct-2011 Peter Ng <petergng@google.com> Settings applications processes viewer color updates

Change-Id: I233bed85c331aa909aebcd3358f7b985d9eaa473
inearColorBar.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
nstalledAppDetails.java
a3fb4572dd8dea59ceb3cbc8907fb71a92df4290 09-Sep-2011 Jeff Sharkey <jsharkey@android.com> Merge "Larger touch targets, snap to persisted value."
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
anageApplications.java
4bed01d8727b106a1a6bd09a1d82309e1b0df040 08-Sep-2011 Dianne Hackborn <hackbod@google.com> Fix an issue in how running services are shown.

If a process had started services, but another process was
using it for more important reasons, it would still be shown
as just with running services. Now it will be bundled into
the other process that has a dependency on this.

This fixes an issue where something like a live wallpaper
that say sits forever with a connection to market's licensing
service would not show up to the user as using far more memory
than it should because it is keeping market running (if market
also leaves one of its services running, which it tends to do).

Change-Id: I0fd953b7221f7a3b35400007bb9e8437f09d066e
unningState.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
anageApplications.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
pplicationsState.java
anageApplications.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
anageApplications.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
anageApplications.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
pplicationsState.java
anageApplications.java
unningProcessesView.java
unningState.java
2826bc4ca52686f6863409e36eaea1a7f45de3eb 06-Aug-2011 Dianne Hackborn <hackbod@google.com> Use new more efficient API for retrieving pss.

Change-Id: Ibcbcc397c2a7c19acd2de640528392df9bb780bb
unningState.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
nstalledAppDetails.java
6c21377ff7e857e88a110e12eda98a6c30cba740 14-Jul-2011 Dianne Hackborn <hackbod@android.com> am f70f60c4: am 7d19d795: am b41b85dc: am c74500f4: Merge "Fix NPE due to missing ProcessItem.mPackageInfo"

* commit 'f70f60c4dcfa576ea4ca9eda88eb1f258d1b38f1':
Fix NPE due to missing ProcessItem.mPackageInfo
f70f60c4dcfa576ea4ca9eda88eb1f258d1b38f1 14-Jul-2011 Dianne Hackborn <hackbod@android.com> am 7d19d795: am b41b85dc: am c74500f4: Merge "Fix NPE due to missing ProcessItem.mPackageInfo"

* commit '7d19d795c8d7a5692879523d8179a8a46226bbbc':
Fix NPE due to missing ProcessItem.mPackageInfo
8258dc23d3584d8ca2b0ddade6fb84adb86e4866 20-Dec-2010 Johannes Carlsson <johannes.carlsson.x@sonyericsson.com> Fix NPE due to missing ProcessItem.mPackageInfo

The reason was that a item was removed from the SparseArray while
iterating it causing one ProcessItem to be skipped in the loop which
makes sure that mPackageInfo is not null. This happens when all
processes for one uid is stopped and a new process is created.
This problem was found by running monkey.

Change-Id: I5e9a76e8007819d5e6d9ba15af0c2362da193526
unningState.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
pplicationsState.java
nstalledAppDetails.java
anageApplications.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
nstalledAppDetails.java
13bac39d2120a82b8a22b52f0db0727aa04b1f38 24-Jun-2011 Dianne Hackborn <hackbod@google.com> Remove obsolete compat mode UI.

Change-Id: Ie16f70af4b8d6f33db21363a478049659669e0b3
nstalledAppDetails.java
a12c1e3226ca660a23f049f880947df7f8d96c4e 17-Jun-2011 Dianne Hackborn <hackbod@google.com> Re-enable user disabling of apps.

Change-Id: I5f3a474926cf2b93e311435f67f36837f5f56caa
pplicationsState.java
nstalledAppDetails.java
aef746c45f14c8a170dba48c4b55f93cae0e24e4 26-May-2011 Dianne Hackborn <hackbod@google.com> Implement new manage apps UI for compat mode.

Change-Id: Ia8db7f534b7294fbbb34e0acdedab3a96cea59e9
nstalledAppDetails.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
anageApplications.java
e6c7e45fdb5f23462693ea76eeac9489dd5c8dac 09-Mar-2011 Mike Lockwood <lockwood@android.com> DO NOT MERGE: IUsbManager hasDefaults() and clearDefaults() no longer take UID parameter

Bug: 4061035

Change-Id: Idfec53b1da7b9b981c1c762468a3f69f78fedd7a
Signed-off-by: Mike Lockwood <lockwood@android.com>
nstalledAppDetails.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>
nstalledAppDetails.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
pplicationsState.java
nstalledAppDetails.java
0552d3366487b27c619c055a04c81b8af0b84d33 27-Feb-2011 Mike Lockwood <lockwood@android.com> DO NOT MERGE: 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: If865df98214506cf2f1e35c8c6a3dbe319b125f2
Signed-off-by: Mike Lockwood <lockwood@android.com>
nstalledAppDetails.java
861c04fbd4841253a02299b7498a8cf609e8874d 02-Mar-2011 Dianne Hackborn <hackbod@google.com> Show force stop button if package is not fully stopped.

Change-Id: I88ccb0907352e082ccb538da77aeccc5ab309a49
nstalledAppDetails.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>
nstalledAppDetails.java
2372ba5b54f018cbc2e01f66b661c2e322d174d7 14-Feb-2011 Dianne Hackborn <hackbod@google.com> Fix issue #3405731: Manage applications app names don't update with locale

Change-Id: Ia7dcf7973bde6785afb5978ee2a7858bc6740582
pplicationsState.java
nterestingConfigChanges.java
unningState.java
25bda17a57321c8cf599673248d2e35d692ad51e 26-Jan-2011 Dianne Hackborn <hackbod@google.com> Fix issue #3343297 Settings force close when try to...

...end process in running service - IKXEVEREST-3023

Change-Id: I16403a260ccf06675d0e2e98573975d746bded91
unningServiceDetails.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
anageApplications.java
unningProcessesView.java
a31be80ef056add00e0d239414f80f932978277f 24-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3381583 - Settings action bar not refreshing menu content

Change-Id: I71416dbf691a6dacfb58c6ac3cc0df8233db8f44
anageApplications.java
a07621232479ee7e9926696a0af13b6f2e213507 18-Jan-2011 Kenny Root <kroot@google.com> Display OBB usage as part of app details

Add the OBB usage to the application details for USB storage / SD card
storage usage.

Bug: 3356814
Change-Id: I06c97a73ae927316a2683ea15fd1a8b1aada31e3
pplicationsState.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
pplicationsState.java
nstalledAppDetails.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.
nstalledAppDetails.java
nstalledAppDetailsTop.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
anageApplications.java
76629102b911a376eb49e7cffe2a4fb0e43aab55 11-Nov-2010 Brad Fitzpatrick <bradfitz@android.com> Don't complain about /proc usage in Settings killing animations.

Change-Id: If6c2b5dc2244ac4b921e45daeb8e0052306e2c54
unningProcessesView.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
anageApplications.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
nstalledAppDetails.java
anageApplications.java
unningProcessesView.java
unningServiceDetails.java
f4eb85bc3c57ca70b577cea1524431fead4a4ccc 30-Oct-2010 Dianne Hackborn <hackbod@google.com> Start fragmentizing Manage Applications.

Change-Id: I0c3d6a358d0236893aba7257537ec32bfad4170d
nstalledAppDetails.java
nstalledAppDetailsTop.java
anageApplications.java
unningProcessesView.java
4e4ed14ee2b82cb90a25b3027eb36f190ce2e1e7 29-Oct-2010 Dianne Hackborn <hackbod@google.com> Fix issue #3146784: ANR in manage applications

See the big comment.

Change-Id: I36164a6fcba58fe2b0e2b3aa216780d0d0e5ed37
pplicationsState.java
anageApplications.java
5e34f239861874455d815f1001feed24d994eafd 22-Oct-2010 Dianne Hackborn <hackbod@google.com> Fix issue #3124528: Mange applications is including cache files in storage size

Change-Id: If26aeaed7572354feca7b8e65b7451a024a10266
pplicationsState.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
pplicationsState.java
inearColorBar.java
anageApplications.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
inearColorBar.java
anageApplications.java
unningProcessesView.java
unningServiceDetails.java
unningState.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
anageApplications.java
b8f9c9cf7c0343c6c05296bb7af8fdccdc3b7a3b 07-Oct-2010 Dianne Hackborn <hackbod@google.com> Add confirmation when stopping system service, as per rwest.

Change-Id: I1cca31a87d3acfc49ffb4562d922d4577c0b1cba
unningServiceDetails.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
pplicationsState.java
nstalledAppDetails.java
anageApplications.java
2f144fc07d3f202b83ffb6064a223bbadef65114 01-Oct-2010 Dianne Hackborn <hackbod@google.com> Fix android:allowClearUserData.

Now respect this flag for system apps.

Change-Id: I496b0051a4998cb41b8c07fd0eb85e253de1eb97
nstalledAppDetails.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
anageApplications.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
pplicationsState.java
nstalledAppDetails.java
anageApplications.java
44178e2801c013e60defb4b5f390d893e7344a71 14-Sep-2010 Dianne Hackborn <hackbod@google.com> Supercalifragilisticexpialidocious.

Change-Id: Ifaece97c80b859cb455eab56230e076eca916f4a
nstalledAppDetails.java
anageApplications.java
2d5cd1dfbc635fef3321694f33faf38ffa993d3f 03-Sep-2010 Dianne Hackborn <hackbod@google.com> Follow rename.

Change-Id: I255df1429b999943d7b3d2ca2b453045f195fdb9
unningState.java
5774d5d34b2339135feab01b998fcd111ebdde4d 31-Aug-2010 Dianne Hackborn <hackbod@google.com> Show correct process dependency for providers.

Use the new API that allows us to always retrieve the desired
provider info.

Change-Id: I9265d8f169ee34c87f0ca89315ee78bb2ae49674
unningServiceDetails.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
anageApplications.java
unningProcessesView.java
be5994d20152c7194aac79eb8152240655fd3373 13-Aug-2010 Dianne Hackborn <hackbod@google.com> Some improvements to the battery usage UI:

- Show wake lock usage in the battery history.
- Show WIFI usage in the battery history.
- Show the amount an app has held a wake lock in the app details.
- Also fix service run time computation in running services.

Change-Id: I5aa959857f83808fbc709f65204f59bbfb73935b
unningProcessesView.java
unningServiceDetails.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
pplicationsState.java
nstalledAppDetails.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
pplicationsState.java
anageApplications.java
unningProcessesView.java
unningServiceDetails.java
unningState.java
e7623f775cb37a8de049dae8c03b5b396526fdd1 27-Jul-2010 Dianne Hackborn <hackbod@google.com> Rewrite Manage Applications to be faster and simpler.

Change-Id: I4cf405e83a369cb935bccf375798557ffd93e14e
pplicationsState.java
anageApplications.java
unningProcessesView.java
4d83bd2dbd6cd068ef770ec960c24414e8aa6391 25-Jul-2010 Dianne Hackborn <hackbod@google.com> Add UI to report a running service to the developer.

Change-Id: Ia3f666344ee02bc96784b198533392252230bd80
unningServiceDetails.java
9db5ee35d5345e13e6e6b857dbad5a83e9f037d1 25-Jul-2010 Dianne Hackborn <hackbod@google.com> Add facility to disable system packages.

Change-Id: I762c76993e0f88d255dfc04acbea6c6adea7103d
nstalledAppDetails.java
anageApplications.java
c01b0c83fca571229621d16b757a46dc0fae7dfe 24-Jun-2010 Dianne Hackborn <hackbod@google.com> Allow user to see and stop heavy-weight processes.

Change-Id: If5caed3972ab03a54fbf8c459cdfc136e4bdc020
unningProcessesView.java
unningServiceDetails.java
unningState.java
ea38e678537cf740b5f30c1d69c7a332e98cdd2c 11-Jun-2010 Dianne Hackborn <hackbod@google.com> Show history of battery level.

Also clean up to remove dead code for running services and old
battery usage UI.

Finally some string improvements from Roy.

Change-Id: I8765a4c744b92edd1505f14c47fea57b918e5d7b
unningProcessesViewOld.java
unningServices.java
unningState.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
nstalledAppDetails.java
anageApplications.java
unningProcessesView.java
unningProcessesViewOld.java
unningServiceDetails.java
unningServices.java
unningState.java