Commit Graph

368655 Commits

Author SHA1 Message Date
TreeHugger Robot
5baaf461a6 Merge "Move charging indication vertically on time tick" into pi-dev 2018-07-02 18:39:55 +00:00
Lucas Dupin
8c556d72f1 Move charging indication vertically on time tick
Before, a new translation was only calculated when the device enters
AOD, and then, during time tick, we would only move it 5px wich isn't
enough.
Now, the translation varies 5dps vertically on every time tick.

Fixes: 110888643
Test: take screenshots for N minutes and compare them
Change-Id: Ia3f239d669b83aad0d97d8d7a7f7374f4890777d
Merged-In: Ia3f239d669b83aad0d97d8d7a7f7374f4890777d
2018-07-02 17:43:08 +00:00
SongFerng Wang
d7b5946628 Merge "add three new carrier configs for call forwarding, Caller ID and Call Waiting." into pi-dev 2018-06-30 06:22:12 +00:00
SongFerngWang
060571655e add three new carrier configs for call forwarding, Caller ID and Call Waiting.
The carrier configs control the call forwarding and additional
settings button in the Call Settings menu and caller ID and
call waiting in additional settings menu.

Bug: 110121209
Test: manual - test case as below :
1.flag clir on and flag cw on ,do CLIR show/hide,
    and make call to other device.(PASS)
2.flag clir on and flag cw on ,do CW on/off,and CW function work.(PASS)
3.flag clir off and flag cw on ,no CLIR in additional settings page(PASS)
4.flag clir off and flag cw on ,do CW on/off,and CW function work.(PASS)
5.flag clir on and flag cw off ,do CLIR show/hide ,
    and make call to other device.(PASS)
6.flag clir on and flag cw off ,no CW in additional settings page(PASS)
7.flag clir off and flag cw off,
    no Additional Settings in call feature settings(PASS)
8.flag cf off,no cf in call settings page (PASS)

Change-Id: I29d7a71ad57b3b05ccc6025154f63119b35dab71
2018-06-30 09:14:58 +08:00
Lucas Dupin
704a0d6174 Merge "AOD animation polish" into pi-dev 2018-06-29 18:27:46 +00:00
TreeHugger Robot
fffc308084 Merge "Add new carrier config for CDMA registered PLMN when not roaming." into pi-dev 2018-06-29 17:23:13 +00:00
TreeHugger Robot
f83e814b18 Merge "Fix in Wifi activity updates" into pi-dev 2018-06-28 21:33:24 +00:00
TreeHugger Robot
15c1e47e26 Merge "Force redraw after wallpaper is loaded" into pi-dev 2018-06-28 20:01:36 +00:00
Lucas Dupin
1a38851573 AOD animation polish
Change-Id: I03220e30d52aadc5aab8edddf759debd3302c95d
Fixes: 110227946
Test: visual
2018-06-28 11:09:09 -07:00
TreeHugger Robot
ed60140a93 Merge "Do not create highlight if track width is invalid" into pi-dev 2018-06-28 17:25:37 +00:00
TreeHugger Robot
143c65d520 Merge "Correct the keystore alias used for secure imports" into pi-dev 2018-06-28 05:07:38 +00:00
TreeHugger Robot
bed68535c0 Merge "P is for PAINT." into pi-dev 2018-06-28 03:49:05 +00:00
Atanas Kirilov
387e0bf842 Merge changes from topic "am-32ac52b1-d1ae-4650-b9ae-368d8cd519cb" into oc-dev am: 8b047ec8a2 am: 245cc0559f
am: 0f4152e815

Change-Id: I49e413e32d9db706eaa5a56fc84f9998a47b8a9e
2018-06-27 18:48:55 -07:00
Atanas Kirilov
5fb8ac2010 Merge "Backport Prevent shortcut info package name spoofing" into oc-dev am: c6dbcc137e am: dcc95b94f8
am: ab3235ad5b

Change-Id: I1152d43ce2eec7cd5692d61df725bcd8b455aca3
2018-06-27 18:35:46 -07:00
Atanas Kirilov
d63cfc9261 Merge changes from topic "am-8acf63d1-cfe0-4950-98c3-1d2367987749" into oc-dev am: 000036eb4c am: 00bf4c5b5c
am: 2b8be3932b

Change-Id: I2ad28e6a718946be431fcda0cbb8efa719b46db3
2018-06-27 18:29:36 -07:00
Atanas Kirilov
0f4152e815 Merge changes from topic "am-32ac52b1-d1ae-4650-b9ae-368d8cd519cb" into oc-dev am: 8b047ec8a2
am: 245cc0559f

Change-Id: I904c603cf4838f12067b9548058b85e53a843fd0
2018-06-27 18:27:10 -07:00
Atanas Kirilov
245cc0559f Merge changes from topic "am-32ac52b1-d1ae-4650-b9ae-368d8cd519cb" into oc-dev
am: 8b047ec8a2

Change-Id: I0c6522feec4b1baccf3c2c8ffb0d79bdebedb9b2
2018-06-27 17:57:17 -07:00
Atanas Kirilov
ab3235ad5b Merge "Backport Prevent shortcut info package name spoofing" into oc-dev am: c6dbcc137e
am: dcc95b94f8

Change-Id: I23209ea505140a48177b1b4fe78d36699240653e
2018-06-27 17:37:57 -07:00
Atanas Kirilov
dcc95b94f8 Merge "Backport Prevent shortcut info package name spoofing" into oc-dev
am: c6dbcc137e

Change-Id: Ib3becad73fadba2be82e44bc6fb4afc3c1921a6a
2018-06-27 17:25:10 -07:00
Atanas Kirilov
2b8be3932b Merge changes from topic "am-8acf63d1-cfe0-4950-98c3-1d2367987749" into oc-dev am: 000036eb4c
am: 00bf4c5b5c

Change-Id: I5cfc94bc9781c29a423a95a43d775e6bea6271b7
2018-06-27 17:21:25 -07:00
Atanas Kirilov
1028b26d46 [automerger skipped] Merge "Backporting of b/77821568" into oc-dev am: 9774459633 am: f3f6e2f9ee
am: 1b67b798cf  -s ours

Change-Id: I1f209b583519e73c0912db7583b34324003a5526
2018-06-27 17:09:53 -07:00
Atanas Kirilov
00bf4c5b5c Merge changes from topic "am-8acf63d1-cfe0-4950-98c3-1d2367987749" into oc-dev
am: 000036eb4c

Change-Id: Ic71e3f93036902b2d9452c05e7cdb6e4df2fb0e0
2018-06-27 16:56:45 -07:00
Atanas Kirilov
1b67b798cf Merge "Backporting of b/77821568" into oc-dev am: 9774459633
am: f3f6e2f9ee

Change-Id: I1445ecb89dba24df5e89089fbf0aff308331aea0
2018-06-27 16:56:36 -07:00
Atanas Kirilov
f3f6e2f9ee Merge "Backporting of b/77821568" into oc-dev
am: 9774459633

Change-Id: Ie0d176b94d15be65918b5f67bf9ed7f49f632def
2018-06-27 16:42:36 -07:00
Atanas Kirilov
8b047ec8a2 Merge changes from topic "am-32ac52b1-d1ae-4650-b9ae-368d8cd519cb" into oc-dev
* changes:
  [automerger] RESTRICT AUTOMERGE: Prevent shortcut info package name spoofing am: 2f7d50058a am: 06848a3f8f skipped: c3e741e530
  [automerger] RESTRICT AUTOMERGE: Prevent shortcut info package name spoofing am: 2f7d50058a am: 06848a3f8f
  [automerger] RESTRICT AUTOMERGE: Prevent shortcut info package name spoofing am: 2f7d50058a
  RESTRICT AUTOMERGE: Prevent shortcut info package name spoofing
2018-06-27 23:29:41 +00:00
Atanas Kirilov
c6dbcc137e Merge "Backport Prevent shortcut info package name spoofing" into oc-dev 2018-06-27 23:26:08 +00:00
Atanas Kirilov
000036eb4c Merge changes from topic "am-8acf63d1-cfe0-4950-98c3-1d2367987749" into oc-dev
* changes:
  [automerger] RESTRICT AUTOMERGE: Backporting of b/77821568 am: 4bc1c2445c am: b9c3b099e4 am: 24d402096e am: 0eda2602cd skipped: 430c4395a3
  [automerger] RESTRICT AUTOMERGE: Backporting of b/77821568 am: 4bc1c2445c am: b9c3b099e4 am: 24d402096e am: 0eda2602cd
  [automerger] RESTRICT AUTOMERGE: Backporting of b/77821568 am: 4bc1c2445c am: b9c3b099e4 am: 24d402096e
  [automerger] RESTRICT AUTOMERGE: Backporting of b/77821568 am: 4bc1c2445c am: b9c3b099e4
  [automerger] RESTRICT AUTOMERGE: Backporting of b/77821568 am: 4bc1c2445c
  RESTRICT AUTOMERGE: Backporting of b/77821568
2018-06-27 23:25:42 +00:00
Atanas Kirilov
9774459633 Merge "Backporting of b/77821568" into oc-dev 2018-06-27 23:25:27 +00:00
Dan Sandler
45f17c5bef P is for PAINT.
Bug: 109925861
Test: adb shell am start \
        -a android.intent.action.MAIN \
        -c com.android.internal.category.PLATLOGO
Merged-In: Ic3020007c716be264e9523d6dbae9e13a95fa571
Change-Id: Ic3020007c716be264e9523d6dbae9e13a95fa571
2018-06-27 18:58:59 -04:00
Siddharth Ray
97f62bf61d Fix in Wifi activity updates
When Wifi firmware resets link layer stats, it sometimes returns a value
for On time which is much larger than the duration of the report.
On time = Idle time + Rx time + Tx time.
This change prevents those errors from affecting Wifi power metrics.

BUG:110325882
Test:
adb shell dumpsys batterystats
WiFi Scan time:  12s 302ms
WiFi Idle time:   5m 48s 634ms
WiFi Rx time:     24s 232ms
WiFi Tx time:     10s 510ms

Change-Id: I7b69fc728b275f89154dd0c1d7382576ebfadc29
2018-06-27 15:43:03 -07:00
TreeHugger Robot
9504cd35ec Merge "ImageReader: Set inverse diplay transform if needed" into pi-dev 2018-06-27 19:26:42 +00:00
Dan Sandler
a5c846c3fa Activate dark theme when the UiMode is UI_MODE_NIGHT_YES.
This change also activates night mode when the device enters
battery saver (saving substantial power on OLED screens).

Bug: 80307398
Test: adb shell service call uimode 4 i32 1 # nightfall
      adb shell service call uimode 4 i32 2 # morningtide

Change-Id: I9c08a749d4cd99ab7231363b045949eb2e830dfa
2018-06-27 02:07:34 +00:00
TreeHugger Robot
694b4ae846 Merge "DO NOT MERGE Log notification interruptions to TRON" into pi-dev 2018-06-27 01:09:48 +00:00
TreeHugger Robot
6c90bf605e Merge "Make BT icon more prominent" into pi-dev 2018-06-26 23:24:30 +00:00
Matthew Ng
908111d2d7 Do not create highlight if track width is invalid
Test: change display font size
Change-Id: I29b97dee07d39b1b1efd4871b625a859d7fa2e09
Fixes: 110814530
2018-06-26 16:20:13 -07:00
Hall Liu
21ef4b3acb Merge "Make RttTextStream's read interruptible" into pi-dev 2018-06-26 22:00:17 +00:00
Lucas Dupin
aa21ec053c Merge "Do not animate scrims when launching camera" into pi-dev 2018-06-26 21:48:16 +00:00
Julia Reynolds
fdaa649449 DO NOT MERGE Log notification interruptions to TRON
Test: manual
Bug: 110209821
Change-Id: Ic3521f36127aa0e928d0be5ce9819c78c2bc9bc5
2018-06-26 20:12:21 +00:00
Andrew Sapperstein
70a9f39e6a Merge "Hide system apps until installed (1/2)" into pi-dev 2018-06-26 20:03:38 +00:00
Lucas Dupin
193677c2ed Do not animate scrims when launching camera
There's already a black overlay with a camera icon, it's not necessary
to animate the scrims.

Change-Id: I52472372420eb8ba052a17cdde147d24dafadce0
Fixes: 109767309
Test: double tap power button from lock screen and aod
2018-06-26 12:53:06 -07:00
Laura Davis
116158689c Merge "Docs: fixed variables" into pi-dev 2018-06-26 16:42:43 +00:00
Shawn Willden
fe6d4769a8 Correct the keystore alias used for secure imports
An Android-O timeframe refactor removed all use of keystore "skey"
aliases.  Creating one not only partially reverses that refactor, but
it also results in a key alias which cannot be deleted in some cases,
causing AndroidKeyStoreTest failures during the second run of CTS.

Bug: 80228327
Test: CTS tests ImportWrappedKeyTest and AndroidKeyStoreTest, in that order
Change-Id: I348ba421f29cdf6c65fc98be3a25d19938d559c1
2018-06-26 12:35:03 +00:00
Jorim Jaggi
fd77e69f28 Merge "Defer stop for all activities becoming invisible" into pi-dev 2018-06-26 11:34:03 +00:00
Emilian Peev
da49a5ed33 ImageReader: Set inverse diplay transform if needed
Image transform sometimes could be missing the inverse
display flag. Any buffers that pass through BQs will
have this bit reset and moved in a separate buffer item
field. To restore and pass the original transform forward
check whether the flag got reset and re-enable it
accordingly.

Bug: 110641448
Test: Manual using application,
Camera CTS

Change-Id: Ia849f62333be40038a02768563b2f93e2ccf61ce
2018-06-26 10:17:34 +01:00
Hall Liu
730a25995e Make RttTextStream's read interruptible
Wrap the FileInputStream in a java.nio.Channel so that sending a
Thread.interrupt() to the thread blocked on the read will actually do
something.

Change-Id: Icc11ba69167f448e2b33d9a1a13a1dfa5e5d0d58
Fixes: 110570772
Test: manual (follow repro steps in bug, but type really fast),treehugger
2018-06-25 19:48:33 -07:00
Rhed Jao
c19da78203 Hide system apps until installed (1/2)
Applying this mechanism for system carrier apps to make visibility
reasonable from the user's perspective. In other words, before
hidden system apps have been installed, they wouldn't be listed
via APIs in PackageManager which are used at all apps list and
search in Settings and so on.

Test: atest CarrierAppUtilsTest
Test: atest PackageManagerTest
Test: cts DeviceOwnerTest
Test: gts ManagedProfileProvisioningHostsideTest
Bug: 74068582
Change-Id: I1f23aba589b98351a1871a44a3058b67c416f351
2018-06-26 02:21:10 +00:00
TreeHugger Robot
cea247e135 Merge "Don't apply filter in readback, when there is no scaling" into pi-dev 2018-06-25 23:20:23 +00:00
Santiago Etchebehere
7c71bb2703 Force redraw after wallpaper is loaded
Use mNeedsDrawAfterLoadingWallpaper to determine if redraw
is needed.

Test: manual: set different wallpapers, or use the sample
app in b/110432281

Change-Id: Ibd5639ce59e9b59869f067705b9db25f7de8b201

Fixes: 110432281
Bug: 110432281
Bug: 109972857
2018-06-25 16:02:06 -07:00
Laura Davis
e07aeea926 Merge "docs: fixed broken link" into pi-dev 2018-06-25 21:27:48 +00:00
Jorim Jaggi
5db9ae4001 Defer stop for all activities becoming invisible
If we are deferring a stop until a window is becoming visible,
it's a good idea to also defer stopping all other activities that
are go into stopping state to avoid flickers.

Furthermore we need to fix an issue where activities weren't
cleared from mActivitiesWaitingForVisibleActivity which messed
up the newly introduced logic.

This fixes an issue with quickstep when swiping right and the
previous activity hasn't finished pausing yet when we start the
new activity. In the normal case, prev=Launcher and all is fine,
as we wait with stopping launcher until the animation is done. In
the bad case, prev=the previous activity that was on screen before
swiping, so Launcher doesn't get added to the waiting list, which
means that it will be stopped too early, aborting the animation
because Launcher is also driving it.

Test: ActivityManagerDisplayLockedKeyguardTests
Test: go/wm-smoke
Test: Swipe right from Chrome to any other app, observe no jump
Fixes: 80313326
Bug: 110032866
Change-Id: I39454fe218ac10ef73cc4ca23efc7c9fb3bc87ad
2018-06-25 23:12:18 +02:00