TreeHugger Robot
e3a6e4b4e9
Merge "InlineFillService: Randomize the saved password count." into sc-dev
2021-04-06 03:28:03 +00:00
Ahaan Ugale
d1150f619f
InlineFillService: Randomize the saved password count.
...
Makes it easy to test the plurality of the displayed text in settings.
Bug: 169455298
Test: manual
Change-Id: Ieaab97de874afeb4ed10f2867cd39348ba701954
2021-04-06 02:07:58 +00:00
Chris Tate
905c7cea0c
Merge "Update to track FGS API development" into sc-dev
2021-03-25 23:50:38 +00:00
Christopher Tate
6075c16c08
Update to track FGS API development
...
FGS notification deferral control is now a tri-state.
Bug: 171499612
Bug: 179290175
Test: ApiDemos foreground service paths
Change-Id: Ie426fb64b998ba452ff92f0231811679946500ff
2021-03-23 17:52:14 +00:00
Ahaan Ugale
38ff291ca0
InlineFillService: Implement onSavedDatasetsInfoRequest.
...
Bug: 169455298
Test: manual
Change-Id: I8a2d15350b08fc7fb8673114160cc14f6380c7f4
2021-03-23 08:35:03 -07:00
Nikita Dubrovsky
d95bef6186
Update ReceiveContentDemo to include demo of listener on LinearLayout
...
Bug: 182617122
Test: Manual
Change-Id: I1c62e029d9092a3a5360d5adcaef1c75659d977c
2021-03-15 15:54:44 -07:00
Hongwei Wang
6e9ec81b3c
Merge "Fixed the aspect ratio in PictureInPictureAutoEnter" into sc-dev
2021-03-05 23:26:50 +00:00
Ahaan Ugale
aa968eb290
Merge "InlineFillService: Add a passwords settings activity." into sc-dev
2021-03-05 20:16:53 +00:00
Hongwei Wang
511635184c
Fixed the aspect ratio in PictureInPictureAutoEnter
...
Since the actual aspect ratio is defined in layout file, measuring the
value in layout change listener can only cause irrelevant
onTaskInfoChanged callbacks sent to SysUI due to 1px difference.
Bug: 180630127
Test: enter PiP w/ autoEnter from landscape in button navigation
Change-Id: I25dcf82bfbebde017c2c938d745c23d615a7015b
2021-03-04 16:39:21 -08:00
TreeHugger Robot
e6b1eb0f96
Merge "Use a single TextView to demonstrate seamlessResize" into sc-dev
2021-03-03 21:39:52 +00:00
Bob Badour
2106ef99ad
[LSC] Add LOCAL_LICENSE_KINDS to development
...
Added SPDX-license-identifier-Apache-2.0 to:
apps/OBJViewer/Android.bp
samples/HeavyWeight/Android.bp
samples/MySampleRss/Android.bp
samples/ReceiveContentDemo/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I63b4ea6e5cf008920c1aae5d8e06cc1f4df3edbf
2021-03-01 22:53:18 -08:00
Hongwei Wang
5e8ce64de0
Use a single TextView to demonstrate seamlessResize
...
For easy side-by-side comparison turning on/off seamlessResizeEnabled
flag. Adjusted also the wording to emphasize the recommended usage.
Bug: 152554547
Test: use the ApiDemos app
Change-Id: I1fbeee2479d9e93614d040d10e01f9fe2fb4c8d4
2021-03-01 11:24:28 -08:00
Ahaan Ugale
d3e91ddd32
InlineFillService: Add a passwords settings activity.
...
This will be linked to from system settings.
Bug: 169455298
Test: manual
Change-Id: Id0ee7f0b5641c4be02e9b02d1d6bf7d1a8a6ef37
2021-02-28 22:12:18 -08:00
Treehugger Robot
73272bf578
Merge "[LSC] Add LOCAL_LICENSE_KINDS to development" am: d6b1cbf769 am: 4d108c6ffe am: 483ddf28c8
...
Original change: https://android-review.googlesource.com/c/platform/development/+/1589100
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8bfb99db5af219de8b7c6844b99006009152bbe8
2021-02-16 01:02:14 +00:00
Bob Badour
f7cf305656
[LSC] Add LOCAL_LICENSE_KINDS to development
...
Added SPDX-license-identifier-Apache-2.0 to:
apps/BluetoothDebug/Android.bp
apps/BuildWidget/Android.bp
apps/CustomLocale/Android.bp
apps/DevelopmentSettings/Android.bp
apps/Fallback/Android.bp
apps/GestureBuilder/Android.bp
apps/NinePatchLab/Android.bp
apps/OBJViewer/Android.bp
apps/PushApiAuthenticator/Android.bp
apps/PushApiTestAppOne/Android.bp
apps/PushApiTestAppTwo/Android.bp
apps/SdkSetup/Android.bp
apps/SettingInjectorSample/Android.bp
apps/WidgetPreview/Android.bp
apps/launchperf/Android.bp
cmds/monkey/Android.mk
gsi/gsi_util/Android.bp
gsi/repack_super_image/Android.bp
host/windows/Android.bp
python-packages/Android.bp
samples/AccelerometerPlay/Android.bp
samples/AdaptiveIconSample/Android.bp
samples/AliasActivity/Android.bp
samples/AndroidBeamDemo/Android.bp
samples/AppNavigation/Android.bp
samples/AutofillKeyboard/Android.bp
samples/BackupRestore/Android.bp
samples/BasicGLSurfaceView/Android.bp
samples/BluetoothChat/Android.bp
samples/BrokenKeyDerivation/Android.bp
samples/BrokenKeyDerivation/tests/Android.bp
samples/BusinessCard/Android.bp
samples/Compass/Android.bp
samples/ContactManager/Android.bp
samples/CubeLiveWallpaper/Android.bp
samples/DataWiper/Android.bp
samples/DeviceAdminWhitelistedAccount/Android.bp
samples/FixedGridLayout/Android.bp
samples/HeavyWeight/Android.bp
samples/HelloActivity/Android.bp
samples/HelloActivity/tests/Android.bp
samples/HelloEffects/Android.bp
samples/Home/Android.bp
samples/HoneycombGallery/Android.bp
samples/InlineFillService/Android.bp
samples/JetBoy/Android.bp
samples/LceDemo/Android.bp
samples/LunarLander/Android.bp
samples/LunarLander/tests/Android.bp
samples/MultiResolution/Android.bp
samples/MultiWindow/Android.bp
samples/MySampleRss/Android.bp
samples/NotePad/Android.bp
samples/Obb/Android.bp
samples/RSSReader/Android.bp
samples/ReceiveShareDemo/Android.bp
samples/SampleSyncAdapter/Android.bp
samples/SimpleJNI/Android.bp
samples/SimpleJNI/jni/Android.bp
samples/SipDemo/Android.bp
samples/SkeletonApp/Android.bp
samples/SkeletonApp/tests/Android.bp
samples/Snake/Android.bp
samples/Snake/tests/Android.bp
samples/SoftKeyboard/Android.bp
samples/SpellChecker/HelloSpellChecker/Android.bp
samples/SpellChecker/SampleSpellCheckerService/Android.bp
samples/StackWidget/Android.bp
samples/ThemedNavBarKeyboard/Android.bp
samples/ToyVpn/Android.bp
samples/TtsEngine/Android.bp
samples/USB/AdbTest/Android.bp
samples/USB/MissileLauncher/Android.bp
samples/UiAutomator/Android.mk
samples/Vault/Android.bp
samples/Vault/tests/Android.bp
samples/VoiceRecognitionService/Android.bp
samples/VoicemailProviderDemo/Android.bp
samples/WeatherListWidget/Android.bp
samples/WiFiDirectDemo/Android.bp
samples/WiFiDirectServiceDiscovery/Android.bp
samples/Wiktionary/Android.bp
samples/WiktionarySimple/Android.bp
samples/XmlAdapters/Android.bp
samples/apkcachetest/Android.bp
samples/training/NsdChat/Android.bp
scripts/Android.bp
testrunner/Android.mk
testrunner/tests/Android_native.mk
tools/apkcheck/Android.bp
tools/bugreport/Android.bp
tools/etc1tool/Android.bp
tools/idegen/Android.bp
tools/mkstubs/Android.bp
tools/rmtypedefs/Android.bp
vndk/Android.bp
vndk/tools/Android.bp
vndk/tools/elfcheck/Android.bp
vndk/tools/header-checker/Android.bp
vndk/tools/header-checker/src/repr/protobuf/proto/Android.bp
vndk/tools/header-checker/tests/integration/ifunc/Android.bp
vndk/tools/header-checker/tests/integration/version_script_example/Android.bp
vndk/tools/image-diff-tool/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
SPDX-license-identifier-CPL-1.0 SPDX-license-identifier-MIT
SPDX-license-identifier-Unicode-DFS SPDX-license-identifier-W3C
legacy_restricted legacy_unencumbered
to:
Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-CPL-1.0
to:
samples/SearchableDictionary/Android.bp
Added SPDX-license-identifier-Apache-2.0 legacy_unencumbered
to:
tools/Android.bp
Added SPDX-license-identifier-BSD SPDX-license-identifier-CPL-1.0
SPDX-license-identifier-MIT SPDX-license-identifier-Unicode-DFS
SPDX-license-identifier-W3C
to:
sdk/Android.bp
Added legacy_restricted
to:
samples/KeyChainDemo/Android.bp
tools/line_endings/Android.bp
vndk/tools/definition-tool/datasets/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I9847e00fb4278bc083b4debbc751003c995ea45c
2021-02-12 17:13:45 -08:00
Hongwei Wang
35faf69308
Add demo for autoEnterPip w/o sourceRectHint
...
Video: http://rcll/aaaaaabFQoRHlzixHdtY/cdY8k6V9uhJEXyMAKAUA34
Video: http://rcll/aaaaaabFQoRHlzixHdtY/bvodLNGyrIXH8DSvGHehrp
Bug: 179286893
Test: manual in ApiDemos app, see video
Change-Id: Ib1ae64e24c901d2a921b0b5d40bffb196f8121ba
2021-02-08 16:51:58 -08:00
Galia Peycheva
6160e125d4
Merge "Revert "Remove public usages of FLAG_BLUR_BEHIND"" into sc-dev
2021-02-03 05:49:40 +00:00
Galia Peycheva
e8627d6c0b
Revert "Remove public usages of FLAG_BLUR_BEHIND"
...
Revert "Add pid and uid to SF::setClientStateLocked"
Revert "Add USE_BACKGROUND_BLUR to cts expected permissions"
Revert submission 13350963-blur_system_api
Reason for revert: This topic made blurs a system api. API council voted against that and we will instead aim to make it public for S. None of these changes are relevant in that case.
Reverted Changes:
I3683db296:Remove public usages of FLAG_BLUR_BEHIND
I23b21b603:Add USE_BACKGROUND_BLUR to cts expected permission...
Id21f03793:Add pid and uid to SF::setClientStateLocked
If5d8344a5:Add permission for blur SystemApi
I70d1e1715:Add permission check for blurs in SurfaceFlinger
Icf98c3607:Make window background blurs SystemApi
I0b881ec6e:Make BackgroundBlurDrawable a SystemApi
Bug: 177523043
Change-Id: Ic1f1657eee370a2fcc625c28f876c34e3e0427e9
2021-02-01 10:43:52 +00:00
jorgegil@google.com
371e9e86f1
Add Api Demo for PiP source rect hint
...
- Demonstrates the source rect hint API (on enter and exit)
- Invoke path: App -> Activity -> Picture In Picture Source Rect Hint
Video: http://rcll/e8RgaQ0dFlwFuh0c7GRpyy/cCQiDoYLvfJ4dKwQQbsaYC
Bug: 167447693
Test: m -j ApiDemos
Change-Id: I80b41b017b021bf6da16a21fe9d5bf8ec0c35ea5
2021-01-28 21:17:30 +00:00
jorgegil@google.com
66780efd43
Add ApiDemo for PiP seamless resize
...
- Demonstrates the seamless resize API (both enabled and disabled)
- Invoke path: App -> Activiy -> Picture In Picture Seamless Resize
Video: http://rcll/e8RgaQ0dFlwFuh0c7GRpyy/UVHnwihysd2to0Py2IqU2
Bug: 152554547
Test: m -j ApiDemos
Change-Id: I331a0d60e5a93c24c1ad48bb1cdcda9570c0337d
2021-01-25 13:43:55 -08:00
Hongwei Wang
e07065a463
Merge "Add ApiDemo for PiP auto enter API"
2021-01-21 21:54:07 +00:00
Hongwei Wang
b0715f27ef
Add ApiDemo for PiP auto enter API
...
- Demonstrates the autoEnterPip API with multi-activity in original task
- Invoke path: App -> Activity -> Picture in Picture Auto Enter
Video: http://rcll/aaaaaabFQoRHlzixHdtY/gIO4G5dybW7tJWXihkhXfE
Bug: 177335910
Test: m -j ApiDemos
Test: see video
Change-Id: If69116dd52476ead8cc46dc3475447d4bfa64ff8
2021-01-18 16:03:55 -08:00
Galia Peycheva
a4af55c95a
Remove public usages of FLAG_BLUR_BEHIND
...
WindowManager.LayoutParams.FLAG_BLUR_BEHIND has been deprecated since
2011 and has been a no-op ever since.
We are @remove-ing it in S and making it a SystemApi to be used for
cross-app blurs. To that end, we have to remove its public usages.
This CL removes its usage in ApiDemos.
Bug: 177524486
Test: m
Change-Id: I3683db296e8331a9d255d39f23fad7dedc28bb9b
2021-01-15 08:18:47 +01:00
Nikita Dubrovsky
6f20c48d9c
Hide ContentInfo.partition from the public API
...
Bug: 174125311
Test: Manual
Change-Id: I3a4b8b197dc8d1e583131132d8863f06d1ea1801
2020-12-15 14:34:19 -08:00
Nikita Dubrovsky
6cb00ae9db
Update ContentInfo.partition to return a Pair instead of a Map
...
Bug: 174125311
Test: manual
Change-Id: Ibf8176abf2cfcf88912128c5bc729d408a00e56a
2020-12-02 16:15:00 -08:00
Nikita Dubrovsky
354ffa83c5
Move/rename OnReceiveContentListener.Payload to android.view.ContentInfo
...
Bug: 174125311
Test: manual
Change-Id: Ibd84b8e28b94677c00c6abe970a5dc2eefb934c5
2020-11-27 15:33:05 -08:00
Christopher Tate
e99b9c4ff5
Exercise new 'show immediately' FGS notification
...
Bug: 171499612
Test: ApiDemos foreground service suite
Change-Id: Iff2cef9a13ee0cd13e5b98d1a6ce59e77e6054a4
2020-11-16 13:48:23 -08:00
Nikita Dubrovsky
59f47d3e6d
Update onReceiveContent() logic for app vs platform processing
...
Bug: 170191676
Bug: 152068298
Test: Manual
Change-Id: I4215cd9a4d97bb4d4bc563d468cc50682d98d9b5
2020-11-12 15:30:50 -08:00
Joanne Chung
f363525b73
Use the flag FLAG_MUTABLE when creating the PendingIntent
...
Starting with S, any app targeting S+ will need to specify
explicitly either FLAG_MUTABLE or FLAG_IMMUTABLE when creating
PendingIntents.
This change helps mitigate against implicit PendingIntent reuse.
At present, all PendingIntents are mutable by default unless
FLAG_IMMUTABLE is explicitly set when creating them. This often
leads to developers accidentally making the PendingIntents mutable
and thus handing their receivers powers to fill in critical fields.
Because the autofill system server will need to update it, the
PendingIntent from the service provider (AwG, AiAi etc) should be
mutable.
Bug: 170771150
Test: manual. Make sure the function works normal.
Change-Id: I52e7e0924103447ff8e4bad553539c7b1dba34af
2020-11-03 02:31:57 +00:00
Nikita Dubrovsky
f634d35723
Merge "Update demo app for the updated onReceiveContent() API"
2020-10-27 16:51:23 +00:00
Nikita Dubrovsky
c3af8fa30e
Update demo app for the updated onReceiveContent() API
...
Bug: 170191676
Bug: 152068298
Test: Manual
Change-Id: Ic146edcf632dc25a0def62532eb53d866dbdc8ae
2020-10-23 17:20:13 -07:00
Louis Chang
835cd2ba83
Add an exported flag in manifest
...
With c4e90ac, the android:exported flag has to be explicitly defined
if an intent filter is defined.
Bug: 171447284
Test: install IntentPlayground
Change-Id: I4f86ceeef70e7572707f548f0583011a0f0823ad
2020-10-22 13:01:25 +08:00
Yuncheol Heo
46fc99324c
Merge "Add android:exported to HelloActivity and BasicGLSurfaceView."
2020-10-19 16:16:56 +00:00
Yuncheol Heo
8d5ff87e9b
Add android:exported to HelloActivity and BasicGLSurfaceView.
...
Test: They build and can be installed by 'adb install'.
Change-Id: Ic0e6bd76bcea8ee6e3ea7b7b4d3978e3d6046527
2020-10-16 17:11:14 -07:00
Nikita Dubrovsky
e93ddc6009
Demo app for the content insertion API
...
Bug: 152068298
Test: Manual
Change-Id: I5f4cb573a07e412dcc5247ad235fb99dc9c789ab
2020-10-13 09:17:15 -07:00
Xin Li
e3b57410da
Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
...
Bug: 166295507
Merged-In: I37a77cdaf905fe0bf58ad8eebcdff36873aec71a
Change-Id: Idac9218a0e169df9d02d9d8d376a6816315a4b28
2020-08-27 10:16:04 -07:00
Alison Cichowlas
443e178555
Merge "Explicit value for android:exported per S requirements."
2020-08-18 16:21:41 +00:00
Alison Cichowlas
63bb9c13bc
Explicit value for android:exported per S requirements.
...
Test: app now successfully installs
Change-Id: I7dfa78dd6ee9d2b60cf7e7b4548a04741428ba21
2020-08-18 10:37:28 -04:00
Kohsuke Yatoh
db8a7c7e55
Merge "Add android:exported to SpellChecker samples."
2020-08-12 17:28:06 +00:00
Kohsuke Yatoh
2f9e97386b
Add android:exported to SpellChecker samples.
...
"android:exported" is now required.
Installing apk will fail if "android:exported" is not specified.
Test: Built and installed APKs.
Change-Id: I4e9da09e2dd026a722cf1d4392203ed3396762b4
2020-08-12 17:27:27 +00:00
TreeHugger Robot
af6040a2f9
Merge "Fix InlineFillService cannot be installed successfully"
2020-08-04 00:48:26 +00:00
Joanne Chung
d182ec9737
Fix InlineFillService cannot be installed successfully
...
For app target S+, it requires an explicit value for android:exported
be defined when intent filters are present. Add android:exported to
fix the problem.
Bug: 162724573
Test: make InlineFillService and then can install apk successfully.
Change-Id: I867b8caac38825d64af30f331a1bd86aa3e3b914
2020-08-03 20:40:22 +08:00
Michael Bachman
8c28d0a1c1
Android Inclusive Code Fixit: removing "sanity" from logging line where it is not needed.
...
Change-Id: Idc20e7e0efad4b1fc6f04e844105339fb4774210
Bug: 162536543
2020-07-31 20:24:08 +00:00
Treehugger Robot
0c1b5cf402
Merge "Update language to comply with Android’s inclusive language guidance" am: aace0e5dad am: 762e462fea am: 4f2eb07963 am: 40851ca83f am: 02658e18bd
...
Original change: https://android-review.googlesource.com/c/platform/development/+/1381456
Change-Id: I9129ad279f835db8b455ec739c6bb065b74206a1
2020-07-31 17:50:47 +00:00
Treehugger Robot
4f2eb07963
Merge "Update language to comply with Android’s inclusive language guidance" am: aace0e5dad am: 762e462fea
...
Original change: https://android-review.googlesource.com/c/platform/development/+/1381456
Change-Id: I31b165b51d8a4caa87daf3341fb7eeeb8962e520
2020-07-31 17:01:22 +00:00
Jeff Sharkey
29bc7dcc26
Update language to comply with Android’s inclusive language guidance
...
See https://source.android.com/setup/contribute/respectful-code for reference
Bug: 161896447
Change-Id: I56dd8778516103367dc17ae55bdff4457185de46
2020-07-30 20:05:08 -06:00
Treehugger Robot
e70731daaa
Merge "Only show Presentations on suitable displays" am: a5cd725e46 am: dca9402115 am: 44801de33e am: 6c27cf24d2 am: 6131699aa8
...
Original change: https://android-review.googlesource.com/c/platform/development/+/1367119
Change-Id: I9eb7f653b1963434b60f2892d0c406ec35352433
2020-07-30 16:53:20 +00:00
Treehugger Robot
44801de33e
Merge "Only show Presentations on suitable displays" am: a5cd725e46 am: dca9402115
...
Original change: https://android-review.googlesource.com/c/platform/development/+/1367119
Change-Id: I3a1f6d285e95cae93fb2225193e28f086acc3cb3
2020-07-30 15:42:31 +00:00
Linus Tufvesson
084c24eff0
Only show Presentations on suitable displays
...
Bug: 141745510
Test: Manually verifed, App > Activity > Presentation
Change-Id: I0ca4c18bab97f46971ae3eae29e34e74ed6a5810
2020-07-30 13:52:05 +00:00
Dandan Sun
f4de762f26
Cube 3d live Wallpaper can't be set on android 11
...
Error log: Didn't find class
"com.example.android.livecubes.cube1.CubeWallpaper1" on path:
DexPathList[[zip file "/system/app/CubeLiveWallpapers/CubeLiveWallpapers.apk
set "installable: true", 3d live wallpaper can be set successfully.
Signed-off-by: Dandan Sun <dandan.sun@nxp.com >
Change-Id: I6388a8083a378bacf2eb8841a22cebf6192170ca
2020-07-17 16:59:02 +08:00