OSDN Git Service
Makoto Onuki [Fri, 25 May 2018 21:51:21 +0000 (14:51 -0700)]
Disable battery saver tron log by default
Test: Make sure not logs are written on: logcat -b events | grep -w 1302
Test: Re-anble tron log with settings put global battery_saver_constants send_tron_log=true
and make sure logs are written on: logcat -b events | grep -w 1302
Bug:
74742911
Change-Id: I1f4159b7194fbc29be7f76669aa4e53084ed27e7
TreeHugger Robot [Fri, 25 May 2018 18:06:07 +0000 (18:06 +0000)]
Merge "Support rtl for quick scrub onboarding text." into pi-dev
TreeHugger Robot [Fri, 25 May 2018 15:59:07 +0000 (15:59 +0000)]
Merge "Fix monkey crash in smart selection animation" into pi-dev
TreeHugger Robot [Fri, 25 May 2018 15:27:43 +0000 (15:27 +0000)]
Merge "Camera: Clarify multi-camera id selection logic" into pi-dev
Mihai Popa [Fri, 25 May 2018 10:57:17 +0000 (11:57 +0100)]
Fix monkey crash in smart selection animation
In Id65443e93d277c106ea955c867d39e94192cc55d we fixed a monkey crash
happening when the smart selected text had changed while the smart
selection animation was running. However, the change introduced a new
crash, happening when the smart selection result was null. This CL fixes
it, and lets startSelectionActionMode run even when the result is null,
as there seems to be some logic there which should happen in this case.
Bug:
80244201
Test: none
Change-Id: I7f0304446dec85578bdcd5011d2e9ea2737d3c36
(cherry picked from commit
a9d27ea8692dbf6c6def6bd21754af0ad67d1675)
Merged-in: I7f0304446dec85578bdcd5011d2e9ea2737d3c36
Nicolas Geoffray [Fri, 25 May 2018 13:46:31 +0000 (13:46 +0000)]
Merge "Add one telephony API to light grey." into pi-dev
Nicolas Geoffray [Fri, 25 May 2018 13:30:19 +0000 (13:30 +0000)]
Merge "More light grey apis." into pi-dev
Nicolas Geoffray [Fri, 25 May 2018 13:29:55 +0000 (13:29 +0000)]
Merge "Add SharedPreferencesImpl;->startLoadFromDisk()V to light grey." into pi-dev
TreeHugger Robot [Fri, 25 May 2018 10:49:18 +0000 (10:49 +0000)]
Merge "Add more light grey APIs." into pi-dev
Nicolas Geoffray [Fri, 25 May 2018 09:46:32 +0000 (10:46 +0100)]
More light grey apis.
bug:
80270434
Test: m
Change-Id: I4877a782f9f8c0599de189d28df876d60d2c7b3d
Nicolas Geoffray [Fri, 25 May 2018 08:10:55 +0000 (09:10 +0100)]
Add more light grey APIs.
bug:
80256659
Test: m
Change-Id: Ic2a0ecffcd039cb5474625e39264714b9eed768a
TreeHugger Robot [Fri, 25 May 2018 08:57:23 +0000 (08:57 +0000)]
Merge "New Autofill field: FIELD_AUTOFILL_SESSION_ID" into pi-dev
Nicolas Geoffray [Fri, 25 May 2018 08:01:06 +0000 (09:01 +0100)]
Add SharedPreferencesImpl;->startLoadFromDisk()V to light grey.
bug:
80091112
Test: m
Change-Id: Ia7c0cf66408fb241b029778d248dd3b7e324727a
Nicolas Geoffray [Fri, 25 May 2018 07:50:22 +0000 (07:50 +0000)]
Merge "Add some telephony API to light grey." into pi-dev
Felipe Leme [Thu, 24 May 2018 17:41:48 +0000 (10:41 -0700)]
New Autofill field: FIELD_AUTOFILL_SESSION_ID
This field contains the autofill session id (Thank You, Captain Obvious!), which
is useful to correlate autofill metrics that are not logged on
AUTOFILL_REQUEST.
Test: atest CtsAutoFillServiceTestCases # to make sure it didn't break anything
Test: manually run some test and watched
'adb shell logcat -b events | grep sysui'. Example:
[757,913,758,4,806,android.autofillservice.cts,871,android.autofillservice.cts.LoginActivity,914,2,915,2,1456,-
2045861404
Fixes:
80093094
Merged-In: If4b1c9ab616b2ba580745096894997eb7edb3e34
Change-Id: If4b1c9ab616b2ba580745096894997eb7edb3e34
Tracy Zhou [Fri, 25 May 2018 05:21:06 +0000 (22:21 -0700)]
Support rtl for quick scrub onboarding text.
Change-Id: I1f2073e1c24a24aa5ddfd061a6e8b0eaef40335c
Fixes:
80257508
Test: Manual test
TreeHugger Robot [Fri, 25 May 2018 04:24:29 +0000 (04:24 +0000)]
Merge "Add missing copyright messages Test: Tested on Mojave Bug:
80266597 Change-Id: I1a2e712adabe8872f7c440e8e2c15787aea7aa98" into pi-dev
Jason Monk [Fri, 25 May 2018 01:21:35 +0000 (01:21 +0000)]
Merge "Follow supportlib changes in SliceManager" into pi-dev
TreeHugger Robot [Fri, 25 May 2018 00:55:42 +0000 (00:55 +0000)]
Merge "Added the class name of activity being autofilled on (most) autofill metrics." into pi-dev
Aarthi Balachander [Fri, 25 May 2018 00:34:10 +0000 (17:34 -0700)]
Add missing copyright messages
Test: Tested on Mojave
Bug:
80266597
Change-Id: I1a2e712adabe8872f7c440e8e2c15787aea7aa98
TreeHugger Robot [Fri, 25 May 2018 00:18:41 +0000 (00:18 +0000)]
Merge "Merged many autofill session metrics into AUTOFILL_REQUEST:" into pi-dev
TreeHugger Robot [Fri, 25 May 2018 00:13:35 +0000 (00:13 +0000)]
Merge "Tweak new rotate icon and motion" into pi-dev
Makoto Onuki [Thu, 24 May 2018 23:22:09 +0000 (23:22 +0000)]
Merge "Tweak exemption for sync requests made by FG apps" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 23:18:19 +0000 (23:18 +0000)]
Merge "Fix boundary condition of showing quickscrub tip after dismissal." into pi-dev
TreeHugger Robot [Thu, 24 May 2018 22:12:16 +0000 (22:12 +0000)]
Merge "Put a little space between wifi and data type" into pi-dev
Tracy Zhou [Thu, 24 May 2018 21:41:34 +0000 (14:41 -0700)]
Fix boundary condition of showing quickscrub tip after dismissal.
It's possible that user opens overview 11 times after first dismissal of
Quickscrub tip before going to an app and our current condition check would fail. Change
the condition of showing swipe-up tip for consistency.
Change-Id: If58f9b6f2edfbdccf68a2c44e0b3b4b489862734
Fixes:
80256933
Test: Manual test
Mike Digman [Thu, 24 May 2018 18:06:05 +0000 (11:06 -0700)]
Tweak new rotate icon and motion
Slightly reduce the icon size to decrease its size relative to the new
back button. Use scaleX attribute to ensure arrows always point in
direction of motion. Fix intro animation bug where rippling would only
happen for first three loops.
Bug:
79930974
Test: manual
Change-Id: I6b8d4acd4c1537649d0120663169e7a1fd4db7fb
Felipe Leme [Tue, 22 May 2018 21:56:15 +0000 (14:56 -0700)]
Added the class name of activity being autofilled on (most) autofill metrics.
Test: atest CtsAutoFillServiceTestCases # to make sure it didn't break anything
Test: manually run some test and watched
'adb shell logcat -b events | grep sysui'
Fixes:
80151641
Change-Id: I5b83e6ceb549a641d10c39bbfd4f24d0a43d1a23
TreeHugger Robot [Thu, 24 May 2018 20:50:41 +0000 (20:50 +0000)]
Merge "Update location icons (qs + status)" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 20:50:35 +0000 (20:50 +0000)]
Merge "Add tuning to SystemUI to draw into a DisplayCutout's bounds" into pi-dev
Michael Wachenschwanz [Thu, 24 May 2018 20:45:34 +0000 (20:45 +0000)]
Merge "Revert "Revert "Write UsageEvents Parcel data as a Blob""" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 20:41:14 +0000 (20:41 +0000)]
Merge "Added display null check to ActivityStackSupervisor.getNextFocusableStackLocked" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 20:17:14 +0000 (20:17 +0000)]
Merge "Update some app permission icons" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 20:05:54 +0000 (20:05 +0000)]
Merge "Flip flag to enable vibration on wireless charging" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 20:05:49 +0000 (20:05 +0000)]
Merge "On configuration change setup screen decorations" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 20:00:27 +0000 (20:00 +0000)]
Merge "Revert "WallpaperColors hint computation"" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 18:01:43 +0000 (18:01 +0000)]
Merge "Hide system apps until installed (1/2)" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 17:57:46 +0000 (17:57 +0000)]
Merge "Destroy networks as soon as they are disconnected." into pi-dev
TreeHugger Robot [Thu, 24 May 2018 17:47:10 +0000 (17:47 +0000)]
Merge "DngCreator: Use new LENS_DISTORTION result field if available." into pi-dev
Michael Wachenschwanz [Thu, 24 May 2018 17:21:02 +0000 (17:21 +0000)]
Revert "Revert "Write UsageEvents Parcel data as a Blob""
This reverts commit
8520e569980c8b2bbca0872c906d057165121012.
Reason for revert: Bug Fixed
Bug:
79860717
Bug:
80215357
Change-Id: Ibaabe3c6bab72f417b24121a91ec5f953ad18ff7
Felipe Leme [Mon, 21 May 2018 18:18:46 +0000 (11:18 -0700)]
Merged many autofill session metrics into AUTOFILL_REQUEST:
- AUTOFILL_UI_LATENCY
- AUTOFILL_AUTHENTICATED;
- AUTOFILL_DATASET_AUTHENTICATED
- AUTOFILL_INVALID_AUTHENTICATION
- AUTOFILL_INVALID_DATASET_AUTHENTICATION
At least one AUTOFILL_REQUEST is created on each session; additional ones are
created for each additional request made to the service (which is tracked by
FIELD_AUTOFILL_REQUEST_INDEX).
Also:
- Added TYPE_CLOSE to indicate a timeout waiting for the service response.
- Added FIELD_AUTOFILL_REQUEST_ORDINAL to indicate the order of the request in
the session.
- Added FIELD_AUTOFILL_NUMBER_REQUESTS on AUTOFILL_SESSION_FINISHED.
- Created an AUTOFILL_FIELD_FLAGS to avoid conflict with FIELD_FLAGS.
Test: atest CtsAutoFillServiceTestCases # to make sure it didn't break anything
Test: manually run some test and watched the result of
'adb shell logcat -b events | grep sysui', as described below.
1) LoginActivityTest#testAutoFillNoDatasets:
[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,-1,1454,1]
[757,919,758,4,806,android.autofillservice.cts,908,android.autofillservice.cts,1455,1]
Where 907=AUTOFILL_REQUEST, 919=AUTOFILL_SESSION_FINISHED,
1454=FIELD_AUTOFILL_REQUEST_ORDINAL, 1455=FIELD_AUTOFILL_NUMBER_REQUESTS,
758:10 = TYPE_SUCCESS, 909 = FIELD_AUTOFILL_NUM_DATASETS (-1 == null response)
2) LoginActivityTest#testAutoFillTwoDatasetsSameNumberOfFields:
[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,2,1145,60,1454,1]
Where 1145=FIELD_AUTOFILL_DURATION (60ms UI latency)
3) LoginActivityTest#testCancellationSignalCalledAfterTimeout:
[757,907,758,2,806,android.autofillservice.cts,908,android.autofillservice.cts,1454,1]
Where 758:2 = TYPE_CLOSE (timeout)
4) LoginActivityTest#testAutofillManuallyOneDataset:
[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,1,1145,67,1452,1,1454,1]
Where 1452=FIELD_AUTOFILL_FLAGS and 1=FLAG_MANUAL_REQUEST
5) FillEventHistoryTest#testNoEvents_whenServiceReturnsFailure:
[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,1,1145,48,1454,1]
[757,907,758,11,806,android.autofillservice.cts,908,android.autofillservice.cts,1454,2]
[757,919,758,4,806,android.autofillservice.cts,908,android.autofillservice.cts,1455,2]
Where 758:11 = TYPE_FAILURE
6) AuthenticationTest#testFillResponseAuthJustOneField
[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,0,1145,91,1453,912,1454,1]
Where 1453:912 is FIELD_AUTOFILL_AUTHENTICATION_STATUS = AUTOFILL_AUTHENTICATED
7) AuthenticationTest#testDatasetAuthTwoDatasets
[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,2,1145,64,1453,1126,1454,1]
Where 1453:1126 is FIELD_AUTOFILL_AUTHENTICATION_STATUS =
AUTOFILL_DATASET_AUTHENTICATED
8) AuthenticationTest#testFillResponseAuthServiceHasNoData
[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,0,1145,49,1453,1128,1454,1]
Where 1453:1128 is FIELD_AUTOFILL_AUTHENTICATION_STATUS =
AUTOFILL_INVALID_AUTHENTICATION
9) VirtualContainerActivityCompatModeTest#testAutofillSync
[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,1,1145,53,1414,1,1454,1]
[757,919,758,4,806,android.autofillservice.cts,908,android.autofillservice.cts,1414,1,1455,1]
Where 1414 is FIELD_AUTOFILL_COMPAT_MODE
10) FieldsClassificationTest#testHit_manyUserData_manyDetectableFields
[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,0,1271,2,1454,1]
Where 1271 is FIELD_AUTOFILL_NUM_FIELD_CLASSIFICATION_IDS
11)PartitionedActivityTest#testAutofill4PartitionsMixManualAndAuto
[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,1,1145,109,1454,1]
[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,1,1452,1,1454,2]
[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,1,1454,3]
[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,1,1452,1,1454,4]
[757,919,758,4,806,android.autofillservice.cts,908,android.autofillservice.cts,1455,4]
Bug:
80093094
Fixes:
80095814
Merged-In: I87424834fc925a3bcba410eec5aa32fcd6253367
Change-Id: I87424834fc925a3bcba410eec5aa32fcd6253367
Lucas Dupin [Thu, 24 May 2018 16:33:14 +0000 (16:33 +0000)]
Revert "WallpaperColors hint computation"
This reverts commit
c50f47d970b474371938f33e46b13ae2dd040df0.
Fixes:
79465234
Reason for revert: Google still does it using private APIs and apps were relying on this behavior, not good for the ecosystem.
Change-Id: I62e2b4cd1e6e562fcdd89c97e599bcdade83381a
TreeHugger Robot [Thu, 24 May 2018 16:30:16 +0000 (16:30 +0000)]
Merge "Use TCM context if application context is unavailble." into pi-dev
Michael Wachenschwanz [Thu, 24 May 2018 15:54:05 +0000 (15:54 +0000)]
Merge "Revert "Write UsageEvents Parcel data as a Blob"" into pi-dev
Michael Wachenschwanz [Thu, 24 May 2018 15:28:24 +0000 (15:28 +0000)]
Revert "Write UsageEvents Parcel data as a Blob"
This reverts commit
f5bae21c5efcd51c0b3fb29942c02c00b896fccf.
Reason for revert:
Bug:
79860717
Fixes:
80215357
Change-Id: I0768e5ce0a95afe7ff091c0035335437bb33c46c
Beverly [Thu, 24 May 2018 13:25:45 +0000 (09:25 -0400)]
On configuration change setup screen decorations
Test: developer options > set emulated cutout
Change-Id: I6418ad8226955264d6197491d772954491aba9ac
Fixes:
80230317
Nicolas Geoffray [Thu, 24 May 2018 14:32:07 +0000 (15:32 +0100)]
Add one telephony API to light grey.
bug:
80131205
Test: m
Change-Id: I70c0474e3ddedddbc25c5046e1695667a1283131
Nicolas Geoffray [Thu, 24 May 2018 14:26:55 +0000 (15:26 +0100)]
Add some telephony API to light grey.
bug:
80149150
Test: m
Change-Id: I625f0721d4cff80c2f920a03f0058f99b729a950
Michael Wright [Thu, 24 May 2018 12:41:50 +0000 (13:41 +0100)]
Use TCM context if application context is unavailble.
In TextClassificationManager, we use the application context to reduce
the likelihood of leaking the underlying Activity. Unfortunately, some
places (e.g. auto, system_server) don't actually provide us an
application context, so we need to fall back to whatever context was
passed in to TCM in the first place.
Bug:
80188317
Test: none
Change-Id: Ib4b2e6ed543d3ed56cefd8f56717855158cdc0fe
Nicolas Geoffray [Thu, 24 May 2018 12:31:13 +0000 (12:31 +0000)]
Merge "Add camera APIs to light grey." into pi-dev
TreeHugger Robot [Thu, 24 May 2018 12:17:41 +0000 (12:17 +0000)]
Merge "More greylist additions from bug scrape." into pi-dev
Mathew Inwood [Thu, 24 May 2018 10:37:56 +0000 (11:37 +0100)]
More greylist additions from bug scrape.
Test: m
Bug:
64382372
Bug:
79950834
Bug:
80004540
Bug:
80109977
Bug:
80112684
Bug:
80204728
Change-Id: I8343f0d467a5d1ecd4e00abcf44871089e8453b3
TreeHugger Robot [Thu, 24 May 2018 09:59:28 +0000 (09:59 +0000)]
Merge "Differentiate MediaBrowsers in a process for MediaBrowserService" into pi-dev
Wale Ogunwale [Thu, 24 May 2018 07:32:23 +0000 (00:32 -0700)]
Added display null check to ActivityStackSupervisor.getNextFocusableStackLocked
Don't try to process display that is already removed from the system
Change-Id: Idaef23ecf33a45970fc61e1a7fb56206c1a1deea
Fixes:
79779143
Test: manual
TreeHugger Robot [Thu, 24 May 2018 06:11:27 +0000 (06:11 +0000)]
Merge "Calculate cellular radio value from modem.controller values." into pi-dev
Winson Chung [Thu, 24 May 2018 05:55:47 +0000 (05:55 +0000)]
Merge "Initial changes for full-width quickscrub." into pi-dev
TreeHugger Robot [Thu, 24 May 2018 05:03:14 +0000 (05:03 +0000)]
Merge "Fork navbar layout for quickstep" into pi-dev
Antony Sargent [Thu, 24 May 2018 00:15:58 +0000 (17:15 -0700)]
Update some app permission icons
The main versions of most/all of these icons in core have already been
updated, but this CL refreshes the versions used for displaying
permissions info in settings and potentially other places.
Includes:
-camera
-contacts
-location
-microphone
-sms
-storage
Bug:
77982107
Test: manual (Settings->Apps & notifications->App permissions)
Change-Id: I35b78f360309985981679e2940dafe698def1646
Winson Chung [Thu, 24 May 2018 04:13:47 +0000 (04:13 +0000)]
Merge "Fix issue with slippery flag not being updated correctly" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 03:47:27 +0000 (03:47 +0000)]
Merge "[Notif] Remove transient views on swipe out" into pi-dev
Winson Chung [Tue, 22 May 2018 01:41:39 +0000 (18:41 -0700)]
Initial changes for full-width quickscrub.
Bug:
79945202
Test: Swipe from anywhere in the nav bar
Change-Id: Ib0b07ceb64fb74c570c297acf865a37a1dc56fa8
TreeHugger Robot [Thu, 24 May 2018 03:01:38 +0000 (03:01 +0000)]
Merge "Unsuspending packages when a PO or DO is set" into pi-dev
Winson Chung [Thu, 24 May 2018 01:24:13 +0000 (18:24 -0700)]
Fix issue with slippery flag not being updated correctly
- The ordering was such that the disabled state was updated before
onPanelExpandedChange which was masking the issue by updating the
slippery flag, but when unlocking from the screen off state, we get
onPanelExpandedChange first, and disabled state after (which doesn't
update the slippery state).
Bug:
80204751
Test: Turn screen off, unlock with fingerprint, swipe up
Change-Id: I88f1bc6a983ec0d693844724d8b9d4bf11a0fd31
Chalard Jean [Fri, 11 May 2018 11:19:20 +0000 (20:19 +0900)]
Destroy networks as soon as they are disconnected.
...as opposed to after the async channel finished disconnecting.
Bug:
78308259
Test: runtest frameworks-net
also used a device with this patch over the weekend and
tried all I could think of
Change-Id: I77ad6d97abb20815b801a794eaa9685acf2d1173
TreeHugger Robot [Thu, 24 May 2018 02:09:02 +0000 (02:09 +0000)]
Merge "Camera: Use fallback key if the requested key returns null" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 01:59:09 +0000 (01:59 +0000)]
Merge "MediaPlayer: ensure that jni code returns after throwing exceptions." into pi-dev
TreeHugger Robot [Thu, 24 May 2018 01:35:31 +0000 (01:35 +0000)]
Merge "Remove logging from RecentsOnboarding" into pi-dev
Mike Digman [Mon, 21 May 2018 18:21:30 +0000 (11:21 -0700)]
Fork navbar layout for quickstep
Different navbar layouts are loaded via config.xml depending
on if Quickstep is enabled. A contextual button frame is added
to replace the right nav buttons so different styling can be
applied. New back, rotate and keyboard icons are added.
Maintains support for custom navbar layouts. Adds support for
nested reversable elements, needed for contextual button frame.
Fixes navbar gravity support by using RelativeLayout's gravity
and top/bottom switching.
Change-Id: I5e24b2392c377313d421c0f95c3a7a0b99f32590
Fixes:
79930722
Fixes:
79930974
Fixes:
80164476
Test: manual, crash sysui, test against a11y, gb menu, rotate
Hui Yu [Wed, 23 May 2018 21:39:24 +0000 (14:39 -0700)]
Calculate cellular radio value from modem.controller values.
Recently cellular radio related values {"radio.active", "radio.scanning",
"radio.on"} are removed from power_profile.xml, which causes inaccurate
radio power usage. We use following formula to calculate radio
values from modem.controller values.
radio.active = average of modem.controller.rx and modem.controller.tx values
radio.scanning = 0 (since this is already included in radio.on bin 0)
<array name="radio.on"> <!-- Strength 0 to BINS-1 -->
<value>modem.controller.idle * 25 / 180 </value> <!-- none -->
<value>max(1, modem.controller.idle/256) </value> <!-- poor -->
<value>max(1, modem.controller.idle/256) </value> <!-- moderate -->
<value>max(1, modem.controller.idle/256) </value> <!-- good -->
<value>max(1, modem.controller.idle/256) </value> <!-- great -->
</array>
Bug:
79379255
Test: use debugger to observe correct mPowerRadioOn, mPowerBins,
mPowerScan are calculated. "adb shell dumpsys batterystats", looking for
"radio=" in "Estimated power use" section.
Change-Id: Ic65a5c8a35a5b1f4ba05ddc150e29b00bc62689f
Dongwon Kang [Thu, 24 May 2018 00:38:35 +0000 (17:38 -0700)]
MediaPlayer: ensure that jni code returns after throwing exceptions.
Test: no crash on getPlaybackParams and pass post media CTS
Bug:
80200877
Change-Id: I7538967962acc2a23062615c0d39720b34505f17
TreeHugger Robot [Thu, 24 May 2018 00:22:22 +0000 (00:22 +0000)]
Merge "Fix per app GPS power usage." into pi-dev
Rohan Shah [Tue, 22 May 2018 17:59:30 +0000 (10:59 -0700)]
[Notif] Remove transient views on swipe out
We are not removing transient views for the 'swiped out' animation.
Utilizing the transient view cleanup in onAnimationFinished to handle
this better.
Test: Manually
Bug:
79896012
Change-Id: I3c169815433e34795472264de30ff23b3d744269
TreeHugger Robot [Thu, 24 May 2018 00:00:51 +0000 (00:00 +0000)]
Merge "FixBug: Round corner gone when scroll to non-first item and drag to close" into pi-dev
Evan Laird [Wed, 23 May 2018 23:52:34 +0000 (19:52 -0400)]
Put a little space between wifi and data type
Also remove it from the mobile signal group when it's not needed
Test: visual; demo mode
Change-Id: Iaade5144e5ad762e6a57e49c52b9c5272bac8b48
Fixes:
77822905
Lajos Molnar [Wed, 23 May 2018 23:41:21 +0000 (23:41 +0000)]
Merge "MediaCodec: make setVideoScalingMode usable for IGBP-based clients" into pi-dev
TreeHugger Robot [Wed, 23 May 2018 23:37:37 +0000 (23:37 +0000)]
Merge "Prevent onboarding counters from overflow." into pi-dev
sanryhuang [Mon, 19 Mar 2018 03:14:04 +0000 (11:14 +0800)]
Hide system apps until installed (1/2)
Applying this mechanism for system carrier apps to make visibility
reasonable from the user's perspective. In other words, before
hidden system apps have been installed, they wouldn't be listed
via APIs in PackageManager which are used at all apps list and
search in Settings and so on.
Test: manual
Test: atest CarrierAppUtilsTest
Test: atest PackageManagerTest
Bug:
74068582
Change-Id: Id3ff138ad529b909d9bbf6719af3a553b909ccbb
TreeHugger Robot [Wed, 23 May 2018 23:00:52 +0000 (23:00 +0000)]
Merge "SystemUI theme feature flag" into pi-dev
TreeHugger Robot [Wed, 23 May 2018 22:51:01 +0000 (22:51 +0000)]
Merge "Refactor for tuning gfx-max-frame-time-99" into pi-dev
Tracy Zhou [Wed, 23 May 2018 21:44:42 +0000 (14:44 -0700)]
Remove logging from RecentsOnboarding
Bug:
79882171
Test: N/A
Change-Id: Ib6ae824204c0cd0ecd87a79c9a84bd650e040fa1
TreeHugger Robot [Wed, 23 May 2018 22:41:25 +0000 (22:41 +0000)]
Merge "Use STOCK_PM_FLAGS for backup agent" into pi-dev
Evan Laird [Wed, 23 May 2018 22:21:56 +0000 (18:21 -0400)]
Add tuning to SystemUI to draw into a DisplayCutout's bounds
Allows for more optimal tuning of status bar's usage of space otherwise
claimed by a cutout
Test: visual
Change-Id: Ic821eae4dcb22fc3d9063a1fcd6927707e347eaa
Bug:
79703378
TreeHugger Robot [Wed, 23 May 2018 22:14:21 +0000 (22:14 +0000)]
Merge "Make sure frame buffer 0 is bound before calling GL functor" into pi-dev
Beverly [Wed, 23 May 2018 22:03:23 +0000 (18:03 -0400)]
Flip flag to enable vibration on wireless charging
Test: manual
Change-Id: Icaae951e37a8a6ffd925fb6a5907ce1dc1748500
Fixes:
74505795
Lajos Molnar [Wed, 23 May 2018 21:58:26 +0000 (14:58 -0700)]
MediaCodec: make setVideoScalingMode usable for IGBP-based clients
These don't get access to this internal parameter of native window,
yet require it for each buffer.
Bug:
79493409
Change-Id: Ib16e9af58b26c7b66a7e4bb466433fcee7b7d080
TreeHugger Robot [Wed, 23 May 2018 21:52:40 +0000 (21:52 +0000)]
Merge "Add FLAG_ACTIVITY_CLEAR_TOP to more details intent" into pi-dev
Makoto Onuki [Tue, 22 May 2018 23:02:17 +0000 (16:02 -0700)]
Tweak exemption for sync requests made by FG apps
Exemption given to a sync request made by a foreground app (including
PROCESS_STATE_IMPORTANT_FOREGROUND).
At the schedule time, we promote the sync adapter app for a higher bucket:
- If the device is not dozing (so the sync will start right away)
promote to ACTIVE for 1 hour.
- If the device is dozing (so the sync *won't* start right away),
promote to WORKING_SET for 4 hours, so it'll get a higher chance to be started once the
device comes out of doze.
- When the sync actually starts, we promote the sync adapter app to ACTIVE for 10 minutes,
so it can schedule and start more syncs without getting throttled, even when the first
operation was canceled and now we're retrying.
Test: atest cts/tests/tests/syncmanager/
Test: Manual test with "requestsync -f" and "am set-standby-bucket", while checking
"dumpsys usagestats"
Test: settings put global app_idle_constants \
exempted_sync_scheduled_nd_duration=1,exempted_sync_scheduled_d_duration=2,exempted_sync_start_duration=3
and check "dumpsys usagestats" and make sure the constants are properly updated.
Fixes:
72443754
Change-Id: I233d8e4be85769150830bac798abc04810f4cc7b
TreeHugger Robot [Wed, 23 May 2018 21:49:56 +0000 (21:49 +0000)]
Merge "DO NOT MERGE Allow cross user usage event queries" into pi-dev
Oscar Shu [Wed, 23 May 2018 21:47:44 +0000 (21:47 +0000)]
Merge "Proto change for new RSSI poll metric" into pi-dev
TreeHugger Robot [Wed, 23 May 2018 21:38:48 +0000 (21:38 +0000)]
Merge "Write UsageEvents Parcel data as a Blob" into pi-dev
Suprabh Shukla [Wed, 23 May 2018 01:02:37 +0000 (18:02 -0700)]
Unsuspending packages when a PO or DO is set
If a profile or device owner is present, package manager does not
support calls to PM#setPackagesSuspended. So if there were already
suspended packages, they need to be unsuspended when a PO or DO is
added.
Test: atest com.android.server.pm.SuspendPackagesTest
Bug:
79980390
Change-Id: Ib79d95ccc25eef534fdcd540d3d6ea75c31982a7
TreeHugger Robot [Wed, 23 May 2018 21:25:00 +0000 (21:25 +0000)]
Merge "DO NOT MERGE Fix bug when pressing the add user cancel button results in a black screen Test: Tested on Mojave Bug:
80187163 Change-Id: Ie46c228dea9de71b97a276f7e4f2d60fe98649b6" into pi-dev
Tracy Zhou [Wed, 23 May 2018 21:22:05 +0000 (14:22 -0700)]
Prevent onboarding counters from overflow.
We does not unregister the OverviewProxy inside RecentsOnboarding unless user has seen both onboarding tips. If the OverviewProxy does not get unregistered for good, whenever user swipes up from home, we increment the counter that's used to track number of times user has swiped up from home. Though it can be extremely rare, it can overflow.
Change-Id: I43e74b3634eacf3d12c2ce3de23135fdd1d83d24
Fixes:
80202086
Test: N/A
Todd Kennedy [Wed, 23 May 2018 19:39:24 +0000 (12:39 -0700)]
Use STOCK_PM_FLAGS for backup agent
When getting the application info for the backup agent, we need
to have any shared libraries in the returned object. Make it so.
Change-Id: I8122b4070394e8e9b7b9f5afeeb8af3805d3d21b
Fixes:
79248935
Test: Manual
Arthur Hung [Tue, 22 May 2018 06:00:42 +0000 (14:00 +0800)]
FixBug: Round corner gone when scroll to non-first item and drag to close
Add some notification and scroll to non-first item,
Then drag to close notification panel, the top round corner will become
rectangle corner.
Case 1: the round corner only in first item.
Case 2: the round corner cross first and second.
Bug:
80110795
Test: add notifications, scroll, drag to close
Test: atest SystemUITest
Change-Id: I64146ebd1e3b7d19fd5b466290fc9fd5de5b8d5d
Tony Huang [Fri, 18 May 2018 09:38:54 +0000 (17:38 +0800)]
Refactor for tuning gfx-max-frame-time-99
Because canvas.clipPath() is heavy operation for GPU, draw roundness
background on notification row which need clip. However, some case
still can not handle will use clipPath as current design
Bug:
71900748
Test: atest SystemUITests & SystemUiJankTests#testNotificationListScroll
Change-Id: Ibc776ebd2f0dce5db7a2eb953ee6fac1747dea5a
Lucas Dupin [Wed, 23 May 2018 20:15:19 +0000 (20:15 +0000)]
Merge "Only animate when the slice is actually animating" into pi-dev
Jason Monk [Wed, 23 May 2018 20:08:11 +0000 (16:08 -0400)]
Follow supportlib changes in SliceManager
Test: make
Bug:
78898947
Change-Id: Ibb2bdc62798d7e0ee93dc0609a8871041abba108
Evan Laird [Wed, 23 May 2018 20:00:06 +0000 (16:00 -0400)]
Update location icons (qs + status)
Last call!
Test: visual
Change-Id: I946691fc06152c56c4c3a2772aaacf5ac1f96ff7
Fixes:
80152065
Lucas Dupin [Wed, 23 May 2018 19:52:37 +0000 (12:52 -0700)]
SystemUI theme feature flag
Hide SystemUI theme under feature flag, this way we can enable it when
we're sure that all new strings were localized and the feature is ready
for prime time.
Bug:
63903361
Test: manual
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemUiThemePreferenceControllerTest
Change-Id: I1093d414d951b71cab7cff10187c63bdd80eeee2