Commit Graph

468949 Commits

Author SHA1 Message Date
TreeHugger Robot
5688bc3e4c Merge "Bubbles user education for stack & manage" into rvc-dev 2020-02-28 02:11:46 +00:00
TreeHugger Robot
71796e31de Merge "Mark updatable APEXes" into rvc-dev 2020-02-28 02:05:04 +00:00
TreeHugger Robot
141b5e79c3 Merge "Fix crash when opening bubble overflow" into rvc-dev 2020-02-28 02:04:09 +00:00
TreeHugger Robot
aa62588560 Merge "Adds Zygote policy flags to control how applications are launched" into rvc-dev 2020-02-28 01:26:38 +00:00
TreeHugger Robot
0eba93a5ed Merge "Tuner JNI: demux" into rvc-dev 2020-02-28 01:22:41 +00:00
TreeHugger Robot
98668696f1 Merge "Add UsageStats CTS tests to AppStandbyController test mapping." into rvc-dev 2020-02-28 01:16:52 +00:00
Xiangyu/Malcolm Chen
806e50963c Merge "Smoother signal bar transition during CBRS data switching" into rvc-dev 2020-02-28 00:40:28 +00:00
Wei Wang
720830ee90 Merge "Zygote: migrate zygote start time metrics to StatsLog" into rvc-dev 2020-02-28 00:29:27 +00:00
Daniel Sandler
06907ad5ee Merge "Add importance indicator to conversation icons." into rvc-dev 2020-02-28 00:26:10 +00:00
TreeHugger Robot
ac4b502829 Merge "String tweak for vendor logging dev setting" into rvc-dev 2020-02-28 00:25:39 +00:00
Mathieu Chartier
8f57c44177 Merge "Revert "Disable BootImageProfileTest presubmit"" into rvc-dev 2020-02-28 00:22:12 +00:00
Tracy Zhou
ab2c1bb007 Merge "Add Hexagon (Victor) shape to icon shape overlay (will show up in custom options)" into rvc-dev 2020-02-28 00:18:43 +00:00
Tracy Zhou
c924edf315 Add Hexagon (Victor) shape to icon shape overlay (will show up in custom options)
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
2020-02-27 16:14:29 -08:00
Jeffrey Huang
aee5dd2935 Merge "Update directory for proc stats puller" into rvc-dev 2020-02-28 00:06:00 +00:00
Tracy Zhou
d60abb5237 Merge "Add Flower (Sam) shape to icon shape overlay (will show up in custom options)" into rvc-dev 2020-02-28 00:00:19 +00:00
TreeHugger Robot
3201a3aab3 Merge "Reduce individual quota alarms set." into rvc-dev 2020-02-27 23:58:48 +00:00
Patrick Baumann
abe3d7bde4 Merge "Adds app enumeration support to CompanionDeviceManager" into rvc-dev 2020-02-27 23:47:58 +00:00
Tracy Zhou
2b150f09f9 Add Flower (Sam) shape to icon shape overlay (will show up in custom options)
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
2020-02-27 15:33:16 -08:00
TreeHugger Robot
680c708af1 Merge "Add java_api_finder statsd" into rvc-dev 2020-02-27 23:04:17 +00:00
Mady Mellor
5a3e94b702 Bubbles user education for stack & manage
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
2020-02-27 22:57:14 +00:00
TreeHugger Robot
9f9ca14bb5 Merge "Use new socket schema within TestSlicedCondition" into rvc-dev 2020-02-27 22:55:25 +00:00
Julia Reynolds
21e618d9ba Merge "Fix 'history' text" into rvc-dev 2020-02-27 21:00:44 +00:00
Chris Wailes
ee398f9664 Adds Zygote policy flags to control how applications are launched
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)
2020-02-27 20:33:12 +00:00
Mady Mellor
0122cc904f Fix crash when opening bubble overflow
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
2020-02-27 12:26:59 -08:00
Trung Lam
8839aaee6d Merge "Implement backup and restoration of conversation infos." into rvc-dev 2020-02-27 19:56:29 +00:00
Alec Mouri
28a0b857f4 Merge "Add atom for a janky event reported by SurfaceFlinger." into rvc-dev 2020-02-27 19:47:44 +00:00
Keun young Park
ebac6a0d9b Zygote: migrate zygote start time metrics to StatsLog
- Also log second zygote start time as well.

