OSDN Git Service

android-x86/frameworks-base.git
7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 16 Aug 2017 03:28:42 +0000 (20:28 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: Ic2da52e2fda70928028a1ac1eaa2076fe859078b

7 years agoMerge "Calls CancellationSignal when onFillRequest() times out." into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 22:23:57 +0000 (22:23 +0000)]
Merge "Calls CancellationSignal when onFillRequest() times out." into oc-mr1-dev

7 years agoMerge "Fix broken test" into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 22:04:58 +0000 (22:04 +0000)]
Merge "Fix broken test" into oc-mr1-dev

7 years agoMerge "Additional documentation about Autofill / WebView security." into oc-dev am...
Felipe Leme [Tue, 15 Aug 2017 21:48:32 +0000 (21:48 +0000)]
Merge "Additional documentation about Autofill / WebView security." into oc-dev am: 36cbdef880
am: a3c2cee055

Change-Id: Ie107dd462a47009a34ee3768183dfda2e36107c3

7 years ago[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0...
Charles He [Tue, 15 Aug 2017 21:35:05 +0000 (21:35 +0000)]
[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0 am: 1cd9e8096f am: 6dfc8d8d4d am: a3c1de7e49 am: 4acf4fabf4 am: 40317127f4 am: 159cd14334 am: 24587d57cf am: 0fa9328b80
am: b0fa5855dc

Change-Id: Iaadf2350cd86ffc598e666e0d9dc735e5a7889f0

7 years agoMerge "Additional documentation about Autofill / WebView security." into oc-dev
Felipe Leme [Tue, 15 Aug 2017 21:33:01 +0000 (21:33 +0000)]
Merge "Additional documentation about Autofill / WebView security." into oc-dev
am: 36cbdef880

Change-Id: Ie198dbbdc7ab4ea1089c7363f1b1d2df333c1d8f

7 years ago[automerger] Enforce policy for camera gesture in keyguard am: 65f02e8ba7 am: 6acee63...
Tony Mak [Tue, 15 Aug 2017 21:29:48 +0000 (21:29 +0000)]
[automerger] Enforce policy for camera gesture in keyguard am: 65f02e8ba7 am: 6acee639af am: 569af6584a am: 30d3df57dc am: 79ada733cc am: 2eb85eca12 am: f3589fded1  -s ours am: facc5e40fc am: 0e1976292d  -s ours
am: 0958d0339f  -s ours

Change-Id: I78851573da087d5aac5ea2e64641972d7a319a9b

7 years agoMerge "Optionally append managed service approvals" into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 21:22:21 +0000 (21:22 +0000)]
Merge "Optionally append managed service approvals" into oc-mr1-dev

7 years ago[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0...
Charles He [Tue, 15 Aug 2017 21:16:36 +0000 (21:16 +0000)]
[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0 am: 1cd9e8096f am: 6dfc8d8d4d am: a3c1de7e49 am: 4acf4fabf4 am: 40317127f4 am: 159cd14334 am: 24587d57cf
am: 0fa9328b80

Change-Id: I4fc74296d3da5fef830e9ffe0eedc74bb4fb047b

7 years agoMerge "Additional documentation about Autofill / WebView security." into oc-dev
TreeHugger Robot [Tue, 15 Aug 2017 21:12:32 +0000 (21:12 +0000)]
Merge "Additional documentation about Autofill / WebView security." into oc-dev

7 years ago[automerger] Enforce policy for camera gesture in keyguard am: 65f02e8ba7 am: 6acee63...
Tony Mak [Tue, 15 Aug 2017 21:10:41 +0000 (21:10 +0000)]
[automerger] Enforce policy for camera gesture in keyguard am: 65f02e8ba7 am: 6acee639af am: 569af6584a am: 30d3df57dc am: 79ada733cc am: 2eb85eca12 am: f3589fded1  -s ours am: facc5e40fc
am: 0e1976292d  -s ours

Change-Id: Ia0fb6afc42cb6bf1fb730ca7cee2f08c157890bb

7 years agoMerge "Remove ButtonInterface.setCarMode()" into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 21:08:17 +0000 (21:08 +0000)]
Merge "Remove ButtonInterface.setCarMode()" into oc-mr1-dev

7 years agoMerge "Persist docked state so it doesn't get lost in re-inflates" into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 20:48:09 +0000 (20:48 +0000)]
Merge "Persist docked state so it doesn't get lost in re-inflates" into oc-mr1-dev

7 years ago[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0...
Android Build Merger (Role) [Tue, 15 Aug 2017 20:47:03 +0000 (20:47 +0000)]
[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0 am: 1cd9e8096f am: 6dfc8d8d4d am: a3c1de7e49 am: 4acf4fabf4 am: 40317127f4 am: 159cd14334 am: 24587d57cf

Change-Id: If5cad5c0f361acda25df4d90de06821d16e689c0

7 years ago[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0...
Charles He [Tue, 15 Aug 2017 20:42:11 +0000 (20:42 +0000)]
[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0 am: 1cd9e8096f am: 6dfc8d8d4d am: a3c1de7e49 am: 4acf4fabf4 am: 40317127f4
am: 159cd14334

Change-Id: Iaed779900e094a5951e24771ed1f1f55b0c1b014

7 years ago[automerger] Enforce policy for camera gesture in keyguard am: 65f02e8ba7 am: 6acee63...
Android Build Merger (Role) [Tue, 15 Aug 2017 20:35:00 +0000 (20:35 +0000)]
[automerger] Enforce policy for camera gesture in keyguard am: 65f02e8ba7 am: 6acee639af am: 569af6584a am: 30d3df57dc am: 79ada733cc am: 2eb85eca12 am: f3589fded1  -s ours am: facc5e40fc

Change-Id: I4531fab8eab2291fcfd790d04a2661307f40dc60

7 years ago[automerger] Enforce policy for camera gesture in keyguard am: 65f02e8ba7 am: 6acee63...
Tony Mak [Tue, 15 Aug 2017 20:29:29 +0000 (20:29 +0000)]
[automerger] Enforce policy for camera gesture in keyguard am: 65f02e8ba7 am: 6acee639af am: 569af6584a am: 30d3df57dc am: 79ada733cc am: 2eb85eca12
am: f3589fded1  -s ours

Change-Id: I3b60e5cb94895fc155ba11d27ed81640eb8a2a05

7 years agoMerge "Adjust font texture cache based on device density." into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 20:28:51 +0000 (20:28 +0000)]
Merge "Adjust font texture cache based on device density." into oc-mr1-dev

7 years agoMerge "Improved WallpaperService.Engine tests" into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 20:24:27 +0000 (20:24 +0000)]
Merge "Improved WallpaperService.Engine tests" into oc-mr1-dev

7 years agoMerge "Workaround the IME dismissing when dragging PiP." into oc-mr1-dev
Winson Chung [Tue, 15 Aug 2017 19:49:10 +0000 (19:49 +0000)]
Merge "Workaround the IME dismissing when dragging PiP." into oc-mr1-dev

7 years agoMerge "Only auth via FP when device is locked, when Assistant is on top" into oc...
TreeHugger Robot [Tue, 15 Aug 2017 19:15:43 +0000 (19:15 +0000)]
Merge "Only auth via FP when device is locked, when Assistant is on top" into oc-mr1-dev

7 years agoOptionally append managed service approvals
Julia Reynolds [Mon, 14 Aug 2017 17:22:23 +0000 (13:22 -0400)]
Optionally append managed service approvals

If the backup comes from a pre O device, don't wipe
preexisting managed service grants (which were introduced
in O).

Test: runtest systemui-notification
Change-Id: Ie569972dc0d076718a3a9c59e1ebd942c5bfa987
Fixes: 64232609

7 years agoRemove ButtonInterface.setCarMode()
Annie Chin [Tue, 15 Aug 2017 17:07:27 +0000 (10:07 -0700)]
Remove ButtonInterface.setCarMode()

Bug: 63444779
Test: Android Auto still functions
Change-Id: If27641aedcd05ebc834c9dc0b38d18cd20ddae03

7 years agoFix broken test
Lucas Dupin [Tue, 15 Aug 2017 18:05:04 +0000 (11:05 -0700)]
Fix broken test

Change-Id: Iee80b8ec552f960dac08bfa062c128337eb22eff
Fixes: 64715967
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/colorextraction/SysuiColorExtractorTests.java

7 years ago[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0...
Charles He [Tue, 15 Aug 2017 17:54:35 +0000 (17:54 +0000)]
[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0 am: 1cd9e8096f am: 6dfc8d8d4d am: a3c1de7e49 am: 4acf4fabf4 am: 40317127f4

Change-Id: I6bb7e6146e9a5a1a7c4721c496b1088fb3209f00

7 years ago[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0...
Charles He [Tue, 15 Aug 2017 17:54:05 +0000 (17:54 +0000)]
[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0 am: 1cd9e8096f am: 6dfc8d8d4d am: a3c1de7e49 am: 4acf4fabf4

Change-Id: Iea8871d4f1a491e4571e2152afbf8855bf451478

7 years ago[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0...
Charles He [Tue, 15 Aug 2017 17:53:35 +0000 (17:53 +0000)]
[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0 am: 1cd9e8096f am: 6dfc8d8d4d am: a3c1de7e49

Change-Id: Idcc4beaf75e1aba8609aa18ad1850e0796a17741

7 years agoAdjust font texture cache based on device density.
Seigo Nonaka [Mon, 14 Aug 2017 21:22:56 +0000 (14:22 -0700)]
Adjust font texture cache based on device density.

The main purpose of this CL is reducing font cache size of
low-density device.

The memory usage for the small RGBA texture will be
Nexus 6P: 7,928,856 bytes (1408x1408)
Nexus 5X: 4,734,976 bytes (1088x1088)
These used to be 4,194,304 bytes

Test: manually checked
Bug: 64400885
Change-Id: Ied064a6d59909ad7fbeff74332973206436fbd34

7 years ago[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0...
Charles He [Tue, 15 Aug 2017 17:52:57 +0000 (17:52 +0000)]
[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0 am: 1cd9e8096f am: 6dfc8d8d4d

Change-Id: Ia5ad4b5d36d92caa26fa69951180320848c372e7

7 years ago[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0...
Charles He [Tue, 15 Aug 2017 17:52:27 +0000 (17:52 +0000)]
[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0 am: 1cd9e8096f

Change-Id: I2fce56d688cc0a4111668c695c9cf9b1c930faf8

7 years ago[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0
Charles He [Tue, 15 Aug 2017 17:51:58 +0000 (17:51 +0000)]
[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0

Change-Id: Ia0d267bb2013d7ddfe26dddfa35f3f396cca7f20

7 years ago[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c
Charles He [Tue, 15 Aug 2017 17:51:28 +0000 (17:51 +0000)]
[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c

Change-Id: Ic72c354aaec594f02567949e294be2c10da47853

7 years agoMerge "Manuall set accessibility order of zen radio grouping" into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 17:50:49 +0000 (17:50 +0000)]
Merge "Manuall set accessibility order of zen radio grouping" into oc-mr1-dev

7 years agoMerge "Update Qualcomm(R) aptX(TM) strings" into oc-dr1-dev
Justin Klaassen [Tue, 15 Aug 2017 17:31:17 +0000 (17:31 +0000)]
Merge "Update Qualcomm(R) aptX(TM) strings" into oc-dr1-dev
am: 8d7cd4bcaa

Change-Id: Idfc54941a233d2b37cc4585d0064b8d86a74d465

7 years agoMerge "Dismiss Autofill Save UI when a new Activity is launched." into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 17:22:18 +0000 (17:22 +0000)]
Merge "Dismiss Autofill Save UI when a new Activity is launched." into oc-mr1-dev

7 years agoMerge "Update Qualcomm(R) aptX(TM) strings" into oc-dr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 17:19:48 +0000 (17:19 +0000)]
Merge "Update Qualcomm(R) aptX(TM) strings" into oc-dr1-dev

7 years agoImproved WallpaperService.Engine tests
Lucas Dupin [Mon, 14 Aug 2017 17:58:40 +0000 (10:58 -0700)]
Improved WallpaperService.Engine tests

Using final variables when possible, also testing if
overlaping invalidation requests will be posted to
the handler.

Bug: 63585249
Test: runtest -x services/tests/servicestests/src/com/android/server/wallpaper/WallpaperServiceTests.java
Change-Id: I01cdbdfd5313e55d7a58c77f705aea0f6f817518

7 years agoMerge "Merge "Place black background only behind nav bar when letterboxed" into oc...
Android Build Merger (Role) [Tue, 15 Aug 2017 16:48:26 +0000 (16:48 +0000)]
Merge "Merge "Place black background only behind nav bar when letterboxed" into oc-dr1-dev am: 3289a5a1e0" into oc-mr1-dev

7 years agoMerge "Place black background only behind nav bar when letterboxed" into oc-dr1-dev
Andrii Kulian [Tue, 15 Aug 2017 16:44:25 +0000 (16:44 +0000)]
Merge "Place black background only behind nav bar when letterboxed" into oc-dr1-dev
am: 3289a5a1e0

Change-Id: Id4069e1c1126d9658a18a448a4bd7566af938cbb

7 years agoMerge "Fix race condition crash" into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 16:43:24 +0000 (16:43 +0000)]
Merge "Fix race condition crash" into oc-mr1-dev

7 years agoMerge "Place black background only behind nav bar when letterboxed" into oc-dr1-dev
Andrii Kulian [Tue, 15 Aug 2017 16:26:04 +0000 (16:26 +0000)]
Merge "Place black background only behind nav bar when letterboxed" into oc-dr1-dev

7 years agoMerge "Add fallback to reset the waiting for transition state." into oc-dr1-dev
Winson Chung [Tue, 15 Aug 2017 16:12:42 +0000 (16:12 +0000)]
Merge "Add fallback to reset the waiting for transition state." into oc-dr1-dev
am: 684b056531

Change-Id: I77816bf56dedac6127301dc7ffd1f1de3e91031d

7 years agoMerge "Add fallback to reset the waiting for transition state." into oc-dr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 16:03:28 +0000 (16:03 +0000)]
Merge "Add fallback to reset the waiting for transition state." into oc-dr1-dev

7 years agoMerge "Change SystemApi as per API council feedback" into oc-mr1-dev
Neil Fuller [Tue, 15 Aug 2017 15:57:33 +0000 (15:57 +0000)]
Merge "Change SystemApi as per API council feedback" into oc-mr1-dev

7 years agoPersist docked state so it doesn't get lost in re-inflates
Jason Monk [Tue, 15 Aug 2017 15:34:33 +0000 (11:34 -0400)]
Persist docked state so it doesn't get lost in re-inflates

Test: manual
Change-Id: If335f1cf52c7bce270ac746e6b0ed3a6e2b18b1b
Fixes: 64487667

7 years agoManuall set accessibility order of zen radio grouping
Jason Monk [Tue, 15 Aug 2017 15:00:32 +0000 (11:00 -0400)]
Manuall set accessibility order of zen radio grouping

Test: manual
Change-Id: Icf461b0400d5ee90a537c2b52c123e76b3274bbf
Fixes: 62626544

7 years agoFix race condition crash
Jason Monk [Tue, 15 Aug 2017 13:32:27 +0000 (09:32 -0400)]
Fix race condition crash

1 line fix
Lots of lines for test

Test: runtest systemui
Change-Id: I90b006b5d9c02025ecc600c2f10014a96cbf33f8
Fixes: 62573587

7 years agoMerge "Revert "Default-disable tethering offload"" into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 08:48:02 +0000 (08:48 +0000)]
Merge "Revert "Default-disable tethering offload"" into oc-mr1-dev

7 years agoMerge changes Ifbd1e8d9,I1e017b6f into oc-mr1-dev
Lorenzo Colitti [Tue, 15 Aug 2017 06:47:24 +0000 (06:47 +0000)]
Merge changes Ifbd1e8d9,I1e017b6f into oc-mr1-dev

* changes:
  Pass data usage limits to tethering offload code.
  Don't time out when fetching tether offload stats.

7 years agoMerge "media: handle AVC constrained profiles" into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 05:55:08 +0000 (05:55 +0000)]
Merge "media: handle AVC constrained profiles" into oc-mr1-dev

7 years agoRevert "Default-disable tethering offload"
Erik Kline [Mon, 14 Aug 2017 07:12:16 +0000 (07:12 +0000)]
Revert "Default-disable tethering offload"

This reverts commit d09189112fcdcbbfd275d97e4e61fdbbffb0985e.

Bug: 29337859
Bug: 63250751
Test: builds, boots
Test: "dumpsys connectivity tethering" shows offload enabled
Test: wifi tethering continues to work
Change-Id: Ie3ef33f39ea20308ca50500139af3924c8831364

7 years agoPass data usage limits to tethering offload code.
Lorenzo Colitti [Fri, 11 Aug 2017 04:47:49 +0000 (13:47 +0900)]
Pass data usage limits to tethering offload code.

(cherry picked from commit 50b60fc34dcf879007b5ab6e9b67f806e5a57215)

Bug: 29337859
Bug: 32163131
Test: builds
Test: OffloadControllerTest passes
Change-Id: Ifbd1e8d9057aa12b956e3b4501c32aa6bcf420bd

7 years agoDon't time out when fetching tether offload stats.
Lorenzo Colitti [Mon, 14 Aug 2017 04:07:42 +0000 (13:07 +0900)]
Don't time out when fetching tether offload stats.

Currently, fetching tethering offload stats has a 1000ms timeout,
after which we return stats of zero. However, returning zero is
invalid and will cause various parts of the network stats
accounting code to complain that statistics are moving backwards,
causing at least a log.wtf, and possibly a crash.

This CL removes the timeout entirely.

An alternative would have been to keep the timeout and return
null if the stats fetch failed. However, this complicates the
code, and if the HAL is persistently slow, could cause no stats
to be counted, ever. Given the impact of such behaviour on users'
data plans it is likely better to block until the stats are
collected.

(cherry picked from commit fef69a126793c83aa0d99a8c597037c3a29929c0)

Bug: 29337859
Bug: 32163131
Test: builds
Test: OffloadControllerTest passes
Change-Id: I1e017b6fef2d8a02a7edbf35bed3e4402f447ab9

7 years agoUpdate Qualcomm(R) aptX(TM) strings
Justin Klaassen [Tue, 15 Aug 2017 03:01:36 +0000 (20:01 -0700)]
Update Qualcomm(R) aptX(TM) strings

Bug: 63899732
Test: Verified strings in Settings > System > Developer Options.
Change-Id: I21d764b0c11ff1cc934d379b2062ecc5a697624c

7 years agoFix Android O: AccountManager API not working in managed profile.
sunjian [Tue, 15 Aug 2017 01:23:09 +0000 (01:23 +0000)]
Fix Android O: AccountManager API not working in managed profile.
am: 9ae597b6f2

Change-Id: I4c346731e3b85cce5dd6b6c13b1312c420a60b34

7 years agoDismiss Autofill Save UI when a new Activity is launched.
Felipe Leme [Tue, 15 Aug 2017 00:53:17 +0000 (17:53 -0700)]
Dismiss Autofill Save UI when a new Activity is launched.

Test: manual verification using Settings
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -tandroid.autofillservice.cts.SimpleSaveActivityTest#testDismissSave_byLaunchingNewActivity
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -tandroid.autofillservice.cts.LoginActivityTest#testSaveGoesAwayWhenLaunchingNewActivity
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Fixes: 64693551

Change-Id: I323031c7285a4b49f9f0ca06618425a0ab7833da

7 years agoAdd fallback to reset the waiting for transition state.
Winson Chung [Mon, 14 Aug 2017 23:44:20 +0000 (16:44 -0700)]
Add fallback to reset the waiting for transition state.

- When launching into recents directly in another orientation, it
  appears that the animation start callback is not made, which then
  causes the transition-waiting state to persist until Overview is
  next hidden. As a fallback, if we get onEnterAnimationComplete()
  on the activity, then the animation has started and completed, so
  we can reset the state.

Bug: 64694148
Test: Launch fixed-portrait app, hold device in landscape and then hit
      recents button, ensure that recents button still works after.

Change-Id: Ibac8554c1f71324838fef1f04db2d88b16ffe219

7 years agoMerge "Fix CustomDescription so it allows multiple transformations per view id."...
TreeHugger Robot [Mon, 14 Aug 2017 23:30:00 +0000 (23:30 +0000)]
Merge "Fix CustomDescription so it allows multiple transformations per view id." into oc-mr1-dev

7 years agoMerge "Don't modify cached permission info" into oc-mr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 23:24:46 +0000 (23:24 +0000)]
Merge "Don't modify cached permission info" into oc-mr1-dev

7 years agoMerge "Change protection level from ephemeral to instant" into oc-mr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 23:18:45 +0000 (23:18 +0000)]
Merge "Change protection level from ephemeral to instant" into oc-mr1-dev

7 years agoFix Android O: AccountManager API not working in managed profile.
sunjian [Mon, 14 Aug 2017 22:45:04 +0000 (15:45 -0700)]
Fix Android O: AccountManager API not working in managed profile.

Bug: 64577509
Test: NONE
Change-Id: I25650b2002d392ef9b7f4f4732106b22bc0eaae2

7 years agoMerge "Hide internal value" into oc-mr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 22:52:25 +0000 (22:52 +0000)]
Merge "Hide internal value" into oc-mr1-dev

7 years agoPlace black background only behind nav bar when letterboxed
Andrii Kulian [Mon, 14 Aug 2017 22:30:48 +0000 (15:30 -0700)]
Place black background only behind nav bar when letterboxed

Placing black background behind the entire app window causes
alpha animation issues, that can be visible as black flash to
user.
This CL sizes and positions the background only behind the
navigation bar area.

Bug: 64598822
Test: Open letterboxed app, go to/from Recents, observe animations.
Change-Id: I16a2243117f87ca513d5ef291b7c1d3779467f3b

7 years agoMerge "Merge "Fix logic for Intent.ACTION_HEADSET_PLUG for USB headsets" into oc...
Android Build Merger (Role) [Mon, 14 Aug 2017 22:29:24 +0000 (22:29 +0000)]
Merge "Merge "Fix logic for Intent.ACTION_HEADSET_PLUG for USB headsets" into oc-dr1-dev am: 21f3489653" into oc-mr1-dev

7 years agoMerge "Write currentDuration into Parcel" into oc-mr1-dev
Lei Yu [Mon, 14 Aug 2017 22:28:26 +0000 (22:28 +0000)]
Merge "Write currentDuration into Parcel" into oc-mr1-dev

7 years agoMerge "Fix logic for Intent.ACTION_HEADSET_PLUG for USB headsets" into oc-dr1-dev
Jean-Michel Trivi [Mon, 14 Aug 2017 22:25:43 +0000 (22:25 +0000)]
Merge "Fix logic for Intent.ACTION_HEADSET_PLUG for USB headsets" into oc-dr1-dev
am: 21f3489653

Change-Id: I3352c141d9fe8b940e9d222c043a39376244b1cb

7 years agomedia: handle AVC constrained profiles
Lajos Molnar [Mon, 14 Aug 2017 22:11:58 +0000 (15:11 -0700)]
media: handle AVC constrained profiles

Bug: 64691727
Change-Id: I71b21c0951babccc9b4521bd5c26d35a6d62b426

7 years agoMerge "Fix logic for Intent.ACTION_HEADSET_PLUG for USB headsets" into oc-dr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 22:13:32 +0000 (22:13 +0000)]
Merge "Fix logic for Intent.ACTION_HEADSET_PLUG for USB headsets" into oc-dr1-dev

7 years agoMerge "Always invoke callback" into oc-mr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 21:51:42 +0000 (21:51 +0000)]
Merge "Always invoke callback" into oc-mr1-dev

7 years agoMerge "Remove using package name" into oc-mr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 21:51:08 +0000 (21:51 +0000)]
Merge "Remove using package name" into oc-mr1-dev

7 years agoMerge "WebView: switch to OMR1 FactoryProvider" into oc-mr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 21:17:46 +0000 (21:17 +0000)]
Merge "WebView: switch to OMR1 FactoryProvider" into oc-mr1-dev

7 years agoMerge "Log timings for shutdown stages" into oc-mr1-dev
Fyodor Kupolov [Mon, 14 Aug 2017 20:55:13 +0000 (20:55 +0000)]
Merge "Log timings for shutdown stages" into oc-mr1-dev

7 years agoMerge "Make SQLiteDirectCursorDriver @TestApi" into oc-mr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 20:52:26 +0000 (20:52 +0000)]
Merge "Make SQLiteDirectCursorDriver @TestApi" into oc-mr1-dev

7 years agoDon't modify cached permission info
Svetoslav Ganov [Tue, 8 Aug 2017 22:28:24 +0000 (15:28 -0700)]
Don't modify cached permission info

Test: manual

bug:64454312

Change-Id: Ie2f61da8a145e71164205ec7c26c20d9d512447d

7 years agoMerge "Ensure CallId is not null when connection creation is complete." into oc-mr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 18:49:14 +0000 (18:49 +0000)]
Merge "Ensure CallId is not null when connection creation is complete." into oc-mr1-dev

7 years agoWebView: switch to OMR1 FactoryProvider
Nate Fischer [Wed, 9 Aug 2017 06:22:47 +0000 (23:22 -0700)]
WebView: switch to OMR1 FactoryProvider

We now fetch the *ForOMR1 class instead of *ForO, which enables
OMR1-specific code in the WebView APK.

Bug: 63687088
Test: N/A
Change-Id: Ia36a00cd26aff8b87d7aeae859c72cb2fb364d2c

7 years agoLog timings for shutdown stages
Fyodor Kupolov [Fri, 11 Aug 2017 00:00:43 +0000 (17:00 -0700)]
Log timings for shutdown stages

Renamed BootTimingsTraceLog to TimingsTraceLog. It is now used for
 boot and shutdown logging.

Added measurements for main stages of shutdown in the system server:
ShutdownTiming: SendShutdownBroadcast took to complete: 734ms
ShutdownTiming: ShutdownActivityManager took to complete: 203ms
ShutdownTiming: ShutdownPackageManager took to complete: 17ms
ShutdownTiming: ShutdownBt took to complete: 533ms
ShutdownTiming: ShutdownRadio took to complete: 534ms
ShutdownTiming: ShutdownNfc took to complete: 1536ms
ShutdownTiming: ShutdownRadios took to complete: 1538ms
ShutdownTiming: ShutdownStorageManager took to complete: 906ms
ShutdownTiming: SystemServerShutdown took to complete: 3918ms

Bug: 64569080
Test: shutdown/reboot and check logs
Change-Id: I636c045852cd1ed6be1c58af6608f70e95756389

7 years agoMerge "Always show global actions on the right" into oc-mr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 18:04:10 +0000 (18:04 +0000)]
Merge "Always show global actions on the right" into oc-mr1-dev

