Commit Graph

703962 Commits

Author SHA1 Message Date
Yohei Yukawa
e14a11c1df Clarify on DEFAULT_INPUT_METHOD and InputMethodInfo#getId()
This CL aims to clarify more on what "IME ID" means in Android.

"IME ID" is a string representation of a certain implementation of
InputMethodService, which has always been computed by

  new ComponentName(packageName, serviceName).flattenToShortString(),

then has been exposed to developers through at least the following two
public APIs.

 * Settings.Secure.DEFAULT_INPUT_METHOD
 * InputMethodInfo#getId()

Now that our IME CTS tests are already requiring that "IME ID" equals
to test IMEs' component name indirectly, it would be more beneficial
if we clearly mention that "IME ID" is guaranteed to be constructed by

  ComponentName#flattenToShortString()

hence is also guaranteed to be parsed with

  ComponentName#unflattenFromString().

It is to late to change strong representations that have been
exposed to developers for more than 10 years anyway.

Other than updating public API documents, this CL does nothing.

Fix: 192392438
Test: presubmit
Change-Id: I013cd79b92363fe6e438f445606b5fc53e2660f6
2021-07-23 11:03:08 -07:00
Yohei Yukawa
b72545e7b1 Remove unnecessary "I" from IIInputContentUriTokenResultCallback
This is a mechanical refactoring CL that does nothing but remaning

  IIInputContentUriTokenResultCallback

to

  IInputContentUriTokenResultCallback.

There should be no observable behavior change in this CL.

Bug: 173340613
Bug: 194308519
Test: presubmit
Change-Id: Id37fd7c44145934aea42d7944e5b212c6ff543f6
2021-07-23 08:52:11 -07:00
Alison Cichowlas
1afbd902cb Merge "Sharesheet: action bar is independent of WP tabs, should always launch as primary user." into sc-dev am: 9197f7b260 am: ac0fe8d049
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15363687

Change-Id: I6f828ffbf403884eb1f24778bccbd7a6ab5bdb59
2021-07-23 15:26:16 +00:00
Alison Cichowlas
ac0fe8d049 Merge "Sharesheet: action bar is independent of WP tabs, should always launch as primary user." into sc-dev am: 9197f7b260
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15363687

Change-Id: Iabd652260d26a99cbed33b5b05ec44e653f73831
2021-07-23 15:08:16 +00:00
Joanne Chung
c53f022ec7 Merge "Move autofill implementation from Activity to a delegate class." 2021-07-23 14:59:25 +00:00
Alison Cichowlas
9197f7b260 Merge "Sharesheet: action bar is independent of WP tabs, should always launch as primary user." into sc-dev 2021-07-23 14:54:12 +00:00
Bill Yi
3223a24047 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c639943fc8 -s ours am: 1f6a8fa9f4 -s ours am: 60c58f0f13 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie87256f6e906f2412837134a3c54cc2a75a9a276
2021-07-23 14:23:01 +00:00
Bill Yi
f488bdb96b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f642bece9c -s ours am: 317476b204 -s ours am: 1010147c50 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia0bc1bbb47e7b14538e42985e629446f3ebea386
2021-07-23 14:22:45 +00:00
TreeHugger Robot
6b2c9d35a9 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 32ad716bbd -s ours am: e63a4327c6 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I81b5ca9c191527abe99c1cdbb8ee2e6dbfbe4805
2021-07-23 14:22:23 +00:00
Bill Yi
60c58f0f13 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c639943fc8 -s ours am: 1f6a8fa9f4 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic15c859a811cf09bd3a24b2af88663ce53cfd742
2021-07-23 14:17:52 +00:00
Bill Yi
1010147c50 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f642bece9c -s ours am: 317476b204 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie91f341e057b1c1b9ad4ee386faa2f794a1fb32e
2021-07-23 14:17:48 +00:00
TreeHugger Robot
e63a4327c6 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 32ad716bbd -s ours
am skip reason: subject contains skip directive

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

Change-Id: I5f7621f684f45fdca81bca93c90001c318e4e020
2021-07-23 14:17:41 +00:00
Jamie Garside
189d98ec0d Merge "Updated keyguard_pin_view to use a ConstraintLayout." into sc-v2-dev am: a8813c12da am: d7a0bdbafc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15302107