Bug: 132691841
Test: check statsd dump
Change-Id: If749707dc5bcfefaeac1a476add076d2925af46d
2020-02-27 18:55:54 +00:00
Ben Lin
5b55f124d8 Merge "Fix a typo in config_pipEnableResizeForMenu." into rvc-dev 2020-02-27 18:45:17 +00:00
Nate Jiang
a99073b296 Merge "Add Doc about app disable or netowrk reset will remove suggeestion" into rvc-dev 2020-02-27 18:33:27 +00:00
Winson Chiu
b0c5105b2d Merge changes from topic "actor-signature-policy-rvc-dev" into rvc-dev
* changes:
  Actor signature overlayable policy
  Refactor overlayable policy
2020-02-27 18:27:53 +00:00
Winson Chiu
ab5563dd1c Merge "Initialize PackageManagerService ApplicationInfo instances to system user" into rvc-dev 2020-02-27 18:26:25 +00:00
Amit Mahajan
cc7682bd15 Merge "Hide TelephonyRegistryManager." into rvc-dev 2020-02-27 18:25:29 +00:00
TreeHugger Robot
9a979fb217 Merge changes I41959627,Iba316772 into rvc-dev
* changes:
  Bind/unbind notif children content dynamically
  Support freeing contracted/expanded view
2020-02-27 18:17:01 +00:00
Mike Ma
36eeacc058 Merge "Fix PowerIncidentTest" into rvc-dev 2020-02-27 18:13:31 +00:00
Ytai Ben-tsvi
d050812a30 Merge changes I9f0a440d,I0b734cc7,I510ee307,Ia257021d into rvc-dev
* changes:
  Pretty-print parcelables when logging
  Add sysdump to SoundTriggerMiddlewareService
  SoundTriggerMiddlewareService logging decorator
  Refactor SoundTriggerMiddlewareService
2020-02-27 18:09:39 +00:00
Kweku Adams
35d05acc8c Reduce individual quota alarms set.
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
2020-02-27 10:06:50 -08:00
Mathieu Chartier
bdf7b312b2 Revert "Disable BootImageProfileTest presubmit"
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
2020-02-27 10:06:12 -08:00
Nicholas Ambur
626b24958f Merge "remove client token passing active VI service" into rvc-dev 2020-02-27 18:01:24 +00:00
Nicholas Ambur
a163d079d8 Merge "add enrollment application UID tracking" into rvc-dev 2020-02-27 18:01:24 +00:00
Hunter Knepshield
26ffb5e4af String tweak for vendor logging dev setting
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)
2020-02-27 17:59:08 +00:00
TreeHugger Robot
92a82e2d81 Merge "VibratorService: Conditionally Use Callbacks" into rvc-dev 2020-02-27 17:57:49 +00:00
Daniel Colascione
8dfcca7db7 Merge "Flush permission cache when we change delegates" into rvc-dev 2020-02-27 17:53:43 +00:00
Daniel Colascione
ac3c969069 Merge "Add context UID to package-name-based permission query" into rvc-dev 2020-02-27 17:52:24 +00:00
Sudheer Shanka
442399b1c1 Merge "Include pending media as well when deleting mediastore entries." into rvc-dev 2020-02-27 17:49:53 +00:00
Automerger Merge Worker
14862018b9 [automerger skipped] Merge "DO NOT MERGE Fix Autohide functionality" into qt-qpr1-dev am: 2267cbc57f -s ours
am skip reason: subject contains skip directive

Change-Id: Ic96145923275d950d6f0a565f497b59cfa0ffd6c
2020-02-27 17:42:24 +00:00
Mike Ma
14eef1368c Fix PowerIncidentTest
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
2020-02-27 09:38:10 -08:00
Mike Ma
755ce9edf9 Merge "Handle EOF explicitly in incident_helper" into rvc-dev 2020-02-27 17:33:54 +00:00
Ruchir Rastogi
dfd63d4522 Use new socket schema within TestSlicedCondition
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)
2020-02-27 17:33:53 +00:00
Heemin Seog
2267cbc57f Merge "DO NOT MERGE Fix Autohide functionality" into qt-qpr1-dev 2020-02-27 17:29:35 +00:00
Jayant Chowdhary
84d6a305a2 Merge "camera2: Add documentation for getConcurrentStreamingCameraIds specifying multi-process use." into rvc-dev 2020-02-27 17:20:00 +00:00