Commit Graph

309172 Commits

Author SHA1 Message Date
Manu Cornet
ce4606a05f Merge "2D Recents: Less drastic scale reduction for dismiss animation" into nyc-mr2-dev
am: c01308a03c

Change-Id: Ie25f4dffc768f99f99de72f6ac56692dd4c2fc82
2017-02-02 19:30:29 +00:00
Manu Cornet
69f9c6073d 2D Recents: Less drastic scale reduction for dismiss animation
am: 8ea36af22b

Change-Id: Ie90263b3eff6ecc7b469fe7c6fa028c2ff1afc62
2017-02-02 19:30:21 +00:00
Treehugger Robot
e724f82b3d Merge "wifi: WifiConfiguration: add isHomeProviderNetwork field" 2017-02-02 19:29:53 +00:00
Suprabh Shukla
fd8ccd934a DO NOT MERGE Do not call RecoverySystem with DPMS lock held am: 4ffe72dcc8 am: ab8d3febd3 am: 2e6bdbeaab am: 588411fc7c -s ours am: 773f85ec60 am: 029364c505 am: 2f1b2d82ca am: ac8f44e387
am: 674cefc5f5

Change-Id: Ib8471fb2dd4f3939fb603fb324d0955f8242ce5f
2017-02-02 19:29:02 +00:00
Manu Cornet
10b7963547 Merge "2D Recents: Fix issues with thumbnail scaling transitions" into nyc-mr2-dev
am: f41a8c5a3d

Change-Id: I2aa5e9e671d6c206c87792d2c3759c4e797f4ee2
2017-02-02 19:26:58 +00:00
Manu Cornet
6f5bb1f340 2D Recents: Fix issues with thumbnail scaling transitions
am: 57b6149f8b

Change-Id: Iacd79a63699736c9b8fb7794d45bc8891c57b513
2017-02-02 19:26:43 +00:00
Makoto Onuki
40c83c5b0f DO NOT MERGE Do not call RecoverySystem with DPMS lock held am: 2317451acc am: 01f971dcdc am: 963cba5b5b am: f1e276384d -s ours
am: 3d45f12cad  -s ours

Change-Id: I45d90081978d31863b6b29701fbf1cd051699053
2017-02-02 19:23:21 +00:00
Philip P. Moltmann
962db24548 Merge "[DO NOT MERGE] Delay SharedPreferences.apply() by 50 ms" into nyc-mr2-dev
am: 65924030d6

Change-Id: Ib41328d4c9759d521cf2b27327ca0bc0baa5591a
2017-02-02 19:21:45 +00:00
Philip P. Moltmann
416a36a83b [DO NOT MERGE] Delay SharedPreferences.apply() by 50 ms
am: 2fc44947dd

Change-Id: Ie0bb1c0c23928318cbaf3dc22ca0aa6761bbfa75
2017-02-02 19:21:40 +00:00
TreeHugger Robot
c54e1a6017 Merge "TextClassificationManager: Make certain methods thread-safe" 2017-02-02 19:13:45 +00:00
Jason Monk
764da991de Move recents CommandQueue callbacks to recents
This will make it a more common and less broken place for both
handset and TV.

Fixes: 34813216
Test: make and click on recents button.
Change-Id: I2fd9c3103e2be28a19497719ac5763c064beeed1
2017-02-02 14:13:16 -05:00
Mady Mellor
d4e40fb097 Update the drag to dismiss UI to be closer to design
Rather than a circular target for drag to dismiss, there is text / icon
as well as a gradient. As the PIP approaches the text / icon they grow
in size. If the PIP is released overtop of the text / icon, it is
dismissed.

Test: Using PIP test app, have a PIP, drag it to dismiss target area.
Change-Id: I339ad14e144dfd61f0e990ba4d2559642a47b141
2017-02-02 11:08:26 -08:00
Chad Brubaker
aea3ec67a2 Merge "Allow ephemeral apps to reach any CATEGORY_BROWSABLE" 2017-02-02 19:08:00 +00:00
Chad Brubaker
6b68f1060c Limit Instant App notifications
Instants apps are not allowed to create toasts or notifications, however
they are allowed to update notifications that were created by the
system for them (i.e. a notification for a foreground service).

Test: Manually verified that .notify() fails with a security exception
Test: Manually verified startForeground shows a notification and that it
can be updated.

Change-Id: I054cccc2aa817263d15abd34851b0e06f16fb829
2017-02-02 11:04:57 -08:00
Makoto Onuki
9e0800d3b7 Add comment to netstats proto
Test: Build only
Change-Id: I29d7dbda0f0a8b393f250a9106bcb696e0c2431a
2017-02-02 10:54:03 -08:00
Clara Bayarri
9b161fbdbc Fix bugs in FontResourcesParser and add coretests
Bug: 34920360
Test: runtest --path frameworks/base/core/tests/coretests/src/android/content/res/FontResourcesParserTest.java
Change-Id: I41da558957d25a6f7ee62a4ed9fecf470b74f1d0
2017-02-02 18:45:54 +00:00
Rubin Xu
a55b168b5d Small tweaks in LockSettingsService
Paves way for synthetic password flow: Two notable changes:
1. when unify/un-unify work challenges, provide the old work profile password.
2. when clearing lock, supply old credentials.

