Commit Graph

365240 Commits

Author SHA1 Message Date
TreeHugger Robot
1caec875ab Merge "Import translations. DO NOT MERGE" into pi-dev 2018-04-16 14:22:12 +00:00
TreeHugger Robot
606440f142 Merge "Bouncer visibility fixes" into pi-dev 2018-04-16 11:30:37 +00:00
Lucas Dupin
15a6b6c6c5 Bouncer visibility fixes
Test: go/sysui-bouncer-tests
Change-Id: Iaf6e0ded57eb3b737cfd074bbc750aa6977e36b2
Fixes: 77921840
2018-04-16 18:23:34 +08:00
Bill Yi
44474059bc Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I458b91bd87cd73ec887a9581ed1d4d2527513bd4
2018-04-16 01:19:56 -07:00
TreeHugger Robot
a7579d6325 Merge "Guard the SSID with NETWORK_SETTINGS" into pi-dev 2018-04-16 05:40:17 +00:00
TreeHugger Robot
214b3378e6 Merge "Import translations. DO NOT MERGE" into pi-dev 2018-04-16 04:42:35 +00:00
Chalard Jean
b5120cab6b Guard the SSID with NETWORK_SETTINGS
Bug: 77865258
Test: manual
Change-Id: I01d4ec7366382d42847c823ae6056222a012c504
2018-04-16 13:29:22 +09:00
Bill Yi
614a5b1944 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I5dc789af62825582ca94133ab6721152b2b6871f
2018-04-15 07:16:58 -07:00
TreeHugger Robot
52842feb14 Merge "Respect light nav bar flag set by IME on keyguard" into pi-dev 2018-04-15 02:55:53 +00:00
TreeHugger Robot
6a7190cb97 Merge "Add new category key for ConnectDeviceFrag" into pi-dev 2018-04-14 23:12:48 +00:00
Philip P. Moltmann
aeff32e789 [automerger skipped] Merge "DO NOT MERGE (O) Revoke permision when group changed" into oc-mr1-dev
am: 4cfd9bb78d  -s ours

Change-Id: I2b84b8b8cf53a5a1aef7e5a7169c3c6bd42e3ecc
2018-04-14 15:48:31 -07:00
Milo Sredkov
a5bacea405 Address visual inconsistency in smart replies
Address the major style differences and make the smart reply buttons
fit better with the other notification UI elements.

This CL does not yet address all the isues but removes the most
obvious inconsistencies.

Screenshot before: https://screenshot.googleplex.com/90QVvxJmUJ3.png
Screenshot after: https://screenshot.googleplex.com/2C8cMQgTVBG.png

Bug: 73605520
Test: In Notify post a Messaging notification with Large chices

Change-Id: Ide285c21c7bf83e9f06ade6912fd13cb3e4b9024
2018-04-14 19:39:08 +00:00
TreeHugger Robot
8d1ff46dfc Merge "Don't create recovery snapshot until it contains at least one key." into pi-dev 2018-04-14 16:39:30 +00:00
TreeHugger Robot
4af3d1a4a4 Merge "Add an action to launch scanning settings" into pi-dev 2018-04-14 02:35:28 +00:00
Philip P. Moltmann
4cfd9bb78d Merge "DO NOT MERGE (O) Revoke permision when group changed" into oc-mr1-dev 2018-04-14 01:09:04 +00:00
TreeHugger Robot
7081085d6d Merge "(P) Revoke permision when group changed" into pi-dev 2018-04-14 00:55:22 +00:00
TreeHugger Robot
7091b5a833 Merge "Fix facetbuttons selection It didn't work when apps where in a virtual or secondary dispaly" into pi-dev 2018-04-14 00:45:15 +00:00
TreeHugger Robot
11d203ea0d Merge "Use heif embedded thumbnail if available" into pi-dev 2018-04-14 00:23:37 +00:00
Jeff Sharkey
59abd6aa25 Merge "Benchmarks for streams." into pi-dev 2018-04-14 00:11:30 +00:00
TreeHugger Robot
9eb0a655cc Merge "Return "null" cycles for deprecated callers." into pi-dev 2018-04-14 00:11:15 +00:00
TreeHugger Robot
a6ee4a4970 Merge "Only check bg restriction if an app is idle" into pi-dev 2018-04-14 00:07:51 +00:00
Jeff Sharkey
64bbb2014e Merge "OP_GET_USAGE_STATS should be noted, not checked." into pi-dev 2018-04-13 23:58:44 +00:00
TreeHugger Robot
6b30886afd Merge "Add HFP/HearingAid set/get action device to greylist" into pi-dev 2018-04-13 23:51:24 +00:00
TreeHugger Robot
b80f4acec7 Merge "Correct lookback for while-idle alarm rate limiting" into pi-dev 2018-04-13 23:43:26 +00:00
Lifu Tang
58aa11bd1f Add an action to launch scanning settings
Needs to launch scanning settings from other apps