7 years agoMerge "Switch battery saver to sentence case" into oc-mr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 17:42:09 +0000 (17:42 +0000)]
Merge "Switch battery saver to sentence case" into oc-mr1-dev

7 years agoMerge "Make sure network tests pass with airplane mode on" into oc-mr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 17:34:54 +0000 (17:34 +0000)]
Merge "Make sure network tests pass with airplane mode on" into oc-mr1-dev

7 years agoMerge "Use first letter of user for icons." into oc-mr1-dev
Bryan Eyler [Mon, 14 Aug 2017 17:30:44 +0000 (17:30 +0000)]
Merge "Use first letter of user for icons." into oc-mr1-dev

7 years agoMerge "Add frameworks base config and move text blobs there" into oc-mr1-dev
Mathieu Chartier [Mon, 14 Aug 2017 16:53:12 +0000 (16:53 +0000)]
Merge "Add frameworks base config and move text blobs there" into oc-mr1-dev

7 years agoMerge "Add permission checks to getActiveScorerPackage()." into oc-mr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 16:50:50 +0000 (16:50 +0000)]
Merge "Add permission checks to getActiveScorerPackage()." into oc-mr1-dev

7 years agoEnsure CallId is not null when connection creation is complete.
Tyler Gunn [Sat, 17 Jun 2017 03:20:34 +0000 (20:20 -0700)]
Ensure CallId is not null when connection creation is complete.

