Commit Graph

617739 Commits

Author SHA1 Message Date
Treehugger Robot
db7bdef41a Merge "Grant shell MANAGE_PROFILE_AND_DEVICE_OWNERS permission" am: 945be59043 am: e88250ddfa am: 639e6eb5cf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1530318

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I11214c97d046087e37129585f71d147e41a7b70e
2021-01-08 13:25:39 +00:00
TreeHugger Robot
6611cca1ae Merge "Making it easier to investigate jank and latency traces" 2021-01-08 13:22:12 +00:00
TreeHugger Robot
2b96e8c0e6 Merge "Dump list of saved resume components" 2021-01-08 13:16:18 +00:00
Treehugger Robot
639e6eb5cf Merge "Grant shell MANAGE_PROFILE_AND_DEVICE_OWNERS permission" am: 945be59043 am: e88250ddfa
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1530318

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0d1357ca43af78e20ce09ce8fbb727cdcd9a5bad
2021-01-08 13:02:02 +00:00
Treehugger Robot
e88250ddfa Merge "Grant shell MANAGE_PROFILE_AND_DEVICE_OWNERS permission" am: 945be59043
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1530318

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iea98101145a247adbd33fb88b9579936c1885923
2021-01-08 12:19:19 +00:00
Treehugger Robot
945be59043 Merge "Grant shell MANAGE_PROFILE_AND_DEVICE_OWNERS permission" 2021-01-08 12:00:36 +00:00
Treehugger Robot
d2ae6601fd Merge "Pivot network statistics to use DataInput/Output." am: 5b322f10be am: 5c5eff8d5c am: fe39a927b5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1540224

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I44be7ea64d012f35d312ae3b039b0fd7e37e9d60
2021-01-08 11:49:37 +00:00
Treehugger Robot
fe39a927b5 Merge "Pivot network statistics to use DataInput/Output." am: 5b322f10be am: 5c5eff8d5c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1540224

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic0502659732c1957b297095a5332e6dc0b514397
2021-01-08 11:33:57 +00:00
TreeHugger Robot
f1882fe75c Merge "Fix Tv Pip tests" 2021-01-08 11:21:34 +00:00
TreeHugger Robot
8bf124b0d1 Merge "Add basic High Brightness Mode implementation." 2021-01-08 11:13:32 +00:00
Treehugger Robot
5c5eff8d5c Merge "Pivot network statistics to use DataInput/Output." am: 5b322f10be
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1540224

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I86021070223e8825ba19bd84946ef89b56dc3f35
2021-01-08 10:56:59 +00:00
Treehugger Robot
55ab07fd18 Merge "Add team members to biometric OWNERS" am: 80df223aed am: 2dc1d17689 am: 68ba39f6d7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1543964

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id5432d058c9e67f1a83f03c82159661c2c0e1502
2021-01-08 10:44:55 +00:00
Treehugger Robot
4b8f386ae4 Merge "Set max frequency as Max_Value of integer if it's negative." am: 4a17bccf59 am: 30f0456d60 am: 35028e9f0b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1542427

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iea2c5ad48a1da20d00ccd4ccc393d8683bdc5836
2021-01-08 10:44:15 +00:00
Shuo Qian
85dee397ae [automerger skipped] Merge "Add Call Composer Tuple in RcsContactPresenceTuple class" am: 45a397a84a am: f9bdfcccc4 am: d26b0ed704 -s ours
am skip reason: Change-Id Id1c3eaf11d85ec5df3c253443bafdb18fd31ccce with SHA-1 111e80214e is in history

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0eab13913abbcbf272db3c9f73986988bd7e70b6
2021-01-08 10:42:27 +00:00
Les Lee
66e322ee70 Merge "wifi: Add systemAPi:setSubscriberId in NetworkAgentConfig" am: 6ae2535ec6 am: 2f8f97c64c am: 026441fcd5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1536153

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8a491c13545e1dbe09f46081303dc33eed71a467
2021-01-08 10:41:27 +00:00
Treehugger Robot
5b322f10be Merge "Pivot network statistics to use DataInput/Output." 2021-01-08 10:33:16 +00:00
Treehugger Robot
68ba39f6d7 Merge "Add team members to biometric OWNERS" am: 80df223aed am: 2dc1d17689
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1543964

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0cdd444845e2f484e26045c04facbce2e33c95ba
2021-01-08 10:14:06 +00:00
Treehugger Robot
35028e9f0b Merge "Set max frequency as Max_Value of integer if it's negative." am: 4a17bccf59 am: 30f0456d60
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1542427

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I02cfbd754a58d7af4010b8885463cba628c89809
2021-01-08 10:13:47 +00:00
Shuo Qian
d26b0ed704 Merge "Add Call Composer Tuple in RcsContactPresenceTuple class" am: 45a397a84a am: f9bdfcccc4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1542210

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibb76e030bf27e1c8c6b80158a0c7165136cd7493
2021-01-08 10:11:16 +00:00
Les Lee
026441fcd5 Merge "wifi: Add systemAPi:setSubscriberId in NetworkAgentConfig" am: 6ae2535ec6 am: 2f8f97c64c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1536153

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4f4e7bfc059df3415378179b3d70ca35b8ebf4f1
2021-01-08 10:10:29 +00:00
TreeHugger Robot
1d30d73d0e Merge "Catch the SecurityException in the APIs of SoundTriggerSession to avoid crashing." 2021-01-08 09:55:11 +00:00
TreeHugger Robot
6581a7d0ac Merge "Fix and clean up Tv Pip Menu" 2021-01-08 09:44:55 +00:00
Treehugger Robot
2dc1d17689 Merge "Add team members to biometric OWNERS" am: 80df223aed
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1543964

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I81f542632328cdb628e3e873d1a04beeb7a1a860
2021-01-08 09:34:42 +00:00
Treehugger Robot
30f0456d60 Merge "Set max frequency as Max_Value of integer if it's negative." am: 4a17bccf59
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1542427

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib0003e60eaca81ab9894cdfa98c2aad01bc25560
2021-01-08 09:31:18 +00:00
Shuo Qian
f9bdfcccc4 Merge "Add Call Composer Tuple in RcsContactPresenceTuple class" am: 45a397a84a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1542210

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2ee6e39cecc75ce25a01c5d0824b657771391cb4
2021-01-08 09:24:47 +00:00
TreeHugger Robot
3b074f90c8 Merge "Add getter/setter to access emergency number overrides" 2021-01-08 08:37:03 +00:00
Santos Cordon
ef47c4f317 Add basic High Brightness Mode implementation.
1) Loads configuration values from the display device config file
2) Passes those values through to AutomaticBrightnessController
3) Uses configuration in new HighBrightnessModeController class
   to drive High Brightness mode via AutomaticBrightnessController.