Test: Unit test to be added in a follow up CL.
Bug: 33126414
Change-Id: I2a9553c5e7cc701338436e99e5a1289cebd1eda9
2017-02-02 18:44:46 +00:00
Netta P
e2a3cd8f69 Protobufferize BatteryManager dumpsys
Bug: 34227623
Test: cts-tradefed run cts-dev -t CtsIncidentHostTestCases
Change-Id: I6e36d725c50105ad1f6f86f890db49ea253907c0
2017-02-02 10:41:48 -08:00
Paul Lawrence
299227693c Merge "Install seccomp into zygote not init" am: ba9bbd8517 am: dcf63748fc
am: 5a389e7e44

Change-Id: Ibe0c3f397e820609401a53d18177691181ab7f49
2017-02-02 18:38:09 +00:00
Paul Lawrence
fde0a41065 Install seccomp into zygote not init am: ef85477470 am: 521d25294b
am: e6e8c7a1dd

Change-Id: I97d2843a2c2940b558f216cf550891a80963be54
2017-02-02 18:37:22 +00:00
Alex Deymo
ff727728b5 Merge "Compile native network functionis into libandroid_net." am: b1cb60d920 am: 5292c727b7
am: b92ba328e4

Change-Id: I1ef1f2caebed6e7eab3a68981886a0bdd758c0e9
2017-02-02 18:33:57 +00:00
Alex Deymo
2e61c0eea3 Compile native network functionis into libandroid_net. am: f3b7411060 am: af657d14fc
am: 74a410ec81

Change-Id: I0072d540b707d217b28bc6f1ba0a6947bb812639
2017-02-02 18:32:23 +00:00
Paul Lawrence
5a389e7e44 Merge "Install seccomp into zygote not init" am: ba9bbd8517
am: dcf63748fc

Change-Id: I7cb6ff86a8466aa0ca45691b2d169b4b7467bd9a
2017-02-02 18:31:42 +00:00
Paul Lawrence
e6e8c7a1dd Install seccomp into zygote not init am: ef85477470
am: 521d25294b

Change-Id: I7c2c84a5bd67490070777d11d7f930c5dba90cbe
2017-02-02 18:30:49 +00:00
Diego Perez
66f66e802e Merge "Update native delegates" 2017-02-02 18:29:38 +00:00
Hakan Seyalioglu
e3286c3145 DO NOT MERGE - Check exported status in chooser
Relevant change in master is ag/1844170

bug: 34147053
Change-Id: Ic9d9d65c66325904c95ab3966bdcc16e7668278b
2017-02-02 10:28:33 -08:00
Alex Deymo
b92ba328e4 Merge "Compile native network functionis into libandroid_net." am: b1cb60d920
am: 5292c727b7

Change-Id: I81f4a2ecf25fe324afa78b5dfb9fd4f7d264e1c6
2017-02-02 18:25:48 +00:00
Dmitri Plotnikov
d7ee7d4b34 Enabling USB Debugging Connected notification on Android TV
Bug: 34859109
Test: verified that the notification showed up in LeanbackLauncher
Change-Id: I2d5798e994df74b7d3211ccf7f22a6aff44bd681
2017-02-02 10:24:27 -08:00
Alex Deymo
74a410ec81 Compile native network functionis into libandroid_net. am: f3b7411060
am: af657d14fc

Change-Id: Ic8e457c36a35afd296ae97704e0703dbae781d40
2017-02-02 18:23:21 +00:00
Paul Lawrence
dcf63748fc Merge "Install seccomp into zygote not init"
am: ba9bbd8517

Change-Id: I989c34f133e37b68dbd387b263dc5191ac8d6215
2017-02-02 18:18:15 +00:00
Paul Lawrence
521d25294b Install seccomp into zygote not init
am: ef85477470

Change-Id: I22745a759cc4f9797cb3c806bbdd4d69d6cccdcb
2017-02-02 18:18:08 +00:00
Alex Deymo
5292c727b7 Merge "Compile native network functionis into libandroid_net."
am: b1cb60d920

Change-Id: Ia0cf31b962cd26b9c7d1d4917b3523e7f3fbfa2c
2017-02-02 18:16:45 +00:00
Alex Deymo
af657d14fc Compile native network functionis into libandroid_net.
am: f3b7411060