When calling "get" on the mConnectoinById map, a null callId will result
in an NPE.

In findConnectionForAction, defaulting to returning the "null" connection
which is the same behavior as if it isn't found.
In notifyCreateConnectionComplete, specifically checking if the callId
is null and skipping the onCreateConnectionComplete callback.
This scenario is possible if the connection is remove from the
ConnectionService before the connection complete callback comes back from
Telecom.

Test: Manual
Fixes: 62588734
Change-Id: Ie610c51155ed417e0f916000fe20e4484bdb6603

7 years agoAdditional documentation about Autofill / WebView security.
Felipe Leme [Tue, 1 Aug 2017 01:01:15 +0000 (18:01 -0700)]
Additional documentation about Autofill / WebView security.

Test: ran 'm -j doc-comment-check-docs' and checked resulting HTML

Fixes: 64114048
Fixes: 64337380
Fixes: 64125551

Change-Id: I375bb4712af875251fea4f3e572d92165643409a

7 years agoAlways show global actions on the right
Jason Monk [Mon, 14 Aug 2017 15:15:07 +0000 (11:15 -0400)]
Always show global actions on the right

It should be aligned with the physical power buttons.

Test: visual
Change-Id: Icec9fe00fdce42d0bf347691ab7629c4ca38df78
Fixes: 63846903

