220631 Commits

Author SHA1 Message Date
Geoff Mendal
52dfbe95c1 Import translations. DO NOT MERGE
Change-Id: I9cadfa4b07bca2d001bef84944b1b7a226b2d3aa
Auto-generated-cl: translation import
2015-10-28 06:02:30 -07:00
Erik Kline
7ae47acb0b Merge "Also treat loss of IPv6 as a loss of provisioning." 2015-10-28 07:07:51 +00:00
Daniel Sandler
556c8e6466 Merge "Petites fautes." into mnc-dr-dev am: da43cc0a21 am: 21858e56d6 -s ours am: 638003c4fd
am: df8b5a48cb

* commit 'df8b5a48cb6e155688e4ab95fc24187fa3ef8027':
  Petites fautes.
2015-10-28 03:38:12 +00:00
Daniel Sandler
df8b5a48cb Merge "Petites fautes." into mnc-dr-dev am: da43cc0a21 am: 21858e56d6 -s ours
am: 638003c4fd

* commit '638003c4fdf959686ba35d19cb99805d3c5f578c':
  Petites fautes.
2015-10-28 03:30:40 +00:00
Daniel Sandler
638003c4fd Merge "Petites fautes." into mnc-dr-dev am: da43cc0a21
am: 21858e56d6  -s ours

* commit '21858e56d640109e36b2f02e244e125adf37020c':
  Petites fautes.
2015-10-28 03:21:35 +00:00
Dianne Hackborn
f13e732d55 Fix issue #25289999: Lower device idle alarm limit to 10 mins. am: 7682b26ea1 am: 26654c92ca am: 40bced1d6e
am: 24f2cca6ed

* commit '24f2cca6ed3582326fd52df18ff28a8f85394377':
  Fix issue #25289999: Lower device idle alarm limit to 10 mins.
2015-10-28 02:15:23 +00:00
David Christie
e978607ac3 Merge "Make Location objects take less memory." 2015-10-28 01:27:37 +00:00
Winson
38c96cb834 Fixing build breakage.
Change-Id: I0a0ef36b9724fc2e51c545a405b23d261cc85c4f
2015-10-27 18:25:02 -07:00
David Christie
923b260258 Make Location objects take less memory.
-Use bitmask for has*** methods.
-Use ThreadLocal for caching intermediate computations
 rather than preallocating memory in every Location

Change-Id: If2fa17bfd59511ec0b809f4b7d7cd8028360c340
2015-10-27 18:09:53 -07:00
Svetoslav
a7473a671c Installer can override system or policy
The installer can grant permissions at install/update. It
can wrongly override system and policy and grant permissions
explicitly revoked by the system or device/profile owner.

bug:25323455

Change-Id: Ica4241bfdef753e1d6cb80692c6b375300a05459
2015-10-28 01:01:00 +00:00
Vladislav Kaznacheev
56f0720fd7 Merge " Add PackageManager.FEATURE_FREEFORM_WINDOW_MANAGEMENT" 2015-10-28 00:59:06 +00:00
Erik Kline
d9023cff5d Merge "Make all IpReachabilityMonitor log messages have the same tag" 2015-10-28 00:43:34 +00:00
Vladislav Kaznacheev
d303b25ad3 Add PackageManager.FEATURE_FREEFORM_WINDOW_MANAGEMENT
Bug: 25329519

Change-Id: Ib09cb2332ee1810b2f774a8453fe519fa920cd5d
2015-10-27 17:30:58 -07:00
Filip Gruszczynski
ab253faa47 Merge "Fix wrong task bounds when docking from recents." 2015-10-28 00:01:28 +00:00
Makoto Onuki
e9ef528ec7 Merge "Layer user restrictions" 2015-10-27 22:49:04 +00:00
Daichi Hirono
decb832094 Merge "Show MTP roots at the bottom of root list." 2015-10-27 22:46:51 +00:00
Winson Chung
0f6cb2d7d1 Merge "Passing stack id with RunningTaskInfo." 2015-10-27 21:42:57 +00:00
Winson
5510f6c1b9 Passing stack id with RunningTaskInfo.
- This allows us to remove an extraneous system call when starting 
  overview, and also allows us to easily check for freeform windows.

Change-Id: I4449dad7bf870f528f671f6e7cb1f9b5f1bc9c1c
2015-10-27 21:42:37 +00:00
David Christie
0458283243 Merge "Correct range checking for location strings during conversion" 2015-10-27 21:38:12 +00:00
Makoto Onuki
068c54a5be Layer user restrictions
- Now DPMS remembers user restrictions set by DO / PO in their ActiveAdmin.

