Commit Graph

353765 Commits

Author SHA1 Message Date
Todd Kennedy
c170e20c6f Temporary debugging
This is only temporary to catch any possible issues with
the refactoring.

Bug: 63539144
Test: Manual
Change-Id: I0b5152d7d39d8ce64da06f84a4b3bf3fbb5b29a5
2018-01-11 13:17:00 -08:00
Todd Kennedy
30a23a5a7b Remove scanPackageInternal()
The final, major refactoring for this release. Replace
scanPackageInternal() with addForInit(). This new method delegates
all modifications of the package setting object to the existing
scanPackageOnly() method.

There is one block of code where we modify the ApplicationInfo
object in the PackageParser.Package. It could be argued [and I would
agree] that the ApplicationInfo doesn't belong in the Pacakge
object at all. But, regardless, updating this info is being done
in addForInit(). It would be ideal if we could push this down to
scanPackageOnly(). Unfortunately, we expect the ApplicationInfo
to be updated correctly prior to scanPackageOnly().

Bug: 63539144
Test: Manual.
Test: w/ base image
Test: 1] upgrade OTA
Test: 2] clean flash
Test: w/ image containing additional applications
Test: 1] add a system application
Test: 2] add a system application w/ version installed on /data. version on /data has greater version code
Test: 3] add a system application w/ version installed on /data. version on /data has lower version code
Test: 4] add a system application w/ version installed on /data. version on /data has signature mis-match
Test: 5] remove a system application
Test: 6] remove a system application w/ upgrade installed on /data
Test: 7] update a system application
Test: 8] update a system application w/ upgrade installed on /data. version on /data has greater version code
Test: 9] update a system application w/ upgrade installed on /data. version on /data has lower version code
Change-Id: I00a6f1cd056d9e5ee81154a522b7d50ea9174273
2018-01-11 13:16:55 -08:00
TreeHugger Robot
32308613b5 Merge "Concise toString for A11yEvent" 2018-01-11 20:38:49 +00:00
Tyler Gunn
c9c82958ab Merge "Add support for notification of LTE to WIFI handover for video calls." into oc-mr1-dev am: d29f6f12f5
am: 2175e526a9

Change-Id: I452e8da39e029d69ba8b1be79e54c2e866946b5b
2018-01-11 20:05:05 +00:00
Tyler Gunn
2175e526a9 Merge "Add support for notification of LTE to WIFI handover for video calls." into oc-mr1-dev
am: d29f6f12f5

Change-Id: Id99d2c524cb4080ebecff571a4117c0b319b70e8
2018-01-11 19:52:38 +00:00
Tyler Gunn
d29f6f12f5 Merge "Add support for notification of LTE to WIFI handover for video calls." into oc-mr1-dev 2018-01-11 19:43:12 +00:00
TreeHugger Robot
422a67987f Merge "Allow forcing target SDK to current dev" 2018-01-11 19:14:10 +00:00
Peter Visontay
bb7c5b2991 Merge "Use the public OPSTR of the BIND_ACCESSIBILITY_SERVICE app op." 2018-01-11 19:12:53 +00:00
Daniel Colascione
6d3444ec3c Merge "Wire up zram setting, system property" 2018-01-11 19:03:46 +00:00
TreeHugger Robot
a665af32cb Merge "Move signing data into SigningDetails container" 2018-01-11 19:01:13 +00:00
Sudheer Shanka
5b9f065754 Merge "Update DPMS to push active admins info to UsageStatsService." 2018-01-11 18:45:15 +00:00
TreeHugger Robot
fdb4c48cb2 Merge "Update statsd's user/group from root to system to avoid selinux policy violation" 2018-01-11 18:33:30 +00:00
TreeHugger Robot
b1e9df9289 Merge "Add DISALLOW_CONFIG_BRIGHTNESS." 2018-01-11 18:32:34 +00:00
Ricky Wai
98d1fabdeb Merge "Add OWNERS for Network Watchlist services" 2018-01-11 18:14:59 +00:00
Jiuyu Sun
9e7bf9e304 Merge "Add EuiccCardManager and EuiccCardController." 2018-01-11 18:09:40 +00:00
Lucas Dupin
606c532dca Merge "Allow custom keyguard transient message" 2018-01-11 17:23:59 +00:00
Joseph Pirozzo
2bcc515f25 Merge "Bluetooth in band ring" 2018-01-11 17:16:24 +00:00
TreeHugger Robot
3fed747cc7 Merge "Apply IDumpstateListener changes" 2018-01-11 17:09:44 +00:00
TreeHugger Robot
d396b28c20 Merge "Dispatch DisplayCutout from DisplayAdapter" 2018-01-11 16:36:31 +00:00
TreeHugger Robot
6201b39c7b Merge "Allow IME windows to use light navigation bar" 2018-01-11 16:02:25 +00:00
TreeHugger Robot
a28ed766c4 Merge "Add WindowContainer proto definitions" 2018-01-11 15:30:00 +00:00
Bryce Lee
609e37b35b Merge "Pause activity when making visible from stopped state." 2018-01-11 15:27:10 +00:00
Bryce Lee
842db5e6c2 Merge "Allow modifiers to specify windowing mode and preferred display." 2018-01-11 15:26:45 +00:00
Adrian Roos
1cf585059c Dispatch DisplayCutout from DisplayAdapter
Adds a config resource to configure the main display's cutout and
dispatches it from the LocalDisplayAdapter.

