Commit Graph

640958 Commits

Author SHA1 Message Date
Neil Fuller
c70fad142e Merge "Tidy / regularize shell command help text" into sc-dev 2021-04-20 13:13:39 +00:00
Treehugger Robot
de01d84bfe [automerger skipped] Merge "Don't update volume in AudioService when SAM is on and ARC is off" am: 461594522b am: 2171996c65 am: 3af62d24d0 -s ours
am skip reason: skip tag Change-Id I412ee9d5b1ba7aab382e73deab8ac19546175842 with SHA-1 274661478c is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1678047

Change-Id: I323dd671dd6b5c1bfac2bdd8ec8ae585bb33397f
2021-04-20 13:12:55 +00:00
Treehugger Robot
4fd82bc222 Merge "Roll forward: add a test for ParseException" am: 1f43a69d91 am: 80deff6a5c am: 890dbd1205
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1679759

Change-Id: I7b1b1be4fa5bcda94b653dffbc99db65384079ad
2021-04-20 13:12:32 +00:00
Remi NGUYEN VAN
ee41a7871a Merge "Revert "Add a test for ParseException"" am: fe737812ce am: f35d4a2d44 am: 44775a141e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1679758

Change-Id: I9257db040086870412833e8cfb14596f6ac17288
2021-04-20 13:12:01 +00:00
Treehugger Robot
f60fc7d300 Merge "Update TEST_MAPPING imports for connectivity" am: e063867f7b am: 8b159b455f am: d80a58a5fe
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1680905

Change-Id: I1acd627f5316b88739c1d10fb5c788751d62938e
2021-04-20 13:10:22 +00:00
Tiger Huang
dcb0bfbe1d Merge "Clear controls in the temp list after using them" into sc-dev 2021-04-20 13:05:07 +00:00
TreeHugger Robot
81b5c878a5 Merge "resolve merge conflicts of a3e32c8b4f to sc-dev" into sc-dev 2021-04-20 13:02:11 +00:00
Arc Wang
0e7af77f94 Fix test fails of UsageProgressBarPreferenceTest
Bug: 177617478
Test: atest UsageProgressBarPreferenceTest
Change-Id: I0f4f00d8c3af8c27d8290e1261b3c837ba225514
2021-04-20 12:57:40 +00:00
TreeHugger Robot
3980454a74 Merge "Bugfix: Make InsetsController dump() respect prefix" into sc-dev 2021-04-20 12:51:55 +00:00
Paul Duffin
f27b828bf9 Merge "Move icu related hidden API flag file contents to icu" am: 653935b511 am: e8cf665edd
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675890

Change-Id: I12656dc1b4a2229026a83a35d0d88765130b3fb6
2021-04-20 12:18:39 +00:00
Paul Duffin
e8cf665edd Merge "Move icu related hidden API flag file contents to icu" am: 653935b511
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675890

Change-Id: I3f9ccb4711afc14145ab2a85e66b755cde9748fa
2021-04-20 11:46:58 +00:00
Daulet Zhanguzin
b016acc8c3 Merge "Fix build error due to null annotations in core platform API" into rvc-qpr-dev-plus-aosp 2021-04-20 11:42:15 +00:00
Riddle Hsu
1c04f614c1 Check animating accurately when assigning mAnimatingExit from relayout
Otherwise if the window is animating with type which won't report to
WindowState#onExitAnimationDone (e.g. ANIMATION_TYPE_FIXED_TRANSFORM),
the window will keep mAnimatingExit=true and visible logically. The
condition from relayout now is aligned with WS#removeIfPossible.

Also polish a case when launching app from notification with orientation
change. The notification shade may animate collapsing panel so it should
not be faded out.

Fixes: 185554529
Test: DisplayContentTests#testApplyTopFixedRotationTransform
Change-Id: I02943e37869bb2757ad38440fe281cf19b4ceec9
2021-04-20 19:34:37 +08:00
TreeHugger Robot
6ba89099f8 Merge "Ensure that the root view is an AppWidgetHostView in setRemoteAdapter" into sc-dev 2021-04-20 11:33:59 +00:00
Paul Duffin
653935b511 Merge "Move icu related hidden API flag file contents to icu" 2021-04-20 11:30:10 +00:00
Paul Duffin
414d8c1c95 Merge "Move art related hidden API flag files to art" am: ef13360a02 am: 727dfbfe51
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675868

Change-Id: I93c073a76f1281664315f9ec977fb0e9c9ac85b0
2021-04-20 11:26:54 +00:00
Treehugger Robot
3af62d24d0 Merge "Don't update volume in AudioService when SAM is on and ARC is off" am: 461594522b am: 2171996c65
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1678047

Change-Id: I9f238154a1d5193c3a16c499f41e0c83a3af4819
2021-04-20 11:26:31 +00:00
Vadim Caen
8c2273ef8f Merge "Fix broken hibernation test" into sc-dev 2021-04-20 11:24:09 +00:00
Paul Duffin
727dfbfe51 Merge "Move art related hidden API flag files to art" am: ef13360a02
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675868

