Commit Graph

380519 Commits

Author SHA1 Message Date
Bill Yi
08709ccffd Import translations. DO NOT MERGE
Change-Id: I48170a5ba97fbc61a7c843032d1d8c121d843e06
Auto-generated-cl: translation import
2018-07-04 16:38:13 -07:00
Tiger Huang
beac1471aa Merge "Don't flash system bars while showing an immersive app on lockscreen" 2018-07-04 03:06:31 +00:00
TreeHugger Robot
9a8e27a915 Merge "Allow UiAutomation to adopt the shell permission indentity" 2018-07-04 03:00:14 +00:00
Lucas Dupin
17ab018fdd [automerger skipped] Merge "DO NOT MERGE: Delay brightness change" into pi-dev am: 0937d1807b
am: 5d8e53ce88  -s ours

Change-Id: Ia11b6124a38c2f8cebd97a36f5f3c0e0f72da404
2018-07-03 19:49:30 -07:00
Lucas Dupin
5d8e53ce88 Merge "DO NOT MERGE: Delay brightness change" into pi-dev
am: 0937d1807b

Change-Id: Ib280983ca722add1f89f7a640a4f19c761239de9
2018-07-03 19:45:44 -07:00
TreeHugger Robot
0937d1807b Merge "DO NOT MERGE: Delay brightness change" into pi-dev 2018-07-04 02:34:42 +00:00
TreeHugger Robot
2a04303567 Merge "Update mMinLearnedBatteryCapacity when necessary." 2018-07-04 02:32:37 +00:00
TreeHugger Robot
e5d86e4302 Merge "Reset field translation" 2018-07-04 01:54:37 +00:00
Lucas Dupin
614b9ce887 DO NOT MERGE: Delay brightness change
During a fingerprint wake-up, the display state changes bumping up
the display brightness. This means that the screen will flash
bright if the scrims couldn't draw and blank the screen yet.

The fix updates the state of the keyguard, waits for the frame to be
pushed to the display (can take up to 2 frames since we're using
triple buffers), when then asks PowerManager to wake-up the device.

Fixes: 80415238
Test: fp unlock with AOD on and off on devices with displays from
      multiple vendors
Change-Id: I60f0e265c4af87cc1cb4fcf31e89558a330a4b71
Merged-In: I752f9bd5ffd754166ffee7dc15960909dd3f1a81
2018-07-04 01:41:48 +00:00
Tyler Gunn
8469a998c2 Merge "ImsMultiEndPoint - Sip Notify Change" am: bc103bdf18 am: 4a319c85bd
am: 98138a2837

Change-Id: I2662ae0934dfa2ed9990ba69093c4455d1966332
2018-07-03 17:09:58 -07:00
Android Build Merger (Role)
e8fbdc9579 Merge "[automerger skipped] Merge "Include annotations in metalava stubs" into pi-dev am: 9654ecebd7 -s ours am: d1b4a496ec -s ours" 2018-07-03 23:58:21 +00:00
Tor Norbye
8acddad6e7 [automerger skipped] Merge "Include annotations in metalava stubs" into pi-dev am: 9654ecebd7 -s ours
am: d1b4a496ec  -s ours

Change-Id: Ie22a5c94c18f3e1a6a75a8440d2c26d50f71caea
2018-07-03 16:57:23 -07:00
Oscar Shu
d344a96a8a Merge "Update rssi thresholds in the base config.xml" 2018-07-03 23:54:54 +00:00
Svet Ganov
d873ae62c4 Allow UiAutomation to adopt the shell permission indentity
For testing we often need to run shell commands. This can be done
today via running a shell command from an instrumentation test
started from the shell. However, this requires adding shell commands
which are not in the API contract, involve boilerplate code, require
string parsing, etc.

This change allows an instrumentation started from the shell to
adopt the shell UID permission state. As a result one can call APIs
protected by permissions normal apps cannot get by are granted to
the shell. This enables adding dedicated test APIs protected by
signatures permissions  granted to the shell.

Test: cts-tradefed run cts-dev -m CtsUiAutomationTestCases
          -t android.app.uiautomation.cts.UiAutomationTest#testAdoptShellPermissions

bug:80415658

Change-Id: I4bfd4b475225125512abf80ea98cd8fcacb6a1be
2018-07-03 16:39:44 -07:00
Tyler Gunn
98138a2837 Merge "ImsMultiEndPoint - Sip Notify Change" am: bc103bdf18
am: 4a319c85bd

