These are fields that were moved from AndroidPackage into
PackageSetting and thus have to be assigned from that PackageSetting
whenever an ApplicationInfo object is generated.
Affected fields are seInfo, primaryCpuAbi, and secondaryCpuAbi.
Bug: 152339899
Test: manual adb shell am compat disable 143539591 com.example.app
for test app and verify enable/disable
Change-Id: I0b135554de4420066dc74d0571416547f0557eef
This reverts commit cd9997f3027dbee6f04c4322af1d0d376029e72e.
Reason for revert: This first reverting is because the CL has to be
submitted with ag/10523008, but they didn't even they had the same topic.
Revert the first reverting together with submitting ag/10523008.
Bug: 150742983
Change-Id: I6c8fb640d1334f2114d6d7b01a44be1a202f0bda
The addition of a second round of filtering introduced a bug that would
cause the system to log false filter and section changes for all notifs
on every run of the pipeline.
Previously, we had logic like the following:
(assume that, in the previous run, entryA was filtered out by filter1
during the pre-finalized stage)
1. preGroupFilters run, nothing returns true. Set
entryA.mExcludingFilter to null. It changed! Log it.
2. preFinalizeFilters run, filter1 returns true. Set
entryA.mExcludingFilter to it. It changed! Log it.
NotifSections had a similar bug that would null out their assigned
section every time they were filtered out.
To solve this, we introduce an mPreviousExcludingFilter field on
NotificationEntry that will allow us to determine whether the filter
actually changed as compared to the previous run. We also move that
logging logic to the end of the pipeline.
To solve the sectioning issue, we just don't null out sections when the
entry is filtered out. Long-term, we should move to a system similar to
the one above, but that's more complicated.
Test: atest
Bug: 112656837
Change-Id: Ib78dbbb0346947210cc1b6b49547595895e9fce5
There are two separate FlakyTest annotations. Only one of them was
initially excluded from presubmit runs, so tests annotated with the
second were still being run. Adding the second annotation to the list of
exclusions so that none of the flaky tests run during presubmit.
Bug: 150503078
Test: Navigate to directory and run `atest`
Change-Id: Id85a2181654bb4039e4ae0a13269cf1a160e43c0
This was never being checked previously.
Bug: 149925743
Test: atest NotificationManagerServiceTest
Change-Id: I54151d9018a768b8bbc57771ba315bf5d4be2496
Fixes: 148878643
Test: manual - labels show up for test bubbles and chatheads; backup app
names are as expected
Change-Id: Ib53325f81c60b016e544b016b4dfbf9582a60231
...otherwise developer will get onApplyWindowInsets which don't
match end value of animation. Super confusing
Test: InsetsControllerTest
Bug: 152071027
Change-Id: Ic1819512a5ce78843433bf7c231d062e12de0e7b
Gate background custom toast block on targetSdk for beta 1, after
having gathered dogfood feedback. So, enabling the change for apps with
targetSdk > Q (>= R). Also removed warning toast.
Added tests in topic CL to cover all the cases.
Bug: 144152069
Test: atest android.widget.cts29.ToastTest android.widget.cts.ToastTest
Change-Id: If368a97a2a8ff56770635615f89c79007bb27075
There's only a few of these. They currently get reloaded every time
the view changes states. This loading also happens in an on-predraw
listener. Cache them instead.
Fixes: 145666518
Test: atest SystemUITests
Change-Id: I5727459d395f1e347db42d91b313913c079ff3be
This moves the final remaining pieces into
LockscreenIconController.
Test: manual
Fixes: 150393918
Change-Id: I6ce57905bdfcf832b92d5f2e4ce46054ff067851
Enable the package broadcast receiver which will update on package
change
Test: Install an app with permissions, go to permission manager, ensure
app is not in the "System Apps" section.
Fixes: 141311767
Change-Id: I054557b67b894afdee91d5779c7cc4af9d530a33
Makes it convenient to change all stubs from a central place.
Bug: 149293194
Test: m framework-permission-stubs{public,system,module_libs_}api
Change-Id: I8c12cf5c30833211eee3191765e635c5a9921a2b
Makes it convenient to change all stubs from a central place.
Bug: 149293194
Test: m framework-tethering-stubs{public,system,module_libs_}api
Change-Id: I330133824e78b3a8927e3d3ffbbd729bcdcb8822
Makes it convenient to change all stubs from a central place.
Bug: 149293194
Test: m framework-sdkextensions-stubs{public,system,module_libs_}api
Change-Id: I955ed9b61985f84a7a3a2d18127ddf0e00a73630
Makes it convenient to change all stubs from a central place.
Bug: 149293194
Test: m framework-wifi-stubs{public,system,module_libs_}api
Change-Id: Ie857558b507c90dd46a7777c82f14d7d45422222
Makes it convenient to change all stubs from a central place.
Bug: 149293194
Test: m framework-media-stubs{public,system,module_libs_}api
Change-Id: Ic4f7340090e8daf6cc77350f1f711467da5a7502
Makes it convenient to change all stubs from a central place.
Also remove the framework-statsd-defaults that were only used
in a single place.
Bug: 149293194
Test: m framework-statsd-stubs{public,system,module_libs_}api
Change-Id: Ib2e01cddfaceb7f24fd2e60c3a365a79a035bcae
Useful to be able to change settings for all stub libs at
the same time. For example, disting these libraries will be
done soon.
Bug: 149293194
Test: followup CLs
Change-Id: I4dda5b44b6d4e76018acb50f46d05816cc4c7f0b