OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Workaround to display menus for AppCompat themes" into nyc-dev
Diego Perez [Wed, 25 May 2016 16:47:14 +0000 (16:47 +0000)]
Merge "Workaround to display menus for AppCompat themes" into nyc-dev
am: 36cd747bb6

* commit '36cd747bb6030c9c19dbab6bdfd85b2106017973':
  Workaround to display menus for AppCompat themes

Change-Id: I65ce3798aa3fc2d851126d88b3dc1834d05b5393

8 years agoMerge "Use ICU\'s Calendar class in date picker & related classes" into nyc-dev
Alan Viverette [Wed, 25 May 2016 16:24:51 +0000 (16:24 +0000)]
Merge "Use ICU\'s Calendar class in date picker & related classes" into nyc-dev
am: cfbca5640c

* commit 'cfbca5640ca435e1b501254c9cf8b66746799d7e':
  Use ICU's Calendar class in date picker & related classes

Change-Id: Ideb570415bab784778bb12709d04a37ad3c29275

8 years agoMerge "Workaround to display menus for AppCompat themes" into nyc-dev
Diego Perez [Wed, 25 May 2016 16:23:55 +0000 (16:23 +0000)]
Merge "Workaround to display menus for AppCompat themes" into nyc-dev

8 years agoMerge "Use ICU's Calendar class in date picker & related classes" into nyc-dev
Alan Viverette [Wed, 25 May 2016 16:20:14 +0000 (16:20 +0000)]
Merge "Use ICU's Calendar class in date picker & related classes" into nyc-dev

8 years agoMerge "Update suspended to disabled." into nyc-dev
Kenny Guy [Wed, 25 May 2016 15:57:55 +0000 (15:57 +0000)]
Merge "Update suspended to disabled." into nyc-dev
am: 646a817caf

* commit '646a817caff4875462c15128f2e8c5d5c83629b3':
  Update suspended to disabled.

Change-Id: If0d081d5f5ebe3655b972baa4360ccc7dbfeb121

8 years agoMerge "Update suspended to disabled." into nyc-dev
Kenny Guy [Wed, 25 May 2016 15:49:51 +0000 (15:49 +0000)]
Merge "Update suspended to disabled." into nyc-dev

8 years agoUse ICU's Calendar class in date picker & related classes
Alan Viverette [Wed, 25 May 2016 15:42:42 +0000 (11:42 -0400)]
Use ICU's Calendar class in date picker & related classes

Also organizes imports.

Bug: 28756630
Change-Id: I4e59c4b35c88edd94ff4b2945ad9feb2a4bd0022

8 years agoMerge "Update preloaded drawables" into nyc-dev
Adam Powell [Wed, 25 May 2016 15:09:49 +0000 (15:09 +0000)]
Merge "Update preloaded drawables" into nyc-dev
am: ef817a1deb

* commit 'ef817a1debbad9aa3de5ff49765b9a9a72fc73a2':
  Update preloaded drawables

Change-Id: Ic0a4a3bc2c375e5e3af837d50a4613ed5ffe7eff

8 years agoMerge "Update preloaded drawables" into nyc-dev
Adam Powell [Wed, 25 May 2016 14:59:32 +0000 (14:59 +0000)]
Merge "Update preloaded drawables" into nyc-dev

8 years agoMerge "Prevent LayerDrawable bounds updates from being re-entrant" into nyc-dev
Alan Viverette [Wed, 25 May 2016 14:27:58 +0000 (14:27 +0000)]
Merge "Prevent LayerDrawable bounds updates from being re-entrant" into nyc-dev
am: 5c9444216d

* commit '5c9444216d187ec2126fdd200e499a1fb3f6ee62':
  Prevent LayerDrawable bounds updates from being re-entrant

Change-Id: I7517614a5bc600f85c232779a18bf6fbf1f81068

8 years agoMerge "Default system theme should be DeviceDefault" into nyc-dev
Alan Viverette [Wed, 25 May 2016 14:27:54 +0000 (14:27 +0000)]
Merge "Default system theme should be DeviceDefault" into nyc-dev
am: 10ed7de7ae

* commit '10ed7de7ae1ef1ac10b596c688182642acaca674':
  Default system theme should be DeviceDefault

Change-Id: I0cdadd02499b071168ddcd26c5c1b93d4067fe9d

8 years agoMerge "Prevent LayerDrawable bounds updates from being re-entrant" into nyc-dev
Alan Viverette [Wed, 25 May 2016 14:19:39 +0000 (14:19 +0000)]
Merge "Prevent LayerDrawable bounds updates from being re-entrant" into nyc-dev

8 years agoMerge "Default system theme should be DeviceDefault" into nyc-dev
Alan Viverette [Wed, 25 May 2016 14:18:27 +0000 (14:18 +0000)]
Merge "Default system theme should be DeviceDefault" into nyc-dev

8 years agoHide work profile key in user credentials screen
Ricky Wai [Wed, 25 May 2016 13:18:26 +0000 (13:18 +0000)]
Hide work profile key in user credentials screen
am: d398244513

* commit 'd398244513c62c9ea14a0f1c6ffef832e803c16f':
  Hide work profile key in user credentials screen

