228781 Commits

Author SHA1 Message Date
Julia Reynolds
bc89558f4d Merge "Add 'more settings' and 'done' to guts." 2016-01-04 20:56:59 +00:00
Chad Brubaker
d8844613a3 Merge "Add ConfigNetworkSecurityPolicy" am: 2786002bd5
am: a35d617cce

* commit 'a35d617cce6c9b1b1cba7e7c786849d21ea42d3e':
  Add ConfigNetworkSecurityPolicy
2016-01-04 20:54:00 +00:00
Aga Wronska
7587fd0094 Change Internal Storage icon from sdcard to smartphone
Bug:26143658
Change-Id: I7663a477c8e90e89f8f5dbed1b6f2c1f83e929d1
2016-01-04 12:53:18 -08:00
Chris Banes
21b257717f Fix ToolbarActionBar invalidating destroyed Activities
BUG: 26375399
Change-Id: Ieae13890896b1082b51a81317760b4975aeb5dff
2016-01-04 20:52:23 +00:00
Chad Brubaker
a35d617cce Merge "Add ConfigNetworkSecurityPolicy"
am: 2786002bd5

* commit '2786002bd51b229d9a4672e3c43f835796de06ea':
  Add ConfigNetworkSecurityPolicy
2016-01-04 20:49:29 +00:00
Fyodor Kupolov
7b4a8a4e80 Return USER_OP_SUCCESS when force stopping a user
Bug: 26379502
Change-Id: I08dc18eec5b8dccf63a806acc9b3bfda890ceedb
2016-01-04 12:47:22 -08:00
Wale Ogunwale
4cea0f5bfc Don't allow unfocusable activity/stack to gain focus
Prevents them from being resumed since we always want to resumed
activity to be a focusable acitvity.

Bug: 26273032
Change-Id: Ied832e100d9a2d8915762db53c9230774be21d1c
2016-01-04 20:37:02 +00:00
Wale Ogunwale
d6f5e6bb91 Merge "Consolidate resume activity code around focused stack." 2016-01-04 20:35:53 +00:00
Alex Klyubin
31ffb44241 No need to pass digest of AndroidManifest.xml around.
When an APK is being installed, the full path to the file is
occasionally passed between processes. To detect changes to the file
during these handovers, the digest of the AndroidManifest.xml entry
could be passed around as well.

This security feature is no longer used and is no longer needed. APKs
should be installed using the modern Package Installer API
(android.content.pm.PackageInstaller).

Bug: 24542768
Change-Id: I2762634c85448e7adcd47ffc9a5294c021e127bd
2016-01-04 12:31:29 -08:00
Philip P. Moltmann
98edbe3e6d Merge "Show indeterminate progress bar when job is queued or started and the progress is not known." 2016-01-04 20:28:27 +00:00
Chad Brubaker
2786002bd5 Merge "Add ConfigNetworkSecurityPolicy" 2016-01-04 20:26:56 +00:00
Julia Reynolds
5682192a8f Add 'more settings' and 'done' to guts.
Change-Id: I0499869b1a40653ff1b179a95c55a22d8e12e718
2016-01-04 15:24:29 -05:00
Svetoslav Ganov
1463cebd77 Remove FLASHLIGHT permission
This permissions is not protecting access to the flashlight.
Anyone can use the latter via CameraManager.setTorchMode().

bug:26383626

Change-Id: I44c6395b5a0f80c1c539cffe61715b29b401a775
2016-01-04 12:19:45 -08:00
Jeff Sharkey
2f3e35376a More work towards triaging missing app behavior.
Many places across the platform query package details without
gracefully handling packages or components that go missing for
various reasons.  This can cause annoying user data loss, such as
resetting back to built-in apps or dropping of accounts, etc.

This change verifies that system callers have thought about these
edge cases by logging if they use default matching behaviors without
explicitly marking themselves as being "triaged."  (The logging is
currently disabled by default.)

Also creates explicit definitions of supported flags for various
incoming PackageManager calls, and defines a clear distinction
between flag types:

-- GET-style flags are used to request additional data that may have
been elided to save wire space.

-- MATCH-style flags are used to include components or packages that
would have otherwise been omitted from a result set by current system
state.

There are a handful of existing GET flags that better fit under the
MATCH definition, so this change clones them to new constants and
marks the old ones as deprecated.

Fixes bug in JobSchedulerService to consider jobs from apps on
external storage.  Revert some dialer behavior back to being
untriaged.

Change-Id: I9b6ab0968241e3479bddbd78de0c51e3b9917318
2016-01-04 13:19:02 -07:00
Dan Sandler
9945e1c67e Merge "Use GregorianCalendar.add() when searching for next alarm." am: b52de8248f
am: 65a35016c1