Change-Id: I6516ead9bfb3aa6b7c2d460fdab8de076cd07876
2018-07-03 16:36:52 -07:00
Tyler Gunn
4a319c85bd Merge "ImsMultiEndPoint - Sip Notify Change"
am: bc103bdf18

Change-Id: I2dbc17af8694cdb92e189202e0786fc39573b0d1
2018-07-03 16:27:56 -07:00
Tor Norbye
d1b4a496ec [automerger skipped] Merge "Include annotations in metalava stubs" into pi-dev
am: 9654ecebd7  -s ours

Change-Id: I7513067846f13da2189a46f270a3a4ca0dbe0504
2018-07-03 16:25:22 -07:00
zhouwenjie
8a871d818b Update mMinLearnedBatteryCapacity when necessary.
Currently mMinLearnedBatteryCapacity is only updated once (when it's
-1). We check the minimum of mMinLearnedBatteryCapacity and the new
chargeFullUah reading but never update mMinLearnedBatteryCapacity to the
new value.

Bug: 111132682
Test: manual
Change-Id: I1680e7a4bdf9176feb2a2dcc9f2c10c829202bda
2018-07-03 16:17:02 -07:00
Tor Norbye
9654ecebd7 Merge "Include annotations in metalava stubs" into pi-dev 2018-07-03 23:11:25 +00:00
Lucas Dupin
def4369f79 Reset field translation
Field could end up outside of the screen because translation would
be increased if animateText() were called multiple times in short
intervals.

Test: plug and unplug battery
Change-Id: I93510ffc9df5ed90709fc826499ad3a361f47eab
Fixes: 111006685
2018-07-03 22:55:00 +00:00
Lucas Dupin
af09f19e1f Merge "Clearer charging text" 2018-07-03 22:46:12 +00:00
TreeHugger Robot
e89e466e91 Merge "Tracks exception count by class name." 2018-07-03 22:41:47 +00:00
Tyler Gunn
bc103bdf18 Merge "ImsMultiEndPoint - Sip Notify Change" 2018-07-03 22:15:21 +00:00
TreeHugger Robot
191f146b2d Merge "Fix wrong duration format in logging" 2018-07-03 22:12:38 +00:00
Winson Chung
2426b52393 Merge "Skip animation start logic if canceled" 2018-07-03 21:50:34 +00:00
Sumit Das
c9373d843e ImsMultiEndPoint - Sip Notify Change
-Added log message, getter method and set/read from parcel

Change-Id: I832bd2cf51382bb0919ab0ea1b5c7fcba8b2b136
2018-07-03 21:41:03 +00:00
Olivier Gaillard
f82d2e7369 Tracks exception count by class name.
The goal is to figure out if it would be worth monitoring these
exceptions. If exception types are only caller issues like
SecurityException and IllegalArgumentException, it is probably not worth
it. If we can find NPE or internal exceptions it would be worth
uploading the exceptions through dropbox.

Test: unit test

Change-Id: I779d43a0e6ca1a33535b90809491675420a51726
2018-07-03 22:22:42 +01:00
TreeHugger Robot
565aa50952 Merge "Initial UsageStatsDatabase Perf tests" 2018-07-03 21:15:15 +00:00
Suprabh Shukla
673d34b7c3 Fix wrong duration format in logging
Test: Just a logging change. Builds, boots.

Bug: 78560047
Change-Id: I159a54ef71ef08a699c3da244d51c10009df4d6f
2018-07-03 21:03:47 +00:00
Lei Yu
a6b1d73093 [automerger skipped] Merge "Add active admin app to power white list." into pi-dev am: a14e1b3950
am: 1e6fc486e3  -s ours

Change-Id: Ic3a6fb846ae7fb496a6dc246d72749f29d6cf5de
2018-07-03 13:54:02 -07:00
Wale Ogunwale
20a65c4e7b Merge "Break direct calls to UserController object in AMS from activity classes (12/n)" 2018-07-03 20:50:18 +00:00
Lei Yu
1e6fc486e3 Merge "Add active admin app to power white list." into pi-dev
am: a14e1b3950

