Commit Graph

363497 Commits

Author SHA1 Message Date
TreeHugger Robot
7c862d461c Merge "Import translations. DO NOT MERGE" into pi-dev 2018-03-28 20:06:18 +00:00
TreeHugger Robot
ab34199e9c Merge "Found out it is not possible to exec procrank as non-root/shell. But it is ok to disable procrank since the information can be obtain via dumpsys meminfo" into pi-dev 2018-03-28 19:37:46 +00:00
TreeHugger Robot
e100329647 Merge "Fix typo on pull alarm broadcast receiver" into pi-dev 2018-03-28 19:33:19 +00:00
TreeHugger Robot
740d37193f Merge "Update wifi header summary text to show metered state" into pi-dev 2018-03-28 19:15:05 +00:00
TreeHugger Robot
0bc998b32f Merge "Add new Wifi API to light grey." into pi-dev 2018-03-28 19:14:49 +00:00
Jorim Jaggi
13c4b14e92 Merge "Add different animation for transitions with translucent apps" into pi-dev 2018-03-28 19:09:08 +00:00
Dmitry Dementyev
52bc5f2ae1 Merge "Use rootAlias to index chosen cert and its version." into pi-dev 2018-03-28 19:05:21 +00:00
TreeHugger Robot
a21c304be5 Merge "Grant CONTACT permissions to IMS package." into pi-dev 2018-03-28 18:57:50 +00:00
TreeHugger Robot
b8c00934cb Merge "Fixed autofill dataset picker so header and footer are sticky." into pi-dev 2018-03-28 18:54:38 +00:00
Vishwath Mohan
86ed912f5a Merge "Refactor FingerprintDialog to BiometricDialog" into pi-dev 2018-03-28 18:46:34 +00:00
TreeHugger Robot
8dfb334264 Merge "Tell the user to toggle Bluetooth when enabling HCI logs" into pi-dev 2018-03-28 18:19:39 +00:00
Bill Yi
d3ea987b9a Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: If50c887a445b8a4a30107830a7dbe67eea17ddbd
2018-03-28 18:18:25 +00:00
Jerry Zhang
59f888d94c Merge "Fix Unicode handling." into pi-dev 2018-03-28 18:16:48 +00:00
TreeHugger Robot
39531e28ed Merge "Added autofill cmds to get and set full-screen mode." into pi-dev 2018-03-28 18:07:17 +00:00
Jiuyu Sun
b1adae546c Merge "Add grant and revoke default permissions to active LUI app." into pi-dev 2018-03-28 17:44:35 +00:00
Jan Althaus
08a75e0ee7 Merge "Change TextClassification to use RemoteActions" into pi-dev 2018-03-28 17:04:58 +00:00
Chavi Weingarten
5e86c3c28d Merge "Set snapTargetBeforeMinimized to middle target if position is negative" into pi-dev 2018-03-28 16:49:07 +00:00
TreeHugger Robot
9bd77dea82 Merge "Change the time format to short" into pi-dev 2018-03-28 16:45:45 +00:00
Myles Watson
637f3acb9e Tell the user to toggle Bluetooth when enabling HCI logs
Fixes: 67634644
Test: Manually inspect the new text in developer settings
Change-Id: Ic8b08c8d6d0c7727a03a265fb6b10a3c55fd96cb
Merged-In: Ic8b08c8d6d0c7727a03a265fb6b10a3c55fd96cb
(cherry picked from commit 81bd065c55)
2018-03-28 16:34:50 +00:00
TreeHugger Robot
59ecb96da9 Merge "Improve the JavaDoc for SOFT_INPUT_STATE_UNSPECIFIED" into pi-dev 2018-03-28 16:29:56 +00:00
Chenjie Yu
4cef3e4b8e Fix typo on pull alarm broadcast receiver
Bug: 75970648
Test: cts
Change-Id: Iaf64b5e55457c2ade476acbe23bf6d3a0e22f8ec
2018-03-28 09:24:33 -07:00
Jorim Jaggi
baac6507dc Merge "Fix issues with z-ordering during animations" into pi-dev 2018-03-28 16:17:33 +00:00
David Brazdil
727bc1e101 Merge "Add more uses on vendor hidden API list" into pi-dev 2018-03-28 15:36:28 +00:00
David Brazdil
c60a932ae5 Merge "Revert Revert: Enable hidden API blacklist" into pi-dev 2018-03-28 15:36:28 +00:00
David Brazdil
36bbf124b8 Revert Revert: Enable hidden API blacklist
APIs which have not been explicitly greylisted have so far been put
on the dark greylist. This patch changes the default to blacklist and
therefore enables strict enforcement.