Test: manual.  Set HBM to enabled in display-config file.
Bug: 168210138
Change-Id: I4824bbc9d97cb668efc3bcaddb036d508a40fa87
2021-01-08 08:35:27 +00:00
Sungsoo Lim
0a4b5c82ff Merge "Prevent multiple calls of ActivityThread.systemMain()" 2021-01-08 08:30:35 +00:00
TreeHugger Robot
2e81641b6b Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-01-08 08:12:38 +00:00
TreeHugger Robot
1a2fc0f447 Merge "Add log about adding hidden task" 2021-01-08 07:51:10 +00:00
TreeHugger Robot
34d046842d Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-01-08 07:44:38 +00:00
TreeHugger Robot
a01ce37da2 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-01-08 07:40:45 +00:00
TreeHugger Robot
8fc190c6fc Merge "IME API: InputConnecton#setImeTemporarilyConsumesInput(boolean)" 2021-01-08 07:20:49 +00:00
Fan Zhang
d46c53b8e4 Add getter/setter to access emergency number overrides
This value is migrated from Settings.Secure to EmergencyInfo app via a contentprovider.


Bug: 177006940
Test: Robotests
Change-Id: I345d9ff828021da35556f2d51da512840dda8026
2021-01-08 05:35:48 +00:00
Treehugger Robot
80df223aed Merge "Add team members to biometric OWNERS" 2021-01-08 04:20:25 +00:00
TreeHugger Robot
6609f2b095 Merge "Make IInputMethodManager to oneway (8/N)" 2021-01-08 04:19:59 +00:00
Treehugger Robot
4a17bccf59 Merge "Set max frequency as Max_Value of integer if it's negative." 2021-01-08 03:16:19 +00:00
Julia Reynolds
9bfd6c0f0a Merge "Add 'ongoing' filter type" 2021-01-08 03:14:52 +00:00
TreeHugger Robot
11615dea52 Merge "Add EditorInfo#getInitialSurroundingText API" 2021-01-08 02:56:18 +00:00
Wei Sheng Shih
f2e177b923 Merge "Fix the trampoline activity shows at the top due to app transition." 2021-01-08 02:42:45 +00:00
Shuo Qian
45a397a84a Merge "Add Call Composer Tuple in RcsContactPresenceTuple class" 2021-01-08 02:21:34 +00:00
Bill Yi
32586ae85c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I983c95ba575f9995889abef47a6260d14d527464
2021-01-08 02:12:00 +00:00
Kevin Chyn
8777a4dda3 Add team members to biometric OWNERS
Test: Presubmit
Change-Id: I0b503756a60fc8dcaaf8bcd1f1fa13628b2b9b75
2021-01-07 17:56:19 -08:00
Bill Yi
d9950c9146 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5f21ce36983a39f2d4c28982ac93e0ad35bdda88
2021-01-08 01:54:44 +00:00
lpeter
3492b92b26 Catch the SecurityException in the APIs of SoundTriggerSession to avoid crashing.
Currently when switching the user, it will be possible to meet this
kind of issue due to timing factor that the API of SoundTriggerSession
was called by previous user and caused the exception "Caller is not
the current voice interaction service.". It seems that the flow between
switching user and voice interaction needs to be improved to avoid this
race condition issue, but the impact will be high.

