Commit Graph

445881 Commits

Author SHA1 Message Date
Fabian Kozynski
2f9dd75611 Added secondary label to flashlight
When flashlight is disabled, specify that it's because the camera is in
use.

Fixes: 138872957
Test: manual

Change-Id: I40836d8a51fca625d2a4391ba6a7315dd9d895eb
2019-10-02 13:15:41 -04:00
Bill Yi
10b668e573 [automerger skipped] Import translations. DO NOT MERGE am: bfb7a7227c -s ours am: 44642cf1f4 -s ours
am: 4c77305f38 -s ours
am skip reason: subject contains skip directive

Change-Id: I45139dc6d50abb553da53bbdfd46f3f9c95fab47
2019-10-01 13:40:00 -07:00
Bill Yi
4c77305f38 [automerger skipped] Import translations. DO NOT MERGE am: bfb7a7227c -s ours
am: 44642cf1f4 -s ours
am skip reason: subject contains skip directive

Change-Id: I4be254c9d13502ae3462845d6946e4d24036f0a4
2019-10-01 13:31:35 -07:00
TreeHugger Robot
2515002a3e Merge "Add setEndpoints method to EdgeLights" 2019-10-01 20:29:32 +00:00
Bill Yi
44642cf1f4 [automerger skipped] Import translations. DO NOT MERGE
am: bfb7a7227c -s ours
am skip reason: subject contains skip directive

Change-Id: I50b9e3bb8363e297d9f4a98dd980c91d46f798a6
2019-10-01 13:15:26 -07:00
Chen Xu
4884beda8b Merge "new telephony annotation class" 2019-10-01 19:57:46 +00:00
Rob Carr
1d8b5401c2 Merge "Add relayout support to WindowlessWindowManager" 2019-10-01 19:29:19 +00:00
Eugene Susla
ec2cce78b7 Merge "Fix codegen adding random /" 2019-10-01 18:55:51 +00:00
Eugene Susla
c49e8eece4 Fix codegen adding random /
Fixes: 141934335
Test: . frameworks/base/tests/Codegen/runTest.sh
Change-Id: Ic72d141ed58e332079e7edb7134e02d1447ff643
2019-10-01 11:53:44 -07:00
Miranda Kephart
6a579b70dd Add setEndpoints method to EdgeLights
Also changes 'offset' to 'start' for clarity.

Bug: 141366370
Test: manual
Change-Id: I814c6d3ca25a0b9391bfb2424f822a83bb8ef12f
2019-10-01 14:48:13 -04:00
TreeHugger Robot
3019d9c8d7 Merge "Fix AnimatedImageDrawables using ByteBuffers" 2019-10-01 18:36:56 +00:00
Adam He
725f1e8f60 Merge "Changed notifySessionLifecycle() API to notifySessionResumed() and notifySessionPaused()." 2019-10-01 18:30:59 +00:00
Bill Yi
bfb7a7227c Import translations. DO NOT MERGE
BUG:138175268

Change-Id: I4e6ca4ed7c7ba4a39a15988100fad60dafd79c02
Auto-generated-cl: translation import
2019-10-01 11:19:50 -07:00
Jordan Liu
566ff18cc5 Merge "Expose CdmaSmsCbProgramData as SystemApi" 2019-10-01 17:39:17 +00:00
TreeHugger Robot
a198f02a97 Merge "idmap2: ZipFile::Open: fix potential memory leak" 2019-10-01 16:27:33 +00:00
TreeHugger Robot
4d3106313a Merge "Remove the FEATURE_FLAG_IDMAP2 flag" 2019-10-01 15:48:36 +00:00
Oli Lan
19e08edb7d Merge "Move Rollback synchronisation into the Rollback class." 2019-10-01 15:47:50 +00:00
TreeHugger Robot
cf45fe7a5f Merge "idmap2: assign uninitialized variables initial values" 2019-10-01 15:31:04 +00:00
TreeHugger Robot
eb9771741b Merge "Move registration of Android Graphics JNI behind the C API." 2019-10-01 14:46:27 +00:00
Sergey Nikolaienkov
976722f373 Merge "Add audio recording disclosure plate on TV" 2019-10-01 13:38:32 +00:00
Derek Sollenberger
9ca0c52d4e Move registration of Android Graphics JNI behind the C API.
Test: CtsUiRenderingTestCases and CtsGraphicsTestCases
Bug: 137655431
Change-Id: Ifa044281a3c36cbc1b413175711e9b172cda640f
2019-10-01 08:56:40 -04:00
TreeHugger Robot
33081bc1a1 Merge "Fix StatusBarTest's thread check." 2019-10-01 12:30:40 +00:00
TreeHugger Robot
17f8acdb1d Merge "Turn on API workflow for all bugreports" 2019-10-01 10:56:15 +00:00
TreeHugger Robot
c71dbf9c7b Merge "Finish injecting GarbageMonitor." 2019-10-01 10:14:37 +00:00
Mårten Kongstad
dd63e5d256 idmap2: assign uninitialized variables initial values
In C++, local primitives are not automatically initialized:

  void foo() {
    int i;         // primitive: value is indeterminate
    std::string s; // class: calls default ctor
    ...
  }