This reverts commit f712b23d56.

Bug: 64382372
Test: make
Change-Id: I1608b1adbe5dcafd13335691ddeb94abbb2c6e71
2018-03-28 15:05:22 +00:00
Jorim Jaggi
ff23ffa8ff Merge "Fix issue with animations that couldn't be started" into pi-dev 2018-03-28 15:04:16 +00:00
TreeHugger Robot
744e6f1738 Merge "Also allow avoiding gfx acceleration at runtime" into pi-dev 2018-03-28 14:58:10 +00:00
Adrian Roos
95712fe0cb Merge "DisplayCutout: Add clarifying images to LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES" into pi-dev 2018-03-28 14:56:19 +00:00
Jeff Sharkey
7f0d63d158 Merge "Detect paths without lunch." into pi-dev 2018-03-28 14:47:05 +00:00
Jorim Jaggi
98a9d206be Add different animation for transitions with translucent apps
None of the existing animation really work with transitions in
which a translucent app is appearing/disappearing. Add a separate
animation for that and change all existing transitions to these
new transition types in case we detect that only translucent
activities are appearing/disappearing.

Test: Sharesheet animations
Test: go/wm-smoke
Change-Id: Iffe57b7664dddf647d723c91d115ade60c12ad33
Fixes: 37953606
Fixes: 70730519
Fixes: 72649981
Fixes: 72686618
2018-03-28 16:46:41 +02:00
Adrian Roos
813a4bee76 Merge "DisplayCutout: Fix attrs.xml javadoc" into pi-dev 2018-03-28 14:29:08 +00:00
Jorim Jaggi
be4182939f Fix issues with z-ordering during animations
- Make sure to use DC pending transaction when updating z-layers,
as it could lead to reordering of z-order assignment due to how
we apply pending transactions in the hierarchy

- Create a separate boosted animation layer in which AWT with
zOrder=top animate, which happens above all stack. This brings
back the boosting logic in O without boosting non-boosted stack
above non-animating tokens

Bug: 70730519
Bug: 72649981
Bug: 72686618
Bug: 37953606
Test: Share link from Chrome to Clipboard, make sure disappear
animation happens properly
Test: go/wm-smoke
Change-Id: I3957daac76b991402bf3f520c4a3d3f519933f72
2018-03-28 15:36:30 +02:00
Artem Iglikov
f0e720ecde Merge "Revert "Added safeguards for pushed brighntess curve."" into pi-dev 2018-03-28 13:26:41 +00:00
TreeHugger Robot
0712a8781b Merge "Change the triggering criteria for blocking helper" into pi-dev 2018-03-28 13:18:45 +00:00
Jorim Jaggi
b8a9cbe4d8 Fix issue with animations that couldn't be started
If we can't create a remote animation target for some reason
(removed from task, no main window, etc), SurfaceAnimator
called startAnimation but we never invoke the finish callback.

Thus, we need to make sure to also invoke the finish callback
when not using the AppWindowToken as part of the remote animation.

This actually happens if the main intent clears the task, like
Settings. In that case, it removes all sub activities, which then
get added to mClosingApps, which then are part of a transition.

It's questionable why this would need to happen, but we don't have
the risk budget to go down that rabbit hole.

Test: RemoteAnimationControllerTest
Test: Open Settings -> Network -> Wifi, press home, reopen
Settings, repeat 10x
Test: adb shell dumpsys window -a
Fixes: 76438155
Change-Id: Ib528d5c0d3559eb20522799af68ebbfb17b9801b
2018-03-28 15:13:25 +02:00
Adrian Roos
ad1da31764 DisplayCutout: Add clarifying images to LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES
Fixes: 76462084
Test: make doc-comment-check-docs, open $ANDROID_BUILD_TOP/out/target/common/docs/doc-comment-check/reference/android/view/WindowManager.LayoutParams.html, navigate to LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES
Change-Id: I8a9df979cbb062896fa874a163414a4f8a095b21
2018-03-28 15:00:45 +02:00
David Brazdil
1172de7bf3 Add more uses on vendor hidden API list
These are from Pixel devices.