It would be better to catch the exception and return the fail status
to caller instead of crashing as a short term solution.

Four approaches are considered below:
(1) Change state to STATE_INVALID
When AlwaysOnHotwordDetector is shutdown, the state will be set to
STATE_INVALID. Then all called methods from it will fail with an
IllegalStateException. This is a normal behavior that has been defined
in the javadoc. But the STATE_INVALID does not clearly indicate what
happended in the AlwaysOnHotwordDetector for this issue and what to do
next. So it is not the best approach to change the state to
STATE_INVALID directly.

(2) Use a new state to inform the caller (apply this)
Define a new state STATE_ERROR to indicate the unknown active
keyphrase availability due to an error.
public static final int STATE_ERROR = 3;

When the exception occurs, it will pass STATE_ERROR to the caller by
the callback API "onAvailabilityChanged(int status)".
Then all called methods from it should fail with an IllegalStateException
due to AlwaysOnHotwordDetector can not be used currently.
The caller should create a new instance after receiving this state.

In order to avoid unintended behavior in the application, it would be
better to use this approach when the target SDK version is greater
than R.

(3) Use onError() callback to inform the caller
Currently when some errors occurred during Recognition, the onError()
callback will be called. But it doesn't mean the caller should stop
to using the AlwaysOnHotwordDetector. It is different from what we
want that the caller should not use the AlwaysOnHotwordDetector and
should create a new instance. So it is not suitable to use the onError()
callback to inform the caller due to no error reason in the onError()
callback. The caller will not know what happened and what to do next.

(4) Create a new onError(int reason) callback to inform the caller
In this approach, it will need to create a new onError(int reason)
callback to inform the caller. It also needs to change the state of
AlwaysOnHotwordDetector, then all called methods from it should fail
with an IllegalStateException due to AlwaysOnHotwordDetector can not
be used currently. This approach is also fine, but it is very similar
to approach 2. Finaly we use the approach 2.

Bug: 148136382
Test: atest CtsVoiceInteractionTestCases
Test: atest CtsSoundTriggerTestCases
Change-Id: I4697a2e6e26d412cf5c985467c652d30586adbe7
2021-01-08 01:35:01 +00:00
Les Lee
2f8f97c64c Merge "wifi: Add systemAPi:setSubscriberId in NetworkAgentConfig" am: 6ae2535ec6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1536153

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I59ab8adad819038715f7534ac746edbf923a92b9
2021-01-08 01:26:56 +00:00
Lan Wei
30fe6aa964 IME API: InputConnecton#setImeTemporarilyConsumesInput(boolean)
Add API to set IME will temporarily consumes the input, for
this case, the cursor will be invisible in the app.

Bug: 175362887
Test: atest FrameworksCoreTests:TextViewTest
Test: atest CtsWidgetTestCases:TextViewTest

Change-Id: Ic04cacfd73f1f4cb254bb16caf6b04c00c91a318
2021-01-08 09:23:55 +08:00
Jin Seok Park
596a4ea492 Merge "Prevent skipBytes from infinitely looping" 2021-01-08 01:09:19 +00:00
TreeHugger Robot
a942834c31 Merge "MTP: bring up MTP perf tests in Crystalball" 2021-01-08 01:05:09 +00:00
Bill Yi
f211bd55f5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I68377903ad0bdc96cef2b33ecfd51c108baec031
2021-01-08 01:04:03 +00:00