- User restrictions set by DO/PO will no longer be saved by UserManger.  Instead,
when needed, UMS will consult DPMS to build "effective" user restrictions.

- UM.getUserRestrictions() will now always return "effective" user restrictions.

- DPMS migrates existing user restrictions per the eng spec.

- Also now UM.setUserRestrictions() will crash.  UMS.setUserRestrictions() has
been removed.
This was needed because UM.setUserRestrctions(UM.getUserRestrictions()) will no
longer be a valid use like it used to be.

- Also introduced a fined-grained lock for user restrictions in UM to avoid
deadlock between DPMS and also for better performance.

Bug 23902097

Change-Id: If0e1e49344e2f3e9226532d00777976d1eaa7df3
2015-10-27 14:26:06 -07:00
David Christie
5575ddfcc1 Correct range checking for location strings during conversion
Minute values in the range [0, 59] are valid if seconds are
present. If seconds are not present then minute values are
valid in the range [0, <60]

Second values are valid in the range [0, <60]

Examples:
50:59:59.99999 is valid
50:59.99999 is valid
50:59.1:1 is not valid

Patch taken from Motorola: partner gerrit 137210

Bug: 17958582
Change-Id: I0d1265534092157883af564119f723984362d436
Issues: 2667 and 2668
2015-10-27 14:13:03 -07:00
Julia Reynolds
7fef1888d1 Merge "Stop populating RemoteViews in Notifications." 2015-10-27 20:36:31 +00:00
Dianne Hackborn
24f2cca6ed Fix issue #25289999: Lower device idle alarm limit to 10 mins. am: 7682b26ea1 am: 26654c92ca
am: 40bced1d6e

* commit '40bced1d6ed2dadbd1fff116dad382582c430297':
  Fix issue #25289999: Lower device idle alarm limit to 10 mins.
2015-10-27 20:04:49 +00:00
Daniel Sandler
21858e56d6 Merge "Petites fautes." into mnc-dr-dev
am: da43cc0a21

* commit 'da43cc0a2150a1c74340b75c919425e2a3f5b6fe':
  Petites fautes.
2015-10-27 20:00:01 +00:00
Dianne Hackborn
40bced1d6e Fix issue #25289999: Lower device idle alarm limit to 10 mins. am: 7682b26ea1
am: 26654c92ca

* commit '26654c92caf3d5443e2d7a50fc3573e8d81446d8':
  Fix issue #25289999: Lower device idle alarm limit to 10 mins.
2015-10-27 19:55:02 +00:00
Winson
463ba436d2 Fixing minor regression with system bar scrims.
Change-Id: I0cf508c26b3a71c604a3061b05abb47cac5a9bb2
2015-10-27 19:51:47 +00:00
Daniel Sandler
da43cc0a21 Merge "Petites fautes." into mnc-dr-dev 2015-10-27 19:51:31 +00:00
Dianne Hackborn
26654c92ca Fix issue #25289999: Lower device idle alarm limit to 10 mins.
am: 7682b26ea1

* commit '7682b26ea164ba1078495e24910f22d73766c192':
  Fix issue #25289999: Lower device idle alarm limit to 10 mins.
2015-10-27 19:46:12 +00:00
Xiaohui Chen
6f02b865df Merge "clean up USER_OWNER in Pm command" 2015-10-27 18:43:22 +00:00
Winson Chung
b6489e11da Merge "Fixing regression with launch target task." 2015-10-27 18:41:20 +00:00
Winson
0983e02b92 Fixing regression with launch target task.
Change-Id: I7e3ed55081a90309290aba290b4acbadb172283d
2015-10-27 11:39:44 -07:00
Pablo Ceballos
dce45fd66b Merge "Add missing OpenGLES 3.1 bitfield constants." 2015-10-27 17:57:28 +00:00
Dan Sandler
aa1c08014e Petites fautes.
Bug: 25308153
Change-Id: I62ffe080e3f36eb685cdc06d8c106d32e18092ed
2015-10-27 13:42:55 -04:00
Dianne Hackborn
7682b26ea1 Fix issue #25289999: Lower device idle alarm limit to 10 mins.
This helps with some cases where perisistent network connections
need a more frequent keep alive signal.  Actually make it 9
minutes to ensure that things needing a 10 minute cycle will
execute within that time.

Change-Id: Ife8c7b7f7f82b108d5a6c1624bd6115e6087c3be
2015-10-27 10:23:38 -07:00
Jorim Jaggi
6a6644c739 Merge "Add traces when windows are animating" 2015-10-27 17:04:50 +00:00
Filip Gruszczynski
90186c6d6e Fix wrong task bounds when docking from recents.
When docking from recents we would move the task to the docked stack,
but we wouldn't run the resizing code that forces the task to be within
the stack bounds. We need to perform both operations and we can achieve
that using a more general method of moving tasks.