* commit '65a35016c1f22805c2e70b49ff2b121b9f7dc739':
  Use GregorianCalendar.add() when searching for next alarm.
2016-01-04 20:12:24 +00:00
Jack Yu
6978228ccf Fixed the incorrect cdma RAT detection logic.
am: fa530b4a10

* commit 'fa530b4a10e8553afd58b827dfd7dcd8726126b4':
  Fixed the incorrect cdma RAT detection logic.
2016-01-04 20:10:01 +00:00
Dan Sandler
65a35016c1 Merge "Use GregorianCalendar.add() when searching for next alarm."
am: b52de8248f

* commit 'b52de8248f8e5f95f7984967e646eb9b3a641526':
  Use GregorianCalendar.add() when searching for next alarm.
2016-01-04 20:07:38 +00:00
Jack Yu
fa530b4a10 Fixed the incorrect cdma RAT detection logic.
Used the correct CDMA bitmask to determine if the bearer services
are based on 3GPP2 radio technologies.

bug: 26318528
Change-Id: Ic30c25aa7b67372898a041dd1f3a08a3abede394
2016-01-04 11:58:48 -08:00
Dan Sandler
b52de8248f Merge "Use GregorianCalendar.add() when searching for next alarm." 2016-01-04 19:58:42 +00:00
Jason Monk
154a01ec81 Merge "Remove UserBoolean" 2016-01-04 19:55:41 +00:00
Winson Chung
931c51f545 Refactoring lock-to-task state out of Task
- Moving the logic out of Task to the stack view which is more logical
  and easier to manage
- This also includes a fix for the issue of the screen pinning not 
  showing up immediately after toggling it in Settings

Change-Id: I0357d59fc30b0327bbe6eeca10b310911aba3cc4
2016-01-04 19:54:55 +00:00
Jason Monk
24145bf1ec Merge "Better service management for QS 3rd party tiles" 2016-01-04 19:54:40 +00:00
Jason Monk
66239fbdfc Remove UserBoolean
Animate when the view is visible because its much simpler

Change-Id: I18598faae643124ad014f77a2e8a9229ccb726ce
2016-01-04 14:46:15 -05:00
Jason Monk
d5a204f16e Better service management for QS 3rd party tiles
Better wrapper around the service that will handle rebinding
when it dies, binding when it becomes available, and forwarding
along all messages to the service once it binds.

Also better handling of too many services at a time.  Will only
ever bind to at most 3 tiles and will manage which ones are most
important to show based on pending clicks, last update, etc.

Change-Id: I5f4da0bc751f7eb25baa32e5c0bb9f1bc418f5bb
2016-01-04 14:46:11 -05:00
Fyodor Kupolov
8385e4b9d2 Collect user creation metrics
Bug: 26348624
Change-Id: Idb2ac10c6f3fd525ac652e242fa2647cc4cc7249
2016-01-04 11:25:46 -08:00
George Mount
57bbd6e9c7 Tests for DatePicker keyboard interaction.
Bug 26187865

Change-Id: I26e990ef140d129f716eec0dff705e5f78b6608e
2016-01-04 11:01:49 -08:00
Alan Viverette
db8f4e56fd Merge "Clean up date picker, add simple constructors and setter for listener" 2016-01-04 18:47:55 +00:00
Chong Zhang
fe34f6c198 Merge "Fix popup window position calculation in multiwindow mode" 2016-01-04 18:32:16 +00:00
Wale Ogunwale
d046a01392 Consolidate resume activity code around focused stack.
Cleaned up the code to make it obvious that only the top
activity in the focused stack should be in the resumes state.

Bug: 26273032
Change-Id: I8d60270f707fe022007c59d25f5678b33a005acf
2016-01-04 10:17:41 -08:00
Mathew Inwood
db4da1bd20 Merge "Experimental: verify cached constructors before use." 2016-01-04 18:09:57 +00:00
Ronnie Leng
a8d54b243b [WindowManagerService] fix starting window issue
Symptom:
1. Acitivity A and B belong to same task.
2. A is started and start B in its code
3. B is opened with blank screen

If starting icon has been display, both startingWindow and
startingView should not be null.
Current logic only uses judgement on startWindow. In above
case, it leads startingView set to null as A and B shares
the same starting window due to same task. Then system will
not get chance to remove startingView as it is null.

It needs add judgement on startingView.