Change-Id: I7609dc8bc68e9c9eb2a969b58b31815d27d7fc4a

8 years agoDo not allow DPM.resetPassword() when child profile exists or user is locked
Ricky Wai [Wed, 25 May 2016 13:14:23 +0000 (13:14 +0000)]
Do not allow DPM.resetPassword() when child profile exists or user is locked
am: 977ade26dd

* commit '977ade26dd8bc6a442be2db2470459058246844f':
  Do not allow DPM.resetPassword() when child profile exists or user is locked

Change-Id: I05277051a8f30c4d020440dd01b5dc284d552fd4

8 years agoMerge "Unlock work profile storage even work mode is off" into nyc-dev
Ricky Wai [Wed, 25 May 2016 13:14:21 +0000 (13:14 +0000)]
Merge "Unlock work profile storage even work mode is off" into nyc-dev
am: f420c413b9

* commit 'f420c413b9abd58dcbea881535da5b603f7f7afc':
  Unlock work profile storage even work mode is off

Change-Id: I7ecd5f3658a9507b0bee4dea390a88ff7ef9a82e

8 years agoMerge "Do not tie managed profile synchronously in onUnlockUser()" into nyc-dev
Ricky Wai [Wed, 25 May 2016 13:11:25 +0000 (13:11 +0000)]
Merge "Do not tie managed profile synchronously in onUnlockUser()" into nyc-dev
am: 99df649aa4

* commit '99df649aa4907d9f9c6fe4bdf4acb517003f97f2':
  Do not tie managed profile synchronously in onUnlockUser()

Change-Id: Iea5c0c6bccbce1a7b81fec9f38589ffd31475a24

8 years agoHide work profile key in user credentials screen
Ricky Wai [Tue, 24 May 2016 18:27:08 +0000 (19:27 +0100)]
Hide work profile key in user credentials screen

Bug: 28878708
Change-Id: Ib250fae2388b061430d93b7d65133002ce664993

8 years agoDo not allow DPM.resetPassword() when child profile exists or user is locked
Ricky Wai [Tue, 24 May 2016 14:02:41 +0000 (15:02 +0100)]
Do not allow DPM.resetPassword() when child profile exists or user is locked

Bug: 28878708
Change-Id: Iaae2a9ba9c7c0ff388264c474c78a0dcd9fec258

8 years agoMerge "Unlock work profile storage even work mode is off" into nyc-dev
Ricky Wai [Wed, 25 May 2016 13:06:23 +0000 (13:06 +0000)]
Merge "Unlock work profile storage even work mode is off" into nyc-dev

8 years agoMerge "Do not tie managed profile synchronously in onUnlockUser()" into nyc-dev
Ricky Wai [Wed, 25 May 2016 13:04:31 +0000 (13:04 +0000)]
Merge "Do not tie managed profile synchronously in onUnlockUser()" into nyc-dev

8 years agoMerge "Make IMM more robust to spurious window focus-in" into nyc-dev
Yohei Yukawa [Wed, 25 May 2016 04:57:43 +0000 (04:57 +0000)]
Merge "Make IMM more robust to spurious window focus-in" into nyc-dev
am: 50c33d1ca1

* commit '50c33d1ca1218ec00eb37f66a7c11315603c9ef7':
  Make IMM more robust to spurious window focus-in

Change-Id: I3c80320a5c6711bf3aaeb3043fe54c741c127966

8 years agoMerge "Make IMM more robust to spurious window focus-in" into nyc-dev
Yohei Yukawa [Wed, 25 May 2016 04:47:30 +0000 (04:47 +0000)]
Merge "Make IMM more robust to spurious window focus-in" into nyc-dev

8 years agoMerge "Use original theme for SuggestsionsPopupWindow" into nyc-dev
Seigo Nonaka [Wed, 25 May 2016 03:30:06 +0000 (03:30 +0000)]
Merge "Use original theme for SuggestsionsPopupWindow" into nyc-dev
am: 7c8305bcfe

* commit '7c8305bcfeef206e8bd00f20077f8106bb66fa6b':
  Use original theme for SuggestsionsPopupWindow

Change-Id: I77ed2205c4dc34786c1b931a00f64187a878395e

8 years agoMerge "Fix default network transition event recording" into nyc-dev
Hugo Benichi [Wed, 25 May 2016 03:29:59 +0000 (03:29 +0000)]
Merge "Fix default network transition event recording" into nyc-dev
am: 9d4e66ece6

* commit '9d4e66ece64f6b65d8a902a6f03f945a0fe88868':
  Fix default network transition event recording

Change-Id: Ie025342be8e13bfd1d3f4b45d522cc30b56ef606

8 years agoMerge "Use original theme for SuggestsionsPopupWindow" into nyc-dev
Seigo Nonaka [Wed, 25 May 2016 03:24:10 +0000 (03:24 +0000)]
Merge "Use original theme for SuggestsionsPopupWindow" into nyc-dev

8 years agoMerge "Fix default network transition event recording" into nyc-dev
Hugo Benichi [Wed, 25 May 2016 03:22:31 +0000 (03:22 +0000)]
Merge "Fix default network transition event recording" into nyc-dev