This also adds the passing of creation mode in the activity options, so
the task will be docked in the right spot.

Change-Id: Ia7f94a7e3677ed60ca2f4d889e548d80a3bc3df1
2015-10-27 10:04:20 -07:00
Steve McKay
f0e209ca09 Merge "Delete TestDocumentsProvider." 2015-10-27 16:51:43 +00:00
Jorim Jaggi
d9cabc50d1 Add traces when windows are animating
Change-Id: If52f72c27c88060f7a0e2ff53adb1579bf181f59
2015-10-27 09:38:16 -07:00
Winson Chung
980606d01b Merge "Refactoring the focus state to be independent of view focus." 2015-10-27 16:33:37 +00:00
Jorim Jaggi
5ac3a8a836 Merge "Coalesce layout traversal when resizing stacks" 2015-10-27 16:28:15 +00:00
Jorim Jaggi
c402520fe0 Coalesce layout traversal when resizing stacks
When resizing the docked stack, the other stacks are also resized,
leading to multiple layout traversals. Coalesce these by
introducing the concept of layout traversal coalscing.

In addition, don't cause layout refreshs for the stacks that are
currently not visible.

Bug: 25015474
Change-Id: I5692d00c044572a1bbb3ea218b0c31572585f5bd
2015-10-27 09:26:02 -07:00
Jorim Jaggi
7c4b0829ea Merge "Add development option to force everything resizable" 2015-10-27 16:21:14 +00:00
Jorim Jaggi
95d6bf143f Merge "Add long press on recents to dock top most task" 2015-10-27 16:20:30 +00:00
Wale Ogunwale
c8a5e4c16d Merge "[ActivityManager] Fix IndexOutOfBoundsException" am: a61515720a am: 6c8b91d8c2
am: 7dafc74fda

* commit '7dafc74fda1b4333d9035892502657e1015f91c6':
  [ActivityManager] Fix IndexOutOfBoundsException
2015-10-27 15:35:07 +00:00
Wale Ogunwale
7dafc74fda Merge "[ActivityManager] Fix IndexOutOfBoundsException" am: a61515720a
am: 6c8b91d8c2

* commit '6c8b91d8c2c657eb8a5b0afa00a3b93044447f56':
  [ActivityManager] Fix IndexOutOfBoundsException
2015-10-27 15:27:16 +00:00
Wale Ogunwale
6c8b91d8c2 Merge "[ActivityManager] Fix IndexOutOfBoundsException"
am: a61515720a

* commit 'a61515720ab95f6aa307c1fa4337c5c2078bad26':
  [ActivityManager] Fix IndexOutOfBoundsException
2015-10-27 15:19:56 +00:00
Jorim Jaggi
8ccdf3ac49 Add development option to force everything resizable
Add a development setting to force all activites to be
resizable. Currently, a restart is required after changing
this setting. Also remove all the code that forced a single
task to be resizable, as we have a global option now.

Bug: 24815256
Change-Id: I3237c9b6ce96ff9aa9819592ab0c2807fde88dc4
2015-10-27 08:18:36 -07:00
Jorim Jaggi
75b2597e58 Add long press on recents to dock top most task
- Change the gesture to unpin a locked task into long pressing
the back button.
- When long pressing recents, dock top most task.

Change-Id: I1386151e781f4034cfb97d3c8d46c709d19fe779
2015-10-27 08:17:03 -07:00
Wale Ogunwale
a61515720a Merge "[ActivityManager] Fix IndexOutOfBoundsException" 2015-10-27 15:12:56 +00:00
Julia Reynolds
d9228f1135 Stop populating RemoteViews in Notifications.
Builder now stores its parameters directly in the
Notification object itself, reducing the amount of copying
needed to construct the final Notification as well as
converging the two data structures. All Builder data is now
captured in Notification, so it is easy to reconstruct
a Builder for any Notification object.

This obviates all stripping/unstripping operations because
all Notification objects start life "stripped" of their
RemoteViews, which must be constructed explicitly by clients
(presumably listeners wishing to show the notification to
the user in its conventional form).

Note: While contentView, bigContentView, and
headsUpContentView are being @Deprecated in this CL,
specifying custom RemoteViews is definitely still supported!
You just have to use Builder methods to do so.

Bug: 20153922
Change-Id: I81f8ffed0eb76084b2f2b25b97e325858f0a1d05
2015-10-27 10:19:34 -04:00