7 years agoMake sure network tests pass with airplane mode on
Jason Monk [Mon, 14 Aug 2017 15:04:42 +0000 (11:04 -0400)]
Make sure network tests pass with airplane mode on

Test: runtest systemui
Change-Id: I0cc619d28b6802c0791c5880651ce1f91ea83f35
Fixes: 38023097

7 years agoSwitch battery saver to sentence case
Jason Monk [Mon, 14 Aug 2017 14:50:25 +0000 (10:50 -0400)]
Switch battery saver to sentence case

Test: strings
Change-Id: I01bc6f3621758dc155347946b8a15c885c695b2c
Fixes: 27844148

7 years agoMerge "FRP: Add migration for upgrading from a version without FRP credential" into...
TreeHugger Robot [Mon, 14 Aug 2017 14:43:50 +0000 (14:43 +0000)]
Merge "FRP: Add migration for upgrading from a version without FRP credential" into oc-mr1-dev

7 years agoMerge "Revert "Import translations. DO NOT MERGE"" into oc-mr1-dev
Bill Yi [Mon, 14 Aug 2017 13:36:36 +0000 (13:36 +0000)]
Merge "Revert "Import translations. DO NOT MERGE"" into oc-mr1-dev

7 years agoRevert "Import translations. DO NOT MERGE"
Bill Yi [Mon, 14 Aug 2017 13:35:56 +0000 (13:35 +0000)]
Revert "Import translations. DO NOT MERGE"