Change-Id: I1c00f4ed8e936c18ae807042e6127897a793aed7
2021-07-23 14:13:03 +00:00
Sergey Volnov
87cb5699fd Merge "Revert "Fix stage split rotation"" into sc-v2-dev am: e175b6f56f am: f4a51077b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15371911

Change-Id: Ie65d316bfeed8918283d61a4f9c7fd96deeb4db1
2021-07-23 14:12:51 +00:00
Bill Yi
1f6a8fa9f4 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c639943fc8 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1ad70999bc75ee71314ba9430bbdfcd0f770590d
2021-07-23 14:12:09 +00:00
TreeHugger Robot
84e3770cad [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-mainline-prod am: 94cb8954ec -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic1b2c75e2088cfcbf1a632fed174aaf2ce01eac2
2021-07-23 14:06:41 +00:00
Wei Sheng Shih
fe3ea7cf3e Merge "Fine tune splash screen icon generation algorithm" into sc-dev am: e2ff050fbb am: 32832d9264
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15283495

Change-Id: I4b15b80910cd29acae5300ef202540b5a6546bba
2021-07-23 14:06:17 +00:00
Bill Yi
317476b204 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f642bece9c -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id1d4bdca678402126ed254613a3fec684e21c881
2021-07-23 14:06:06 +00:00
TreeHugger Robot
94cb8954ec Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-mainline-prod 2021-07-23 14:00:33 +00:00
TreeHugger Robot
32ad716bbd Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-23 13:57:36 +00:00
Jamie Garside
d7a0bdbafc Merge "Updated keyguard_pin_view to use a ConstraintLayout." into sc-v2-dev am: a8813c12da
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15302107

Change-Id: I5e2fde84e2fbafc8d87a11cb224bdcd907b1183f
2021-07-23 13:55:56 +00:00
Sergey Volnov
f4a51077b8 Merge "Revert "Fix stage split rotation"" into sc-v2-dev am: e175b6f56f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15371911

Change-Id: Ib437340feadb5923c0ccc5748d14bfdac60a4e1d
2021-07-23 13:54:46 +00:00
Ioannis Ilkos
117f59dbfb Merge "Make RtlEnabledContext static" 2021-07-23 13:50:30 +00:00
Wei Sheng Shih
32832d9264 Merge "Fine tune splash screen icon generation algorithm" into sc-dev am: e2ff050fbb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15283495

Change-Id: I7a84249d6a0550d6307f5b3b0e0c2628b5aeb108
2021-07-23 13:48:32 +00:00
Jamie Garside
a8813c12da Merge "Updated keyguard_pin_view to use a ConstraintLayout." into sc-v2-dev 2021-07-23 13:34:43 +00:00
Sergey Volnov
e175b6f56f Merge "Revert "Fix stage split rotation"" into sc-v2-dev 2021-07-23 13:33:52 +00:00
Bryce Lee
18669a9a85 Merge "Introduce CommunalSourcePrimer." 2021-07-23 13:33:48 +00:00
Wei Sheng Shih
e2ff050fbb Merge "Fine tune splash screen icon generation algorithm" into sc-dev 2021-07-23 13:31:27 +00:00
Bryce Lee
28018d9595 Merge "CommunalService Implementation." 2021-07-23 13:24:01 +00:00
Bryce Lee
8fc18b9d27 Merge "CommunalSource Introduction." 2021-07-23 13:22:35 +00:00
Bill Yi
289672eb3b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8acf9a8e6b8a322d6b1a90782fa4b85295bf0393
2021-07-23 12:40:01 +00:00
Wei Sheng Shih
ce8b17cd10 Merge "Correcting the package name used on splash screen window." into sc-dev am: 0793f65c95 am: 504d9d2c8a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15358033

Change-Id: I15106256693938deb4654b0d3d9002aa45def340
2021-07-23 12:27:14 +00:00
Bill Yi
f642bece9c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I54eab26d2b8f2564b1e13ab45432c740351ca756
2021-07-23 12:14:49 +00:00
Wei Sheng Shih
504d9d2c8a Merge "Correcting the package name used on splash screen window." into sc-dev am: 0793f65c95
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15358033

Change-Id: Idd26d598e12ccbf9febfa9ac954ebf58a648b8e8
2021-07-23 12:08:45 +00:00
Riddle Hsu
d567c9d14d Merge "Use elapsed time as timestamp of activity launch" into sc-dev am: f192f0803a am: 8fa57e17f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14419582

Change-Id: Ied91bb58ce39b367565c3dae07f6051bdc289de4
2021-07-23 11:57:39 +00:00
Wei Sheng Shih
0793f65c95 Merge "Correcting the package name used on splash screen window." into sc-dev 2021-07-23 11:54:28 +00:00
Riddle Hsu
8fa57e17f3 Merge "Use elapsed time as timestamp of activity launch" into sc-dev am: f192f0803a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14419582

Change-Id: Id5b10c3586db8a3439b7c26fcdd4d205458deb8b
2021-07-23 11:44:43 +00:00
Bill Yi
a639d705f1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I850763f3c7d0401b841e31fe0d19e92ef1825401
2021-07-23 11:43:47 +00:00
Bill Yi
c639943fc8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I74a31c0c9d08c7c47869f989da647b414cf996f1
2021-07-23 11:41:17 +00:00
Tony Huang
acc62fda0a Revert "Fix stage split rotation"
This reverts commit 706bb3e9a3.

Reason for revert: Cause tests fail

Fix: 191338484
Change-Id: I7a5fb1fa31be2cb52c440dc64f91a83548bcc230
2021-07-23 11:37:41 +00:00
Riddle Hsu
f192f0803a Merge "Use elapsed time as timestamp of activity launch" into sc-dev 2021-07-23 11:26:54 +00:00
Louis Chang
d309a0f03a Merge "Providing caller's token when starting activity in TaskFragment" into sc-v2-dev am: 692e92bfde am: d6d6710ab8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15359961

Change-Id: I0c984a16ef6822969f79e3f7df0086f0e255a5a3
2021-07-23 09:02:07 +00:00
wilsonshih
7a7722abe0 Correcting the package name used on splash screen window.
The top activity in TaskActivitiesReport can be filter out if the state
of top activity is INITIALIZING, this doesn't make sense for splash
screen, because the state of the top activity do can be INITIALIZING.
Create a filed targetActivityInfo in StartingWindowInfo to specify the
starting activity info.

Bug: 193459277
Test: atest SplashscreenTests StartingSurfaceDrawerTests
Change-Id: Ifec7aff644013a0426e0622162ab24f6b9fb3d8f
2021-07-23 16:50:01 +08:00
Louis Chang
d6d6710ab8 Merge "Providing caller's token when starting activity in TaskFragment" into sc-v2-dev am: 692e92bfde
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15359961

Change-Id: Ib5f1f947f4357f91a93bb818b63ac619d36b1d7f
2021-07-23 08:44:24 +00:00
Louis Chang
692e92bfde Merge "Providing caller's token when starting activity in TaskFragment" into sc-v2-dev 2021-07-23 08:26:03 +00:00
PETER LIANG
4caf8c4801 Merge "Add the failure listener into the lottie animation view of IllustrationPreference." into sc-dev am: c97285abb5 am: 9b06442d78
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15334689

Change-Id: Ia95cacc8b3bd7a6822f9667f5ab043f2092ab456
2021-07-23 07:52:58 +00:00
Riddle Hsu
d117271e6a Use elapsed time as timestamp of activity launch
To have the information of the relation to wall time.

Bug: 187043447
Test: atest ActivityMetricsLoggerTests
Change-Id: Ib9724b83698c5ada372cd5f0db5f4aa7a26e75b5
2021-07-23 07:50:54 +00:00
Bryce Lee
bb34329a6b Introduce CommunalSourcePrimer.
CommunalSourcePrimer connects to a pre-defined
CommunalSource at boot if present. It automatically
sets the returned binder as the current
CommunalSource.

Bug: 194354107
Test: manual
Change-Id: I7d1e7abcba2b48d77c9eaaacddb45ba1b3c72f49
2021-07-23 00:39:17 -07:00
PETER LIANG
9b06442d78 Merge "Add the failure listener into the lottie animation view of IllustrationPreference." into sc-dev am: c97285abb5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15334689

Change-Id: I6e6b283ce776a8630a7b0584c821056240e1e527
2021-07-23 07:36:10 +00:00
PETER LIANG
c97285abb5 Merge "Add the failure listener into the lottie animation view of IllustrationPreference." into sc-dev 2021-07-23 07:21:17 +00:00