Bug: 77823544
Test: build and flash
Change-Id: If02b359dcbfee79b34b6b66abb3cf36a2a3412e3
2018-04-13 16:32:08 -07:00
TreeHugger Robot
fcc07b53fa Merge "Don't process broadcasts until really ready." into pi-dev 2018-04-13 23:03:17 +00:00
TreeHugger Robot
fd56770fb6 Merge "Add constant for bluetooth fragment" into pi-dev 2018-04-13 23:00:51 +00:00
Fyodor Kupolov
7926e68819 Only check bg restriction if an app is idle
Test: Manual
Bug: 77237719
Change-Id: I379b1f5f93ac4318929c080fd74fae23daebbe54
2018-04-13 15:46:38 -07:00
Christopher Tate
ddd1da14db Correct lookback for while-idle alarm rate limiting
Lookback for while-idle alarm "last delivered?" bookkeeping was clamping
at zero, but that means "when we rebooted" in the elapsed time base, not
a point in the deep past.  As a result, testing sequences that forced
idle mode would behave unpredictably on devices that were rebooted
recently.

Change the lookback defaulting such that the first "while idle" alarm
that triggers after reboot will always be considered deliverable.

Change-Id: I0a35e046ecf858cd44523a6cece4a6a0779194bc
Fixes: 77981603
Test: atest CtsAlarmManagerTestCases
Test: POC app
2018-04-13 15:29:04 -07:00
Yohei Yukawa
795f0105c6 Respect light nav bar flag set by IME on keyguard
Currently LightBarController takes care of both ScrimBehind alpha and
ScrimInFront text color when finally deciding whether light navigation
bar mode should be enabled or not.

When IME is shown on the keyguard, however, light navigation bar flag
explicitly set by the IME actually needs to be used because
ScrimController does not put anything over the IME layer in that
state.

This CL addresses the above corner case, by also forwarding ScrimState
from ScrimController to LightBarController so that LightBarController
can change the behavior when scrim UI is in bouncer mode.

Test: atest CtsInputMethodTestCases
Test: atest com.android.server.policy.PhoneWindowManagerTest
Test: atest SystemUITests:com.android.systemui.statusbar.phone.ScrimControllerTest
Test: Manually tested Manually tested with ThemedNavBarKeyboard sample
  1. make -j ThemedNavBarKeyboard
  2. adb install -r $OUT/system/app/ThemedNavBarKeyboard/ThemedNavBarKeyboard.apk
  3. adb shell ime enable com.example.android.themednavbarkeyboard/.ThemedNavBarKeyboard
  4. adb shell ime set com.example.android.themednavbarkeyboard/.ThemedNavBarKeyboard
  5. Open Dialer app
  6. Focus in the top edit field.
  7. Tap "EXTENDED LIGHT NAVIGARION BAR" mode
  8. Make sure that the navigation button color is optimized for light navigation bar
  9. Swipe down the notification shade.
 10. Make sure that the navigation button color is inverted.
Fixes: 72940586
Change-Id: I7a9001888f9b2d74c84c384b6302706da7a2b4b2
2018-04-13 14:55:30 -07:00
Brad Ebinger
4558c77d5d Merge "Update Docs to clarify using a Message across IPC" into pi-dev 2018-04-13 21:35:13 +00:00
Brad Ebinger
63a6bc6794 Merge "Adds a private field to parceled data." into pi-dev 2018-04-13 21:34:37 +00:00
y
19c4ef269f [automerger skipped] [automerger] ResStringPool: Fix security vulnerability am: 7e54c3f261 am: 98e2d2ec50 am: 24a89da344 am: d85632ae40 am: 927b3357fa am: 79d0fb2530 am: a509e771ba am: 80e36faa72 am: 76d71fa910 am: 86cfcaa610 am: 4f5e234020
am: 5604680766  -s ours

Change-Id: I1ff6265b401704800f7be276034cb9cc720c94ec
2018-04-13 14:24:24 -07:00
Chavi Weingarten
5e09e0a34b Merge "Don't update crop WSA when drag resizing so screenshots are correct." into pi-dev 2018-04-13 21:14:16 +00:00
y
5604680766 [automerger] ResStringPool: Fix security vulnerability am: 7e54c3f261 am: 98e2d2ec50 am: 24a89da344 am: d85632ae40 am: 927b3357fa am: 79d0fb2530 am: a509e771ba am: 80e36faa72 am: 76d71fa910 am: 86cfcaa610
am: 4f5e234020

Change-Id: Iedf59329ed35149cec2143e8f179c7912534a41d
2018-04-13 14:08:07 -07:00
Salvador Martinez
7a9564f507 Add constant for bluetooth fragment
simply adds a metrics constant for the new bluetooth screen

Bug: 77543471
Test: robotests pass
Merged-In: Id6317df4b86def4e0aa095fd3bc1ed544c0f0220
Change-Id: Id6317df4b86def4e0aa095fd3bc1ed544c0f0220
2018-04-13 14:04:50 -07:00
y
4f5e234020 [automerger] ResStringPool: Fix security vulnerability am: 7e54c3f261 am: 98e2d2ec50 am: 24a89da344 am: d85632ae40 am: 927b3357fa am: 79d0fb2530 am: a509e771ba am: 80e36faa72 am: 76d71fa910
am: 86cfcaa610

