https://screenshot.googleplex.com/4Ta8OOrfJpV
Bug: 150234338
Test: installed the apk and then changed it in custom style options
$ adb install out/target/product/generic/system/product/overlay/IconShapeHexagon/IconShapeHexagonOverlay.apk
Change-Id: I9f0848d772bdaaacaa6cc2e30bc6e992f323f974
https://screenshot.googleplex.com/0i9YmgFDuYB
Bug: 150234338
Test: installed the apk and then changed it in custom style options
$ adb install out/target/product/generic/system/product/overlay/IconShapeFlower/IconShapeFlowerOverlay.apk
Change-Id: I03ad33f4f9a14cebb1e50af15035b48dcbfd97d5
Two types of education
1) highlighting the bubble when it first appears on screen (after user tap)
2) highlighting manage button when a bubble is expanded
* Both of these are added in BubbleStackView & respond to theme changes
* Prefs to save whether user has seen either education
* Simple animations in / out; we can tune them later
* Adjusts the starting position of the stack to work with user education
positioning
* Adds a secure setting string to force user education to show for demo
purposes.
Test: manual:
1) get bubble for first time
2) tap on flyout => flyout disappears & user education shows
3) get another update to that bubble => note that it doesn't show bc
user education is displaying
1) get bubble for first time
2) tap on bubble => flyout disappears & user education shows
3) tap outside of the user education => user education hides
1) get bubble for first time
2) wait => after flyout disappears, user education shows
3) tap on the bubble => user education hides & bubble expands, after
expansion "manage" user education appears
4a) interact with content in the activity view
4b) collapse the stack (via back or tapping outside)
4c) tap on the manage button
4d) select a different bubble
=> each of 4x) should dismiss the manage button user education
Check that switching themes (and dark mode) gets the right colour for user
education backgrounds & text.
Bug: 148105621
Change-Id: I8e6401573c1ac21dfe636aa1132461fe04ce67ac
Merged-In: I8e6401573c1ac21dfe636aa1132461fe04ce67ac
This patch adds a zygote policy parameter to functions in the
ActivityManagerService (and associated classes) to allow for different
launch behavior based on the triggering event. This will allow for
latency sensitive applications to utilize the Unspecialized App Process
Pool, without other processes draining the pool and causing excessive
refill events.
Test: Booted and launched several apps
Bug: 147613193
Change-Id: Ib0a51c8720f95a7eafcab4ad2b5bb08f27a58d8c
(cherry picked from commit 4d05188588)
BubbleExpandedView needs a BubbleStackView reference, without that
there could be an NPE in various locations.
Also uses the correct parent view to setup the overflow.
Test: manual - tap on the overflow, observe no crash
Fixes: 150394526
Change-Id: Ib1ae9353a0dfd60ac8b6eb4f94b5b0cc5bc47811
Switch QuotaController to track all of the pending in quota alarms
internally and only set one alarm for the whole group.
Bug: 150156067
Test: atest CountQuotaTrackerTest
Test: atest CtsJobSchedulerTestCases
Test: atest QuotaControllerTest
Change-Id: Ie415ed0c4f224ac8c37110962009c310e6a6a051
This reverts commit 33b9bb815b.
Bug: 149802360
Reason for revert: Test is hopefully fixed
(cherry-picked from commit ac3eecfd8a)
Test: atest BootImageProfileTest
Merged-In: Ifc99b98d0b438f5c0d7ae29a9046c4fc5fe2cf21
Change-Id: Ifc99b98d0b438f5c0d7ae29a9046c4fc5fe2cf21
We also want to let the user know that in addition to possibly including
their PII, vendor logging may require additional battery and storage
resources.
Bug: 148822215
Test: make and flash, look at developer settings
Change-Id: I00a9a89054eb1abd585129a630068bc924f1717d
(cherry picked from commit 755a008720)
ag/9684175 changed mScreenBrightnessSettingMinimum,
mScreenBrightnessSettingMaximum and mScreenBrightnessSettingDefault
to float without changing proto dump and cts.
Bug: 149895022
Exempt-From-Owner-Approval: Minor change to fix CTS test
Test: atest CtsIncidentHostTestCases:com.android.server.cts.IncidentdTest#testIncidentReportDumpExplicit
Change-Id: Ief85ba8299626a3d92fb43db162a1b6864c8eae0
This CL serves as a prototype for future efforts to move statsd tests to
the new socket schema.
We also significantly refactor the LogEvent class by introducing two new
functions:
- LogEvent::LogEvent(int32_t uid, int32_t pid)
- bool LogEvent::parseBuffer(uint8_t* buf, size_t size)
The goal is that these two functions will be the only two entry points
into the class. Separating these two is helpful because (a) it allows
test and source code to use the same codepath and (b) it allows the
calling function to see if the atom encoding was successfully parsed
(note that constructors can't return values).
P.S. This CL breaks LogEventQueueTests, but that will be resolved once
all tests are moved to the new constructors.
Test: m statsd
Test: bit statsd_test:SimpleConditionTrackerTest#TestSlicedCondition
Bug: 149590301
Change-Id: Id3c9522c4467c4869ec97226734a556dd9dfb169
Merged-In: Id3c9522c4467c4869ec97226734a556dd9dfb169
(cherry picked from commit 14f56f6bc4)