8 years agoMerge "Created 4 camera preview stress test cases." into nyc-dev
Hang Yin [Wed, 25 May 2016 03:18:07 +0000 (03:18 +0000)]
Merge "Created 4 camera preview stress test cases." into nyc-dev
am: 581387a4ae

* commit '581387a4aebd88debe065dd2957ad59d0bb000b5':
  Created 4 camera preview stress test cases.

Change-Id: I992538ee1e1df22fdca5798df7ccaae899e239ec

8 years agoMerge "Updating user restrictions when they are removed" into nyc-dev
Suprabh Shukla [Wed, 25 May 2016 03:14:36 +0000 (03:14 +0000)]
Merge "Updating user restrictions when they are removed" into nyc-dev
am: 1893c4cea7

* commit '1893c4cea7825e9f44f08b6165a04fd90c1adf9d':
  Updating user restrictions when they are removed

Change-Id: Iccd07150139f025fa16b74eee2670252b6c17a3d

8 years agoMerge "Created 4 camera preview stress test cases." into nyc-dev
Hang Yin [Wed, 25 May 2016 03:14:02 +0000 (03:14 +0000)]
Merge "Created 4 camera preview stress test cases." into nyc-dev

8 years agoMerge "Updating user restrictions when they are removed" into nyc-dev
TreeHugger Robot [Wed, 25 May 2016 03:11:47 +0000 (03:11 +0000)]
Merge "Updating user restrictions when they are removed" into nyc-dev

8 years agoMerge "Set input method mode for CascadingMenuPopup." into nyc-dev
Keisuke Kuroyanagi [Wed, 25 May 2016 02:11:26 +0000 (02:11 +0000)]
Merge "Set input method mode for CascadingMenuPopup." into nyc-dev
am: edebcae978

* commit 'edebcae9781fa897914952e9346a14afd2e08967':
  Set input method mode for CascadingMenuPopup.

Change-Id: I117ea7e9b00fdd8eb26fd761a23925909318a12e

8 years agoMerge "Set input method mode for CascadingMenuPopup." into nyc-dev
Keisuke Kuroyanagi [Wed, 25 May 2016 02:06:24 +0000 (02:06 +0000)]
Merge "Set input method mode for CascadingMenuPopup." into nyc-dev

8 years agoMerge "Clamp start delay to non-negative range" into nyc-dev
Doris Liu [Wed, 25 May 2016 01:47:30 +0000 (01:47 +0000)]
Merge "Clamp start delay to non-negative range" into nyc-dev
am: 54d89e078d

* commit '54d89e078d4a4abd6a06362c04f3329fdebd6d7b':
  Clamp start delay to non-negative range

Change-Id: I7cdb14821785d9d29d52b53ef2ff3567f07a3651

8 years agoMerge "Clamp start delay to non-negative range" into nyc-dev
Doris Liu [Wed, 25 May 2016 01:41:11 +0000 (01:41 +0000)]
Merge "Clamp start delay to non-negative range" into nyc-dev

8 years agoFix default network transition event recording
Hugo Benichi [Tue, 24 May 2016 02:50:31 +0000 (11:50 +0900)]
Fix default network transition event recording

When disconnecting from a default network X and falling back on another
connected network Y as the new default, ConnectivityService was
attempting to record this event as a X -> Y "atomic" transition.

In practice the default network connectivity is actually lost and
recovering default network takes some non-zero time.

This patch changes the event recording to always record disconnection as
X -> 0 events. At the same time, if there is a fallback network that is
elected as the new default ConnectivityService will also record a 0 -> Y
event.

This patch also improves pretty-printing of DefaultNetworkEvent.

Extract from $ adb shell dumpsys connectivity_metrics_logger --events
17:51:00.086: DefaultNetworkEvent(0 -> 100:CELLULAR)
17:51:25.232: DefaultNetworkEvent(100:IPv4 -> 101:WIFI) # wifi goes on
17:51:44.064: DefaultNetworkEvent(101:DUAL -> 0)        # wifi goes off
17:51:44.187: DefaultNetworkEvent(0 -> 100:CELLULAR)

Bug: 28204408
Change-Id: I63252633235bf6ba833b9ac431a80dda75a93e67

8 years agoMerge "Remove hidden LocaleList default constructor" into nyc-dev
Chet Haase [Wed, 25 May 2016 01:02:41 +0000 (01:02 +0000)]
Merge "Remove hidden LocaleList default constructor" into nyc-dev
am: ba2cc82399

* commit 'ba2cc82399b89d92f766bbee3b2504a5cdf56215':
  Remove hidden LocaleList default constructor

Change-Id: Ia9416e9e318104dc0a29ce8b092036cf4d2b53a8

8 years agoMerge "Remove hidden LocaleList default constructor" into nyc-dev
Chet Haase [Wed, 25 May 2016 00:57:40 +0000 (00:57 +0000)]
Merge "Remove hidden LocaleList default constructor" into nyc-dev

8 years agoMerge "Fixed a few battery issues in SystemUI" into nyc-dev
Selim Cinek [Wed, 25 May 2016 00:37:40 +0000 (00:37 +0000)]
Merge "Fixed a few battery issues in SystemUI" into nyc-dev
am: 8fba3b395f