Bug: 64382372
Test: make
Change-Id: Ie8dab74299973f54472bf80c98bbc7496022874d
2018-03-28 13:17:20 +01:00
Nicolas Geoffray
3e264bf0b8 Merge "Add API to light grey." into pi-dev 2018-03-28 11:13:16 +00:00
Jan Althaus
20d346eafe Change TextClassification to use RemoteActions
Behavioural changes:
- Every action now as an icon, and instead hints via RemoteAction whether
  the icon should be shown or not.
- Icons are now taken from the app default, not the activity.
  (That way, we can construct a lightweight resource backed Icon)
- Legacy intents are no longer parceled for security reasons.
  (TextClassificatio wasn't parcelable in O)
- TextClassifications built with the new API will always return null for
  getIntent, but provide a getOnClickListener.
- Accessibility descriptions are now provided for action mode items.

Testing changes:
- Removed URI checks from TCM test because PendingIntent hides this info.

Bug: 73950205
Test: atest FrameworksCoreTests:TextClassificationManagerTest
Test: atest FrameworksCoreTests:TextClassificationTest
Test: atest CtsViewTestCases:TextClassificationManagerTest
Test: atest CtsViewTestCases:TextClassifierValueObjectsTest
Test: atest CtsWidgetTestCases:TextViewTest
Test: atest CtsWidgetTestCases:EditTextTest
Change-Id: I6706d2c342a8bbb9de0146a48c8b8aac9d9c7d83
2018-03-28 11:41:39 +02:00
Artem Iglikov
e5cd25ec0a Revert "Added safeguards for pushed brighntess curve."
This reverts commit f1e673649e.

Reason for revert: crashes system server

Bug: 77176207
Change-Id: I574e6e1f60d83f14701a643a1c7b8f7ef8659ed5
2018-03-28 09:12:40 +00:00
Narayan Kamath
77e0b7b821 Merge "Build: Remove MIN_SUPPORTED_TARGET_SDK_INT from public API." into pi-dev 2018-03-28 08:43:08 +00:00
Jaewan Kim
9911073f6a Merge "MediaSessionService: Stop using APIs in the MediaComponents" into pi-dev 2018-03-28 08:40:23 +00:00
Andy Chou
a547a51818 Merge "Specifies the carrier's default voicemail number for roaming network." into pi-dev 2018-03-28 08:28:53 +00:00
Jaewan Kim
129a562144 MediaSessionService: Stop using APIs in the MediaComponents
Bug: 76441725
Test: Build and run CtsMediaTestCases
Change-Id: I06f0b9c146869e16f730a6c78cf10fac691026c9
2018-03-28 15:27:32 +09:00
TreeHugger Robot
4f4d78b877 Merge "Fix scrim animation when unlocking with fp" into pi-dev 2018-03-28 06:23:20 +00:00
Andreas Gampe
f0edf03eda Merge "BgDexopt: Reschedule job on timeout" into pi-dev 2018-03-28 05:47:01 +00:00
TreeHugger Robot
601861fd1c Merge "Merge "Minor clean-up in NetworkCapabilities" am: 539f85a18d am: b1e2bfe4df am: 8a956a5141" into pi-dev 2018-03-28 05:00:39 +00:00
Lucas Dupin
067136c616 Fix scrim animation when unlocking with fp
Notification panel expansion was overriding the animation.
The expansion needs to be ignored during "wake and unlock"
states.

Test: visual
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Change-Id: I781aece52c845f3fee9149c109ad598c7b555751
Fixes: 76018235
2018-03-27 21:45:34 -07:00
TreeHugger Robot
ace8e02633 Merge "Fix CaptivePortalLoginActivity null String crash" into pi-dev 2018-03-28 04:45:26 +00:00
Jiuyu Sun
a78a764fe3 Merge "Address comments from API Review." into pi-dev 2018-03-28 04:18:51 +00:00