Create.cpp and Dump.cpp include this type of uninitialized variable; fix
this by explicitly assigning an initial value.

Also add a new script to help catch these types of errors in the future:
valgrind.sh, which will run a few idmap2 commands and the idmap2_tests
through Valgrind.

Also update static-checks.sh to rely on a command's return value instead
of the presence of any output.

Test: frameworks/base/cmds/idmap2/valgrind.sh
Change-Id: Ic9dbd3e9a768beb39ac677ff294b0fca5ee8f9d2
2019-10-01 01:56:46 -07:00
Mårten Kongstad
77b53b2c56 Remove the FEATURE_FLAG_IDMAP2 flag
Test: atest OverlayDeviceTests OverlayHostTests FrameworksServicesTests:com.android.server.om CtsAppSecurityHostTestCases:OverlayHostTest

Change-Id: Ib68eaf7f721c5d440fe7185777e88e23cb9840a4
2019-10-01 00:08:48 -07:00
TreeHugger Robot
c087fbc6f4 Merge "View attr debug: avoid 'Invalid ID 0x00000000'" 2019-10-01 07:08:40 +00:00
TreeHugger Robot
ca7d84517f Merge "Check GL extension is supported before using it in glwallpaper" 2019-10-01 06:40:40 +00:00
Ruslan Tkhakokhov
2397afe677 Merge "Import InitializeRecoverableSecondaryKeyTask" 2019-10-01 06:30:56 +00:00
TreeHugger Robot
cb17c92130 Merge "Update new Android system icon" 2019-10-01 03:49:39 +00:00
TreeHugger Robot
9b316d9c0f Merge "Check client hidden state before resetting draw state." 2019-10-01 00:59:17 +00:00
Winson Chiu
29f3a0b63d Merge "Revert "Deprecate PackageParser#Package"" 2019-10-01 00:31:40 +00:00
Winson Chiu
8e18a0ab89 Revert "Deprecate PackageParser#Package"
This reverts commit 243e7ea14b.

Reason for revert: b/141854898

Exempt-From-Owner-Approval: Revert for failure to boot

Change-Id: Id6812e5ecf7d88504706b2c4110d83f1034ab85c
2019-10-01 00:23:30 +00:00
Robert Carr
df2894647e Add relayout support to WindowlessWindowManager
We add support for resizing, and also add test API so we can get
some end-to-end tests going

Bug: 134365580
Test: WindowlessWmTests
Change-Id: I2f61fa15962523b9736f796c60ce799e4f9c9c18
2019-09-30 17:16:02 -07:00
TreeHugger Robot
4c23a59805 Merge "Use DataClass annotation for InputMonitor" 2019-10-01 00:09:26 +00:00
Brad Ebinger
48291a2125 [automerger skipped] Merge "Integrate the active emergency session listener in TelephonyRegistry" am: 4a54c2fa2b am: 64418f4c31 am: 32dfda5c4a
am: 4016d704e4 -s ours
am skip reason: change_id I5eaada6a671606642a849f0ff6fe964332d80d5f with SHA1 134334bb6e is in history