WindowManager's DisplayContent then transforms it to match the current
rotation.

Also fixes an issue in EmulatedDisplayCutout where the Path was never
reset and changes the color to black. Also fixes the RoundedCorners
overlay such that it can layout within the cutout area.

Test: atest CoordinateTransformsTest DisplayContentTests
Bug: 65689439
Change-Id: If39c8ea3cb55c761517f270dcca292682c0918ad
2018-01-11 15:43:05 +01:00
Daniel Colascione
766b632ebc Wire up zram setting, system property
The experiment framework toggles the system setting, which manipulates
the system property that init reads during boot to determine whether
we should enable zram.

Test: manual
Change-Id: I4b4f1b1673a5aa5e7f721c7dec7ebe3ea7908af2
2018-01-11 05:37:24 -08:00
TreeHugger Robot
bd76bebade Merge "Rename ownership transfer related constants from "*OWNER" to "*OWNERSHIP"." 2018-01-11 13:30:05 +00:00
Erik Kline
3096bc6311 Merge changes I47ccfa99,I5db1de3e am: 08498c32f4 am: 03f3294103
am: 805104f40f

Change-Id: Ic774b944238d6df07511df8e467d66cefcd4fa81
2018-01-11 12:52:19 +00:00
Erik Kline
805104f40f Merge changes I47ccfa99,I5db1de3e am: 08498c32f4
am: 03f3294103

Change-Id: I311f6c299daf1c8d21731187d8e78e55c5767564
2018-01-11 12:43:38 +00:00
Erik Kline
03f3294103 Merge changes I47ccfa99,I5db1de3e
am: 08498c32f4

Change-Id: I8077e06fc9eeccbb776a3b09a117c66eb9074140
2018-01-11 12:31:31 +00:00
Treehugger Robot
08498c32f4 Merge changes I47ccfa99,I5db1de3e
* changes:
  Extract DNS setting logic into DnsManager class
  Add minimal test for setting DNS properties
2018-01-11 11:33:30 +00:00
arangelov
eea3e937dc Rename ownership transfer related constants from "*OWNER" to "*OWNERSHIP".
Change-Id: I70180c66d546521c95488bfbebed1b03fe69422c
Test: None
2018-01-11 11:31:43 +00:00
Antoan Angelov
f79af5e4a1 Merge "Call PROFILE/DEVICE_OWNER_CHANGED broadcast and onTransferCompleted callback upon a successful transfer." 2018-01-11 11:18:05 +00:00
TreeHugger Robot
9e79ca004f Merge "Add virtual dtor for virtual classes" 2018-01-11 10:31:24 +00:00
Erik Kline
1742fe1309 Extract DNS setting logic into DnsManager class
In future, managing DNS-over-TLS hostname lookup and netd programming
can be encapsulated here.

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 64133961
Change-Id: I47ccfa99c30c780524c45c4af605e720ccba34a0
2018-01-11 18:16:50 +09:00
Erik Kline
e89953b30f Add minimal test for setting DNS properties
Test: as follows
Change-Id: I5db1de3ee8e179edd56c93988b821242b81c2387
2018-01-11 18:16:20 +09:00
TreeHugger Robot
2fccc244ed Merge "Import translations. DO NOT MERGE" 2018-01-11 08:43:18 +00:00
TreeHugger Robot
2162b71ccd Merge "Add a test for updateLightNavigationBarLw()" 2018-01-11 08:26:16 +00:00
Sehee Park
ad222c7f05 Merge "Add checking permission at the setDataSaverModeEnabled()" am: 639fe64ce0 am: a83bbf3516
am: 3bf5ea8778

Change-Id: Ifa7686fe91612b05e2d37321e799db5dccf13d7d
2018-01-11 07:04:10 +00:00
Erik Kline
3096e499c7 Merge "Move DhcpClient SM thread onto IpClient's SM thread" am: 4a352dd5e0 am: a6c594847d
am: 473ed27a6c

Change-Id: Idb865394bc15591c8c84745c9de5662a928ed618
2018-01-11 06:56:55 +00:00
Sehee Park
3bf5ea8778 Merge "Add checking permission at the setDataSaverModeEnabled()" am: 639fe64ce0
am: a83bbf3516

Change-Id: I6f712ec5774287af1740f2e74a4bc5cbca0cba6c
2018-01-11 06:55:39 +00:00
Erik Kline
473ed27a6c Merge "Move DhcpClient SM thread onto IpClient's SM thread" am: 4a352dd5e0
am: a6c594847d

Change-Id: Id124d26e03d3d91a234e78b5fad1aca682cf9f6d
2018-01-11 06:48:31 +00:00
Sehee Park
a83bbf3516 Merge "Add checking permission at the setDataSaverModeEnabled()"
am: 639fe64ce0

Change-Id: Ic62ff6f6b85b2df86074557ed662227b3a7fd9b1
2018-01-11 06:46:25 +00:00
Erik Kline
a6c594847d Merge "Move DhcpClient SM thread onto IpClient's SM thread"
am: 4a352dd5e0

Change-Id: I19f1606e017b8c4e92c4575b9e39c1b5198c31aa
2018-01-11 06:43:13 +00:00
Jeff Sharkey
4df1c3dac7 Merge "Define broadcasts for refreshing data plans." 2018-01-11 06:31:47 +00:00
yro
b19dc2467b Update statsd's user/group from root to system to avoid selinux policy
violation

Bug: 71537285
Bug: 69853944
Test: manual verification to check there's no sepolicy violation

Change-Id: I639cf5c9f4ac6c434c3122c4f42fdf8bdac721f6
2018-01-10 22:26:30 -08:00
Treehugger Robot
639fe64ce0 Merge "Add checking permission at the setDataSaverModeEnabled()" 2018-01-11 05:52:59 +00:00
TreeHugger Robot
7c3373bdf3 Merge "Import translations. DO NOT MERGE" 2018-01-11 05:52:17 +00:00
Treehugger Robot
4a352dd5e0 Merge "Move DhcpClient SM thread onto IpClient's SM thread" 2018-01-11 05:48:20 +00:00
TreeHugger Robot
6b00b9a0de Merge "More adjustments to the loadtest app." 2018-01-11 05:44:52 +00:00
Dmitry Dementyev
dd9828e62f Merge "Check that recoverySecretTypes contains TYPE_LOCKSCREEN during unlock." 2018-01-11 05:31:47 +00:00