Change-Id: I6d37d24fd14271d24595c380ea553cb37948fa9e
2018-04-13 13:57:36 -07:00
Wale Ogunwale
51c1904b95 Merge changes from topic "bumping-api" into pi-dev
* changes:
  Finalizing P SDK
  Finalizing P SDK
2018-04-13 20:53:03 +00:00
Jeff Sharkey
e67463db5f Return "null" cycles for deprecated callers.
Callers using the deprecated Pair<ZonedDateTime, ZonedDateTime>
interface don't always check hasNext() before calling next(), so
give them (null, null) results instead of throwing.

Bug: 78020489
Test: builds, boots
Change-Id: Ibaeac646fa4e12e3e748cd7c706524d51dbeaafe
2018-04-13 14:38:04 -06:00
Android Build Merger (Role)
86cfcaa610 [automerger] ResStringPool: Fix security vulnerability am: 7e54c3f261 am: 98e2d2ec50 am: 24a89da344 am: d85632ae40 am: 927b3357fa am: 79d0fb2530 am: a509e771ba am: 80e36faa72 am: 76d71fa910
Change-Id: I971b589190cae708a08dd568290807dff0f75349
2018-04-13 20:35:02 +00:00
Android Build Merger (Role)
76d71fa910 [automerger] ResStringPool: Fix security vulnerability am: 7e54c3f261 am: 98e2d2ec50 am: 24a89da344 am: d85632ae40 am: 927b3357fa am: 79d0fb2530 am: a509e771ba am: 80e36faa72
Change-Id: Ibeb5d99f477048e8715a0d4b093052f3d88445e2
2018-04-13 20:34:58 +00:00
Android Build Merger (Role)
80e36faa72 [automerger] ResStringPool: Fix security vulnerability am: 7e54c3f261 am: 98e2d2ec50 am: 24a89da344 am: d85632ae40 am: 927b3357fa am: 79d0fb2530 am: a509e771ba
Change-Id: I48bf9619571a30e6f5ea5bad503a3805e0821a75
2018-04-13 20:34:53 +00:00
Android Build Merger (Role)
a509e771ba [automerger] ResStringPool: Fix security vulnerability am: 7e54c3f261 am: 98e2d2ec50 am: 24a89da344 am: d85632ae40 am: 927b3357fa am: 79d0fb2530
Change-Id: I068f51adbb0248db232c50bd89fb25ef0d7273a9
2018-04-13 20:34:49 +00:00
Android Build Merger (Role)
79d0fb2530 [automerger] ResStringPool: Fix security vulnerability am: 7e54c3f261 am: 98e2d2ec50 am: 24a89da344 am: d85632ae40 am: 927b3357fa
Change-Id: I61c158947f3508aab9ef65988267562663c97a21
2018-04-13 20:34:44 +00:00
Android Build Merger (Role)
927b3357fa [automerger] ResStringPool: Fix security vulnerability am: 7e54c3f261 am: 98e2d2ec50 am: 24a89da344 am: d85632ae40
Change-Id: I24a1df41eb29a6ac7e6c67368f07c6702dacf071
2018-04-13 20:34:34 +00:00
TreeHugger Robot
a991071db9 Merge "Reduce disk space limit for incident reports." into pi-dev 2018-04-13 20:34:31 +00:00
Android Build Merger (Role)
d85632ae40 [automerger] ResStringPool: Fix security vulnerability am: 7e54c3f261 am: 98e2d2ec50 am: 24a89da344
Change-Id: Ia175db4206119bed5e1a6b1aeeff72ae86489d38
2018-04-13 20:34:29 +00:00
Android Build Merger (Role)
24a89da344 [automerger] ResStringPool: Fix security vulnerability am: 7e54c3f261 am: 98e2d2ec50
Change-Id: I0a5c57b7a50d9221b3be4d193388ac610ba92f73
2018-04-13 20:34:24 +00:00
Android Build Merger (Role)
98e2d2ec50 [automerger] ResStringPool: Fix security vulnerability am: 7e54c3f261
Change-Id: I57e2ea2122d22341c43b9b445291cc4b02ec2b11
2018-04-13 20:34:20 +00:00
y
7e54c3f261 ResStringPool: Fix security vulnerability
Adds detection of attacker-modified size and data fields passed to
ResStringPool::setTo(). These attacks are modified apks that AAPT would
not normally generate. In the rare case this occurs, the installation
cannot be allowed to continue.

Bug: 71361168
Bug: 71360999
Test: run cts -m CtsAppSecurityHostTestCases \
          -t android.appsecurity.cts.CorruptApkTests

Change-Id: If7eb93a9e723b16c8a0556fc4e20006aa0391d57
Merged-In: If7eb93a9e723b16c8a0556fc4e20006aa0391d57
2018-04-13 20:34:18 +00:00