This reverts commit 4a4ff70ab2eaadf6ff2673db7a2454d54526d451.

Change-Id: I27cd5204cc25e664b2722815f9efcfa0fde6b48b

7 years agoMerge "Revert "Import translations. DO NOT MERGE"" into oc-mr1-dev
Bill Yi [Mon, 14 Aug 2017 13:31:57 +0000 (13:31 +0000)]
Merge "Revert "Import translations. DO NOT MERGE"" into oc-mr1-dev

7 years agoRevert "Import translations. DO NOT MERGE"
Bill Yi [Mon, 14 Aug 2017 13:30:57 +0000 (13:30 +0000)]
Revert "Import translations. DO NOT MERGE"

This reverts commit 24a1e22eb8d821175c2d636bc0e02509408b2050.

Change-Id: Ib2fd9e19b362357652566487ae8e84a9ef993b4b

7 years agoAdd extra about SDK version that system restore happened from
Michal Karpinski [Fri, 11 Aug 2017 09:45:58 +0000 (10:45 +0100)]
Add extra about SDK version that system restore happened from
to ACTION_SETTING_RESTORED intent

Test: manual (system restore from N-MR1 and O)
Bug: 64232609
Change-Id: I142df7acb11309bc4f5f185e45a1f91f86d0334a

7 years agoUse fullscreen flag to define visibility of the background
Andrii Kulian [Mon, 14 Aug 2017 06:56:10 +0000 (06:56 +0000)]
Use fullscreen flag to define visibility of the background
am: b60e1c037a

Change-Id: I1f8ee7304335585b5005bd3ed2be4f77b28093c7

7 years agoUse fullscreen flag to define visibility of the background
Andrii Kulian [Fri, 11 Aug 2017 23:39:53 +0000 (16:39 -0700)]
Use fullscreen flag to define visibility of the background

Use fullscreen state provided by AM as a more reliable
source of truth to check if activity window hides other
windows behind.

Bug: 64615361
Test: Open Play Newsstand, click on article, go to and from Recents.
Change-Id: Ibc40a4241ed131f74da47c0d22833d2c3994cbe0

7 years agoMerge "Someone is still using these APIs." into oc-mr1-dev
TreeHugger Robot [Sat, 12 Aug 2017 19:51:30 +0000 (19:51 +0000)]
Merge "Someone is still using these APIs." into oc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Sat, 12 Aug 2017 18:55:03 +0000 (18:55 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

7 years agoSomeone is still using these APIs.
Jeff Sharkey [Sat, 12 Aug 2017 05:24:01 +0000 (23:24 -0600)]
Someone is still using these APIs.

Which is totally lame.

Change-Id: Iaabfc1f5ac69ed99e714e89344bde116c340c376

7 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Sat, 12 Aug 2017 18:16:09 +0000 (18:16 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev