Fyodor Kupolov
539d36f23b
Set secure setting when all preloaded apps are installed
...
Bug: 30280710
Change-Id: Id87b51c53b1e553a6ab0a257be93baf7d31b6fe5
2016-07-29 10:36:06 -07:00
Jorim Jaggi
5ecf859494
Follow up for I420bee8a11d430b1e52ded050536e56a85a48800 am: 8d4f5f52a1 am: ffb289c7b3
...
am: f878d518c1
Change-Id: I45a3a50685cceb2c59476a236cb883846ae0f51a
2016-07-29 16:07:35 +00:00
TreeHugger Robot
347117f556
Merge "fix javadoc for grantRuntimePermission"
2016-07-29 13:35:19 +00:00
Andrii Kulian
6bb7cacc3b
Merge \\\"Correctly finish activity in non-focused stack\\\" into nyc-mr1-dev am: d3786148f3 am: 4cad633101
...
am: 498ad9a370
Change-Id: I4f081328330d121fa70a0e202d1f163dda157ebf
2016-07-29 00:37:04 +00:00
Todd Kennedy
a8eb6a89d6
fix javadoc for grantRuntimePermission
...
javadoc and implementation were out of sync.
Change-Id: I53b50ac999134d3f10557cc3b2c3e2586aaa48de
fixes: 30119755
2016-07-28 16:35:42 -07:00
Makoto Onuki
4830a0c5ca
Prevent shortcut access when user is locked am: 9c850012ca am: cab2462e38
...
am: 890f85d70f
Change-Id: Ie6653dcc55b37598a45987d938f07ba31e173ef5
2016-07-28 23:15:16 +00:00
Jorim Jaggi
f878d518c1
Follow up for I420bee8a11d430b1e52ded050536e56a85a48800 am: 8d4f5f52a1
...
am: ffb289c7b3
Change-Id: Ia0befac114b3e1f534c477300d5875c2c6f0e588
2016-07-28 20:13:44 +00:00
Jorim Jaggi
ffb289c7b3
Follow up for I420bee8a11d430b1e52ded050536e56a85a48800
...
am: 8d4f5f52a1
Change-Id: I9b5c7d18520d57c355f3c8ea76e2dfc0e6d6ff39
2016-07-28 20:03:58 +00:00
Jiaquan He
dd1e66f737
Add more onTopLauncher support.
...
- Add onTopLauncher checking for TaskRecord.
- Add onTopLauncher to the window manager.
Bug: 28425537
Change-Id: Ic9e53db891dc42463a1a77b106ba93438a052181
2016-07-27 23:57:23 +00:00
James Carr
d2a4944d68
Merge "Calculate and account for memory power use"
2016-07-27 23:24:55 +00:00
Aga Madurska
498ad9a370
Ignore padding for drawing round scrollbars. am: c283507246
...
am: 9bafa17869
Change-Id: Icd0e134b0b596dae3300829a121caa903d828523
2016-07-27 22:55:11 +00:00
Hui Shu
16521e1958
Merge "Fix document format"
2016-07-27 22:54:46 +00:00
Selim Gurun
32c3516369
Fix document format
...
The document is all one single paragraph making it hard to read. fix it.
Change-Id: Iadcfe6e55a813d7599ebdd4b160ed544c5296c16
2016-07-27 15:44:54 -07:00
Makoto Onuki
890f85d70f
Prevent shortcut access when user is locked am: 9c850012ca
...
am: cab2462e38
Change-Id: I66faccf78500d057957fb4a7bc361ff8907811b5
2016-07-27 22:28:30 +00:00
Aga Madurska
9bafa17869
Ignore padding for drawing round scrollbars.
...
am: c283507246
Change-Id: Ia60e140beaa24b445d7f9949de8dbc946c05d828
2016-07-27 22:05:42 +00:00
Adrian Roos
a6b50d5f2b
ViewRootImpl: Initialize sysui visibility am: 1b2bf00098
...
am: e616a42716
Change-Id: I32984bff654a285dfc553fb89ea2e95e8ec60d29
2016-07-27 22:00:47 +00:00
James Carr
2dd7e5e3ef
Calculate and account for memory power use
...
Use PowerProfile to calculate mAh (MemoryPowerCalculator), and
involve this calculation in the overall accounting of battery
for when the phone is unplugged from a charger.
Note: Depends on ag/1196281
Change-Id: Id02bef19c9b250c614df0a6c88711b486faaef46
2016-07-27 14:50:23 -07:00
Jeff Davidson
2862ed2541
Add support for carrier \\"associated\\" apps. am: 24b9d96007
...
am: 19af77d2cb
Change-Id: I089db772e37b7d07a5423793aced78f2b3a9a1ae
2016-07-27 21:40:17 +00:00
Adrian Roos
e616a42716
ViewRootImpl: Initialize sysui visibility
...
am: 1b2bf00098
Change-Id: I5d206d031a193777b67cb44af5b70bbc4997c2f3
2016-07-27 21:24:39 +00:00
Makoto Onuki
cab2462e38
Prevent shortcut access when user is locked
...
am: 9c850012ca
Change-Id: I0aac4593da85c26107a2ba333b6af9477d5f3983
2016-07-27 21:24:14 +00:00
Aga Madurska
c283507246
Ignore padding for drawing round scrollbars.
...
This change is needed to correctly cope eg. with list views
which introduce header and footer view through additional
list view padding.
See ag/1221005 for details.
Bug:30420573
Change-Id: I7c9c0ce2b5ba85429b7921c42e4f97e139814e17
2016-07-27 22:22:11 +01:00
Jeff Davidson
19af77d2cb
Add support for carrier \"associated\" apps.
...
am: 24b9d96007
Change-Id: I1de92977f3a0635d88e6517210f6bbb06ab3d0f0
2016-07-27 21:18:07 +00:00
Makoto Onuki
9c850012ca
Prevent shortcut access when user is locked
...
Also add some test utility methods that'll be used by CTS.
Bug 30406401
Change-Id: I9396acebbdb3cbe64f6e85877ee62a2131cd6e61
2016-07-27 12:01:46 -07:00
Adrian Roos
25582f21cd
Merge "ViewRootImpl: Initialize sysui visibility" into nyc-mr1-dev
2016-07-27 18:39:17 +00:00
Jeff Davidson
94ae1e739f
Merge "Add support for carrier "associated" apps." into nyc-mr1-dev
2016-07-27 17:57:39 +00:00
Daniel Nishi
b91285fd32
Merge "Add a flag to toggle how much downloads to retain."
2016-07-27 16:52:57 +00:00
TreeHugger Robot
581c35d124
Merge "Make DragEvent.getClipDescription() return null for ACTION_DRAG_ENDED"
2016-07-27 16:41:21 +00:00
Vladislav Kaznacheev
cd84cfab79
Make DragEvent.getClipDescription() return null for ACTION_DRAG_ENDED
...
This is required to bring the DragEvent behavior in line with JavaDoc.
Bug: 30407098
Change-Id: I87b7f3ed3fe56681ca54a44e5cdeaf32966ad495
2016-07-27 16:39:51 +00:00
Michael Wright
2a788b2b67
Actually compare supported color modes. am: 16ae042351
...
am: 7b17faad2c
Change-Id: I994180c3a3d68bae1e250635407eb5e5ac551b6b
2016-07-27 13:29:04 +00:00
Michael Wright
7b17faad2c
Actually compare supported color modes.
...
am: 16ae042351
Change-Id: If33235e3debdca951856fcc74c5189cd936b6129
2016-07-27 13:23:47 +00:00
Michael Wright
1df0020f2d
Merge "Actually compare supported color modes." into nyc-mr1-dev
2016-07-27 13:14:04 +00:00
Jorim Jaggi
8d4f5f52a1
Follow up for I420bee8a11d430b1e52ded050536e56a85a48800
...
- Log when hasTopUi state changes
- Add hasTopUi to dumpstate
- Only allow persistent processes to honor this flag
Bug: 30292998
Change-Id: Ifb481c8d50b102ea4cac3078ea3eb39e45c08259
2016-07-27 11:35:05 +02:00
Christopher Tate
2329e7b20c
Fix wallpaper restore from pre-N devices am: ebadfb17e7
...
am: ac2f0b2c51
Change-Id: I7b8c8eb3e880389d1f70fd15f9d82bd815f1be16
2016-07-27 01:36:17 +00:00
George Mount
7c129f5635
Check for target SDK version for out-of-order fragment creation.
...
am: 00b7846b1e
Change-Id: If8ff087abfccdf1ff5868c2d9bbffbbaf00a23d5
2016-07-27 01:18:17 +00:00
Christopher Tate
ac2f0b2c51
Fix wallpaper restore from pre-N devices
...
am: ebadfb17e7
Change-Id: I4f88e555929bd9e48983dce64dc66f9e7fd46dc9
2016-07-27 01:18:05 +00:00
Adam Powell
4e00581e6b
Merge "Check for target SDK version for out-of-order fragment creation." into nyc-mr1-dev
2016-07-26 23:24:59 +00:00
Chris Tate
9fd44ef954
Merge "Fix wallpaper restore from pre-N devices" into nyc-mr1-dev
2016-07-26 23:05:29 +00:00
George Mount
00b7846b1e
Check for target SDK version for out-of-order fragment creation.
...
Bug 30230667
Ensure that pre-N applications initialize in the proper order,
but allow N and above applications to be created prior to
asking for a Transition.
Change-Id: I859f22a7c5518e4b496cbd7ee58ef1d3206a5c86
(cherry picked from commit 78d38fc839 )
2016-07-26 14:59:23 -07:00
Jeff Davidson
24b9d96007
Add support for carrier "associated" apps.
...
The platform currently supports the notion of default carrier apps.
These apps are set to DISABLED_UNTIL_USED until a SIM is inserted
which grants them carrier privileges, at which point they are enabled.
Apps are not touched if they have been updated from the version on
/system or if their state has been modified externally (e.g. by the
user).
This CL extends this notion to associated apps, which may not have
carrier privileges themselves, but should be enabled/disabled
alongside a particular carrier app. This should include helper apps
that should not be visible to users who don't use the given carrier
unless the user explicitly enables the app.
As additional protection, we add a check to ensure that we never
disable apps after the first time we've run. Since we need to store
this information in secure settings, we also move the call site from
PackageManagerService#main() to PackageManagerService#systemReady(),
which enables use of secure settings but still occurs before
third-party apps can be started.
Bug: 30141427
Change-Id: Iee72ba4e70e5ca97999c9147a65af82c670a23e8
2016-07-26 14:54:53 -07:00
Michael Kwan
a8f73bd200
Add titles to PreferenceFragments and PreferenceScreens for watches. am: 744be16ffa
...
am: f704097df4
Change-Id: Iba97f59b84ead98775c803c091c6e4dae6f18d8e
2016-07-26 21:44:49 +00:00
Adrian Roos
1b2bf00098
ViewRootImpl: Initialize sysui visibility
...
Fixes a bug where the sysui visibility flags
were not dispatched when they changed if the
visibility changes the first time to a zero
value.
Change-Id: I4d6c990ca493b144f24c75e95b4ff18c4c0a029c
Fixes: 30259249
2016-07-26 14:27:37 -07:00
Michael Kwan
f704097df4
Add titles to PreferenceFragments and PreferenceScreens for watches.
...
am: 744be16ffa
Change-Id: I54847a5ef3ddb4e09cc835433d80e121cf32b725
2016-07-26 21:11:47 +00:00
Michael Kwan
9f3930d3f7
Merge "Add titles to PreferenceFragments and PreferenceScreens for watches." into nyc-mr1-dev
2016-07-26 20:58:47 +00:00
Makoto Onuki
21e778192d
Update ShortcutManager javadoc am: fe9c9669a4
...
am: d09c33f32c
Change-Id: I14fdc704a54e4b8e148b9bcd4127cadf7e89eec1
2016-07-26 20:55:02 +00:00
Makoto Onuki
d09c33f32c
Update ShortcutManager javadoc
...
am: fe9c9669a4
Change-Id: I4bfaca9ce475e91ec0dae45739b1623ceac8a43c
2016-07-26 20:50:00 +00:00
Adam Powell
f0f3f453d9
Merge "Check for target SDK version for out-of-order fragment creation."
2016-07-26 20:44:44 +00:00
Makoto Onuki
3858c4704c
Merge "Update ShortcutManager javadoc" into nyc-mr1-dev
2016-07-26 20:40:04 +00:00
Chad Brubaker
90f331adad
Merge "Add asUser version of sendBroadcast(Intent, String, Bundle)"
2016-07-26 20:25:43 +00:00
Aga Madurska
e2250ca54f
Use correct bounds for scroll bar rendering. am: 8cc883de9e
...
am: f4b8e7d969
Change-Id: I08e2c8b988c1e472950515ee719ecd7022fd45e7
2016-07-26 18:17:58 +00:00
Aga Madurska
f4b8e7d969
Use correct bounds for scroll bar rendering.
...
am: 8cc883de9e
Change-Id: Ie82427a678241e7237144bbe76493c055a17bc2d
2016-07-26 18:08:47 +00:00