* commit '8fba3b395fe45510683ffc199a0101655274ee45':
  Fixed a few battery issues in SystemUI

Change-Id: Ieb5bf24c13004fc97bb1006494e915924f54c02c

8 years agoMerge "Fixed a few battery issues in SystemUI" into nyc-dev
Selim Cinek [Wed, 25 May 2016 00:30:45 +0000 (00:30 +0000)]
Merge "Fixed a few battery issues in SystemUI" into nyc-dev

8 years agoMerge "resolve merge conflicts of f950ec9 to nyc-dev" into nyc-dev
Jim Miller [Wed, 25 May 2016 00:18:59 +0000 (00:18 +0000)]
Merge "resolve merge conflicts of f950ec9 to nyc-dev" into nyc-dev
am: 0db3ad2410

* commit '0db3ad24100e21d1a6bd2e6fb6cf1cdd67d02e47':
  Fix missing permission check when saving pattern/password

Change-Id: Iec05d3688aa270cfa6fa8ead54fd1a933591786d

8 years agoMerge "Add missing "try ... finally" safeguards" into nyc-dev
Pavlin Radoslavov [Wed, 25 May 2016 00:18:53 +0000 (00:18 +0000)]
Merge "Add missing "try ... finally" safeguards" into nyc-dev
am: 0810732a2a

* commit '0810732a2affee7264d12b73fbcfa82d0db991b4':
  Add missing "try ... finally" safeguards

Change-Id: I227ab98f33c025543e4ac4adf16453acd6159713

8 years agoMerge "Fix issue #28931042: wtf in system server" into nyc-dev
Dianne Hackborn [Wed, 25 May 2016 00:18:45 +0000 (00:18 +0000)]
Merge "Fix issue #28931042: wtf in system server" into nyc-dev
am: 7a1aa92610

* commit '7a1aa926109b090251d193426ba9fdc699e6f3b7':
  Fix issue #28931042: wtf in system server

Change-Id: I84142fe627ae93b680577bff91327419715db4bb

8 years agoMerge "Fix issue #28931042: wtf in system server" into nyc-dev
Dianne Hackborn [Wed, 25 May 2016 00:18:37 +0000 (00:18 +0000)]
Merge "Fix issue #28931042: wtf in system server" into nyc-dev
am: ae02bfdd28

* commit 'ae02bfdd289f7172faeb57664ef47de8b547fa05':
  Fix issue #28931042: wtf in system server

Change-Id: I0b15977a1b4e79743a6fe6937cd3463a4e3c2c3c

8 years agoMerge "Switch VVM SMS filter to Builder pattern" into nyc-mr1-dev
Ta-wei Yen [Wed, 25 May 2016 00:13:05 +0000 (00:13 +0000)]
Merge "Switch VVM SMS filter to Builder pattern" into nyc-mr1-dev

8 years agoMerge "Add a flag to toggle the automatic storage manager on and off." into nyc-mr1-dev
Daniel Nishi [Wed, 25 May 2016 00:10:55 +0000 (00:10 +0000)]
Merge "Add a flag to toggle the automatic storage manager on and off." into nyc-mr1-dev

8 years agoClamp start delay to non-negative range
Doris Liu [Tue, 24 May 2016 23:38:19 +0000 (16:38 -0700)]
Clamp start delay to non-negative range

Bug: 28936388
Change-Id: I2a225e07cad53c6ffc3637219f8c741aca5c008c

8 years agoMerge "resolve merge conflicts of f950ec9 to nyc-dev" into nyc-dev
Jim Miller [Wed, 25 May 2016 00:09:45 +0000 (00:09 +0000)]
Merge "resolve merge conflicts of f950ec9 to nyc-dev" into nyc-dev

8 years agoMerge "Add missing "try ... finally" safeguards" into nyc-dev
TreeHugger Robot [Wed, 25 May 2016 00:09:28 +0000 (00:09 +0000)]
Merge "Add missing "try ... finally" safeguards" into nyc-dev

8 years agoMerge "Fix issue #28931042: wtf in system server" into nyc-dev
Dianne Hackborn [Wed, 25 May 2016 00:00:06 +0000 (00:00 +0000)]
Merge "Fix issue #28931042: wtf in system server" into nyc-dev

8 years agoMake IMM more robust to spurious window focus-in
Yohei Yukawa [Tue, 24 May 2016 23:35:17 +0000 (16:35 -0700)]
Make IMM more robust to spurious window focus-in