Change-Id: Ib01eaf11caacb35ba905012f06d0777d237dd2d1
2017-02-02 18:11:40 +00:00
Anthony Chen
b3f0849c3e Merge "Refactor notification to allow for overlay by Android Auto." 2017-02-02 18:09:43 +00:00
Paul Lawrence
ba9bbd8517 Merge "Install seccomp into zygote not init" 2017-02-02 18:09:18 +00:00
TreeHugger Robot
e70ef857fb Merge "Fix leaks in sysui" 2017-02-02 18:08:29 +00:00
TreeHugger Robot
61d7a8a7f5 Merge "port status bar logs to Tron V2" 2017-02-02 18:07:56 +00:00
Hangyu Kuang
48a3cb6984 Merge "media: Add 3gpp output format to MediaMuxer." 2017-02-02 18:07:22 +00:00
Treehugger Robot
b1cb60d920 Merge "Compile native network functionis into libandroid_net." 2017-02-02 17:59:55 +00:00
Rubin Xu
59ced28f0f Add hidden KeyProtection API to specify SID
Allows the caller to specify which SID the given key
should be bound to, overriding the default rule of
binding to the current root/fingerprint SID.

This is a prerequsite for introducing synthetic password
based authentication flow.

Test: cts-tradefed run cts -m CtsKeystoreTestCases
Bug: 33126414
Change-Id: Ide03c0f4fd33ecca7a169ea763c3d4d0b173d1dd
2017-02-02 17:53:32 +00:00
Paul Lawrence
ef85477470 Install seccomp into zygote not init
Bug: 34710876
Test: Boots, correct size filter installed, blocks unallowed calls

Change-Id: I3e66e8724ace37f7d30451b98a5e574766252ea0
2017-02-02 17:45:11 +00:00
Justin Klaassen
614f40ea01 Remove experimental twilight-based automatic brightness
Bug: 31602449
Test: verified adaptive brightness no longer varies with twilight with
"brightness_use_twilight" set to "1".

Merged-In: I6b5f7310020b2128c2b292414a205b6052270a0a
Change-Id: Ife9bf6d0f76df791cb7e6a22505d9f551da19731
2017-02-02 09:23:49 -08:00
Abodunrinwa Toki
4039454f6f TextClassificationManager: Make certain methods thread-safe
1. getDefaultTextClassifier()
2. getLanguageDetector()

Test: CtsWidgetTestCases passes
Change-Id: Ie0cb866cdefea2839efb38a1113e434a3e8159b0
2017-02-02 17:16:36 +00:00
TreeHugger Robot
ddb80216b9 Merge "Addition separation of adding vs. reparenting activity" 2017-02-02 16:58:57 +00:00
Diego Perez
2a1b23966a Update native delegates
After changes 9ff994d988, 6e3658a638 and 18e9f9f377
Test: Existing layoutlib tests

Change-Id: I8e39f26ccb0a8cb73a724f16734e66cf95c08656
2017-02-02 16:53:18 +00:00
Erik Kline
ee929e69fb Merge "Add test for repeated calls to registerMobileUpstreamRequest()" am: 603eefd5d5 am: 180a3d07a8 am: d85f448274
am: 2ebea21074

Change-Id: I2e0ab82edd8997188c8c16dce6373ccb19657e3d
2017-02-02 16:52:43 +00:00
Wale Ogunwale
5cd907d3d6 Alert Windows behavioral changes
- Introduced TYPE_APPLICATION_OVERLAY window type. Can be used by apps
to display windows on top of other app windows, but below critical
system windows.
- Deprecate alert window types TYPE_PHONE, TYPE_SYSTEM_ALERT,
TYPE_SYSTEM_OVERLAY, TYPE_PRIORITY_PHONE, and TYPE_SYSTEM_ERROR.
Apps should now use TYPE_APP_OVERLAY for this.
- Apps targetting O or greater are not allowed to add the old alert
window types.
Apps targetting less than O can still add the old types.
Apps with permission INTERNAL_SYSTEM_WINDOW (system signature apps) can
still add the old types.
- Z-order old alert windows types below TYPE_APPLICATION_OVERLAY if
they are added by an app without the INTERNAL_SYSTEM_WINDOW permission.

Test: android.server.cts.AlertWindowsTests
Bug: 33256752
Change-Id: I12170955a7a333151d3387c169b51c53c32164fc
2017-02-02 08:20:49 -08:00
Jerome Gaillard
abf19d1aa4 Merge changes Ic8254f0f,I1f285c3b
* changes:
  Ignore justified in layoutlib for the moment
  Update Canvas_Delegate after Change I3edc963a
2017-02-02 16:12:26 +00:00
Geoffrey Pitsch
1dc93bc407 SystemUI uses Builder API with NotificationChannel
Some changes to channels based on UX feedback.

Test: runtest systemui
Change-Id: I1b2f661ba145d6926035f992231dc3c2f8cbf844
2017-02-02 11:12:05 -05:00
TreeHugger Robot
8308526d88 Merge "Framework: Preloaded-classes tuning" 2017-02-02 16:07:43 +00:00