Change-Id: I6cfa1a3ebce93ce435cc2d9ada239b1e808988de
2016-01-04 11:36:08 -06:00
Xiaohui Chen
c33f357b50 Merge "cleanup some confusing comments" 2016-01-04 17:21:45 +00:00
Felipe Leme
af038b61e5 Merge "Minor improvements on 'Take bug report' Action." 2016-01-04 17:06:18 +00:00
Tyler Gunn
bd1bf125e4 Merge "Fix capability/property checking methods to handle multi-bit capabilities." 2016-01-04 16:33:37 +00:00
Chris Wren
51017d0e23 implement assistant service connection
Added a guest-mode to ManagedServices.
Like system services, the lifecycle of a guest is not managed.
Unlike system services, guests are not considered privledged.

The Assistant gets all the usual listener events.
Implemented adjustImportance.
Future work: enqueued, clicked, visibility, removed, annotations

Bug: 22455414
Change-Id: Ic41c0bf625b5e98cb577b49098bba23a539bb507
2016-01-04 11:22:37 -05:00
Jerome Gaillard
3b90b74cf9 Create new Navigation Bar for the Theme Editor Preview
The standard navigation bar was not working well in the Theme Editor preview
when in a wide configuration. The bar then did not fit entirely inside the display.
So we created a new Navigation Bar to use in the Theme Editor preview, that fixes
the size problem.

Bug: http://b.android.com/198179
Change-Id: Ifb1fa7b8f399f17392934de89078696337eca3e1
2016-01-04 15:38:12 +00:00
John Reck
f43f627fc9 Merge "Add some options to macrobench" 2016-01-04 15:26:18 +00:00
Geoff Mendal
4a5b54fb3b Import translations. DO NOT MERGE
Change-Id: I86141e2b59f4b3fd5adf1beb3a848d2dae49e871
Auto-generated-cl: translation import
2016-01-04 05:53:33 -08:00
Robin Lee
56a9953819 Merge "Return null on getPrivateKey failure not exception" 2016-01-04 10:05:13 +00:00
Mathew Inwood
4985c5c782 Experimental: verify cached constructors before use.
Caching constructors can cause problems for dynamically loaded code if
the same class name appears in more than on classloader. Before using
cached constructors, verifty that they come from a valid classloader, i.e.
one that appears in the classloader chain of the current contexts
classloader. Remove ones that do not from the map to allow the associated
classes to be unloaded in case they're no longer in use.

Bug: 21690610
Change-Id: I84f2894cd03a5dc0c33aed9cd710e4a1f6d9515f
2015-12-31 12:32:40 +00:00
Dan Sandler
12d3393249 Use GregorianCalendar.add() when searching for next alarm.
Never attribute to malice that which is adequately explained
by a bug, particularly one involving date math.

Bug: 26326394
Change-Id: I3483ac102c678a8852565c8ea94c06e19b3f26d8
2015-12-31 04:24:22 +00:00
Jack Yu
b42701047a Reduced the radio log
am: d2cf0ce9c1

* commit 'd2cf0ce9c17cd37a12827882b3a10512d2904103':
  Reduced the radio log
2015-12-30 22:34:12 +00:00
Jack Yu
d2cf0ce9c1 Reduced the radio log
Reduced the radio log by moving some to VDBG or merging few lines
into one.

bug: 25956251
Change-Id: I290d894e95c9fdd664db35fd0cee3536c37dbd20
2015-12-30 12:06:01 -08:00
Xiaohui Chen
dc630f0122 cleanup some confusing comments
Change-Id: I21fe6fb2ea37a811f69278058277dd595866ae9b
2015-12-30 11:32:05 -08:00
Doris Liu
6380b4793c Merge "VectorDrawable: Use the matrix scale only if the matrix has no rotation or skew." 2015-12-30 19:17:06 +00:00
Doris Liu
a0e61572ab VectorDrawable: Use the matrix scale only if the matrix has no rotation or skew.
When canvas is rotated or skewed, the scale factor is affected.
Conservatively reset the scale used to modify path stroke size to 1 in these
cases, since the image will be somewhat blurry anyway with rotation / skew..

b/25418943

Change-Id: I6dff1bca5fac5500fa688c68f8b81b6212526b6b
2015-12-30 10:57:15 -08:00
Sudheer Shanka
81a83562fc Merge "Update an error message." 2015-12-30 18:17:30 +00:00
Sudheer Shanka
137241c714 Update an error message.
Change-Id: Ifc32120ccccd14e8e821770995de91008ed518d7
2015-12-30 18:09:10 +00:00
Geoff Mendal
f32d3a06d5 Merge "Import translations. DO NOT MERGE" 2015-12-30 14:12:49 +00:00
Geoff Mendal
4e31a9e688 Import translations. DO NOT MERGE
Change-Id: I8272ade26943091694be6ce0b8d7e8bbbc1e4ac6
Auto-generated-cl: translation import
2015-12-30 06:06:22 -08:00