InputMethodManager (IMM) has a latch switch named IMM#mHasBeenInactive
to forcefully refresh IME focus state when an inactive client
(IMM#mActive == false) is gaining window focus.  However, it turns out
that there is a race condition where the latch could be unexpectedly
turned off. This is probably what we have been chasing in bug 25373872.

Imagine the following scenario:

  1. An app receives MSG_WINDOW_FOCUS_CHANGED w/ hasWindowFocus=false
  2. IMM inside the app receives MSG_SET_ACTIVE w/ active=false
  3. The app receives MSG_WINDOW_FOCUS_CHANGED w/ hasWindowFocus=true
  4. The app receives MSG_WINDOW_FOCUS_CHANGED w/ hasWindowFocus=false
  5. The app receives MSG_WINDOW_FOCUS_CHANGED w/ hasWindowFocus=true

Here, our current strategy has been:
  A. Turn on the latch when MSG_SET_ACTIVE (w/active=false) is handled.
  B. Turn off the latch and ask IMMS to start input when
     MSG_WINDOW_FOCUS_CHANGED (w/ hasWindowFocus=true) is handled.

The problem is that in the step B IMMS can reject the request if
WindowManagerService (WMS) tells that the window in question no longer
has window focus. This is not surprising because the app is
just handling messages in the message queue sequentially.  As a result,
the IME focus is not updated expectedly in the step 5, because the latch
is no longer enabled as we expected.

With this CL, the latch will be re-enabled if the app fails to start
input while IMM#mActive is false as a short-term solution.

In future we may want to address this issue in protocol level so that
we can address other known issues such as bug 26851566 at the same time.

Bug: 28281870
Change-Id: I60adb38013b063918b074c7b947649eada77b2c8

8 years agoMerge "Replace bluetooth pngs with vector drawables." into nyc-mr1-dev
TreeHugger Robot [Tue, 24 May 2016 23:50:29 +0000 (23:50 +0000)]
Merge "Replace bluetooth pngs with vector drawables." into nyc-mr1-dev

8 years agoUpdating user restrictions when they are removed
Suprabh Shukla [Tue, 24 May 2016 23:23:11 +0000 (16:23 -0700)]
Updating user restrictions when they are removed

Local user restrictions were not being updated in
AppOpsService#setUserRestrictions when a restriction was removed.

Bug: 28908581
Change-Id: If22f5834fadca33ec8b80bc4fb3993c1e1c29824

8 years agoUpdate preloaded drawables
Adam Powell [Tue, 24 May 2016 23:39:16 +0000 (16:39 -0700)]
Update preloaded drawables

Remove holo assets and add all material assets referred to through
styles.

Bug 28729750

Change-Id: I34aac1ac55d087ac60f12c2954e612072a93366b

8 years agoMerge "Fix issue #28931042: wtf in system server" into nyc-dev
Dianne Hackborn [Tue, 24 May 2016 23:23:34 +0000 (23:23 +0000)]
Merge "Fix issue #28931042: wtf in system server" into nyc-dev

8 years agoMerge "Make navigation bar always slippery" into nyc-mr1-dev
TreeHugger Robot [Tue, 24 May 2016 23:12:38 +0000 (23:12 +0000)]
Merge "Make navigation bar always slippery" into nyc-mr1-dev

8 years agoresolve merge conflicts of f950ec9 to nyc-dev
Jim Miller [Tue, 24 May 2016 23:08:15 +0000 (16:08 -0700)]
resolve merge conflicts of f950ec9 to nyc-dev

Change-Id: I131632cb9d64156d10001b3555e8b3bfa471690d

8 years agoRemove hidden LocaleList default constructor
Chet Haase [Tue, 24 May 2016 23:07:00 +0000 (16:07 -0700)]
Remove hidden LocaleList default constructor

Previous change hid this constructor. Now removing it entirely for completeness.

Issue #28296200  API Review: LocaleList

Change-Id: I43476994070b101999d338ec1f5d1a1a0a2a7658

8 years agoAdd missing "try ... finally" safeguards
Pavlin Radoslavov [Tue, 24 May 2016 22:28:41 +0000 (15:28 -0700)]
Add missing "try ... finally" safeguards

Safeguards for code protected by ReentrantReadWriteLock.

Bug: 28734075
Bug: 28799467
Change-Id: Ib7f598a92e8df6bd855ca48cdd094c1c73a935f2

8 years agoMerge "Fix usermanager related tests." into nyc-mr1-dev
TreeHugger Robot [Tue, 24 May 2016 22:55:39 +0000 (22:55 +0000)]
Merge "Fix usermanager related tests." into nyc-mr1-dev

8 years agoMerge "Add support for dismissing in Talkback Mode" into nyc-dev
Sid Soundararajan [Tue, 24 May 2016 22:52:52 +0000 (22:52 +0000)]
Merge "Add support for dismissing in Talkback Mode" into nyc-dev
am: a3cb77a9b4

* commit 'a3cb77a9b451b1c02e668024a6a8e3b779a7781d':
  Add support for dismissing in Talkback Mode

Change-Id: I634ee39848e5392c2a38be41e17aa36932329e88

8 years agoMerge "Add support for dismissing in Talkback Mode" into nyc-dev
Sid Soundararajan [Tue, 24 May 2016 22:46:26 +0000 (22:46 +0000)]
Merge "Add support for dismissing in Talkback Mode" into nyc-dev

8 years agoFix issue #28931042: wtf in system server
Dianne Hackborn [Tue, 24 May 2016 20:22:18 +0000 (13:22 -0700)]
Fix issue #28931042: wtf in system server

More broadcasts (from telephony) that should be protected.

Also put a little more information in the wtf message to
help determine where broadcasts from out of the system process
are coming from.

Change-Id: Ie3df25c883482ca54c7a7c5db57ca609950f5cbc

8 years agoReplace bluetooth pngs with vector drawables.
Andrew Sapperstein [Thu, 19 May 2016 01:05:21 +0000 (18:05 -0700)]
Replace bluetooth pngs with vector drawables.

The current pngs are hardcoded to the green accent color.
Instead, the new vector drawable replacements have colorAccent
set as a tint.

Saves a bit on APK size, especially since ic_bt_cellphone
can be auto-mirrored rather than requiring ldrtl variants.

BUG: 28760785
Change-Id: Ifaec204ad28dd6cbd8463388080583bf7cf62044

8 years agoSwitch VVM SMS filter to Builder pattern
Ta-wei Yen [Tue, 24 May 2016 22:25:16 +0000 (15:25 -0700)]
Switch VVM SMS filter to Builder pattern

Bug:27816386
Change-Id: I74c73f0a43530dc563df29f0df7ae1a40845e8f0

8 years agoMerge "Fix missing permission check when saving pattern/password" into mnc-dev am...
Jim Miller [Tue, 24 May 2016 22:20:09 +0000 (22:20 +0000)]
Merge "Fix missing permission check when saving pattern/password" into mnc-dev am: 45c77d951a am: 9bf8474c27
am: 89e3f2ba98

* commit '89e3f2ba98ea6d69b1846e996c4c279a9b20c4e9':
  Fix missing permission check when saving pattern/password

Change-Id: Ice157c9ee86cf29380766d3ec266cb57594a5868

8 years agoMerge "Fix missing permission check when saving pattern/password" into mnc-dev am...
Jim Miller [Tue, 24 May 2016 22:14:24 +0000 (22:14 +0000)]
Merge "Fix missing permission check when saving pattern/password" into mnc-dev am: 45c77d951a
am: 9bf8474c27

* commit '9bf8474c27642f48aa27e2edf1bdd83b27d692c1':
  Fix missing permission check when saving pattern/password

Change-Id: I4238a43dc30be54375b6db129b360cc7d0a90b0e

8 years agoMerge "Fix missing permission check when saving pattern/password" into mnc-dev
Jim Miller [Tue, 24 May 2016 22:08:16 +0000 (22:08 +0000)]
Merge "Fix missing permission check when saving pattern/password" into mnc-dev
am: 45c77d951a

* commit '45c77d951ab5203b8e19c2ed2ce3a0816e42b118':
  Fix missing permission check when saving pattern/password

Change-Id: I81947e95d5365bbf6a4927435f43c73dc4ac2bb0

8 years agoMerge "Fix missing permission check when saving pattern/password" into mnc-dev
Jim Miller [Tue, 24 May 2016 22:04:36 +0000 (22:04 +0000)]
Merge "Fix missing permission check when saving pattern/password" into mnc-dev

8 years agoMerge "Adding grantPermission for packageName" into nyc-mr1-dev
Johan Torås Halseth [Tue, 24 May 2016 21:57:58 +0000 (21:57 +0000)]
Merge "Adding grantPermission for packageName" into nyc-mr1-dev

8 years agoMake navigation bar always slippery
Jorim Jaggi [Tue, 24 May 2016 21:53:36 +0000 (14:53 -0700)]
Make navigation bar always slippery

Bug: 28939265
Change-Id: I47270e4e3a30d39580e700bc40ca172f62ab511d

8 years agoMerge "Don\'t deliver broadcast to apps that are being backed up" into nyc-dev
Amith Yamasani [Tue, 24 May 2016 21:50:57 +0000 (21:50 +0000)]
Merge "Don\'t deliver broadcast to apps that are being backed up" into nyc-dev
am: fc2a7ce7ac

* commit 'fc2a7ce7acc5ede8b26f35819c8287df1fed135c':
  Don't deliver broadcast to apps that are being backed up

Change-Id: Ia6f492cb909603e1741e09c5138ea3a7160a97a6

8 years agoMerge "Don't deliver broadcast to apps that are being backed up" into nyc-dev
Amith Yamasani [Tue, 24 May 2016 21:43:52 +0000 (21:43 +0000)]
Merge "Don't deliver broadcast to apps that are being backed up" into nyc-dev

8 years agoFix issue #28931042: wtf in system server
Dianne Hackborn [Tue, 24 May 2016 19:58:21 +0000 (12:58 -0700)]
Fix issue #28931042: wtf in system server

Broadcast needs to have a valid action.  We'll just pick
a generic one, since the receiver here doesn't care.

Change-Id: Ifff87626d11dd9fafb4e68819e8c8cecdf7fe1aa

8 years agoMerge "Report OTA time statistics" into nyc-dev
Tianjie Xu [Tue, 24 May 2016 21:41:06 +0000 (21:41 +0000)]
Merge "Report OTA time statistics" into nyc-dev
am: 86f97177e9

* commit '86f97177e959cb40229010b90f066fd602d6a06f':
  Report OTA time statistics

Change-Id: I271c156232c49a861579acd9ce90c91fbc7e5a4f

8 years agoFix usermanager related tests.
Sudheer Shanka [Tue, 24 May 2016 20:21:43 +0000 (13:21 -0700)]
Fix usermanager related tests.

- Fix failing test
- Updates to include in continuous test execution

Fixes: 28938682
Change-Id: I17dd9ca5cf2579f0649f3939b00b08fa71a106cf

8 years agoMerge "Report OTA time statistics" into nyc-dev
Tianjie Xu [Tue, 24 May 2016 21:35:23 +0000 (21:35 +0000)]
Merge "Report OTA time statistics" into nyc-dev

8 years agoMerge "Deprecate shell-based UI Automator." into nyc-dev
Allen Hair [Tue, 24 May 2016 21:34:53 +0000 (21:34 +0000)]
Merge "Deprecate shell-based UI Automator." into nyc-dev
am: f298f4a7c7

* commit 'f298f4a7c779588821b744c7247fc896541cae57':
  Deprecate shell-based UI Automator.

Change-Id: Iaea8d67bd6bf9f57b3033eaefcb103d9f2e022dd

8 years agoAdd check for \'.end-content-title\' to force the end of content section in an accord...
Amanda Kassay [Tue, 24 May 2016 21:34:51 +0000 (21:34 +0000)]
Add check for \'.end-content-title\' to force the end of content section in an accordion. Fixes js error on mobile when the footer is appended inside of a content section. am: 85b7df2697 am: e468c2380d am: 5a00e9d345
am: 0a6d5112f1

* commit '0a6d5112f1c0f0574ecf62b440541fca4736a706':
  Add check for '.end-content-title' to force the end of content section in an accordion. Fixes js error on mobile when the footer is appended inside of a content section.

Change-Id: I8e4e87f0db6d10b13586c1c6464e941953b5e74a

8 years agoMerge "Improve performance of LocaleList with Resources" into nyc-dev
Adam Lesinski [Tue, 24 May 2016 21:34:48 +0000 (21:34 +0000)]
Merge "Improve performance of LocaleList with Resources" into nyc-dev
am: bb26248bbb

* commit 'bb26248bbba6e4014ea89a97b86618b7289a5f29':
  Improve performance of LocaleList with Resources

Change-Id: I307b4a7c78ff04797fda041afa8106b082951bc9

8 years agoAdding grantPermission for packageName
Johan T. Halseth [Tue, 24 May 2016 13:49:04 +0000 (14:49 +0100)]
Adding grantPermission for packageName

Adding a hidden API in UsbManager for system services to grant
permissions to a specific package for a USB device without showing a
user dialog.

Bug: 28760255
Change-Id: Ie68cfc784b7894e9db12ab61bab0f7e6bfa369e3

8 years agoMerge "Deprecate shell-based UI Automator." into nyc-dev
Allen Hair [Tue, 24 May 2016 21:29:44 +0000 (21:29 +0000)]
Merge "Deprecate shell-based UI Automator." into nyc-dev

8 years agoAdd check for \'.end-content-title\' to force the end of content section in an accord...
Amanda Kassay [Tue, 24 May 2016 21:28:50 +0000 (21:28 +0000)]
Add check for \'.end-content-title\' to force the end of content section in an accordion. Fixes js error on mobile when the footer is appended inside of a content section. am: 85b7df2697 am: e468c2380d
am: 5a00e9d345

* commit '5a00e9d3450e0baccc89a88e586f8ce558e14aac':
  Add check for '.end-content-title' to force the end of content section in an accordion. Fixes js error on mobile when the footer is appended inside of a content section.

Change-Id: I1d972ef1511ff8205ec54f1af7241db104ea976a

8 years agoMerge "Fixed issue where ListView checked state did not account for ListView header...
Michael Kwan [Tue, 24 May 2016 21:27:19 +0000 (21:27 +0000)]
Merge "Fixed issue where ListView checked state did not account for ListView header." into nyc-mr1-dev

8 years agoMerge "Improve performance of LocaleList with Resources" into nyc-dev
Adam Lesinski [Tue, 24 May 2016 21:25:41 +0000 (21:25 +0000)]
Merge "Improve performance of LocaleList with Resources" into nyc-dev

8 years agoAdd check for \'.end-content-title\' to force the end of content section in an accord...
Amanda Kassay [Tue, 24 May 2016 21:23:50 +0000 (21:23 +0000)]
Add check for \'.end-content-title\' to force the end of content section in an accordion. Fixes js error on mobile when the footer is appended inside of a content section. am: 85b7df2697
am: e468c2380d

* commit 'e468c2380ddcc1a7c1f2fa3c9995ad999e9c0ca8':
  Add check for '.end-content-title' to force the end of content section in an accordion. Fixes js error on mobile when the footer is appended inside of a content section.

Change-Id: Ibb8848aed348e85fff5a47562212e88172557b0b

8 years agoMerge "Remove deprecated AudioManager.AudioRecordingCallback method" into nyc-dev
Jean-Michel Trivi [Tue, 24 May 2016 21:23:29 +0000 (21:23 +0000)]
Merge "Remove deprecated AudioManager.AudioRecordingCallback method" into nyc-dev
am: 3a91a8417a

* commit '3a91a8417a9de03a2f8f276fcd2d67dc43315464':
  Remove deprecated AudioManager.AudioRecordingCallback method

Change-Id: I5842a7067c383d30f610c72c3511a4dfeb90540c

8 years agoFixed a few battery issues in SystemUI
Selim Cinek [Tue, 24 May 2016 20:33:47 +0000 (13:33 -0700)]
Fixed a few battery issues in SystemUI

Fixed a bug where animators could run forever because of
a negative start delay.
Also fixed a bug where the shadow would continuously update
when it shouldn't.

Change-Id: Id115d179d99fecf72c5f2b3be1a4c8590361469e
Fixes: 28930837

8 years agoMerge "Keep notifications with active remote inputs" into nyc-dev
Adrian Roos [Tue, 24 May 2016 21:19:29 +0000 (21:19 +0000)]
Merge "Keep notifications with active remote inputs" into nyc-dev
am: 0444314f8b

* commit '0444314f8b0f77519c47b567f970cc95dd568f7f':
  Keep notifications with active remote inputs

Change-Id: If4701470bcce953058cb4126d4ce492c576ef807

8 years agoMerge "Fix janky swiping with RemoteInputViews" into nyc-dev
Adrian Roos [Tue, 24 May 2016 21:19:26 +0000 (21:19 +0000)]
Merge "Fix janky swiping with RemoteInputViews" into nyc-dev
am: a9c0d3ff19

* commit 'a9c0d3ff19461b0384ac4a586cd67e2084193604':
  Fix janky swiping with RemoteInputViews

Change-Id: I3d89c5c0bcb4701335af0f18791e993a50501863

8 years agoMerge "Remove deprecated AudioManager.AudioRecordingCallback method" into nyc-dev
Jean-Michel Trivi [Tue, 24 May 2016 21:17:48 +0000 (21:17 +0000)]
Merge "Remove deprecated AudioManager.AudioRecordingCallback method" into nyc-dev

8 years agoMerge "Keep notifications with active remote inputs" into nyc-dev
Adrian Roos [Tue, 24 May 2016 21:13:29 +0000 (21:13 +0000)]
Merge "Keep notifications with active remote inputs" into nyc-dev

8 years agoMerge "Fix janky swiping with RemoteInputViews" into nyc-dev
Adrian Roos [Tue, 24 May 2016 21:13:20 +0000 (21:13 +0000)]
Merge "Fix janky swiping with RemoteInputViews" into nyc-dev

8 years agoAdd check for \'.end-content-title\' to force the end of content section in an accord...
Amanda Kassay [Tue, 24 May 2016 21:12:15 +0000 (21:12 +0000)]
Add check for \'.end-content-title\' to force the end of content section in an accordion. Fixes js error on mobile when the footer is appended inside of a content section.
am: 85b7df2697

* commit '85b7df26975997826a738a46ae4ab797941175ea':
  Add check for '.end-content-title' to force the end of content section in an accordion. Fixes js error on mobile when the footer is appended inside of a content section.

Change-Id: If25728a85efb5b0ed46e87c45916621d8ad1d9ab

8 years agoMerge "Children should have backgrounds" into nyc-dev
Mady Mellor [Tue, 24 May 2016 21:08:17 +0000 (21:08 +0000)]
Merge "Children should have backgrounds" into nyc-dev
am: 31e49b0964

* commit '31e49b0964cfba0b6b91e8ae67cbc04730098569':
  Children should have backgrounds

Change-Id: I1f68467af9048b93631c33243f4a2dd2e67ccf81

8 years agoMerge "Children should have backgrounds" into nyc-dev
Mady Mellor [Tue, 24 May 2016 20:59:49 +0000 (20:59 +0000)]
Merge "Children should have backgrounds" into nyc-dev

8 years agoMerge "Add Content Description for Focusable Elements in TV Recents UI" into nyc-dev
Sid Soundararajan [Tue, 24 May 2016 20:30:28 +0000 (20:30 +0000)]
Merge "Add Content Description for Focusable Elements in TV Recents UI" into nyc-dev
am: a95568b846

* commit 'a95568b84617e1c48e1eb6f505d58813f5227657':
  Add Content Description for Focusable Elements in TV Recents UI

Change-Id: I1f2236d1d05b7e850d0a16248c8a4447909763ad

8 years agoAdd check for '.end-content-title' to force the end of content section in an accordio...
Amanda Kassay [Tue, 24 May 2016 20:19:33 +0000 (16:19 -0400)]
Add check for '.end-content-title' to force the end of content section in an accordion. Fixes js error on mobile when the footer is appended inside of a content section.

b/28917925

Related CL (critique): cl/123138252

Staged:
https://android-dot-devsite.googleplex.com/preview/setup-sdk.html?hl=es

Change-Id: I4eb606c0205af2315896fc0587cc1c4c2502f282

8 years agoMerge "Add Content Description for Focusable Elements in TV Recents UI" into nyc-dev
Sid Soundararajan [Tue, 24 May 2016 20:21:34 +0000 (20:21 +0000)]
Merge "Add Content Description for Focusable Elements in TV Recents UI" into nyc-dev

8 years agoMerge "Process user events from service lifecycle callbacks." into nyc-dev
Winson [Tue, 24 May 2016 20:20:23 +0000 (20:20 +0000)]
Merge "Process user events from service lifecycle callbacks." into nyc-dev
am: a4400059a3

* commit 'a4400059a307adfea00a2ae3726949c802d4e2ad':
  Process user events from service lifecycle callbacks.

Change-Id: I11a1e228ea22d0f35ab09bd4b0259c07c9b9bde1