Change-Id: I06229f8ee9fb72d579773c566f93ba447d18f4e5
2018-07-03 13:41:34 -07:00
TreeHugger Robot
080faba4f4 Merge "Stop restoring spell checker settings" 2018-07-03 20:34:32 +00:00
Neil Fuller
bfef432a69 Merge "Make Half class use public APIs" am: 7e957e57b7 am: 04c66489bc
am: 8b14d33acb

Change-Id: I6eb87843c251f726de2feb6827c54c8f7b75f1fe
2018-07-03 13:27:01 -07:00
TreeHugger Robot
a14e1b3950 Merge "Add active admin app to power white list." into pi-dev 2018-07-03 20:24:58 +00:00
Neil Fuller
8b14d33acb Merge "Make Half class use public APIs" am: 7e957e57b7
am: 04c66489bc

Change-Id: I35fa0a22465885a47612601d541afb366b5953ec
2018-07-03 13:17:31 -07:00
Wale Ogunwale
16b6a2c772 Merge "Reduce object allocation in AMS.computeOomAdjLocked()" 2018-07-03 20:13:13 +00:00
Neil Fuller
04c66489bc Merge "Make Half class use public APIs"
am: 7e957e57b7

Change-Id: I7f41f07ed5d35a0c538c90b49b4500ba9952f74d
2018-07-03 13:08:26 -07:00
TreeHugger Robot
06ab2bb9ee Merge "Fix path rendering issues" 2018-07-03 20:04:16 +00:00
TreeHugger Robot
6cfbbf57ba Merge "Fix how we get provider pkgs" 2018-07-03 19:55:21 +00:00
Stan Iliev
5d03348436 Fix path rendering issues
Fix remaining battery icon. Disable CCPR, which seems to
have caused a regression.


Test: Ran SystemUI and battery icon is drawn white.
Bug: skbug.com/8127
Change-Id: Ic82bce14b760a8889ea2261c44b2631dc755288f
2018-07-03 19:50:06 +00:00
Lucas Dupin
1a921a5f27 Merge "Cross fade wake-up from pulsing" into pi-dev am: 42e713d7a3
am: 6af28886e3

Change-Id: I5d0f8cff0718fa2537ba7c4199347b3f0275952f
2018-07-03 12:37:53 -07:00
Jean-Michel Trivi
1a4b34b37c Merge "AudioService: history of A2DP commands" into pi-dev am: cd64600ba8
am: 0ff52617be

Change-Id: I69915fa0e27d9d16c22eaf53d17aa9f9f0a1eb14
2018-07-03 12:27:01 -07:00
TreeHugger Robot
78f4ba282a Merge "Be more strict about triggering notification lights" 2018-07-03 19:21:57 +00:00
Lucas Dupin
6af28886e3 Merge "Cross fade wake-up from pulsing" into pi-dev
am: 42e713d7a3

Change-Id: Ieb0607ff1abf36ca56565b49aeb2f565a115bc55
2018-07-03 12:20:31 -07:00
Minchan Kim
babbdbffe3 Merge "Add system_server to system group only if per_app_memcg is true" into pi-dev am: fb11e4c9b1
am: 6614a08683

Change-Id: Ie46e76f215dcb22b3d1eb4c0e9d19e8e49d4b715
2018-07-03 12:17:00 -07:00
Jean-Michel Trivi
0ff52617be Merge "AudioService: history of A2DP commands" into pi-dev
am: cd64600ba8

Change-Id: Ibc294825a942fd0f4b5fbe6c09eafac43ed2cccc
2018-07-03 12:11:10 -07:00
Eran Messeri
84c8b0fe47 Merge "Correctly preserve key generation parameters" into pi-dev am: 6f7cfb0627
am: e323fcbe98

Change-Id: I8cdbb82cd6fee604775764519dc8bf835a9c3738
2018-07-03 12:07:59 -07:00
Minchan Kim
6614a08683 Merge "Add system_server to system group only if per_app_memcg is true" into pi-dev
am: fb11e4c9b1

Change-Id: Icc9d0bb40515a87ddb0c8c0b28d0715a3f6bb0fe
2018-07-03 12:05:38 -07:00
Eran Messeri
e323fcbe98 Merge "Correctly preserve key generation parameters" into pi-dev
am: 6f7cfb0627

Change-Id: Id7fb68a441e873f7ae844bfc87f7f60798ecd57c
2018-07-03 11:59:13 -07:00