Change-Id: I1ce363689234a0d4b01e29060ed487d7649231b0
2021-04-20 11:12:50 +00:00
Treehugger Robot
2171996c65 Merge "Don't update volume in AudioService when SAM is on and ARC is off" am: 461594522b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1678047

Change-Id: I7926af0cc16f8409dc551c45fc5bc7088c5e9599
2021-04-20 11:08:10 +00:00
Paul Duffin
ef13360a02 Merge "Move art related hidden API flag files to art" 2021-04-20 11:02:23 +00:00
Treehugger Robot
461594522b Merge "Don't update volume in AudioService when SAM is on and ARC is off" 2021-04-20 10:44:34 +00:00
wilsonshih
9e1c04ac30 Clear mTranslucentActivityWaiting if the activity is going to relaunch
When client has request transition, the starting activity would convert
itself to be translucent, if there is a configuration change and
trigger the activity to relaunch, the activity will not become resumed
because the server thought its still translucent. So actually we do not
need to wait for translucent activity if it is going to relaunch.

Fixes: 184713003
Test: atest ActivityRecordTests
Change-Id: Ib66f89938672993610f59b6ad938300a309ccd87
2021-04-20 18:33:44 +08:00
TreeHugger Robot
eaf1d09c36 Merge "Revert "Ignore the WiFi network callbacks if they are not default"" into sc-dev 2021-04-20 10:26:01 +00:00
Treehugger Robot
890dbd1205 Merge "Roll forward: add a test for ParseException" am: 1f43a69d91 am: 80deff6a5c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1679759

Change-Id: Ie86bf592435383da29eb8b53590d1e208ffd0a2b
2021-04-20 10:22:40 +00:00
Remi NGUYEN VAN
44775a141e Merge "Revert "Add a test for ParseException"" am: fe737812ce am: f35d4a2d44
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1679758

Change-Id: Ib586e908b31ccb2c2054ec99ae1be2dea4d39988
2021-04-20 10:22:30 +00:00
TreeHugger Robot
8382c6c7d0 Merge "Revert "Hide the call strength icons from the statusbar"" into sc-dev 2021-04-20 10:22:30 +00:00
Treehugger Robot
80deff6a5c Merge "Roll forward: add a test for ParseException" am: 1f43a69d91
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1679759

Change-Id: I17938abef561d95347869084114ee08f90d81db5
2021-04-20 10:13:47 +00:00
Charles Chen
7649e3262c Merge "Fix WindowContext is removed unexpectedly" into sc-dev 2021-04-20 10:08:34 +00:00
Treehugger Robot
1f43a69d91 Merge "Roll forward: add a test for ParseException" 2021-04-20 10:03:56 +00:00
Adam He
9349ad48ce Merge "Allow throwing error on creating translation session (context not supported by service)." into sc-dev 2021-04-20 10:00:42 +00:00
TreeHugger Robot
423adbf3b5 Merge "Fix updateBluetoothStateLocked comments" into sc-dev 2021-04-20 09:58:28 +00:00
Remi NGUYEN VAN
f35d4a2d44 Merge "Revert "Add a test for ParseException"" am: fe737812ce
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1679758

Change-Id: Ifb852d9264a6e1fc5ce82a5eb35d66459a021599
2021-04-20 09:52:35 +00:00
Wilson Wu
c84b3e15df Make IInputMethodPrivilegedOperations to async (3/N)
-. Remove VoidResultCallback of reportFullscreenMode
   and let it be truly asynchronous.
-. Rename this method to reportFullscreenModeAsync.

Bug: 183587528
Test: atest CtsInputMethodTestCases
Test: Manually verified as follows.
   1. Build flame-userdebug and flash it.
   2. Make sure that the screen rotation is enabled.
   3. make -j SoftKeyboard
   4. adb install -r $OUT/system/app/SoftKeyboard/SoftKeyboard.apk
   5. adb shell ime enable com.example.android.softkeyboard/.SoftKeyboard
   6. adb shell ime set com.example.android.softkeyboard/.SoftKeyboard
   7. make -j EditTextVariations
   8. adb install -r $ANDROID_TARGET_OUT_TESTCASES/EditTextVariations/arm64/EditTextVariations.apk
   9. adb shell am start -n com.android.inputmethod.tools.edittextvariations/.EditTextVariations
  10. Make sure that the device is in the landscape mode,
      and the SoftKeyboard sample IME is not yet shown.
  11. adb shell dumpsys input_method | grep mFullscreenMode
      Then make sure the mFullscreenMode is "false"
  12. Tap the first edit field then make sure that SoftKeyboard
      sample IME becomes visible in the fullscreen mode.
  13. adb shell dumpsys input_method | grep mFullscreenMode
      Then make sure the mFullscreenMode is "true"
  14. Tap the down button on the navbar to hide the SoftKeyboard
      sample IME.
  15. adb shell dumpsys input_method | grep mFullscreenMode
      Then make sure the mFullscreenMode is "false"