Change-Id: I5a20e6477f270e53caa0e8215bc290917df79c54
2019-09-30 16:51:55 -07:00
Adam He
42ec1d868f Changed notifySessionLifecycle() API to notifySessionResumed() and
notifySessionPaused().

Bug: 139811826
Fixes: 141568144
Test: atest CtsAutoFillServiceTestCases
Test: atest android.contentcaptureservice.cts.CustomViewActivityTest#testSessionLifecycleEvents
Change-Id: Id5ed40a538020c5a7087556dccbda26909ffd3c2
2019-09-30 16:46:12 -07:00
Michael Klimushyn
bf0e0c9a66 Merge "Downgrade InputMethodManager getFallbackIMM logs" 2019-09-30 23:41:07 +00:00
Jorge E. Moreira
fa68e66207 Check GL extension is supported before using it in glwallpaper
glwallpaper requests a GL context with low priority, however this
feature is a GL extension that may not be available in the GL
implementation (swiftshader, for example).

Bug: 138834844
Test: run cuttlefish locally
Change-Id: I72edeb0f4dc03e51bda22209415604e752c18e52
2019-09-30 23:40:50 +00:00
Brad Ebinger
4016d704e4 Merge "Integrate the active emergency session listener in TelephonyRegistry" am: 4a54c2fa2b am: 64418f4c31
am: 32dfda5c4a

Change-Id: Ie82cc7eb41329821fc79ac94659ab84c3b59c3f2
2019-09-30 16:36:03 -07:00
Brad Ebinger
32dfda5c4a Merge "Integrate the active emergency session listener in TelephonyRegistry" am: 4a54c2fa2b
am: 64418f4c31

Change-Id: Ideeb0afb508068fbe6feebbd472e94a24d94192f
2019-09-30 16:22:04 -07:00
Bill Yi
741b1e6305 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: f5b1101af9 -s ours
am: 3bef14d1d5 -s ours
am skip reason: subject contains skip directive

Change-Id: I367a9a7ed5ea28ee5de6c344a9dd539033e06242
2019-09-30 16:15:05 -07:00
Sasha Kuznetsov
c90f257ac1 Merge "Moving GNSS related code in class LocationManagerService into its own class. Test: manually; flashing build and then checking for GPS measurements and position in GnssLogger" 2019-09-30 23:08:14 +00:00
Brad Ebinger
64418f4c31 Merge "Integrate the active emergency session listener in TelephonyRegistry"
am: 4a54c2fa2b

Change-Id: I890a913c18332669dee8f21baf81db78a50a0fb0
2019-09-30 16:08:04 -07:00
Bill Yi
3bef14d1d5 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
am: f5b1101af9 -s ours
am skip reason: subject contains skip directive

Change-Id: Icbb30a6afd743ba0cbc2c26c043c07a351795cfd
2019-09-30 16:07:42 -07:00
Brad Ebinger
4a54c2fa2b Merge "Integrate the active emergency session listener in TelephonyRegistry" 2019-09-30 22:48:25 +00:00
TreeHugger Robot
f5b1101af9 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-09-30 22:47:26 +00:00
Sasha Kuznetsov
a8ace3cc91 Moving GNSS related code in class LocationManagerService into its own class.
Test: manually; flashing build and then checking for GPS measurements
and position in GnssLogger

Change-Id: I522e60053d9404a3300e3cfb43886a15036dbf70
2019-09-30 15:44:51 -07:00
TreeHugger Robot
0617359e5a Merge "Allowing more than one app to suspend apps" 2019-09-30 22:43:18 +00:00
Michael Klimushyn
a9427152d2 Downgrade InputMethodManager getFallbackIMM logs
Previously the IMM was logging error and warning logs every single time
it attempted to use an IMM method and ended up with the fallback IMM.
This is both extremely noisy since the IMM is accessed multiple times
per second in the case of the user typing and a little misleading since
this isn't truly an error condition on its own.

Downgrade the log to a VERBOSE log. This will still show up for apps
when in development but is less likely to wander into bug reports for
released apps.

Bug: 141884160
Fixes: 141884160
Test: Manually. Trigerred error condition and verified log level.

Change-Id: If25ef81c6b74679ebfa725f0c98e0bc633399e70
2019-09-30 22:23:46 +00:00