Adam Lesinski
cc903f425a
Fix regression with defaultDisplay adjustments am: f02523bf4b
...
am: be75a58447
Change-Id: I748eaefa1a99b9af5101177090cf906267620f0b
2016-10-18 23:03:51 +00:00
Adam Lesinski
f02523bf4b
Fix regression with defaultDisplay adjustments
...
ag/1542219 introduced a regression where if the display was the default
display, the configuration would still be adjusted as if it were
a non-default display. This fixes that logic to only adjust the
configuration if the display is non-default.
Bug:32133693
Test: cts-tradefed run cts --module CtsServicesHostTestCases --test android.server.cts.ActivityManagerAppConfigurationTests#testConfigurationUpdatesWhenRotatingToSideFromDocked
Change-Id: Ib2fda8c1651609efa9d20b3e2dace8a122864916
2016-10-18 20:13:57 +00:00
Adam Lesinski
d7ec1ea697
Update DisplayMetrics even on default display am: 4309721843
...
am: dab7950d80
Change-Id: I8bb2c9c303380abd3e1a54af68b8a8f7da3225f7
2016-10-14 22:41:35 +00:00
Adam Lesinski
4309721843
Update DisplayMetrics even on default display
...
Fix a bug where the DisplayMetrics wouldn't be updated for a Resources
object on the default display. Since multi-window, we want to update
all Resources.
This didn't always manifest itself due to recreation of assets, which
would force an update of DisplayMetrics. Re-use of an AssetManager from
the cache would expose the bug.
Bug:32133693
Bug:31998629
Test: cts-tradefed run cts --module CtsServicesHostTestCases
Change-Id: Ic51ab82710517b87eb995ccf982085dba876ad58
2016-10-14 18:16:18 +00:00
Michal Karpinski
fd0d22750f
Don't expose default strong auth timeout as constant am: 6dbf67fc48
...
am: bc755da55c
Change-Id: Idb118df5cf1a763645f4187bcddfa4bb9b8b42ee
2016-10-13 23:00:24 +00:00
Michal Karpinski
bc755da55c
Don't expose default strong auth timeout as constant
...
am: 6dbf67fc48
Change-Id: Iacbe9a2de7024e29e9c2c98594ebca828b855a43
2016-10-13 22:52:38 +00:00
TreeHugger Robot
a6b3caf58e
Merge "Don't expose default strong auth timeout as constant" into nyc-mr1-dev
2016-10-13 22:47:30 +00:00
Christopher Tate
86208efdc9
Only full-data back up regular files + directories am: da2018efeb
...
am: 0d816b8f69
Change-Id: I3b28c373c58ebebf27b1297e770d2023767e6396
2016-10-13 21:17:09 +00:00
Christopher Tate
da2018efeb
Only full-data back up regular files + directories
...
Ignore every filesystem entity that is not a regular file or directory.
In particular, we now ignore not only symlinks but also sockets, pipes,
et cetera.
Bug 32143362
Change-Id: If51b54df1f7a643af145eb15bf12d389d19f8780
2016-10-13 12:19:45 -07:00
Adrian Roos
7bc84b803d
Fix Notification.Action.Builder copy constructor am: 7af5362571
...
am: 342bc437bf
Change-Id: I0387ab66ec3d44e34a884fb2f92f32af35e2883c
2016-10-12 23:25:20 +00:00
Adrian Roos
7af5362571
Fix Notification.Action.Builder copy constructor
...
The copy constructor of Notification.Action.Builder did not copy
the mAllowGeneratedReplies field.
Change-Id: I40fbe8950ee2232e2589ab3930a32bfbebe9fc89
Fixes: 31766718
Test: runtest --path $T/cts/tests/app/src/android/app/cts/NotificationTest.java
2016-10-12 15:19:55 -07:00
Michal Karpinski
6dbf67fc48
Don't expose default strong auth timeout as constant
...
The admin can instead use the value of 0 to reset to default.
Test: runtest --path frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java
Bug: 31430135
Change-Id: I0d6b29ca4eca65d7ca72a8975a0c28c9050a946c
(cherry picked from commit 943aabd11c )
2016-10-12 09:34:12 +00:00
Alex Hills
21863add46
Updates documentation for MessagingStyle constructor am: fd590441c1
...
am: d86df31497
Change-Id: I6bdc90b7fde47569823b49c556f3bca9b50b0e48
2016-10-07 20:50:26 +00:00
Alex Hills
d86df31497
Updates documentation for MessagingStyle constructor
...
am: fd590441c1
Change-Id: I341c9a18c5a64e8cb63ad277611b9e55f61047c1
2016-10-07 20:43:57 +00:00
TreeHugger Robot
67c70a263c
Merge "Updates documentation for MessagingStyle constructor" into nyc-mr1-dev
2016-10-07 20:34:50 +00:00
Robert Carr
3d2783c82b
When adding dialog window but not creating update the configuration. am: d7dbec7e4c
...
am: 7696b0d06b
Change-Id: I536f02e97cb0969859454fd6250703056bca0b93
2016-10-07 19:29:56 +00:00
Robert Carr
7696b0d06b
When adding dialog window but not creating update the configuration.
...
am: d7dbec7e4c
Change-Id: I137783f64cec9f9134e1c66b123993d65397deb5
2016-10-07 19:21:51 +00:00
Rob Carr
93becf5148
Merge "When adding dialog window but not creating update the configuration." into nyc-mr1-dev
2016-10-07 19:16:02 +00:00
Alex Hills
fd590441c1
Updates documentation for MessagingStyle constructor
...
MessagingStyle expects the field userReplyName to be non-null, but the
documentation doesn't describe it as such. This updates the documentation
to say the field is required, and adds a NonNull annotation.
This has no behavior changes.
BUG:31747744
Change-Id: If832d059c276e856fba366dabfa8a5821bb63054
2016-10-07 15:44:23 +00:00
Christopher Tate
79a3ee5a98
Explicitly close FD binder parameters in backup/restore API calls am: 91bb0e5cca
...
am: 3fa99a6d11
Change-Id: I4789534da734abbce9ec52fcbe9a754bd7bd9fa0
2016-10-06 20:36:26 +00:00
Christopher Tate
3fa99a6d11
Explicitly close FD binder parameters in backup/restore API calls
...
am: 91bb0e5cca
Change-Id: Ibdba35d9c4e17180a7593966b4d54d6fb9c03f02
2016-10-06 20:10:56 +00:00
Robert Carr
d7dbec7e4c
When adding dialog window but not creating update the configuration.
...
When we dismiss the dialog as opposed to hide it, it is removed
from the local WindowManagerGlobal's list of ViewRoots. Thus it stops
receiving configuration changes. When first adding a ViewRoot it will
pull the configuration from the context, but in this case
we are reusing one which has already been added and removed
and no such action will occur.
Bug: 31004614
Change-Id: Ie247bcf1a14caf4a42413c6813e337aa4c88e3e4
2016-10-05 13:44:36 -07:00
Chris Tate
ee28c8c22c
Merge "Explicitly close FD binder parameters in backup/restore API calls" into nyc-mr1-dev
2016-10-03 21:06:22 +00:00
Hemal Patel
63b5e3ddd1
Docs: Fixed the Service link am: 1918214589
...
am: eb21088b67
Change-Id: Ia687d1ba27eee87abe412e8a8dd11e49e5f02100
2016-10-01 01:54:45 +00:00
Hemal Patel
417e4e4609
Docs: Fixed the Service link am: 1918214589
...
am: e361f735d4
Change-Id: If7fc70c876f999c8a1d6635a3d39bbcc85708dc9
2016-10-01 01:53:53 +00:00
Hemal Patel
e361f735d4
Docs: Fixed the Service link
...
am: 1918214589
Change-Id: I52410cb0cccf0c1c99b13504672acdb0eadb9bc5
2016-10-01 01:46:01 +00:00
Hemal Patel
eb21088b67
Docs: Fixed the Service link
...
am: 1918214589
Change-Id: Icfd4e033b7ef9bd915f106abc789f11fb4ede301
2016-10-01 01:45:58 +00:00
Christopher Tate
91bb0e5cca
Explicitly close FD binder parameters in backup/restore API calls
...
CloseGuard is grateful.
Bug 30893100
Change-Id: Ia6bd4d88204839add59d9d245aad673d67b11bea
2016-09-30 17:52:19 -07:00
Hemal Patel
1918214589
Docs: Fixed the Service link
...
Bug: 29086415
Change-Id: Id9505ade39c19eb817f556d72f689568148e1782
2016-09-30 14:59:23 -07:00
Richard Uhler
780ba35aa9
Add count of WebView instances to meminfo am: 2c0361986b
...
am: 8f61c5fe59
Change-Id: I797b6e09c1cff5a92a135c9ad0dc06fec97e3e36
2016-09-26 14:43:10 +00:00
Richard Uhler
8f61c5fe59
Add count of WebView instances to meminfo
...
am: 2c0361986b
Change-Id: I6b33039e70a20e7aaf0613081e8e64ee7e56873a
2016-09-26 14:38:38 +00:00
TreeHugger Robot
b0216412a2
Merge "Add count of WebView instances to meminfo" into nyc-mr1-dev
2016-09-26 14:33:31 +00:00
Alan Viverette
6e37f8a077
Allow developer to override Material-style modes in picker dialogs am: 8817aa9339
...
am: 010ab618af
Change-Id: I0d68842adb7097f4d32977f31d80a10bc166c045
2016-09-23 19:43:39 +00:00
Alan Viverette
010ab618af
Allow developer to override Material-style modes in picker dialogs
...
am: 8817aa9339
Change-Id: I4733798d4785459ea36a75cddfeb7358912fe9d6
2016-09-23 19:36:42 +00:00
Alan Viverette
2525b0dab3
Merge "Allow developer to override Material-style modes in picker dialogs" into nyc-mr1-dev
2016-09-23 19:29:54 +00:00
Shuo Gao
304c720d4a
Enable shader cache for applications that shared UID with multiple packages too
...
am: 1e6d77e836
Change-Id: I1d90470f85a632417845e961ef75b8c5a2703b50
2016-09-23 17:36:09 +00:00
Miao Wang
6b5d4723d2
Merge "Enable shader cache for applications that shared UID with multiple packages too" into nyc-mr1-dev
2016-09-23 17:28:54 +00:00
Michal Karpinski
6f81529e28
Fingerprint Strong auth timeout am: 0b72a722ed
...
am: 369672b8bb
Change-Id: Id152e63ba4b378ea10787198c3f6cd58d2f07495
2016-09-23 07:13:34 +00:00
Michal Karpinski
369672b8bb
Fingerprint Strong auth timeout
...
am: 0b72a722ed
Change-Id: I70a4c0288aa2d98c02706a055a5dda710ace2ae2
2016-09-23 07:09:59 +00:00
Michal Karpinski
69659cb96d
Merge "Fingerprint Strong auth timeout" into nyc-mr1-dev
2016-09-23 07:01:51 +00:00
Christopher Tate
150b5dbcc2
Fix crash in clearWallpaper() am: a2bd512034
...
am: 2a8f8f008c
Change-Id: Ia73abd24d04d68c4895da8861a42af8f5887ef4c
2016-09-23 00:01:30 +00:00
Christopher Tate
fd2173ed83
Add hidden intent extra about service availability am: 38c9c30640
...
am: 588729f07d
Change-Id: I9b3a2f4713a23954fa5a7b01e0d0d8297325180a
2016-09-22 23:56:05 +00:00
Christopher Tate
2a8f8f008c
Fix crash in clearWallpaper()
...
am: a2bd512034
Change-Id: I1ad7ef3676fab348022ee5b2a90ca144e44b06b8
2016-09-22 23:11:12 +00:00
Christopher Tate
588729f07d
Add hidden intent extra about service availability
...
am: 38c9c30640
Change-Id: If626d4081621a5eee358bd7dfb86ae8349c67ef1
2016-09-22 23:08:21 +00:00
Chris Tate
bd2a00f848
Merge "Fix crash in clearWallpaper()" into nyc-mr1-dev
2016-09-22 22:10:13 +00:00
Adam Powell
22766c9a14
Null check for restoring LoaderManagers am: 100ba76d7a
...
am: bb2011a2e0
Change-Id: I8afc2a6f4808d1b36c1f2651617793854e799d11
2016-09-22 22:06:38 +00:00
Wale Ogunwale
0f82e46fb6
Save activity state before stopping acitivity when device sleeps am: b5066fe307
...
am: 3adb9d9318
Change-Id: Ic18fbf92fe029a0eea3d886450a97c9877db7020
2016-09-22 22:04:36 +00:00
Vladislav Kuzkokov
5d25d52900
Add DevicePolicyManager.setBackupServiceEnabled as hidden API. am: 5a122a1ce9
...
am: 8a48085267
Change-Id: I0dc9c4492dfac2a72fc976a1e5204c2c14ec14c4
2016-09-22 21:59:49 +00:00
Chris Tate
0bb29a8981
Merge "Add hidden intent extra about service availability" into nyc-mr1-dev
2016-09-22 21:58:30 +00:00
Adam Powell
bb2011a2e0
Null check for restoring LoaderManagers
...
am: 100ba76d7a
Change-Id: I7b5eecf24d73fd62abaa2825374bd936f15425e5
2016-09-22 20:38:00 +00:00