Change-Id: I92e8b0d420be3dd16cc4f3ba29e0bde5f12ab2ce
2021-04-20 17:46:27 +08:00
Neil Fuller
0808454f88 Tidy / regularize shell command help text
Tidy / regularize shell command help text for the various shell
commands associated with time / time zone detection. This information
will be used by manual testers and CTS tests.

This commit moves some information about device_config flags to
TimeZoneDetectorShellCommand, where it relates to actual commands.

This moves the printing logic to generally use printf + \n since it
makes it easier to read the code than a mix of println / printf
statements.

Testing:

Manual inspection of...
adb shell cmd time_detector
adb shell cmd time_zone_detector
adb shell cmd location_time_zone_manager

Bug: 172229867
Bug: 184947690
Bug: 172820087
Test: See above
Change-Id: Ic4e6d30a63f980e6da08ba762327fcd0477a732d
2021-04-20 10:45:22 +01:00
Treehugger Robot
d80a58a5fe Merge "Update TEST_MAPPING imports for connectivity" am: e063867f7b am: 8b159b455f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1680905

Change-Id: I0d5d0be2d59eca6447419a92039be82a0769a5b4
2021-04-20 09:31:43 +00:00
Chiachang Wang
11f5e63be5 Address API review feedback
Address API review feedback to:
 - Rename NetworkAgent#setTeardownDelayMs to
   NetworkAgent#setTeardownDelayMillis
 - Use getters instead of fields in VpnTransportInfo
 - Rename registerDefaultNetworkCallbackAsUid to
   registerDefaultNetworkCallbackForUid in ConnectiivityManager

Bug: 183972850
Bug: 185246410
Fix: 184735863
Test: make update-api
Test: atest FrameworksNetTests
Test: atest CtsNetTestCasesLatestSdk
Test: atest FrameworksMockingServicesTests
Change-Id: I5e8c4bed8bda40d507afa894c359b5e24ee5d868
2021-04-20 09:30:59 +00:00
Remi NGUYEN VAN
fe737812ce Merge "Revert "Add a test for ParseException"" 2021-04-20 09:25:07 +00:00
TreeHugger Robot
3346694817 Merge "Add TestApi to trigger the onDetect function of HotwordDetectionService" into sc-dev 2021-04-20 09:23:33 +00:00
Ken Chen
e6565f57fc resolve merge conflicts of a3e32c8b4f to sc-dev
Bug: 185071689
Change-Id: I1524a534590361a585469ddf959e582484493e4e
2021-04-20 09:22:10 +00:00
TreeHugger Robot
fd1ba27630 Merge "Avoiding system server dump stuck by pipe buffer full." into sc-dev 2021-04-20 09:16:00 +00:00
Daulet Zhanguzin
fc7efcbaa6 Fix build error due to null annotations in core platform API
Change https://r.android.com/1667508 adds nullability annotations to
the core platform APIs which broke this code with the error:

javadoc: error - In doclet class com.google.doclava.Doclava,  method
start has thrown an exception
java.lang.reflect.InvocationTargetException
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for
androidx.annotation.RecentlyNonNull not found

Bug: 183938110
Test: m checkbuild

Change-Id: I83e3071f851720a9f719cb226f0e84fd731a8f37
Merged-In: I83e3071f851720a9f719cb226f0e84fd731a8f37
2021-04-20 09:13:18 +00:00
Treehugger Robot
8b159b455f Merge "Update TEST_MAPPING imports for connectivity" am: e063867f7b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1680905

Change-Id: I100470cc936fca8dba86a1ad083d4d67139b6aea
2021-04-20 09:06:31 +00:00
TreeHugger Robot
01f110bfd4 Merge "Change Connectivity resources SDK version to 30" into sc-dev 2021-04-20 08:50:55 +00:00
Treehugger Robot
e063867f7b Merge "Update TEST_MAPPING imports for connectivity" 2021-04-20 08:45:19 +00:00
Charles Chen
187932e290 Merge "Introduce WindowToken Builder" into sc-dev 2021-04-20 08:40:22 +00:00
Gavin Corkery
86c46189f1 Merge "Send BUGREPORT_REQUESTED broadcast to system user" into sc-dev 2021-04-20 08:38:29 +00:00
Louis Chang
6d5082d3a5 Remove WINDOWING_MODE_FULLSCREEN_OR_SPLIT_SCREEN_SECONDARY
This is no longer needed since WindowContainerTransaction#setLaunchRoot
should be used instead.

Bug: 185722220
Test: wm pre-submit
Change-Id: I32ecbcc6cf9194ee4666e330617bda18651b9224
2021-04-20 16:31:40 +08:00
Riddle Hsu
1b3942486f Merge "Update config from ancestor if it can handle orientation request" into sc-dev 2021-04-20 08:22:28 +00:00
Yi-Ling Chuang
b6c021ea81 Fix the ellipsis format
For the truncated text, we should use 3-dots rather than 2-dots.

Fixes: 185142659
Test: rebuild and launch Do not disturb behaviour page.
Change-Id: I42554eeeee5ae13e01582df159d99fbee2c62cbc
2021-04-20 16:17:53 +08:00